@font-face { font-family: "DM Sans"; src: url('/assets/fonts/DMSans-Variable.woff2') format('woff2'); font-style: normal; font-weight: 100 1000; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url('/assets/fonts/IBMPlexMono-Regular.woff2') format('woff2'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url('/assets/fonts/IBMPlexMono-Medium.woff2') format('woff2'); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url('/assets/fonts/IBMPlexMono-SemiBold.woff2') format('woff2'); font-style: normal; font-weight: 600; font-display: swap; }

:root {
  --bg: #F7F8F6;
  --surface: #FFFFFF;
  --code-bg: #EFF2EF;
  --mint: #83b7a3;
  --mint-light: rgba(131, 183, 163, .16);
  --text: #17211C;
  --accent-ink: var(--text);
  --muted: #59635D;
  --rule: rgba(23, 33, 28, .10);
  --route-idle: rgba(23, 33, 28, .20);
  --syntax-green: #345E4B;
  --syntax-number: #795B36;
  --syntax-symbol: #635576;
  --radius: 14px;
  --control-radius: 8px;
  --shadow: 0 12px 32px rgba(23, 33, 28, .04);
  --motion-fast: 160ms;
  --motion-change: 260ms;
  --motion-route: 3200ms;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --tracking-display: -.045em;
  --tracking-heading: -.035em;
  --sans: "DM Sans", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 5px; }
[hidden] { display: none !important; }
::selection { background: var(--mint-light); color: var(--text); }
.wrap { width: min(100% - clamp(40px, 8vw, 160px), 1280px); margin-inline: auto; }

.masthead { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 94%, transparent); border-bottom: 1px solid var(--rule); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.masthead .wrap { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 27px; font-weight: 500; letter-spacing: -.065em; line-height: 1; text-decoration: none; white-space: nowrap; }
.logo-mark { position: relative; display: inline-block; flex: none; width: 30px; aspect-ratio: 824 / 784; }
/* The source stays intact; these bounds account for its transparent padding. */
.logo-mark img { position: absolute; display: block; width: 171.2379%; max-width: none; height: auto; left: -34.8301%; top: -23.7245%; }
.wordmark .logo-mark { top: -1px; }
.masthead nav { display: flex; align-items: center; gap: 32px; }
.masthead nav > a:not(.btn) { min-height: 44px; display: inline-flex; align-items: center; padding: 10px 0; color: var(--muted); font-size: 14px; text-decoration: none; text-underline-offset: 7px; transition: color var(--motion-fast) var(--ease); }
.masthead nav > a:not(.btn):hover, .masthead nav > a[aria-current="location"] { color: var(--text); text-decoration: underline; text-decoration-color: var(--mint); text-decoration-thickness: 2px; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 18px; border: 1px solid transparent; border-radius: 100px; text-decoration: none; font-size: 15px; font-weight: 600; line-height: 1; white-space: nowrap; transition: border-color var(--motion-fast) var(--ease); }
.btn-primary { color: var(--text); background: var(--mint); }
.btn-primary:hover { border-color: var(--text); }
.btn span { font-size: 1.2em; }
.nav-cta { min-height: 44px; padding: 0 23px; }
.text-link { display: inline-flex; align-items: center; justify-content: center; gap: 15px; min-height: 44px; text-decoration: none; font-size: 15px; font-weight: 500; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }

.hero { position: relative; display: grid; grid-template-areas: "copy" "flow" "actions"; gap: 24px; padding: 48px max(20px, 4vw, calc((100vw - 1280px) / 2)); }
.hero-copy { grid-area: copy; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); column-gap: 64px; align-items: end; }
.hero-eyebrow { grid-column: 1 / -1; }
.eyebrow { margin: 0 0 20px; color: var(--muted); font: 500 12px/1.5 var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(54px, 5.4vw, 78px); line-height: 1.04; font-weight: 600; letter-spacing: var(--tracking-display); }
.hero h1 em { font-style: normal; }
.hero .lede { max-width: 320px; margin: 0 0 6px; color: var(--muted); font-size: 18px; line-height: 1.6; letter-spacing: -.015em; }
.hero-actions { grid-area: actions; display: flex; align-items: center; justify-content: center; gap: 26px; }
.hero-cta { min-height: 54px; padding: 0 29px; }
.flow-art { grid-area: flow; position: relative; width: 100%; max-width: 1040px; justify-self: center; }
.flow-stage { position: relative; width: 100%; }
.routing-visual { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--sans); }
.flow-logo { position: absolute; left: 43.617%; top: 46.528%; width: 11.064%; transform: translate(-50%, -50%); pointer-events: none; }
.route-wires { fill: none; stroke: var(--route-idle); stroke-width: 1.6; stroke-linecap: round; }
.route-wires .inactive-wire { stroke-dasharray: 4 6; }
.route-wires .route-selected { stroke: var(--mint); stroke-width: 3; }
.route-trail { fill: none; stroke: var(--mint); stroke-width: 3; }
.is-streaming .route-selected { opacity: 0; }
.route-signal { fill: var(--text); stroke: var(--bg); stroke-width: 2; opacity: 0; }
.route-origin { fill: var(--mint); }
.route-input { fill: var(--muted); font-size: 20px; font-weight: 500; }
.route-wordmark { fill: var(--text); font-size: 20px; font-weight: 500; letter-spacing: -.8px; }
.route-destination circle { fill: var(--bg); stroke: var(--route-idle); stroke-width: 2; }
.route-destination text { fill: var(--muted); font-size: 22px; transition: fill var(--motion-fast) var(--ease); }
.route-inactive-label { font-size: 15px; font-weight: 400; }
.flow-controls { display: flex; align-items: center; justify-content: flex-end; gap: 18px; margin-top: 8px; color: var(--muted); font: 400 11px/1.5 var(--mono); }
.toggle-route { width: 94px; flex: none; min-height: 44px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--rule); background: transparent; color: var(--text); font: 500 12px var(--sans); cursor: pointer; transition: border-color var(--motion-fast) var(--ease); }
.toggle-route:hover { border-color: var(--mint); }
.toggle-route:disabled { color: var(--muted); cursor: default; }
.mobile-flow { display: none; }

