:root { --ink: #1b2522; --muted: #68736f; --paper: #f5f7f4; --surface: #fff; --line: #dfe5df; --green: #28735d; --green-dark: #1c5143; --amber: #d89a4c; --mono: "SFMono-Regular", Consolas, monospace; --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
code, pre { font-family: var(--mono); }
.topbar { align-items: center; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; padding: 19px 32px; }
.brand { align-items: center; display: flex; font-size: 14px; font-weight: 750; gap: 10px; }
.brand-mark { align-items: center; background-color: #28735d; border-radius: 6px; color: #fff; display: inline-flex; font-family: Georgia, serif; font-size: 14px; height: 26px; justify-content: center; letter-spacing: -.12em; padding-right: 2px; width: 27px; }
.topbar-note, .side-label, .eyebrow, .fine-print { color: var(--muted); font-size: 12px; }
.topbar-note { font-family: var(--mono); }
.layout { display: grid; grid-template-columns: 220px minmax(0, 860px); gap: 84px; margin: 0 auto; max-width: 1200px; padding: 54px 32px 80px; }
.sidebar { position: sticky; top: 28px; align-self: start; }
.side-label, .eyebrow { font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.sidebar nav { display: grid; gap: 3px; margin-top: 17px; }
.sidebar nav a { border-left: 2px solid transparent; color: var(--muted); font-size: 14px; padding: 8px 12px; transition: border-color 180ms ease, color 180ms ease; }
.sidebar nav a:hover, .sidebar nav a:focus-visible { border-color: var(--green); color: var(--ink); }
.sidebar-foot { align-items: center; border-top: 1px solid var(--line); color: var(--muted); display: flex; font-size: 12px; gap: 8px; margin-top: 38px; padding-top: 15px; }
.status-dot { background: #4e9a70; border-radius: 50%; height: 7px; width: 7px; }
.content { min-width: 0; }
.intro { padding-bottom: 55px; }
.eyebrow { color: var(--green); margin: 0 0 17px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.04em; text-wrap: balance; }
h1 { font-size: clamp(46px, 7vw, 78px); line-height: .99; margin-bottom: 24px; max-width: 720px; }
h2 { font-size: clamp(30px, 4vw, 43px); line-height: 1.05; margin-bottom: 8px; }
h3 { font-size: 16px; margin-bottom: 10px; }
.intro-copy { color: var(--muted); font-size: 19px; line-height: 1.55; max-width: 650px; text-wrap: pretty; }
.callout { align-items: baseline; background: #e9eee9; display: flex; gap: 18px; margin-top: 30px; padding: 16px 18px; }
.callout strong { font-size: 13px; white-space: nowrap; }
.callout span { color: #4f5e58; font-size: 14px; line-height: 1.5; }
.doc-section { border-top: 1px solid var(--line); padding: 48px 0 56px; scroll-margin-top: 28px; }
.section-head { align-items: start; display: grid; gap: 18px; grid-template-columns: 42px 1fr; margin-bottom: 28px; }
.section-head > div p { color: var(--muted); font-size: 15px; line-height: 1.5; margin: 0; }
.step { color: var(--green); font-family: var(--mono); font-size: 13px; font-weight: 700; padding-top: 8px; }
.two-column { display: grid; gap: 36px; grid-template-columns: 1fr 1fr; }
.two-column p, .fine-print { color: var(--muted); font-size: 14px; line-height: 1.6; text-wrap: pretty; }
.data-grid { background: var(--surface); box-shadow: 0 0 0 1px rgba(23, 32, 30, .06), 0 2px 7px rgba(23, 32, 30, .04); display: grid; grid-template-columns: repeat(2, 1fr); }
.data-item { border-bottom: 1px solid var(--line); display: grid; gap: 7px; min-height: 112px; padding: 18px 20px; }
.data-item:nth-child(odd) { border-right: 1px solid var(--line); }
.data-item:nth-last-child(-n + 2) { border-bottom: 0; }
.data-item strong { color: var(--green-dark); font-size: 15px; }
.data-item span { color: var(--muted); font-size: 13px; line-height: 1.5; }
.mini-code { align-self: start; background: var(--surface); box-shadow: 0 0 0 1px rgba(23, 32, 30, .06), 0 2px 7px rgba(23, 32, 30, .04); color: var(--green-dark); font-size: 13px; overflow-x: auto; padding: 18px; white-space: nowrap; }
.code-card { background: var(--surface); box-shadow: 0 0 0 1px rgba(23, 32, 30, .06), 0 2px 7px rgba(23, 32, 30, .04); overflow: hidden; }
.code-head { align-items: center; background: #e9eee9; display: flex; font-family: var(--mono); font-size: 12px; justify-content: space-between; padding: 11px 16px; }
.code-head button { background: transparent; border: 0; color: var(--green-dark); cursor: pointer; font: inherit; font-weight: 700; padding: 0; }
pre { margin: 0; overflow-x: auto; padding: 20px; } pre code { color: #31443e; font-size: 14px; line-height: 1.75; }
.fine-print { margin: 16px 0 0; }
.route-table { background: var(--surface); box-shadow: 0 0 0 1px rgba(23, 32, 30, .06), 0 2px 7px rgba(23, 32, 30, .04); font-size: 13px; }
.route-row { align-items: center; border-bottom: 1px solid var(--line); display: grid; gap: 16px; grid-template-columns: 1.1fr 1.5fr .7fr; min-height: 52px; padding: 9px 16px; }
.route-row:last-child { border-bottom: 0; }
.route-header { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.route-row code { color: var(--green-dark); font-size: 12px; overflow-x: auto; white-space: nowrap; }
.route-row > span:last-child { color: var(--muted); font-family: var(--mono); font-size: 11px; }
.example-stack { display: grid; gap: 18px; }
.example-stack pre { max-height: 230px; }
.example-stack pre code { font-size: 13px; line-height: 1.65; }
.field-note { color: var(--muted); font-size: 13px; line-height: 1.65; margin: -4px 0 4px; }
.field-note strong { color: var(--green-dark); }
.field-note code { color: var(--green-dark); font-size: 11px; }
.flow { align-items: center; display: grid; gap: 13px; grid-template-columns: 1fr auto 1fr auto 1fr; }
.flow > div { background: var(--surface); box-shadow: 0 0 0 1px rgba(23, 32, 30, .06); display: grid; gap: 9px; min-height: 88px; padding: 16px; }
.flow strong { font-size: 13px; }
.flow code { color: var(--green-dark); font-size: 11px; overflow-wrap: anywhere; }
.flow > span { color: var(--green); font-size: 20px; }
.error-grid { display: grid; gap: 1px; grid-template-columns: repeat(2, 1fr); }
.error-grid > div { background: var(--surface); display: grid; gap: 5px; padding: 16px; }
.error-grid strong { color: var(--green-dark); font-family: var(--mono); font-size: 12px; }
.error-grid span { color: var(--muted); font-size: 13px; line-height: 1.4; }
.contract { background-color: #1c5143; color: #fff; display: grid; gap: 45px; grid-template-columns: 1fr 1fr; margin: 0 0 50px; padding: 34px 28px; scroll-margin-top: 28px; }
.contract .eyebrow { color: #fff; }
.contract p:not(.eyebrow) { font-size: 14px; line-height: 1.6; margin: 0; }
.contract code { color: #fff; font-size: 12px; }
footer { border-top: 1px solid var(--line); color: var(--muted); display: flex; font-size: 12px; justify-content: space-between; padding-top: 18px; }
footer a { color: var(--green); font-weight: 700; }
:focus-visible { outline: 3px solid rgba(216, 154, 76, .75); outline-offset: 3px; }
@media (max-width: 800px) { .layout { display: block; padding: 34px 24px 60px; } .sidebar { position: static; } .sidebar nav { display: flex; flex-wrap: wrap; gap: 3px 8px; margin-bottom: 36px; } .sidebar nav a { padding: 5px 8px; } .sidebar-foot { display: none; } .topbar { padding: 17px 24px; } .two-column, .contract { grid-template-columns: 1fr; } .contract { gap: 14px; } }
@media (max-width: 560px) { .topbar-note { display: none; } h1 { font-size: 49px; } .callout { display: block; } .callout strong { display: block; margin-bottom: 6px; } .data-grid { grid-template-columns: 1fr; } .data-item:nth-child(odd) { border-right: 0; } .data-item:nth-last-child(-n + 2) { border-bottom: 1px solid var(--line); } .data-item:last-child { border-bottom: 0; } .route-table { overflow-x: auto; } .route-row { grid-template-columns: 125px 220px 105px; width: 500px; } .flow { align-items: stretch; grid-template-columns: 1fr; } .flow > span { display: none; } .error-grid { grid-template-columns: 1fr; } footer { align-items: start; flex-direction: column; gap: 12px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }
