/* Marketing identity: app/globals.css .landing-page and shared .site-header.
   These static, downloadable pages use the same colors, type and original SVGs. */
:root {
  color-scheme: dark;
  --paper: #0b0e0d;
  --surface: #101413;
  --surface-alt: #0e1211;
  --ink: #f6f5f2;
  --soft: #c9c8c3;
  --muted: #9c9b96;
  --acid: #8bc540;
  --teal: var(--acid);
  --teal-dark: var(--acid);
  --line: rgba(246, 245, 242, .14);
  --head-bg: rgba(9, 13, 11, .94);
  --head-line: #2b352f;
  --head-text: #f4f7f5;
  --head-link: #c3cbc6;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-family: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, a, input, select, summary { touch-action: manipulation; }
button, a { transition: color 160ms ease, background 160ms ease, border-color 160ms ease; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .55; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--acid); outline-offset: 4px; }
::selection { color: var(--paper); background: var(--acid); }
h1, h2, h3, p, dl { margin: 0; }
.skip-link { position: fixed; top: -100px; left: 20px; padding: 14px 20px; background: var(--acid); color: var(--paper); z-index: 100; }
.skip-link:focus { top: 10px; }

/* Same artwork, sizing and navigation pattern as the shared marketing header. */
.site-header { position: sticky; top: 0; z-index: 80; display: flex; min-height: 88px; padding: 0 clamp(24px, 5vw, 80px); align-items: center; gap: 24px; border-bottom: 1px solid var(--head-line); color: var(--head-text); background: var(--head-bg); backdrop-filter: blur(18px); font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
.brand { display: inline-flex; flex: none; align-items: center; gap: 10px; color: var(--head-text); }
.brand svg { display: block; flex: none; width: auto; }
.brand .brand-ant-head { height: 32px; }
.brand .brand-wordmark { height: 24px; }
.product-label { padding-left: 24px; border-left: 1px solid var(--head-line); color: var(--acid); font: 700 11px/1 var(--mono); letter-spacing: .17em; text-transform: uppercase; white-space: nowrap; }
.site-header nav { display: flex; align-items: center; justify-content: flex-end; gap: 12px 24px; min-width: 0; margin-left: auto; color: var(--head-link); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.site-header nav > a { white-space: nowrap; }
.site-header nav > a:hover, .site-header nav > a[aria-current="page"] { color: var(--acid); text-decoration: none; }
.nav-secondary { padding: 13px 16px; border: 1px solid var(--head-line); color: var(--head-text); }
.nav-secondary:hover { border-color: var(--acid); }
.menu-toggle { display: none; flex: none; width: 42px; height: 42px; padding: 9px; border: 0; color: inherit; background: transparent; }
.menu-toggle span { display: block; height: 1px; margin: 7px 0; background: currentColor; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 52px; padding: 0 28px; border: 1px solid transparent; border-radius: 2px; background: var(--acid); color: var(--paper); font-size: 14px; font-weight: 650; text-decoration: none; }
.button:hover { color: var(--paper); background: var(--ink); text-decoration: none; }
.button-secondary { color: var(--ink); border-color: rgba(246,245,242,.24); background: transparent; }
.button-secondary:hover { color: var(--ink); border-color: var(--ink); background: rgba(246,245,242,.05); }
.button-small { min-height: 42px; padding: 0 16px; font-size: 11px; }
.site-header nav > .button { color: var(--paper); }
.site-header nav > .button:hover { color: var(--paper); }

main { width: min(1240px, calc(100% - 8vw)); margin: 0 auto; }
.intro { position: relative; isolation: isolate; display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; padding: clamp(4.5rem, 8vw, 8.25rem) 0 clamp(3rem, 5vw, 4.5rem); }
.intro::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; opacity: .8; background-image: linear-gradient(rgba(246,245,242,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(246,245,242,.045) 1px, transparent 1px); background-size: 88px 88px; mask-image: radial-gradient(120% 90% at 20% 0%, #000 20%, transparent 75%); }
.intro > div { min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--acid); font: 400 11px/1.6 var(--mono); letter-spacing: .2em; text-transform: uppercase; }
.status-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 4px rgba(139,197,64,.1); }
h1 { margin: 28px 0; font-size: clamp(3.4rem, 6.4vw, 6rem); font-weight: 650; line-height: .96; letter-spacing: -.04em; text-transform: uppercase; text-wrap: balance; }
.intro-copy { max-width: 760px; color: var(--soft); font-size: clamp(1.02rem, 1.35vw, 1.28rem); font-weight: 350; line-height: 1.58; text-wrap: pretty; }
.guide-link { margin-top: 28px; }
.statistics { display: flex; flex: none; gap: 0; margin-bottom: 4px; }
.statistics div { min-width: 88px; padding: 2px 20px; border-left: 1px solid var(--line); }
.statistics dt { margin-bottom: 10px; color: var(--muted); font: 11px/1.5 var(--mono); }
.statistics dd { margin: 0; font-size: 40px; font-weight: 650; letter-spacing: -.04em; }
.test-note { display: flex; gap: 15px; padding: 22px 24px; border: 1px solid var(--line); border-left: 2px solid var(--acid); border-radius: 2px; background: var(--surface); margin-bottom: 34px; }
.note-icon { flex: none; display: grid; place-items: center; width: 20px; height: 20px; margin-top: 2px; border: 1px solid var(--acid); border-radius: 50%; color: var(--acid); font: 12px/1 var(--mono); }
.test-note strong { font-size: 14px; font-weight: 650; }
.test-note p { max-width: 1100px; margin-top: 7px; color: var(--soft); font-size: 13px; line-height: 1.75; }
.test-note p strong { font-size: inherit; }

.workspace { scroll-margin-top: 112px; }
.selection-bar { display: flex; align-items: flex-end; gap: 20px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 4px 4px 0 0; }
label { display: grid; gap: 9px; color: var(--muted); font-size: 12px; font-weight: 600; }
select { min-height: 46px; width: 100%; min-width: 150px; padding: 10px 36px 10px 12px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 2px; font-size: 14px; }
.case-control { flex: 1; max-width: 580px; }
.identifier { margin-left: auto; display: grid; gap: 12px; padding: 0 1px 10px 20px; }
.identifier span { font: 10px/1.5 var(--mono); letter-spacing: .08em; color: var(--muted); }
.identifier strong { font: 13px/1.5 var(--mono); color: var(--acid); white-space: nowrap; }
.asset-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 24px; background: var(--surface-alt); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 4px 4px; }
.asset-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.asset-buttons button { min-height: 40px; border: 1px solid transparent; border-radius: 2px; background: transparent; padding: 8px 13px; font-size: 13px; font-weight: 600; color: var(--soft); }
.asset-buttons button:hover { border-color: var(--line); color: var(--ink); }
.asset-buttons button[aria-pressed="true"] { color: var(--acid); background: rgba(139,197,64,.08); border-color: rgba(139,197,64,.35); }
.case-reference { color: var(--muted); font: 11px/1.5 var(--mono); white-space: nowrap; }
.load-status { min-height: 20px; margin: 18px 2px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.load-status.error { color: #f1b4a4; }
.comparison-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.panel { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.step { color: var(--muted); font: 10px/1.6 var(--mono); letter-spacing: .12em; }
.panel-heading h2 { margin-top: 7px; font-size: 20px; font-weight: 650; letter-spacing: -.02em; }
.synthetic-tag, .http-status { flex: none; padding: 5px 7px; border: 1px solid rgba(139,197,64,.35); border-radius: 2px; color: var(--acid); font: 10px/1.5 var(--mono); }
.image-stage { height: 640px; min-height: 350px; display: flex; align-items: center; justify-content: center; padding: 22px; background: #171c19; }
.image-stage img { display: block; max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; box-shadow: 0 8px 28px rgba(0,0,0,.35); }
.image-meta { display: flex; justify-content: space-between; gap: 15px; padding: 13px 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.image-meta a { color: var(--acid); }
.source-block { padding: 22px 24px; border-top: 1px solid var(--line); }
.url-row { display: flex; gap: 9px; margin-top: 10px; }
.url-row input { min-width: 0; flex: 1; padding: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 2px; color: var(--soft); font: 11px/1.5 var(--mono); }
.url-row .button { min-height: 44px; padding: 0 16px; font-size: 12px; white-space: nowrap; }
.source-block p { font-size: 11px; color: var(--muted); line-height: 1.65; margin: 10px 0 18px; }
.download-link { color: var(--acid); font-size: 12px; font-weight: 600; }
.operation-block { padding: 22px 24px; }
.operation-block select { margin-top: 8px; }
.request-section { border-block: 1px solid var(--line); padding: 18px 24px; background: var(--surface-alt); }
.request-section summary { cursor: pointer; font-size: 13px; font-weight: 600; }
.method-tag { display: inline-block; margin-left: 8px; color: var(--acid); font: 11px/1.6 var(--mono); }
.request-path { margin: 16px 0 12px; font: 12px/1.65 var(--mono); overflow-wrap: anywhere; color: var(--ink); }
.code-block { margin: 0; font: 12px/1.65 var(--mono); tab-size: 2; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--soft); scrollbar-color: rgba(139,197,64,.45) transparent; }
.request-code { max-height: 200px; padding: 15px; border: 1px solid var(--line); border-radius: 2px; background: var(--paper); }
.request-help { margin-top: 11px; font-size: 11px; line-height: 1.7; color: var(--muted); }
.request-help code { font-size: 10px; }
.json-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 21px 24px 14px; }
.json-heading h3 { font-size: 13px; font-weight: 600; }
.text-button { padding: 5px 0; border: 0; background: transparent; color: var(--acid); font-size: 12px; font-weight: 600; }
.text-button:hover { text-decoration: underline; }
.expected-code { height: 440px; margin: 0 24px 20px; padding: 18px; border: 1px solid var(--line); border-radius: 2px; background: var(--paper); }
.response-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 24px; border-top: 1px solid var(--line); font-size: 10px; color: var(--muted); }

.case-connections { margin-top: 20px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; }
.connections-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.connections-heading h2 { font-size: 19px; line-height: 1.4; font-weight: 650; letter-spacing: -.02em; }
.connections-heading p { max-width: 720px; margin-top: 8px; font-size: 12px; line-height: 1.65; color: var(--muted); }
.case-guide { display: inline-flex; align-items: center; flex: none; min-height: 40px; padding: 8px 12px; border: 1px solid rgba(139,197,64,.35); border-radius: 2px; color: var(--acid); font-size: 12px; font-weight: 600; }
.connection-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 20px 0 0; padding: 0; }
.connection-list > li { min-width: 0; }
.connection-list > li > a, .connection-list > li > div { display: grid; gap: 8px; height: 100%; min-height: 80px; padding: 16px; border: 1px solid var(--line); border-radius: 2px; background: var(--paper); overflow-wrap: anywhere; }
.connection-list > li > a:hover { background: rgba(139,197,64,.05); border-color: var(--acid); text-decoration: none; }
.connection-list strong { color: var(--acid); font-size: 13px; line-height: 1.5; font-weight: 600; }
.connection-list span { font-size: 11px; line-height: 1.6; color: var(--muted); }
.connections-empty { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
.downloads { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.downloads h2 { margin: 16px 0; font-size: clamp(28px, 3vw, 40px); font-weight: 650; letter-spacing: -.03em; }
.downloads > div > p:not(.eyebrow) { color: var(--soft); font-size: 15px; line-height: 1.6; }
.download-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.download-cards > a { display: grid; gap: 16px; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; }
.download-cards > a:hover { border-color: var(--acid); text-decoration: none; }
.file-kind { width: fit-content; padding: 5px 7px; border: 1px solid rgba(139,197,64,.35); border-radius: 2px; color: var(--acid); font: 10px/1.5 var(--mono); letter-spacing: .08em; }
.download-cards strong { font-size: 17px; font-weight: 650; }
.download-cards > a > span:last-child { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 12px; }
.download-cards b { font-size: 16px; color: var(--acid); }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; width: min(1240px, calc(100% - 8vw)); margin: auto; padding: 28px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.site-footer > span:first-child { color: var(--ink); font-weight: 650; }
.site-footer a { color: var(--acid); }
.noscript { padding: 24px; border: 1px solid var(--line); margin-bottom: 28px; font-size: 14px; line-height: 1.7; }

@media (max-width: 1279px) {
  .site-header { min-height: 72px; }
  .site-header.is-interactive .menu-toggle { display: block; }
  .site-header.is-interactive .main-nav { position: absolute; top: 100%; right: clamp(24px, 5vw, 80px); display: none; width: min(350px, calc(100vw - 40px)); padding: 22px; align-items: stretch; justify-content: flex-start; border: 1px solid var(--head-line); background: var(--surface-alt); box-shadow: 0 24px 60px rgba(0,0,0,.35); flex-direction: column; gap: 18px; }
  .site-header.is-interactive .main-nav.is-open { display: flex; }
  .site-header nav > a { white-space: normal; }
  .site-header:not(.is-interactive) { flex-wrap: wrap; padding-block: 20px; }
  .site-header:not(.is-interactive) nav { flex-wrap: wrap; justify-content: flex-start; margin-left: 0; }
  .intro { flex-wrap: wrap; gap: 36px; }
  .statistics { width: 100%; }
  .statistics div { min-width: 120px; }
  .statistics div:first-child { border-left: 0; padding-left: 0; }
  .identifier { padding-left: 0; }
  .identifier strong { font-size: 12px; }
}
@media (max-width: 980px) {
  .comparison-grid { gap: 18px; }
  .image-stage { height: 560px; padding: 16px; }
  .url-row { flex-wrap: wrap; }
  .url-row input { flex-basis: 100%; }
  .response-footer { flex-wrap: wrap; }
  .connection-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .comparison-grid { grid-template-columns: 1fr; gap: 24px; }
  .selection-bar { flex-wrap: wrap; padding: 20px; gap: 18px; }
  .selection-bar > label:first-child { width: 100%; }
  .case-control { flex-basis: 100%; max-width: none; }
  .identifier { margin-left: 0; padding: 0; gap: 6px; }
  .asset-bar { padding: 14px; align-items: flex-start; }
  .case-reference { padding-top: 11px; font-size: 10px; }
  .asset-buttons { gap: 4px; }
  .asset-buttons button { padding: 8px 10px; font-size: 12px; }
  .case-connections { padding: 20px; }
  .connections-heading { flex-direction: column; gap: 16px; }
  .connection-list { grid-template-columns: 1fr; }
  .image-stage { height: 570px; min-height: 300px; }
  .panel-heading, .source-block, .operation-block, .request-section { padding-inline: 20px; }
  .expected-code { margin-inline: 20px; }
  .json-heading { padding-inline: 20px; }
  .download-cards { grid-template-columns: 1fr; }
  .site-footer { flex-wrap: wrap; line-height: 1.5; }
  .site-footer > span:nth-child(2) { order: 3; flex-basis: 100%; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 96px; }
  main, .site-footer { width: calc(100% - 40px); }
  .product-label { display: none; }
  .intro { padding-top: 4rem; }
  h1 { font-size: clamp(2.9rem, 12vw, 4.7rem); }
  .intro-copy { font-size: 1.02rem; }
  .statistics { margin-top: 0; }
  .statistics div { flex: 1; min-width: 0; padding-inline: 16px; }
  .statistics dd { font-size: 36px; }
  .test-note { padding: 18px; gap: 12px; }
  .test-note p { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, html { scroll-behavior: auto !important; transition: none !important; }
}