section:not(.hero) { position: relative; padding: 88px 0; border-top: 1px solid var(--rule); scroll-margin-top: 104px; }
.sec-head { max-width: 740px; margin-bottom: 40px; }
.sec-head h2 { margin: 0 0 18px; font-size: clamp(36px, 3.5vw, 52px); font-weight: 400; line-height: 1.12; letter-spacing: var(--tracking-heading); }
.sec-head p:not(.eyebrow) { max-width: 650px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.sec-head a { text-underline-offset: 4px; }
.endpoint-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--rule); }
.endpoint-card { position: relative; min-height: 180px; padding: 26px 22px; border-right: 1px solid var(--rule); text-decoration: none; transition: background var(--motion-fast) var(--ease); }
.endpoint-card:last-child { border-right: 0; }
.endpoint-card:hover { background: var(--surface); }
.endpoint-card small { display: block; margin-bottom: 24px; color: var(--muted); font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.endpoint-card strong { display: block; font: 500 clamp(13px, 1.1vw, 16px)/1.4 var(--mono); letter-spacing: -.04em; white-space: nowrap; }
.endpoint-card strong span { color: var(--accent-ink); }
.endpoint-card p { margin: 14px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.endpoint-card b { position: absolute; right: 20px; top: 22px; color: var(--accent-ink); font-size: 20px; font-weight: 400; }

.hero-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.hero-grid > div { min-width: 0; display: flex; flex-direction: column; }
.api-pair .hero-grid .panel { flex: 1; }
.panel { min-width: 0; overflow: hidden; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--code-bg); }
.panel-bar { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 20px; border-bottom: 1px solid var(--rule); background: var(--code-bg); color: var(--muted); font: 500 11px var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.panel-bar .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.panel-bar .grow { flex: 1; }
.copy-btn { width: 98px; flex: none; min-height: 44px; padding: 7px 10px; border: 1px solid var(--rule); border-radius: var(--control-radius); background: var(--surface); color: var(--text); cursor: pointer; font: 500 12px var(--sans); transition: border-color var(--motion-fast) var(--ease); }
.copy-btn:hover { border-color: var(--text); }
pre { margin: 0; padding: 26px; overflow: auto; color: var(--text); font: 400 12px/1.8 var(--mono); tab-size: 2; }
code { font-family: var(--mono); }
.c-cmd { color: var(--text); }.c-flag { color: var(--muted); }.c-str, .c-key, .c-hi { color: var(--syntax-green); }.c-num { color: var(--syntax-number); }.c-bool, .c-vi { color: var(--syntax-symbol); }.c-cm { color: var(--muted); font-style: italic; }
.annot { display: flex; gap: 10px; margin: 20px 0 0; color: var(--muted); font: 400 11px/1.6 var(--mono); }
.annot b { color: var(--accent-ink); font-weight: 400; }

.example-workspace { overflow: hidden; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.example-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; padding: 10px 24px; border-bottom: 1px solid var(--rule); }
.example-query { font-size: 15px; font-weight: 500; }
.example-query span { margin-right: 12px; color: var(--accent-ink); }
.example-tabs { position: relative; display: flex; gap: 5px; }
.example-tab { position: relative; min-height: 44px; padding: 8px 15px; border: 0; border-radius: var(--control-radius); background: transparent; color: var(--muted); font: 500 13px var(--sans); cursor: pointer; transition: background var(--motion-fast) var(--ease); }
.example-tab:hover { background: var(--code-bg); color: var(--text); }
.example-tab[aria-selected="true"] { background: var(--mint-light); color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.example-tab[aria-selected="true"]:after { content: ""; position: absolute; bottom: 0; left: 12px; right: 12px; height: 3px; background: var(--mint); border-radius: 3px; }
.example-view { height: 320px; overflow: auto; }
.example-view pre { height: calc(100% - 56px); background: var(--code-bg); }
.example-view .panel-bar { background: var(--code-bg); }
.sample-label { margin: 28px 30px 15px; color: var(--muted); font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.sample-result { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 20px; margin: 0 30px; padding: 24px 0; border-block: 1px solid var(--rule); }
.sample-rank { color: var(--accent-ink); font: 500 15px var(--mono); }
.sample-result h3 { margin: 0 0 6px; font-size: 22px; font-weight: 500; letter-spacing: -.03em; }
.sample-result p { max-width: 620px; margin: 0 0 20px; color: var(--muted); font-size: 15px; }
.sample-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.sample-meta span { padding: 6px 9px; border: 1px solid var(--rule); border-radius: var(--control-radius); color: var(--muted); font: 500 11px var(--mono); }
.sample-note { margin: 16px 30px 30px; color: var(--muted); font-size: 12px; }

.provider-workspace { border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); }
.provider-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 16px; border-bottom: 1px solid var(--rule); }
.provider-tabs { position: relative; display: flex; flex-wrap: wrap; gap: 4px; }
.provider-tabs button { position: relative; min-height: 44px; padding: 10px 16px; border: 0; border-radius: var(--control-radius); background: transparent; color: var(--muted); font: 500 14px var(--sans); white-space: nowrap; cursor: pointer; transition: background var(--motion-fast) var(--ease); }
.provider-tabs button:hover { color: var(--text); background: var(--code-bg); }
.provider-tabs button[aria-selected="true"] { color: var(--text); background: var(--mint-light); box-shadow: inset 0 0 0 1px var(--text); }
.provider-tabs button[aria-selected="true"]:after { content: ""; position: absolute; bottom: 0; left: 12px; right: 12px; height: 3px; border-radius: 3px; background: var(--mint); }
.provider-tabs small { margin-left: 3px; color: var(--muted); font: 500 11px var(--mono); }
.compare-button { flex: none; min-height: 44px; border: 0; background: transparent; color: var(--accent-ink); font: 500 13px var(--sans); text-decoration: underline; text-underline-offset: 5px; cursor: pointer; }
.compare-button span { margin-left: 5px; text-decoration: none; }
.provider-detail { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; min-height: 224px; padding: 30px; }
.provider-detail .eyebrow { margin-bottom: 12px; }
.provider-detail h3 { margin: 0 0 8px; font-size: 28px; font-weight: 500; letter-spacing: -.04em; }
.provider-detail p:not(.eyebrow) { max-width: 430px; margin: 0; color: var(--muted); font-size: 16px; }
.provider-detail ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.provider-detail li { padding: 6px 9px; border: 1px solid var(--rule); border-radius: var(--control-radius); color: var(--text); font-size: 12px; }
.provider-detail .text-link { min-height: 44px; color: var(--text); font-size: 13px; text-decoration: underline; text-underline-offset: 5px; }
.provider-workspace + .matrix-scroll { margin-top: 16px; }

.key-placeholder { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0 0 32px; padding: 0 0 28px; border-bottom: 1px solid var(--rule); }
.key-placeholder .eyebrow { margin-bottom: 8px; }
.key-placeholder h3 { margin: 0 0 7px; font-size: 25px; font-weight: 400; letter-spacing: -.04em; }
.key-placeholder p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 14px; }
.key-action { display: flex; flex-direction: column; align-items: center; gap: 9px; flex: none; }
.key-button { min-height: 46px; padding: 0 22px; border-color: var(--rule); background: var(--code-bg); color: var(--muted); cursor: not-allowed; }
.key-action span { color: var(--muted); font: 500 11px var(--mono); }
.tabs { position: relative; display: flex; gap: 4px; flex-wrap: wrap; padding: 8px 16px; width: 100%; border: 1px solid var(--rule); border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0; background: var(--surface); }
.tab { position: relative; min-height: 44px; border: 0; border-radius: var(--control-radius); padding: 11px 16px; background: transparent; color: var(--muted); cursor: pointer; font: 500 14px var(--sans); white-space: nowrap; transition: background var(--motion-fast) var(--ease); }
.tab:hover { color: var(--text); background: var(--code-bg); }
.tab[aria-selected="true"] { background: var(--mint-light); color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.tab[aria-selected="true"]:after { content: ""; position: absolute; bottom: 0; left: 12px; right: 12px; height: 3px; border-radius: 3px; background: var(--mint); }
#tabpanels { border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); }
#tabpanels pre { height: 320px; }
.matrix-scroll { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); }
.matrix { width: 100%; min-width: 690px; border-collapse: collapse; text-align: left; }
.matrix th { padding: 17px 19px; color: var(--muted); background: var(--code-bg); font: 500 11px var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.matrix td { border-top: 1px solid var(--rule); padding: 20px 19px; color: var(--muted); font-size: 14px; }
.matrix .name { color: var(--text); font-weight: 500; }
.matrix .cap { font-family: var(--mono); font-size: 11px; }
.matrix .yes, .matrix .no { text-align: center; }
.matrix .yes span, .matrix .no span { display: inline-block; width: 11px; height: 11px; border-radius: 50%; background: var(--mint); border: 1px solid var(--text); }
.matrix .no span { background: transparent; border-color: var(--muted); }
.tag { margin-left: 8px; padding: 3px 6px; border-radius: 4px; font: 500 9px var(--mono); letter-spacing: .02em; text-transform: uppercase; }
.tag-licensed { color: var(--text); background: var(--mint-light); }.tag-soon { color: var(--muted); background: var(--code-bg); }
.inline-code { padding: 2px 5px; border-radius: 4px; background: var(--code-bg); color: var(--accent-ink); font: .82em var(--mono); }

.site-footer { padding: 64px 0 28px; border-top: 1px solid var(--rule); }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 35px; }
.site-footer .wordmark { margin-bottom: 16px; }
.site-footer h4 { margin: 0 0 19px; color: var(--muted); font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.site-footer a:not(.wordmark) { display: flex; align-items: center; width: fit-content; min-height: 44px; margin: 0 0 5px; color: var(--muted); text-decoration: none; font-size: 14px; }
.site-footer a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--rule); color: var(--muted); font: 400 10px var(--mono); }

