:root {
  --bg: #f3f4ef;
  --paper: #ffffff;
  --paper-soft: #f8f9f5;
  --ink: #171a16;
  --ink-mid: #41483f;
  --ink-soft: #71786e;
  --line: #dde1d9;
  --line-strong: #cbd1c6;
  --rail: #181b17;
  --rail-soft: #21261f;
  --rail-ink: #f3f5ed;
  --rail-muted: #aeb7a8;
  --echo: #4d7c5a;
  --echo-bright: #78a96b;
  --echo-pale: #edf3eb;
  --amber: #c9782a;
  --amber-pale: #fff7e8;
  --sky: #287e9e;
  --red: #bd433a;
  --tracer-sky: #0ea5e9;
  --tracer-orange: #f97316;
  --tracer-red: #dc2626;
  --code-bg: #101510;
  --code-panel: #151b15;
  --code-ink: #dce8d7;
  --sans: "Avenir Next", Avenir, "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --header-height: 66px;
  --sidebar-width: 252px;
  --article-width: 880px;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; background: var(--bg); }
body { min-width: 320px; min-height: 100%; margin: 0; overflow-x: clip; background: var(--bg); color: var(--ink); font: 15px/1.62 var(--sans); letter-spacing: 0; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.navigation-open { overflow: hidden; }
button { color: inherit; font: inherit; letter-spacing: 0; }
a { color: var(--echo); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
button:focus-visible, a:focus-visible, [role="tab"]:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }
[hidden] { display: none !important; }
svg { display: block; }
code, pre { font-family: var(--mono); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; margin: -1px; padding: 0; border: 0; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.skip-link { position: fixed; top: 10px; left: 12px; z-index: 300; padding: 8px 11px; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--paper); color: var(--ink); font-size: 12px; font-weight: 700; text-decoration: none; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-height); border-top: 3px solid var(--echo); border-bottom: 1px solid #30362d; background: var(--rail); color: var(--rail-ink); }
.header-inner { width: 100%; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 24px; }
.header-leading, .brand, .account-link { display: flex; align-items: center; }
.header-leading { min-width: 0; gap: 14px; }
.brand { gap: 10px; color: var(--rail-ink); font-size: 17px; font-weight: 720; line-height: 1; text-decoration: none; }
.brand:hover { color: var(--rail-ink); }
.brand-name { display: inline-flex; align-items: baseline; gap: 5px; white-space: nowrap; }
.brand-name small { color: var(--rail-muted); font-size: 10px; font-weight: 620; }
.header-divider { width: 1px; height: 22px; background: #3b4238; }
.product-label { color: var(--rail-muted); font: 700 11px/1 var(--mono); text-transform: uppercase; }
.account-link { min-height: 38px; gap: 8px; padding: 0 11px; border: 1px solid #3a4137; border-radius: 5px; color: var(--rail-ink); font-size: 12px; font-weight: 680; text-decoration: none; }
.account-link:hover { border-color: #566152; background: var(--rail-soft); color: var(--rail-ink); }
.account-link svg { width: 15px; height: 15px; stroke-width: 1.8; }
.account-link svg:last-child { width: 13px; height: 13px; color: var(--rail-muted); }

.tracer-echo-mark { --mark-h: 18px; --bar-w: 2px; --bar-gap: 1px; width: max-content; height: var(--mark-h); display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: var(--bar-gap); padding: 3px; }
.tracer-echo-mark i { display: block; flex: 0 0 auto; width: var(--bar-w); background: var(--tracer-sky); }
.tracer-echo-mark i:nth-child(1) { height: 35%; background: var(--tracer-sky); }
.tracer-echo-mark i:nth-child(2) { height: 80%; background: var(--tracer-orange); }
.tracer-echo-mark i:nth-child(3) { height: 52%; background: var(--tracer-red); }
.tracer-echo-mark i:nth-child(4) { height: 100%; background: var(--echo-bright); }
.tracer-echo-mark i:nth-child(5) { height: 44%; background: var(--tracer-sky); }
.tracer-echo-mark-hero { --mark-h: 76px; --bar-w: 7px; --bar-gap: 6px; padding: 0; }

.icon-button { width: 38px; height: 38px; flex: 0 0 38px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 1px solid transparent; border-radius: 5px; background: transparent; cursor: pointer; }
.icon-button svg { width: 18px; height: 18px; stroke-width: 1.8; }
.menu-button, .close-button { display: none; color: var(--rail-muted); }
.icon-button:hover { border-color: #3a4137; background: var(--rail-soft); color: var(--rail-ink); }

.docs-shell { min-height: 100vh; padding-top: var(--header-height); }
.docs-sidebar { position: fixed; top: var(--header-height); bottom: 0; left: 0; z-index: 80; width: var(--sidebar-width); display: flex; flex-direction: column; padding: 24px 14px 18px; border-right: 1px solid var(--line); background: #eff1eb; }
.sidebar-heading { display: flex; align-items: center; justify-content: space-between; min-height: 34px; padding: 0 11px 12px; color: var(--ink-soft); font: 760 9px/1 var(--mono); text-transform: uppercase; }
.section-navigation { display: flex; flex-direction: column; gap: 2px; }
.section-navigation a { position: relative; min-height: 42px; display: flex; align-items: center; gap: 11px; padding: 9px 11px; border: 1px solid transparent; border-radius: 5px; color: var(--ink-soft); font-size: 12px; font-weight: 650; text-decoration: none; }
.section-navigation a::before { content: ""; position: absolute; top: 10px; bottom: 10px; left: -1px; width: 2px; background: transparent; }
.section-navigation a:hover { border-color: var(--line); background: var(--paper-soft); color: var(--ink); }
.section-navigation a[aria-current="true"] { border-color: #d3d9cf; background: var(--paper); color: var(--ink); }
.section-navigation a[aria-current="true"]::before { background: var(--echo); }
.section-navigation a svg { width: 16px; height: 16px; flex: 0 0 16px; stroke-width: 1.8; }
.section-navigation a[aria-current="true"] svg { color: var(--echo); }
.sidebar-footer { margin-top: auto; padding: 16px 11px 0; border-top: 1px solid var(--line-strong); }
.sidebar-footer p { margin: 0 0 10px; color: var(--ink-soft); font-size: 10px; line-height: 1.5; }
.sidebar-footer a { display: inline-flex; align-items: center; gap: 6px; color: var(--echo); font-size: 11px; font-weight: 730; text-decoration: none; }
.sidebar-footer a:hover { color: var(--ink); }
.sidebar-footer svg { width: 14px; height: 14px; }

.docs-main { min-width: 0; margin-left: var(--sidebar-width); }
.docs-article { width: min(100% - 72px, var(--article-width)); margin: 0 auto; padding: 76px 0 64px; }
.hero { position: relative; scroll-margin-top: 96px; padding: 0 132px 70px 0; border-bottom: 1px solid var(--line-strong); }
.hero-lockup { position: absolute; top: 12px; right: 6px; display: flex; align-items: center; justify-content: center; width: 100px; height: 108px; border-left: 1px solid var(--line); }
.eyebrow, .section-heading p { margin: 0; color: var(--echo); font: 760 10px/1 var(--mono); text-transform: uppercase; }
.hero h1 { max-width: 700px; margin: 15px 0 18px; color: var(--ink); font-size: 56px; font-weight: 700; line-height: 1.02; letter-spacing: 0; }
.hero-summary { max-width: 720px; margin: 0; color: var(--ink-mid); font-size: 18px; line-height: 1.55; }
.hero-summary code, .docs-section > p code, .notice code, td code, li code, .stream-steps code, .status-list code, .muted-copy code, .security-callout code { padding: 1px 4px; border-radius: 3px; background: #e9ece5; color: #31583a; font-size: .9em; }

.endpoint-bar { min-width: 0; min-height: 58px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; margin-top: 35px; padding: 8px 9px 8px 12px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--paper); }
.endpoint-method span { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; height: 27px; border-radius: 3px; background: var(--echo-pale); color: #386344; font: 800 9px/1 var(--mono); }
.endpoint-bar > code { min-width: 0; overflow: hidden; color: var(--ink-mid); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.copy-button { min-height: 32px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 9px; border: 1px solid #3b463a; border-radius: 4px; background: transparent; color: #b8c6b4; font-size: 10px; font-weight: 700; cursor: pointer; }
.copy-button:hover { border-color: #6e836b; background: #1d251d; color: #eff7ec; }
.copy-button svg { width: 14px; height: 14px; stroke-width: 1.8; }
.endpoint-bar .copy-button { border-color: var(--line); color: var(--ink-soft); }
.endpoint-bar .copy-button:hover { border-color: var(--echo); background: var(--echo-pale); color: var(--echo); }
.copy-button.is-copied { border-color: var(--echo-bright); color: var(--echo-bright); }

.fact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 24px 0 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.fact-grid > div { min-width: 0; padding: 14px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.45); }
.fact-grid dt { margin: 0 0 5px; color: var(--ink-soft); font: 730 9px/1 var(--mono); text-transform: uppercase; }
.fact-grid dd { min-width: 0; margin: 0; overflow: hidden; color: var(--ink-mid); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.fact-grid code { font-size: 11px; }

.notice { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; margin-top: 24px; padding: 15px 17px; border-left: 3px solid var(--sky); background: #eef8fb; color: #32697c; }
.notice > svg { width: 19px; height: 19px; margin-top: 2px; stroke-width: 1.8; }
.notice strong { display: block; margin-bottom: 2px; color: #24596d; font-size: 12px; }
.notice p { margin: 0; font-size: 11px; line-height: 1.58; }
.notice-scope { border-left-color: var(--echo); background: var(--echo-pale); color: #4c6851; }
.notice-scope > svg, .notice-scope strong { color: #386344; }
.notice-warning { border-left-color: var(--amber); background: var(--amber-pale); color: #725133; }
.notice-warning > svg, .notice-warning strong { color: #8c581f; }

.docs-section { scroll-margin-top: 92px; padding: 72px 0; border-bottom: 1px solid var(--line-strong); }
.section-heading { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 23px; }
.section-heading > div { padding-top: 3px; }
.section-index { width: 37px; height: 37px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 37px; border: 1px solid var(--line-strong); color: var(--ink-soft); font: 700 9px/1 var(--mono); }
.section-heading h2 { margin: 7px 0 0; color: var(--ink); font-size: 31px; font-weight: 680; line-height: 1.1; }
.docs-section > p { max-width: 790px; margin: 0 0 22px; color: var(--ink-mid); }
.docs-section > h3 { margin: 38px 0 10px; color: var(--ink); font-size: 18px; font-weight: 680; }
.muted-copy { color: var(--ink-soft) !important; font-size: 12px; }

.pricing-rate-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.pricing-rate { min-width: 0; padding: 21px 19px; border-top: 3px solid var(--echo); }
.pricing-rate + .pricing-rate { border-left: 1px solid var(--line); }
.pricing-rate-quick { border-top-color: var(--sky); }
.pricing-rate-focused { border-top-color: var(--echo); }
.pricing-rate-deep { border-top-color: var(--amber); }
.pricing-rate > span { float: right; color: var(--ink-soft); font: 720 9px/1 var(--mono); }
.pricing-rate h3 { margin: 0; color: var(--ink); font-size: 19px; }
.pricing-rate > p { min-height: 50px; margin: 12px 0 17px; color: var(--ink-soft); font-size: 10.5px; line-height: 1.5; }
.pricing-rate dl, .pricing-rate dl > div { margin: 0; }
.pricing-rate dl { display: grid; gap: 9px; }
.pricing-rate dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-top: 9px; border-top: 1px solid var(--line); }
.pricing-rate dt { color: var(--ink-soft); font-size: 9.5px; }
.pricing-rate dd { margin: 0; color: var(--ink); font-size: 18px; font-weight: 680; font-variant-numeric: tabular-nums; }
.pricing-rate dd small { color: var(--ink-soft); font-size: 9px; font-weight: 600; }
.pricing-formula { min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 18px; margin-top: 22px; padding: 14px 16px; border: 1px solid var(--line); background: var(--paper-soft); }
.pricing-formula span { color: var(--ink-soft); font: 730 9px/1 var(--mono); text-transform: uppercase; }
.pricing-formula code { min-width: 0; overflow-x: auto; color: var(--ink-mid); font-size: 10.5px; white-space: nowrap; }

.code-explorer, .code-frame { margin-top: 26px; overflow: hidden; border: 1px solid #303a2f; border-radius: 6px; background: var(--code-bg); box-shadow: 0 10px 24px rgba(23,26,22,.08); }
.language-tabs { min-height: 47px; display: flex; align-items: flex-end; gap: 2px; padding: 0 12px; border-bottom: 1px solid #303a2f; background: #0c110c; }
.language-tabs button { position: relative; height: 46px; min-width: 82px; padding: 0 12px; border: 0; background: transparent; color: #7f927d; font: 700 10px/1 var(--mono); cursor: pointer; }
.language-tabs button::after { content: ""; position: absolute; right: 10px; bottom: -1px; left: 10px; height: 2px; background: transparent; }
.language-tabs button:hover { color: var(--code-ink); }
.language-tabs button[aria-selected="true"] { color: #eff7ec; }
.language-tabs button[aria-selected="true"]::after { background: var(--echo-bright); }
.code-panel, .code-frame { min-width: 0; }
.code-toolbar { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 5px 8px 5px 16px; border-bottom: 1px solid #303a2f; background: var(--code-panel); color: #849681; font: 680 9px/1.4 var(--mono); text-transform: uppercase; }
.code-toolbar > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.code-toolbar code { color: #b8c6b4; text-transform: none; }
pre { min-width: 0; margin: 0; overflow: auto; padding: 22px 24px 25px; color: var(--code-ink); font: 12px/1.72 var(--mono); tab-size: 2; scrollbar-color: #435043 transparent; }
pre:focus-visible { outline: 2px solid var(--sky); outline-offset: -2px; }
pre code { font: inherit; white-space: pre; }
.copy-fallback-buffer { position: fixed; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.compact-code pre { padding-top: 18px; padding-bottom: 19px; }
.token-command, .token-keyword { color: #8ec7e4; }
.token-string { color: #aed59d; }
.token-number { color: #e5b975; }
.token-key { color: #d4a59e; }

.two-column-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 27px; border: 1px solid var(--line); background: var(--line); }
.two-column-notes > div { padding: 20px; background: var(--paper-soft); }
.two-column-notes svg { width: 19px; height: 19px; margin-bottom: 13px; color: var(--echo); stroke-width: 1.7; }
.two-column-notes h3, .security-grid h3 { margin: 0 0 6px; color: var(--ink); font-size: 13px; }
.two-column-notes p, .security-grid p { margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.58; }

.table-wrap { width: 100%; margin-top: 28px; overflow-x: auto; border: 1px solid var(--line-strong); background: var(--paper); }
table { width: 100%; min-width: 680px; border-collapse: collapse; text-align: left; }
th { padding: 11px 14px; border-bottom: 1px solid var(--line-strong); background: var(--paper-soft); color: var(--ink-soft); font: 750 9px/1 var(--mono); text-transform: uppercase; }
td { padding: 13px 14px; border-bottom: 1px solid var(--line); color: var(--ink-mid); font-size: 11px; line-height: 1.55; vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
td:first-child { width: 160px; color: var(--ink); }
td:nth-child(2) { width: 100px; color: var(--ink-soft); font-family: var(--mono); font-size: 10px; }

.definition-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 23px 0; border: 1px solid var(--line); background: var(--line); }
.definition-grid > div { min-width: 0; display: flex; flex-direction: column; gap: 7px; padding: 16px; background: var(--paper); }
.definition-grid code { overflow-wrap: anywhere; color: #386344; font-size: 10px; font-weight: 700; }
.definition-grid span { color: var(--ink-soft); font-size: 10.5px; line-height: 1.5; }

.stream-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.stream-steps > div { position: relative; min-height: 160px; padding: 18px 17px; border-top: 2px solid var(--echo); background: var(--paper); }
.stream-steps > div > span { position: absolute; top: 16px; right: 16px; color: var(--line-strong); font: 750 24px/1 var(--mono); }
.stream-steps strong { display: block; padding-right: 26px; color: var(--ink); font-size: 12px; }
.stream-steps p { margin: 12px 0 0; color: var(--ink-soft); font-size: 10.5px; line-height: 1.55; }

.status-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 27px; border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
.status-list > div { min-width: 0; display: grid; grid-template-columns: 43px minmax(0, 1fr); gap: 12px; padding: 15px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); background: rgba(255,255,255,.45); }
.status-list > div > code { width: 43px; height: 29px; display: flex; align-items: center; justify-content: center; padding: 0; border-radius: 3px; background: #e8ebe5; color: var(--ink-mid); font-size: 10px; }
.status-list p { min-width: 0; margin: 0; }
.status-list strong, .status-list span { display: block; }
.status-list strong { color: var(--ink); font-size: 11px; }
.status-list span { margin-top: 2px; color: var(--ink-soft); font-size: 10px; line-height: 1.45; }

.limit-flow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; margin: 28px 0; }
.limit-flow > div { min-height: 92px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; border: 1px solid var(--line-strong); background: var(--paper); color: var(--ink-mid); font-size: 11px; font-weight: 680; }
.limit-flow > div svg { width: 20px; height: 20px; color: var(--echo); stroke-width: 1.7; }
.limit-flow > svg { width: 16px; height: 16px; color: var(--ink-soft); }
.check-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.check-list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; color: var(--ink-mid); font-size: 12px; }
.check-list svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--echo-pale); color: var(--echo); stroke-width: 2.5; }

.security-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.security-grid > div { min-height: 170px; padding: 20px; border: 1px solid var(--line); background: var(--paper); }
.security-grid svg { width: 22px; height: 22px; margin-bottom: 24px; color: var(--echo); stroke-width: 1.6; }
.security-callout { min-height: 178px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px; margin-top: 26px; padding: 28px 30px; background: var(--rail); color: var(--rail-ink); }
.security-callout h3 { margin: 9px 0 8px; color: var(--rail-ink); font-size: 20px; }
.security-callout p:last-child { max-width: 650px; margin: 0; color: var(--rail-muted); font-size: 11px; line-height: 1.6; }
.security-callout code { background: #2b3329; color: #b9d5b3; }
.security-callout > svg { width: 58px; height: 58px; color: var(--echo-bright); stroke-width: 1.2; }

.docs-footer { min-height: 130px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px 0 0; }
.docs-footer > div { display: flex; align-items: center; gap: 13px; }
.docs-footer p { display: flex; flex-direction: column; margin: 0; }
.docs-footer strong { color: var(--ink); font-size: 12px; }
.docs-footer p span { color: var(--ink-soft); font-size: 10px; }
.docs-footer > a { min-height: 40px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 5px; background: var(--paper); color: var(--ink-mid); font-size: 11px; font-weight: 700; text-decoration: none; }
.docs-footer > a:hover { border-color: var(--echo); color: var(--echo); }
.docs-footer > a svg { width: 15px; height: 15px; }

.navigation-scrim { position: fixed; inset: var(--header-height) 0 0; z-index: 70; background: rgba(14,17,13,.54); backdrop-filter: blur(2px); }
.copy-toast { position: fixed; right: 22px; bottom: calc(22px + env(safe-area-inset-bottom)); z-index: 200; min-width: 150px; padding: 11px 14px; border-left: 3px solid var(--echo-bright); background: var(--rail); color: var(--rail-ink); font-size: 11px; box-shadow: 0 10px 32px rgba(0,0,0,.2); }

@media (max-width: 980px) {
  .menu-button, .close-button { display: inline-flex; }
  .header-inner { padding: 0 16px; }
  .docs-sidebar { transform: translateX(-105%); transition: transform 180ms ease; box-shadow: 12px 0 28px rgba(23,26,22,.15); }
  body.navigation-open .docs-sidebar { transform: translateX(0); }
  .docs-main { margin-left: 0; }
  .docs-article { width: min(100% - 56px, var(--article-width)); }
}

@media (max-width: 700px) {
  :root { --header-height: 60px; }
  html { scroll-padding-top: 78px; }
  .header-inner { gap: 10px; padding: 0 max(10px, env(safe-area-inset-right)) 0 max(10px, env(safe-area-inset-left)); }
  .header-leading { gap: 9px; }
  .header-divider, .product-label { display: none; }
  .brand-name small { display: none; }
  .icon-button, .account-link { width: 44px; height: 44px; flex-basis: 44px; }
  .account-link { justify-content: center; padding: 0; }
  .account-link span, .account-link svg:last-child { display: none; }
  .docs-sidebar { width: min(82vw, 286px); padding-top: 18px; }
  .docs-article { width: calc(100% - 32px); padding-top: 45px; }
  .hero { padding: 0 0 52px; }
  .hero-lockup { position: static; width: auto; height: 66px; justify-content: flex-start; margin-bottom: 27px; border: 0; }
  .tracer-echo-mark-hero { --mark-h: 58px; --bar-w: 6px; --bar-gap: 5px; }
  .hero h1 { margin-top: 12px; font-size: 43px; }
  .hero-summary { font-size: 16px; }
  .endpoint-bar { grid-template-columns: auto minmax(0, 1fr) 44px; gap: 8px; padding-left: 8px; }
  .endpoint-bar .copy-button { width: 44px; height: 44px; padding: 0; }
  .endpoint-bar .copy-button span { display: none; }
  .fact-grid { grid-template-columns: 1fr; }
  .docs-section { padding: 54px 0; scroll-margin-top: 76px; }
  .section-heading { gap: 12px; }
  .section-heading h2 { font-size: 27px; }
  .two-column-notes, .definition-grid, .security-grid, .pricing-rate-grid { grid-template-columns: 1fr; }
  .pricing-rate + .pricing-rate { border-left: 0; }
  .pricing-formula { grid-template-columns: 1fr; gap: 8px; }
  .stream-steps { grid-template-columns: 1fr; }
  .stream-steps > div { min-height: 128px; }
  .status-list { grid-template-columns: 1fr; }
  .limit-flow { grid-template-columns: 1fr; gap: 8px; }
  .limit-flow > div { min-height: 72px; }
  .limit-flow > svg { justify-self: center; transform: rotate(90deg); }
  pre { padding: 18px; font-size: 11px; }
  .code-toolbar { padding-left: 12px; }
  .language-tabs { overflow-x: auto; }
  .language-tabs button { min-width: 82px; min-height: 44px; }
  .security-callout { min-height: 0; padding: 24px; }
  .security-callout > svg { display: none; }
  .docs-footer { align-items: stretch; flex-direction: column; padding: 32px 0 8px; }
  .docs-footer > a { justify-content: center; }
}

@media (max-width: 380px) {
  .docs-article { width: calc(100% - 24px); }
  .hero h1 { font-size: 37px; }
  .endpoint-method span { min-width: 42px; }
  .endpoint-bar > code { font-size: 10px; }
  .section-heading h2 { font-size: 24px; }
  .status-list > div { grid-template-columns: 39px minmax(0, 1fr); padding: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .docs-sidebar { transition: none; }
}
