@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/manrope-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-latin.woff2') format('woff2');
}

:root {
  --navy: #06152c;
  --orange: #ff6a00;
  --orange-text: #b83d08;
  --orange-soft: #fff2e8;
  --page: #fafafa;
  --surface: #fff;
  --secondary: #526071;
  --muted: #5c697c;
  --line: #dce1e8;
  --dark-surface: #10213b;
  --dark-muted: #a9b4c2;
  --ease: cubic-bezier(.2, 0, 0, 1);
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--page); color: var(--navy); font-family: Manrope, sans-serif; font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button, a, summary { touch-action: manipulation; }
button { color: inherit; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
svg { flex-shrink: 0; }
.icon { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 24px; height: 24px; }
button:disabled { cursor: wait; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
code, pre { font-family: var(--mono); font-weight: 400; }
button, a, summary { outline-offset: 5px; }
:focus-visible { outline: 2px solid var(--navy); }
::selection { background: #ffd8b9; color: var(--navy); }
.container { width: min(100% - 64px, 1200px); margin-inline: auto; }
.section { padding-block: 100px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 16px; padding: 10px 18px; background: var(--navy); color: #fff; border-radius: 6px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); outline-color: var(--orange); }
.eyebrow { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .75rem; font-weight: 400; letter-spacing: .085em; line-height: 1.5; }
.eyebrow-mark { width: 12px; height: 12px; color: var(--orange-text); }
.text-link { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; font-size: .875rem; font-weight: 700; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.text-link .icon { transition: transform 160ms var(--ease); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 48px; padding: 12px 20px; border: 1px solid transparent; border-radius: 6px; text-decoration: none; font-size: .875rem; font-weight: 800; transition: background 160ms var(--ease), transform 100ms var(--ease), border-color 160ms var(--ease); }
.button-primary { background: var(--orange); border-color: var(--orange-text); color: var(--navy); }
.button:active { background: #e85d04; transform: translateY(1px); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; margin-bottom: 44px; }
h2 { font-size: 2.5rem; line-height: 1.19; letter-spacing: -.045em; font-weight: 700; }
.section-heading .eyebrow, .section-intro .eyebrow { color: var(--orange-text); margin-bottom: 18px; }
.section-heading > p { max-width: 340px; color: var(--secondary); font-size: .9375rem; padding-bottom: 3px; }
.section-intro > p:not(.eyebrow) { color: var(--secondary); max-width: 355px; margin-top: 24px; font-size: .9375rem; }
.section-intro > .text-link { margin-top: 24px; }
.section-badge { display: inline-flex; align-items: center; border: 1px solid #c9d1dc; border-radius: 4px; padding: 3px 9px; font-family: var(--mono); font-size: .75rem; line-height: 1.8; letter-spacing: .025em; color: var(--secondary); white-space: nowrap; }

.site-header { position: sticky; top: 0; z-index: 20; background: var(--page); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; text-decoration: none; flex-shrink: 0; }
.brand > span { font-size: 1.625rem; font-weight: 800; letter-spacing: -.065em; line-height: 1; }
.brand-domain { color: var(--orange-text); }
.site-header nav { display: flex; align-items: center; gap: 32px; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .8125rem; font-weight: 600; text-decoration: none; transition: color 100ms var(--ease); }
.site-header nav .nav-cta { margin-left: 12px; padding: 0 16px; border: 1px solid var(--navy); border-radius: 5px; gap: 20px; }
.menu-toggle { display: none; border: 1px solid #7d899c; background: transparent; width: 44px; height: 44px; border-radius: 5px; padding: 11px; }
.menu-toggle .menu-close-icon { display: none; }
.menu-toggle[aria-expanded='true'] .menu-open-icon { display: none; }
.menu-toggle[aria-expanded='true'] .menu-close-icon { display: block; }

.hero { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: 72px; padding-block: 88px 92px; }
.hero h1 { margin-top: 25px; font-size: clamp(3.5rem, 4.65vw, 4.5rem); line-height: 1.08; letter-spacing: -.058em; font-weight: 800; }
.hero h1 > span { color: var(--orange-text); }
.hero-description { max-width: 455px; color: var(--secondary); margin-top: 25px; font-size: 1.0625rem; line-height: 1.7; }
.hero-actions { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; margin-top: 32px; }
.preview-note { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; margin-top: 29px; font-size: .75rem; color: var(--muted); }
.preview-note strong { font-weight: 600; }
.status-mark { height: 12px; width: 12px; color: var(--muted); margin-right: 2px; }
.routing-preview { color: #f8fafc; background: var(--navy); border: 1px solid #24334a; border-radius: 12px; min-width: 0; box-shadow: 0 18px 40px -30px #06152c55; overflow: hidden; }
.routing-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 25px; height: 62px; border-bottom: 1px solid #33445d; font-family: var(--mono); font-size: .75rem; letter-spacing: .07em; color: #c0cad6; }
.mini-label { font-size: .75rem; color: #c0cad6; border: 1px solid #576781; padding: 2px 5px; border-radius: 3px; line-height: 1.4; }
.routing-canvas { display: grid; grid-template-columns: 1fr 24px 1fr 24px 1fr; align-items: center; min-height: 174px; padding: 17px 30px 11px; background-image: radial-gradient(#33445d 0.7px, transparent .7px); background-size: 14px 14px; background-position: center; }
.flow-node { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.node-symbol, .model-symbol { display: grid; place-items: center; height: 55px; width: 55px; border: 1px solid #53617a; border-radius: 8px; background: var(--navy); }
.node-symbol, .model-symbol { color: #c0cad6; }
.gateway-node img { width: 68px; height: 68px; border: 1px solid #ff8f46; border-radius: 10px; background: #fff2e8; padding: 14px; }
.node-label { font-size: .75rem; color: #c0cad6; }
.gateway-node .node-label { color: #f8fafc; }
.flow-line { height: 1px; background: #6b7d94; position: relative; margin-top: -23px; }
.flow-line::after { content: ''; height: 5px; width: 5px; border-top: 1px solid #a9b4c2; border-right: 1px solid #a9b4c2; transform: rotate(45deg); position: absolute; right: 0; top: -2px; }
.route-detail { padding: 21px 25px 23px; }
.route-detail-label { display: block; font-family: var(--mono); color: var(--dark-muted); font-size: .75rem; letter-spacing: .06em; }
.protocol-pair { display: flex; align-items: center; gap: 12px; margin-top: 8px; font-size: 1.125rem; font-weight: 500; letter-spacing: -.025em; }
.protocol-plus { color: #a9b4c2; }
.route-address { display: flex; align-items: center; gap: 12px; margin-top: 21px; padding: 11px 13px; border: 1px solid #33445d; border-radius: 5px; background: #10213b; }
.route-address code { color: #f8fafc; font-size: .75rem; }
.terminal-prompt { color: #ff9a3d; }
.route-address-dot { margin-left: auto; width: 12px; height: 12px; color: #ff9a3d; }
.routing-footer { display: flex; justify-content: space-between; gap: 16px; padding: 12px 25px; background: #10213b; border-top: 1px solid #33445d; color: #c0cad6; font-size: .75rem; }
.routing-footer span:last-child { font-family: var(--mono); color: #a9b4c2; }
.principles-band { border-block: 1px solid var(--line); background: #f2f4f7; }
.principles { display: flex; justify-content: space-between; gap: 24px; padding-block: 23px; }
.principles p { display: flex; align-items: center; gap: 17px; font-size: .8125rem; font-weight: 600; }
.small-index { font-family: var(--mono); font-size: .75rem; color: var(--muted); font-weight: 400; }

.why-section { display: grid; grid-template-columns: 1fr 1.08fr; gap: 95px; }
.value-list { margin-top: -10px; }
.value-row { display: flex; align-items: flex-start; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.value-row:last-child { padding-bottom: 0; border-bottom: 0; }
.value-icon { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; background: var(--orange-soft); color: var(--orange-text); border-radius: 6px; }
.value-row h3 { font-size: 1rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 7px; }
.value-row p { color: var(--secondary); font-size: .875rem; }

.api-section { padding-block: 96px; background: #f0f2f5; border-block: 1px solid var(--line); }
.integration { border-radius: 10px; border: 1px solid #344358; background: var(--navy); color: #f8fafc; overflow: hidden; }
.integration :focus-visible { outline-color: #ffd3a8; }
.integration-topbar { display: flex; align-items: center; justify-content: space-between; padding-inline: 24px; min-height: 65px; border-bottom: 1px solid #33445d; gap: 20px; }
.protocol-tabs { display: flex; align-self: stretch; gap: 22px; }
.protocol-tabs button { position: relative; display: block; min-width: 74px; min-height: 48px; padding: 0 1px; border: 0; background: transparent; color: #c0cad6; font-size: .8125rem; }
.protocol-tabs button::after { content: ''; position: absolute; right: 0; left: 0; bottom: -1px; height: 2px; background: transparent; }
.protocol-tabs button[aria-selected='true'] { color: #f8fafc; font-weight: 700; }
.protocol-tabs button[aria-selected='true']::after { background: var(--orange); }
.protocol-tabs button:focus-visible { outline-offset: -7px; }
.code-language { color: #a9b4c2; font-family: var(--mono); font-size: .75rem; }
.integration-panel { display: grid; grid-template-columns: .92fr 1.45fr; min-width: 0; }
.integration-panel:focus-visible { outline-offset: -4px; }
.integration-guide { display: flex; flex-direction: column; padding: 28px; border-right: 1px solid #33445d; min-width: 0; }
.code-eyebrow { font-family: var(--mono); color: #a9b4c2; font-size: .75rem; letter-spacing: .04em; }
.base-url { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 6px; }
.base-url > code { font-size: .75rem; overflow-wrap: anywhere; }
.copy-button { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; min-height: 44px; border: 0; border-radius: 4px; padding: 4px 8px; gap: 12px; background: transparent; color: #c0cad6; font-family: var(--mono); font-size: .75rem; transition: background 100ms var(--ease), color 100ms var(--ease); }
.copy-url { width: 44px; padding: 10px; }
.integration-notes { margin-top: 30px; }
.method { display: inline-block; color: #ffad76; font-family: var(--mono); font-size: .75rem; margin-right: 12px; }
.integration-notes > code { font-size: .75rem; }
.integration-notes p { color: #a9b4c2; font-size: .8125rem; line-height: 1.75; max-width: 340px; margin-top: 14px; }
.integration-notes p code { font-size: .75rem; color: #e5eaf1; }
.config-note { display: flex; align-items: flex-start; gap: 9px; color: #a9b4c2; font-size: .75rem; line-height: 1.7; padding-top: 30px; margin-top: auto; }
.config-note > .icon { color: #ffad76; margin-top: 2px; }
.code-pane { min-width: 0; padding-bottom: 20px; background: #0c1b31; }
.code-file { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 17px 0 25px; color: #a9b4c2; font-family: var(--mono); font-size: .75rem; }
.code-file > span { display: inline-flex; align-items: center; gap: 9px; }
.code-file > span > .icon { color: #ff9a3d; }
.code-pane pre { max-width: 100%; overflow: auto; padding: 12px 25px 18px; margin: 0; font-size: .75rem; line-height: 1.95; tab-size: 2; scrollbar-color: #6b7d94 #10213b; }
.code-pane pre:focus-visible { outline-offset: -4px; }
.syntax-keyword { color: #ffc3a0; }
.syntax-string { color: #b3ddce; }
.syntax-number { color: #c2cbff; }
.integration-footnote { max-width: 900px; margin-top: 16px; font-size: .75rem; color: var(--muted); }
.integration-footnote code { font-size: .75rem; }
.endpoint-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 55px 0 20px; }
.endpoint-heading h3 { font-size: 1.125rem; font-weight: 700; letter-spacing: -.025em; }
.endpoint-table-wrap { max-width: 100%; overflow-x: auto; }
.endpoint-table { width: 100%; border-collapse: collapse; text-align: left; font-size: .75rem; }
.endpoint-table th { font-family: var(--mono); font-size: .75rem; font-weight: 400; letter-spacing: .05em; color: var(--muted); padding: 10px 16px 13px; text-transform: uppercase; border-bottom: 1px solid #c4cdd9; }
.endpoint-table th:first-child, .endpoint-table td:first-child { padding-left: 0; }
.endpoint-table th:last-child, .endpoint-table td:last-child { padding-right: 0; }
.endpoint-table td { border-bottom: 1px solid var(--line); padding: 14px 16px; color: var(--secondary); }
.endpoint-table tr:last-child td { border: 0; }
.endpoint-table td:first-child { white-space: nowrap; }
.endpoint-table td code { font-size: .75rem; color: var(--navy); }
.http-method { display: inline-block; min-width: 50px; font-family: var(--mono); font-size: .75rem; color: var(--orange-text); }
.table-status { display: inline-flex; align-items: center; gap: 8px; }
.table-status > .icon { color: var(--orange-text); }
.cell-note { display: block; margin-top: 3px; font-size: .75rem; }
.cell-note code { font-size: .75rem !important; }

.funding-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.funding-option { padding: 28px 32px 0; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.plan-option { background: #fff6ee; border-color: #edcbb2; }
.funding-topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.funding-symbol { color: var(--orange-text); height: 32px; width: 32px; }
.plan-option .section-badge { border-color: #d3ad94; color: #73523d; }
.funding-option .eyebrow { font-size: .75rem; color: var(--muted); letter-spacing: .085em; margin-bottom: 8px; }
.funding-option h3 { font-size: 1.75rem; letter-spacing: -.04em; font-weight: 700; line-height: 1.3; }
.funding-description { color: var(--secondary); font-size: .8125rem; margin-top: 9px; }
.check-list { list-style: none; padding: 0; margin: 27px 0 28px; }
.check-list li { display: flex; align-items: flex-start; gap: 13px; font-size: .8125rem; color: #344458; margin-top: 12px; }
.check-list li > .icon { color: var(--orange-text); margin-top: 3px; }
.funding-bottom { display: flex; justify-content: space-between; gap: 16px; padding-block: 18px; border-top: 1px solid var(--line); font-size: .75rem; }
.funding-bottom > span { color: var(--secondary); }
.funding-bottom strong { font-weight: 600; }
.plan-option .funding-bottom { border-color: #edcbb2; }
.plans-footnote { max-width: 780px; font-size: .75rem; color: var(--muted); margin-top: 20px; }

.code-section { padding-bottom: 10px; }
.code-feature { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 55px; border: 1px solid #d3dae4; padding: 50px; border-radius: 10px; background: #eef1f5; }
.code-feature-copy .eyebrow { color: var(--orange-text); font-size: .75rem; margin-bottom: 20px; }
.code-feature-copy h2 { font-size: 2rem; line-height: 1.3; }
.code-feature-copy > p:not(.eyebrow) { color: var(--secondary); font-size: .875rem; margin-top: 18px; }
.coming-soon { display: flex; align-items: center; gap: 10px; margin-top: 22px; color: var(--secondary); font-size: .75rem; }
.coming-soon > .icon { color: var(--orange-text); }
.editor-preview { border: 1px solid #35455a; border-radius: 8px; background: var(--navy); color: #f8fafc; overflow: hidden; box-shadow: 0 16px 28px -20px #06152c66; min-width: 0; transform: translateY(3px); }
.editor-titlebar { display: flex; gap: 14px; align-items: center; padding: 12px 16px; border-bottom: 1px solid #33445d; color: #a9b4c2; font-family: var(--mono); font-size: .75rem; }
.editor-dots { display: flex; gap: 4px; }
.editor-dots .icon { width: 8px; height: 8px; color: #a9b4c2; }
.editor-preview-label { font-size: .75rem; margin-left: auto; letter-spacing: .07em; }
.editor-body { padding: 35px 24px 25px; }
.editor-brand { display: flex; align-items: center; gap: 15px; padding-left: 4px; }
.editor-brand span { font-size: .9375rem; letter-spacing: -.02em; line-height: 1.5; font-weight: 600; }
.editor-prompt { display: flex; align-items: center; gap: 10px; margin-top: 28px; border: 1px solid #6b7d94; border-radius: 4px; background: #10213b; padding: 13px 12px; font-family: var(--mono); font-size: .75rem; color: #c0cad6; }
.editor-prompt > .icon:first-child { color: #ff9a3d; }
.editor-prompt > span:nth-child(2) { min-width: 0; overflow-wrap: anywhere; }
.editor-return { margin-left: auto; }
.editor-bottom { display: flex; gap: 12px; justify-content: space-between; margin-top: 14px; color: #a9b4c2; font-family: var(--mono); font-size: .75rem; letter-spacing: .07em; }

.faq-section { display: grid; grid-template-columns: .8fr 1.3fr; gap: 80px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; cursor: pointer; list-style: none; padding: 22px 0; font-size: .9375rem; font-weight: 600; line-height: 1.5; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary > .icon { color: var(--secondary); transition: transform 160ms var(--ease); }
.faq-list details[open] summary > .icon { transform: rotate(45deg); }
.faq-answer { padding: 0 25px 23px 0; color: var(--secondary); font-size: .875rem; line-height: 1.8; }
.faq-answer code { font-size: .8125rem; overflow-wrap: anywhere; }
.closing-section { background: var(--navy); color: #f8fafc; position: relative; overflow: hidden; }
.closing-section::after { position: absolute; content: ''; width: 265px; height: 380px; background: repeating-linear-gradient(135deg, transparent 0, transparent 28px, #27364d 28px, #27364d 29px); top: -40px; left: 57%; transform: skewX(-12deg); pointer-events: none; }
.closing-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 68px; }
.closing-inner .eyebrow { color: #c0cad6; font-size: .75rem; margin-bottom: 18px; }
.closing-inner h2 { font-size: 2.75rem; font-weight: 600; letter-spacing: -.045em; }
.closing-section :focus-visible { outline-color: #ffd3a8; }

.site-footer { background: #fff; }
.footer-main { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; padding-block: 42px; }
.footer-main .brand > span { font-size: 1.375rem; }
.footer-main > div > p { color: var(--muted); font-size: .75rem; margin-top: 11px; }
.footer-main nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-main nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--secondary); font-size: .75rem; text-decoration: none; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid var(--line); padding-block: 20px; font-size: .75rem; color: var(--muted); }
.footer-bottom a { text-underline-offset: 3px; }
.copy-feedback { position: fixed; z-index: 60; bottom: 24px; left: 50%; transform: translate(-50%, 12px); padding: 12px 18px; max-width: calc(100% - 32px); border: 1px solid #576781; border-radius: 6px; background: var(--navy); color: #f8fafc; box-shadow: 0 8px 24px #06152c22; font-size: .8125rem; opacity: 0; pointer-events: none; transition: opacity 160ms var(--ease), transform 160ms var(--ease); }
.copy-feedback.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (hover: hover) {
  .button-primary:hover { background: #ff7a1a; }
  .text-link:hover { color: var(--orange-text); }
  .text-link:hover .icon { transform: translateX(2px); }
  .site-header nav a:hover, .footer-main nav a:hover { color: var(--orange-text); }
  .site-header nav .nav-cta:hover { color: var(--navy); background: #f2f4f7; }
  .protocol-tabs button:hover { color: #fff; }
  .copy-button:hover { background: #213551; color: #f8fafc; }
  .faq-list summary:hover { color: var(--orange-text); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: enter 400ms var(--ease) both; }
  .routing-preview { animation: enter 450ms 80ms var(--ease) both; }
  @keyframes enter { from { transform: translateY(8px); } to { transform: translateY(0); } }
}

@media (max-width: 1100px) {
  .hero { gap: 40px; }
  .hero h1 { font-size: 3.55rem; }
  .hero-description { font-size: 1rem; }
  .site-header nav { gap: 24px; }
  .hero-actions { gap: 18px; }
  .hero-actions .text-link { font-size: .75rem; gap: 12px; }
  .why-section { gap: 56px; }
  .integration-panel { grid-template-columns: .95fr 1.2fr; }
  .integration-guide { padding: 24px; }
  .base-url > code { font-size: .75rem; }
  .code-feature { padding: 36px; gap: 35px; }
}

@media (max-width: 860px) {
  .container { width: min(100% - 40px, 1200px); }
  .header-inner { position: relative; flex-wrap: wrap; min-height: 72px; gap: 0; padding-block: 16px; }
  .brand > span { font-size: 1.5rem; }
  .brand > img { width: 31px; height: 32px; }
  .site-header nav { width: 100%; justify-content: flex-start; gap: 20px; flex-wrap: wrap; padding-top: 12px; }
  .site-header nav .nav-cta { margin-left: 0; }
  .js .menu-toggle { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; margin-left: auto; }
  .js .site-header nav { display: none; position: absolute; z-index: 21; top: calc(100% + 1px); left: -20px; right: -20px; width: auto; padding: 20px; background: var(--page); border-bottom: 1px solid #c4cdd9; box-shadow: 0 15px 20px -20px #06152c44; }
  .js .site-header nav.is-open { display: grid; gap: 2px; }
  .js .site-header nav a { font-size: .875rem; padding-inline: 12px; min-height: 48px; }
  .js .site-header nav .nav-cta { margin-top: 10px; justify-content: space-between; }
  .hero { gap: 35px; padding-block: 65px; }
  .hero .eyebrow { font-size: .8125rem; gap: 7px; }
  .mini-label, .eyebrow, .code-feature-copy .eyebrow { font-size: .8125rem; }
  .hero h1 { font-size: 3rem; }
  .hero-description { font-size: .875rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 26px; }
  .preview-note { margin-top: 17px; font-size: .8125rem; line-height: 1.8; }
  .routing-heading { margin-inline: 18px; gap: 8px; font-size: .8125rem; height: 52px; }
  .routing-canvas { grid-template-columns: 1fr 15px 1fr 15px 1fr; padding: 20px 15px; min-height: 155px; }
  .node-symbol, .model-symbol { width: 45px; height: 45px; }
  .gateway-node img { width: 55px; height: 55px; padding: 10px; }
  .node-label { font-size: .8125rem; }
  .route-detail { padding: 18px; }
  .route-detail-label { font-size: .8125rem; }
  .protocol-pair { font-size: 1rem; }
  .routing-footer { padding: 11px 18px; font-size: .8125rem; gap: 7px; }
  .principles p { font-size: .8125rem; gap: 10px; }
  .section, .api-section { padding-block: 72px; }
  h2 { font-size: 2rem; }
  .why-section { gap: 35px; }
  .section-intro > p:not(.eyebrow) { font-size: .875rem; }
  .value-row { gap: 14px; padding-block: 20px; }
  .value-row h3 { font-size: .9375rem; }
  .value-row p { font-size: .8125rem; }
  .section-heading { gap: 30px; }
  .section-heading > p { max-width: 270px; font-size: .875rem; }
  .integration-panel { grid-template-columns: 1fr; }
  .integration-guide { display: grid; grid-template-columns: 1.05fr 1fr; column-gap: 30px; border-right: 0; border-bottom: 1px solid #33445d; }
  .integration-notes { margin-top: 0; }
  .config-note { padding-top: 20px; max-width: 250px; grid-column: 1; }
  .integration-notes { grid-column: 2; grid-row: 1 / 3; }
  .code-pane { padding-bottom: 12px; }
  .code-pane pre { font-size: .8125rem; }
  .code-file { padding-top: 6px; }
  .endpoint-table { min-width: 620px; }
  .funding-option { padding: 24px 24px 0; }
  .funding-options { gap: 18px; }
  .funding-option h3 { font-size: 1.5rem; }
  .check-list li { font-size: .8125rem; }
  .code-feature { grid-template-columns: 1fr 1fr; gap: 30px; padding: 30px; }
  .code-feature-copy h2 { font-size: 1.75rem; }
  .code-feature-copy > p:not(.eyebrow) { font-size: .8125rem; }
  .editor-body { padding: 25px 17px 20px; }
  .editor-prompt { font-size: .8125rem; gap: 6px; padding-inline: 8px; }
  .faq-section { gap: 40px; grid-template-columns: .75fr 1.3fr; }
  .faq-list summary { font-size: .8125rem; }
  .faq-answer { font-size: .8125rem; }
  .footer-main nav { gap: 20px; }
  .footer-bottom { font-size: .8125rem; }
}

@media (max-width: 639px) {
  html { scroll-padding-top: 95px; }
  .hero { display: block; padding-block: 50px 44px; }
  .hero-copy { max-width: 470px; }
  .hero .eyebrow { font-size: .8125rem; }
  .hero h1 { font-size: clamp(2.75rem, 10.8vw, 4rem); margin-top: 22px; }
  .hero-description { font-size: 1rem; margin-top: 22px; }
  .hero-actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 13px 20px; margin-top: 27px; }
  .hero-actions .text-link { font-size: .8125rem; }
  .preview-note { font-size: .8125rem; margin-top: 24px; }
  .routing-preview { margin-top: 36px; }
  .routing-heading { height: 54px; margin-inline: 22px; font-size: .8125rem; }
  .routing-canvas { padding: 23px 25px; grid-template-columns: 1fr 28px 1fr 28px 1fr; min-height: 165px; }
  .node-symbol, .model-symbol { height: 50px; width: 50px; }
  .gateway-node img { height: 62px; width: 62px; padding: 13px; }
  .node-label { font-size: .8125rem; }
  .route-detail { padding: 20px 22px; }
  .route-detail-label { font-size: .8125rem; }
  .protocol-pair { font-size: 1.125rem; }
  .route-address { margin-top: 17px; }
  .route-address code { font-size: .8125rem; }
  .routing-footer { padding-inline: 22px; font-size: .8125rem; }
  .principles { display: grid; grid-template-columns: 1fr; gap: 15px; padding-block: 21px; }
  .principles p { font-size: .8125rem; gap: 18px; }
  .small-index { font-size: .8125rem; }
  .section, .api-section { padding-block: 56px; }
  .eyebrow { font-size: .8125rem; }
  h2 { font-size: 1.9375rem; line-height: 1.25; }
  .why-section, .faq-section { display: block; }
  .section-intro > p:not(.eyebrow) { font-size: 1rem; margin-top: 18px; }
  .section-intro > .text-link { margin-top: 16px; }
  .value-list { margin-top: 28px; }
  .value-row { gap: 16px; padding-block: 24px; }
  .value-row h3 { font-size: 1rem; }
  .value-row p { font-size: .9375rem; }
  .section-heading { display: block; margin-bottom: 30px; }
  .section-heading > p { margin-top: 20px; max-width: 430px; font-size: 1rem; }
  .integration-topbar { padding-inline: 19px; min-height: 60px; }
  .protocol-tabs { gap: 18px; }
  .protocol-tabs button { font-size: .8125rem; min-width: 68px; }
  .code-language { font-size: .8125rem; }
  .integration-guide { display: flex; padding: 22px 20px 24px; }
  .code-eyebrow { font-size: .8125rem; }
  .base-url { gap: 0; margin-top: 7px; }
  .base-url > code { font-size: .8125rem; }
  .integration-notes { margin-top: 18px; }
  .method { font-size: .8125rem; }
  .integration-notes > code { font-size: .8125rem; }
  .integration-notes p { font-size: .9375rem; margin-top: 11px; }
  .integration-notes p code { font-size: .8125rem; }
  .config-note { font-size: .8125rem; max-width: none; padding-top: 21px; }
  .copy-button { font-size: .8125rem; }
  .code-file { padding-inline: 20px 10px; font-size: .8125rem; }
  .code-pane pre { padding: 12px 20px 15px; font-size: .8125rem; }
  .integration-footnote { font-size: .8125rem; line-height: 1.7; }
  .integration-footnote code { font-size: .8125rem; overflow-wrap: anywhere; }
  .endpoint-heading { margin-top: 36px; align-items: flex-start; flex-direction: column; gap: 12px; }
  .endpoint-heading h3 { font-size: 1.125rem; }
  .section-badge { font-size: .8125rem; }
  .endpoint-table { min-width: 650px; }
  .endpoint-table th { font-size: .8125rem; }
  .endpoint-table td { font-size: .8125rem; }
  .endpoint-table td code { font-size: .8125rem; }
  .http-method { font-size: .8125rem; }
  .funding-options { grid-template-columns: 1fr; gap: 20px; }
  .funding-option { padding: 25px 24px 0; }
  .funding-topline { margin-bottom: 27px; }
  .funding-option .eyebrow { font-size: .8125rem; }
  .funding-option h3 { font-size: 1.625rem; }
  .funding-description { font-size: .9375rem; }
  .check-list li { font-size: .9375rem; }
  .funding-bottom { font-size: .8125rem; }
  .plans-footnote { font-size: .8125rem; }
  .code-section { padding-bottom: 0; }
  .code-feature { grid-template-columns: 1fr; gap: 30px; padding: 28px 24px; }
  .code-feature-copy h2 { font-size: 1.75rem; }
  .code-feature-copy > p:not(.eyebrow) { font-size: .9375rem; }
  .coming-soon { font-size: .8125rem; }
  .editor-titlebar { font-size: .8125rem; padding-inline: 12px; }
  .editor-preview-label { font-size: .8125rem; }
  .editor-body { padding: 28px 18px 22px; }
  .editor-prompt { font-size: .8125rem; }
  .editor-bottom { font-size: .8125rem; }
  .faq-list { margin-top: 30px; }
  .faq-list summary { font-size: 1rem; }
  .faq-answer { font-size: .9375rem; }
  .closing-inner { flex-direction: column; align-items: flex-start; gap: 28px; padding-block: 50px; }
  .closing-inner h2 { font-size: 2.125rem; }
  .closing-section::after { left: 70%; opacity: .5; }
  .footer-main { flex-direction: column; padding-block: 35px 25px; gap: 20px; }
  .footer-main > div > p { font-size: .8125rem; }
  .footer-main nav { gap: 4px 24px; }
  .footer-main nav a { font-size: .8125rem; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; font-size: .8125rem; padding-block: 22px; }
}

@media (max-width: 359px) {
  .container { width: calc(100% - 32px); }
  .hero .eyebrow { font-size: .8125rem; }
  .hero h1 { font-size: 2.6rem; }
  .hero-actions { gap: 12px; }
  .hero-actions .text-link { font-size: .8125rem; }
  .routing-heading { font-size: .8125rem; margin-inline: 18px; }
  .routing-canvas { padding-inline: 18px; grid-template-columns: 1fr 19px 1fr 19px 1fr; }
  .routing-footer { padding-inline: 18px; font-size: .8125rem; }
  .route-detail-label { font-size: .8125rem; }
  .integration-topbar { gap: 10px; padding-inline: 16px; }
  .code-language { display: none; }
  .integration-guide { padding-inline: 16px; }
  .base-url > code { font-size: .8125rem; }
  .copy-url { width: 44px; }
  .code-feature { padding-inline: 20px; }
  .editor-titlebar { gap: 8px; }
  .editor-prompt { font-size: .8125rem; }
  .editor-bottom { font-size: .8125rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .text-link:hover .icon { transform: none; }
  .copy-feedback, .copy-feedback.is-visible { transform: translateX(-50%); }
}