.auth-page { min-height: 100svh; display: grid; place-items: center; padding: 48px 24px; }
.auth-shell { width: min(100%, 480px); }
.auth-shell .wordmark { margin-bottom: 64px; }
.auth-shell .eyebrow { margin-bottom: 12px; }
.auth-shell h1 { margin: 0 0 20px; font-size: clamp(32px, 5vw, 42px); font-weight: 600; line-height: 1.1; letter-spacing: var(--tracking-heading); }
.auth-description { margin: 0 0 28px; color: var(--muted); overflow-wrap: anywhere; }
.auth-form { display: grid; gap: 12px; }
.auth-form label { font-size: 14px; font-weight: 500; }
.auth-form input[type="password"] { width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid var(--rule); border-radius: var(--control-radius); background: var(--surface); color: var(--text); font: inherit; }
.auth-form input::placeholder { color: var(--muted); }
.auth-form input[aria-invalid="true"] { border-color: var(--text); }
.auth-form .btn { min-height: 50px; margin-top: 8px; cursor: pointer; }
.auth-shell > .text-link { margin-top: 20px; text-decoration: underline; text-underline-offset: 5px; }
.auth-error { padding: 14px 16px; margin: 0 0 24px; border: 1px solid var(--text); border-radius: var(--control-radius); background: var(--code-bg); font-size: 15px; }

@media (max-width: 1300px) {
  .hero h1 { font-size: 64px; }
  .hero-copy { column-gap: 32px; }
  .hero .lede { font-size: 17px; }
  .hero-actions { gap: 18px; }
  .flow-art { max-width: 940px; }
  .flow-controls { justify-content: flex-end; }
  .endpoint-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .endpoint-card:nth-child(2) { border-right: 0; }
  .endpoint-card:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .masthead nav { gap: 22px; }
}
@media (min-width: 701px) and (max-width: 1023px) {
  .flow-art { max-width: 760px; }
}
@media (max-width: 800px) {
  .hero h1 { font-size: 58px; }
  .hero-copy { display: block; }
  .hero .lede { max-width: 420px; margin-top: 20px; }
  .masthead nav > a:not(.btn) { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .api-pair .hero-grid .panel { flex: auto; }
  .provider-toolbar { align-items: flex-start; flex-direction: column; gap: 4px; }
  .provider-detail { gap: 28px; }
}
@media (max-width: 700px) {
  .flow-art { display: none; }
  .mobile-flow { grid-area: flow; display: block; width: min(100%, 350px); justify-self: center; }
  .mobile-flow .flow-logo { left: 31.429%; top: 48.333%; width: 14.286%; }
  .mobile-flow .route-input { font-size: 16px; }
  .mobile-flow .route-wordmark { font-size: 14px; }
  .mobile-destination circle { fill: var(--bg); stroke: var(--route-idle); stroke-width: 2; }
  .mobile-destination text { fill: var(--muted); font-size: 17px; }
  .mobile-flow .flow-controls { justify-content: center; gap: 16px; }
  .provider-toolbar { padding: 8px 12px; }
  .provider-tabs, .tabs { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: thin; }
  .provider-tabs button, .tab { flex: none; }
  .provider-detail { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
  .tabs { padding: 8px 12px; }
}
@media (max-width: 540px) {
  .wrap { width: calc(100% - 40px); }
  .masthead .wrap { min-height: 72px; gap: 12px; }
  .wordmark { gap: 9px; font-size: 23px; }
  .wordmark .logo-mark { width: 25px; }
  .nav-cta { min-height: 44px; padding: 0 15px; gap: 9px; font-size: 12px; }
  .hero { padding: 42px 20px; gap: 22px; }
  .hero h1 { font-size: clamp(38px, 10.8vw, 54px); }
  .hero .lede { max-width: 310px; font-size: 17px; margin: 20px 0 0; }
  .hero-actions { justify-content: flex-start; flex-wrap: wrap; gap: 12px 20px; }
  .hero-cta { min-height: 50px; padding: 0 22px; }
  .text-link { font-size: 13px; gap: 9px; }
  section:not(.hero) { padding: 60px 0; scroll-margin-top: 92px; }
  .sec-head { margin-bottom: 30px; }
  .sec-head h2 { font-size: 36px; }
  .endpoint-grid { grid-template-columns: 1fr; }
  .endpoint-card { min-height: 155px; border-right: 0; border-bottom: 1px solid var(--rule); padding: 22px 18px; }
  .endpoint-card:last-child { border-bottom: 0; }
  .endpoint-card small { margin-bottom: 18px; }
  .endpoint-card strong { font-size: 15px; }
  .example-bar { align-items: flex-start; flex-direction: column; gap: 10px; padding: 16px; }
  .example-tabs { width: 100%; overflow-x: auto; }
  .example-tab { flex: none; font-size: 12px; padding: 8px 12px; }
  .example-view { height: 380px; }
  .sample-label { margin: 22px 20px 8px; }
  .sample-result { grid-template-columns: 1fr; gap: 8px; margin: 0 20px; padding: 18px 0; }
  .sample-note { margin: 16px 20px 24px; }
  .provider-tabs { max-width: 100%; }
  .provider-tabs button { min-height: 44px; padding: 8px 12px; font-size: 13px; }
  .key-placeholder { flex-direction: column; align-items: flex-start; gap: 20px; padding-bottom: 24px; }
  .key-action { flex-direction: row; gap: 15px; }
  .key-button { font-size: 13px; padding: 0 18px; }
  .tab { padding: 10px 12px; font-size: 13px; }
  .panel-bar { padding: 0 15px; }
  pre { padding: 20px; font-size: 11px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .site-footer a:not(.wordmark) { min-height: 44px; }
  .footer-bottom { margin-top: 36px; }
}
@media (max-width: 360px) {
  .masthead .wrap { gap: 8px; }
  .wordmark { font-size: 21px; gap: 8px; }
  .wordmark .logo-mark { width: 24px; }
  .nav-cta { font-size: 11px; padding: 0 11px; gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
