/* Empire landing-page design language, scoped to /codex/.
   Reference: public/index.html. The main landing page is never imported or edited. */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/public/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/public/fonts/ibm-plex-mono-500-latin.woff2") format("woff2");
}
:root {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", monospace;
  --bg: #111821;
  --surface: #1c2734;
  --surface-raised: #223040;
  --surface-deep: #17202b;
  --input: #27384a;
  --border: #3c4a5a;
  --text: #f3f7fc;
  --text-soft: #c2ccda;
  --muted: #a6b3c5;
  --muted-brand: #b2bfd2;
  --orange: #f47b20;
  --orange-bright: #ffad52;
  --blue: #4f78ea;
  --cyan: #76c5da;
  --green: #24a879;
  --shadow-raised: inset 0 1px 0 #ffffff16, 0 2px 3px #0000007a, 0 8px 14px #00000057, 0 18px 28px #00000029;
  --shadow-soft: inset 0 1px 0 #ffffff12, 0 2px 3px #0000007a, 0 6px 10px #0000003d;
  --shadow-inset: inset 0 3px 6px #000000a3, inset 0 -1px 0 #ffffff09, 0 1px 0 #ffffff06;
  --radius-lg: 30px;
  --radius-md: 20px;
  --shell: min(1240px, calc(100% - 48px));
  --type-section-title: clamp(2.3rem, 4.1vw, 4.2rem);
  --type-card-title: clamp(1.35rem, 1.8vw, 1.8rem);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}
html[data-theme="light"] {
  color-scheme: light;
  --bg: #e8edf5;
  --surface: #eef3fa;
  --surface-raised: #f8fbff;
  --surface-deep: #e0e7f1;
  --input: #dde5ef;
  --border: #a7b4c7;
  --text: #18243a;
  --text-soft: #43516a;
  --muted: #52627a;
  --muted-brand: #52627a;
  --orange-bright: #a94705;
  --blue: #4f78ea;
  --cyan: #24788f;
  --green: #24a879;
  --shadow-raised: -12px -12px 28px #ffffffd1, 14px 16px 34px #5366842e;
  --shadow-soft: -6px -6px 14px #ffffffe6, 7px 9px 18px #53668429;
  --shadow-inset: inset -5px -5px 11px #ffffffbf, inset 6px 7px 14px #53668424;
}
body { background: var(--bg); }
body::before { inset: 0; background: radial-gradient(ellipse at 80% 10%, color-mix(in srgb, var(--blue) 7%, transparent), transparent 48%); }
button, select { font-family: inherit; }
.site-header {
  width: min(1120px, calc(100% - 40px));
  margin-top: 18px;
  top: 18px;
  min-height: 74px;
  padding: 10px 14px 10px 22px;
  gap: 14px;
  grid-template-columns: minmax(145px, 1fr) auto auto 90px;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--surface-raised), var(--surface));
  box-shadow: var(--shadow-raised);
}
.site-header::before { display: none; }
.source-logo { gap: 10px; font-size: 1.08rem; font-weight: 800; letter-spacing: -.045em; text-shadow: none; }
.source-logo img { height: 34px; width: 12px; }
.source-logo small { display: block; margin-top: 5px; font: 500 .61rem/1.1 var(--mono); letter-spacing: .05em; color: var(--muted); }
.site-nav { gap: 2px; }
.site-nav a { border: 0; padding-inline: 10px; background: none; box-shadow: none; color: var(--text-soft); text-shadow: none; font-size: .73rem; }
.site-nav a:hover { color: var(--orange-bright); background: var(--surface); box-shadow: var(--shadow-inset); transform: none; }
.nav-language select { width: 102px; border: 0; border-radius: 12px; text-shadow: none; color-scheme: inherit; font-size: .72rem; font-weight: 600; }
.nav-tools { gap: 12px; }
.theme-button { grid-column: 4; grid-row: 1; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer; }
.theme-button svg { width: 20px; height: 20px; }
.header-start, .button-primary { background: var(--orange); color: #101820; box-shadow: var(--shadow-soft); text-shadow: none; }
.header-button { min-height: 44px; padding-inline: 18px; border-radius: 999px; border: 0; font-size: .78rem; }
.header-start:hover { box-shadow: var(--shadow-raised); }
.button { min-height: 54px; padding: 12px 22px; border: 0; border-radius: 999px; gap: 16px; font-size: .9rem; font-weight: 800; transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out); }
.button::after { content: "↗"; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #ffffff26; font: 500 1.2rem var(--mono); }
.button-secondary::after { content: "↓"; background: var(--surface-raised); }
.button:active, .header-button:active { transform: translateY(1px); box-shadow: var(--shadow-inset); }
.hero { width: var(--shell); grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 4vw, 64px); padding: 84px 0 72px; min-height: 720px; }
h1 { font-size: clamp(3.2rem, 4.65vw, 4.8rem); font-weight: 800; line-height: .98; letter-spacing: -.065em; margin-bottom: 28px; }
h1 > span:last-child { color: transparent; background: linear-gradient(100deg, #f47b20, #ffad52 65%, #bc90d3); background-clip: text; -webkit-background-clip: text; }
html[data-theme="light"] h1 > span:last-child { background-image: linear-gradient(100deg, #b94b05, #a94705 65%, #8051b5); }
.hero-lede { color: var(--text-soft); font-size: clamp(1rem, 1.35vw, 1.12rem); line-height: 1.8; max-width: 48ch; }
.eyebrow { font: 500 .67rem/1.6 var(--mono); letter-spacing: .08em; color: var(--orange-bright); }
.hero-proof { gap: 9px 18px; font-size: .73rem; margin-top: 28px; }
.hero-proof li { line-height: 1.5; }
.route-console { padding: 10px; border: 0; border-radius: 30px; background: var(--surface); }
.codex-window { border: 0; border-radius: 22px; box-shadow: var(--shadow-inset); background: var(--surface-deep); color: var(--text); }
.codex-chrome { height: 38px; background: var(--surface-raised); border-color: color-mix(in srgb, var(--border) 40%, transparent); }
.console-product-title { font-size: .65rem; font-weight: 600; line-height: 1.3; color: var(--text-soft); }
.console-product-title > span { color: var(--orange-bright); }
.chrome-tools { display: none; }
.codex-app-shell { grid-template-columns: 62px minmax(0, 1fr); min-height: 425px; }
.codex-sidebar { padding: 20px 13px; background: var(--surface); border-color: color-mix(in srgb, var(--border) 35%, transparent); }
.sidebar-label, .sidebar-project-skeleton .skeleton-line, .sidebar-compose-skeleton span { display: none; }
.sidebar-brand-mark { justify-content: center; }
.sidebar-brand-mark img { filter: brightness(0) invert(1); }
html[data-theme="light"] .sidebar-brand-mark img { filter: brightness(0); }
.sidebar-compose-skeleton { justify-content: center; padding: 0; background: var(--orange); box-shadow: var(--shadow-soft); }
.sidebar-compose-skeleton i { border-color: #132036; }
.sidebar-project-skeleton { padding: 12px 8px; border-color: var(--border); }
.codex-thread { background: var(--surface-deep); min-height: 425px; }
.thread-toolbar { border-color: color-mix(in srgb, var(--border) 40%, transparent); }
.thread-title-skeleton strong { font-size: .69rem; font-weight: 650; }
.thread-tools-skeleton i { width: 9px; height: 9px; border-color: var(--muted); }
.codex-transcript { gap: 15px; padding: 18px; }
.prompt-skeleton { width: 90%; padding: 12px 14px; border: 0; background: var(--surface-raised); box-shadow: var(--shadow-soft); border-radius: 15px 15px 4px 15px; }
.prompt-skeleton p { color: var(--text-soft); font-size: .84rem; line-height: 1.6; margin: 0; }
.skeleton-stage { min-height: 65px; gap: 10px; padding: 12px; border-radius: 13px; border: 1px solid color-mix(in srgb, var(--blue) 16%, transparent); background: color-mix(in srgb, var(--blue) 5%, var(--surface)); }
.stage-ranking { border-color: color-mix(in srgb, var(--orange) 18%, transparent); background: color-mix(in srgb, var(--orange) 5%, var(--surface)); }
.stage-final { border-color: color-mix(in srgb, var(--green) 20%, transparent); background: color-mix(in srgb, var(--green) 5%, var(--surface)); }
.stage-copy strong { display: block; font-size: .84rem; color: var(--text); }
.stage-copy p { margin: 4px 0 0; color: var(--text-soft); font-size: .8rem; line-height: 1.6; }
.model-footnotes { padding-top: 7px; }
.model-footnote { color: var(--text-soft); background: var(--surface); border-color: color-mix(in srgb, var(--border) 45%, transparent); box-shadow: var(--shadow-soft); }
.model-footnote strong { color: var(--text); }
html[data-theme="dark"] img:is([src$="/moonshot.svg"], [src$="/openai.svg"], [src$="/grok.svg"], [src$="/openrouter.svg"]) { filter: brightness(0) invert(1); }
.codex-composer { margin: 4px 16px 16px; background: var(--surface); border-color: color-mix(in srgb, var(--border) 35%, transparent); border-radius: 16px; box-shadow: var(--shadow-inset); }
.composer-hint { font-size: .78rem; color: var(--muted); }
.composer-send { background: var(--orange); color: #101820; }
.console-caption { margin: 14px 12px 5px; color: var(--muted); font: 500 .75rem/1.6 var(--mono); }
.trust-strip { padding: 24px 0; border-color: color-mix(in srgb, var(--border) 40%, transparent); }
.trust-strip article { padding-block: 8px; border-color: color-mix(in srgb, var(--border) 40%, transparent); }
.trust-strip strong { font-size: 1.35rem; letter-spacing: -.05em; color: var(--text); }
.trust-strip > article > span { font-size: .77rem; max-width: 24ch; line-height: 1.6; }
.model-marquee { margin-block: 26px 0; }
.section { padding-block: clamp(76px, 8vw, 116px); }
.section-heading { max-width: 820px; margin-bottom: 40px; }
.section-heading h2, .trust-copy h2, .install-panel h2 { font-weight: 800; letter-spacing: -.065em; line-height: 1.04; text-wrap: balance; }
.section-heading > p:last-child { max-width: 60ch; color: var(--text-soft); }
.soft-surface, .soft-panel { border: 0; background: linear-gradient(145deg, var(--surface-raised), var(--surface)); }
.capability-grid { grid-template-columns: 1.12fr 1fr; gap: 20px; }
.capability-card { min-height: 0; padding: 30px; border-radius: 28px; }
.capability-card:first-child { grid-row: span 2; display: flex; flex-direction: column; padding: clamp(30px, 4vw, 48px); }
.capability-card:first-child h3 { margin-top: 16px; font-size: clamp(2rem, 3vw, 3rem); letter-spacing: -.055em; max-width: 15ch; }
.capability-card:first-child .feature-list { margin-top: auto; padding-top: 36px; }
.capability-card.featured { transform: none; }
.capability-card.featured::before { display: none; }
.capability-card:last-child { grid-column: auto; }
.icon-well { border-radius: 16px; width: 52px; height: 52px; }
.card-index { font-family: var(--mono); font-size: .65rem; letter-spacing: .09em; }
.feature-list { display: flex; flex-wrap: wrap; gap: 8px; }
.feature-list li { padding: 8px 10px; border-radius: 9px; background: var(--surface-deep); box-shadow: var(--shadow-inset); font-size: .68rem; }
.feature-list li::before { display: none; }
.audience-section, .workflow-section { background: none; border: 0; }
.audience-layout .section-heading { top: 125px; }
.audience-card { border-radius: 24px; padding: 28px; }
.audience-card > span { width: 42px; height: 42px; border-radius: 13px; font-family: var(--mono); }
.workflow-section .section-heading-center { text-align: left; margin-left: 0; max-width: 850px; }
.workflow-list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.workflow-list li, .workflow-list li:nth-child(4), .workflow-list li:nth-child(5) { grid-column: auto; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 24px; min-height: 245px; padding: 24px 20px; border-radius: 24px; }
.workflow-list li > span { border-radius: 12px; font-family: var(--mono); }
.workflow-list h3 { font-size: 1.15rem; }
.workflow-list p { font-size: .86rem; }
#model-lab { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
#model-lab .section-heading { margin: 0; }
#model-lab h2 { font-size: clamp(2.3rem, 3.6vw, 3.5rem); }
.model-lab { min-width: 0; padding: 28px; border-radius: 30px; }
.mode-tabs { border-radius: 999px; background: var(--surface-deep); padding: 5px; }
.mode-tabs button { border-radius: 999px; font-size: .78rem; }
.mode-tabs button[aria-selected="true"] { color: #101820; background: var(--orange); box-shadow: var(--shadow-soft); }
.model-output { grid-template-columns: 1fr; }
.selected-model { min-width: 0; }
.selected-model h3 { letter-spacing: -.05em; }
.selected-model p { font-family: var(--mono); font-size: .65rem; }
.score-pill { flex-shrink: 0; }
.synthesis { border-radius: 18px; }
.synthesis-heading { font: 500 .62rem/1.8 var(--mono); }
.model-badges { gap: 8px; }
.model-badges button { border-radius: 10px; font-size: .71rem; }
.badge-note { font: 500 .61rem/1.6 var(--mono); margin-left: 0; }
.trust-panel { border-radius: 32px; gap: 48px; padding: clamp(28px, 4.5vw, 56px); }
.trust-copy h2 { font-size: clamp(2rem, 3vw, 3.25rem); }
.trust-checks { align-content: center; }
.trust-checks li { border-radius: 18px; }
.install-section { padding-top: 30px; }
.install-panel { max-width: none; border-radius: 36px; padding: clamp(32px, 5vw, 64px); position: relative; }
.install-brand-lockup { margin-bottom: 24px; min-height: 88px; grid-template-columns: 68px 36px 68px; }
.brand-token { width: 68px; height: 68px; border-radius: 20px; }
.brand-token img { max-width: 54px; max-height: 54px; }
.install-panel h2 { max-width: 800px; margin-inline: auto; }
.install-command { padding: 20px; border-radius: 20px; }
.install-command code { font-family: var(--mono); font-size: .74rem; line-height: 1.9; }
.site-footer { border-color: color-mix(in srgb, var(--border) 40%, transparent); padding-top: 48px; }
.footer-brand, .footer-brand span, .footer-group h2 { text-shadow: none; }
.footer-group h2 { font-family: var(--mono); font-size: .67rem; letter-spacing: .08em; }
.footer-tagline { max-width: 48ch; }
@media (max-width: 1100px) and (min-width: 981px) {
  .site-header { gap: 8px; padding-inline: 18px 10px; }
  .site-nav a { padding-inline: 8px; font-size: .68rem; }
  .nav-tools { gap: 8px; }
}
@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr 44px 44px; }
  .theme-button { grid-column: 2; }
  .nav-toggle { grid-column: 3; grid-row: 1; width: 44px; height: 44px; border: 0; border-radius: 50%; }
  .nav-panel { border: 0; border-radius: 26px; padding: 20px; background: var(--surface); }
  .site-nav a { min-height: 48px; font-size: .85rem; }
  .hero { grid-template-columns: 1fr; padding-top: 64px; gap: 40px; min-height: auto; }
  .hero-copy { max-width: 700px; }
  h1 { font-size: clamp(4rem, 9vw, 6rem); }
  .hero-lede { max-width: 58ch; }
  .route-console { max-width: 720px; }
  .workflow-list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .workflow-list li { grid-column: span 2; min-height: 220px; }
  .workflow-list li:nth-child(4), .workflow-list li:nth-child(5) { grid-column: span 3; }
  #model-lab { grid-template-columns: 1fr; }
  #model-lab .section-heading { max-width: 700px; }
  .trust-panel { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  :root { --shell: calc(100% - 32px); }
  .site-header { width: calc(100% - 24px); min-height: 66px; top: 12px; margin-top: 12px; padding: 8px 10px 8px 18px; gap: 8px; }
  .nav-tools { flex-direction: row; flex-wrap: wrap; }
  .nav-language { flex: 1; }
  .nav-language select { width: 100%; }
  .hero { padding: 48px 0; gap: 32px; }
  h1 { font-size: clamp(3.1rem, 12vw, 4.9rem); letter-spacing: -.07em; }
  .hero .eyebrow { font-size: .59rem; letter-spacing: .045em; }
  .hero-actions { gap: 12px; }
  .hero-actions .button { justify-content: space-between; }
  .hero-proof { display: flex; font-size: .68rem; }
  .route-console { padding: 7px; border-radius: 24px; }
  .codex-window { border-radius: 18px; }
  .codex-sidebar { display: none; }
  .codex-app-shell { grid-template-columns: 1fr; }
  .codex-chrome { gap: 10px; }
  .chrome-nav { display: none; }
  .codex-transcript { padding: 14px; }
  .trust-strip { gap: 18px 0; }
  .trust-strip article { padding: 0 14px; }
  .trust-strip article:nth-child(odd) { padding-left: 0; }
  .trust-strip strong { font-size: 1.25rem; }
  .section { padding-block: 64px; }
  .section-heading h2 { font-size: clamp(2.25rem, 8vw, 3rem); }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-card, .capability-card:first-child { grid-row: auto; padding: 28px; }
  .capability-card:first-child h3 { max-width: none; }
  .capability-card:first-child .feature-list { padding-top: 12px; }
  .workflow-list { grid-template-columns: 1fr; }
  .workflow-list li, .workflow-list li:nth-child(4), .workflow-list li:nth-child(5) { grid-column: auto; min-height: 0; flex-direction: row; gap: 18px; padding: 24px; }
  .workflow-list li > span { flex: 0 0 40px; }
  .workflow-list h3 { font-size: 1.2rem; }
  .model-lab { padding: 20px; border-radius: 24px; }
  .mode-tabs button { padding-inline: 10px; font-size: .7rem; }
  .selected-model { gap: 12px; }
  .selected-model .model-logo { width: 48px; height: 48px; }
  .score-pill { grid-column: auto; width: 54px; height: 54px; border-radius: 50%; display: grid; gap: 0; }
  .selected-model { grid-template-columns: auto minmax(0, 1fr) auto; }
  .trust-panel { padding: 28px 22px; gap: 28px; }
  .install-panel { padding: 32px 22px; border-radius: 28px; }
  .install-command { padding: 15px; gap: 8px; align-items: flex-start; }
  .install-command code { font-size: .65rem; }
  .install-command .icon-button { width: 36px; height: 36px; flex: 0 0 36px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media (forced-colors: active) {
  .site-header, .soft-panel, .soft-surface, .button, .theme-button { border: 1px solid ButtonText; }
  h1 > span:last-child { background: none; color: CanvasText; }
}

.install-actions .button-secondary::after { content: "↗"; }

/* Homepage rhythm, materials, and readable small type. */
:root {
  --space-section: clamp(5.5rem, 8vw, 7.5rem);
  --space-head: clamp(2.25rem, 3.5vw, 3.25rem);
  --space-grid: clamp(1rem, 2vw, 1.5rem);
  --text-small: clamp(.875rem, .15vw + .84rem, .95rem);
  --text-micro: clamp(.75rem, .12vw + .72rem, .82rem);
}
html[data-accent="blue"] { --orange: #4f78ea; }
html[data-accent="violet"] { --orange: #8a66da; }
html[data-accent="mint"] { --orange: #24a879; }
body { background: var(--bg); }
body::before { background: radial-gradient(ellipse at 80% 10%, color-mix(in srgb, var(--blue) 7%, transparent), transparent 48%); }
.section { padding-block: var(--space-section); }
.section + .section { padding-top: 0; }
.section-heading { margin-bottom: var(--space-head); }
p { text-wrap: pretty; }
.hero { align-items: center; }
.hero-proof { font-size: var(--text-micro); }
.eyebrow { font-size: var(--text-micro); letter-spacing: .04em; }
.theme-control { grid-column: 4; grid-row: 1; }
.theme-control select { width: 90px; min-height: 44px; padding: 8px; border: 0; border-radius: 14px; background: var(--surface); color: var(--text); box-shadow: var(--shadow-inset); font: 600 .75rem/1.5 inherit; cursor: pointer; }
.site-nav a { font-size: .8rem; }
.site-header { padding-block: 12px; }
.soft-surface, .soft-panel { box-shadow: var(--shadow-raised); }
.soft-inset { border-color: transparent; }
html[data-theme="dark"] :is(.soft-surface, .soft-panel) { background: linear-gradient(145deg, #263240, #1c2632); }
html[data-theme="light"] img:is([src$="/moonshot.svg"], [src$="/openai.svg"], [src$="/grok.svg"], [src$="/openrouter.svg"]) { filter: brightness(0); }
.hero .route-console { min-width: 0; }
.prompt-skeleton { min-height: 0; }
.thread-toolbar { min-height: 48px; }
.model-footnotes { flex-wrap: wrap; }
.model-footnote { font-size: .7rem; }
.trust-strip { padding: 28px 24px; border: 0; border-radius: 26px; background: var(--surface); box-shadow: var(--shadow-inset); }
.trust-strip strong { font-size: clamp(1.1rem, 1.8vw, 1.4rem); }
.trust-strip > article > span { font-size: var(--text-small); }
.card-index, .feature-list li, .badge-note { font-size: var(--text-micro); }
.feature-list { gap: 10px; }
.audience-card p, .workflow-list p { font-size: var(--text-small); line-height: 1.65; }
.capability-grid, .audience-grid { gap: var(--space-grid); }
.install-panel { text-align: left; }
.install-panel h2, .install-panel > p { margin-left: 0; max-width: 62ch; }
.install-panel h2 { max-width: 22ch; }
.install-brand-lockup { justify-content: start; margin-left: 0; }
.install-panel .hero-actions { justify-content: start; }
.install-steps { gap: 14px; margin: 28px 0; padding: 0; list-style: none; }
.install-steps li { padding: 18px; border: 0; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-inset); font-size: .9rem; line-height: 1.6; }
.terminal-setup { margin: 24px 0; padding: 0 20px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-inset); }
.terminal-setup summary { cursor: pointer; padding: 18px 0; color: var(--text); font-weight: 700; }
.terminal-setup .install-command { margin-top: 0; box-shadow: none; padding-inline: 0; }
.install-command code { font-size: .85rem; line-height: 1.8; overflow-wrap: anywhere; }
.prompt-starters { max-width: none; margin-top: 28px; }
.prompt-starters h3 { font-size: 1.15rem; }
.prompt-starters .install-command { margin-bottom: 0; }
.score-pill { width: auto; min-width: 74px; min-height: 66px; padding: 10px; border-radius: 16px; gap: 3px; }
.score-pill small { font-size: .64rem; font-weight: 600; white-space: nowrap; color: var(--text-soft); }
.selected-model p, .synthesis-heading { font-size: var(--text-micro); overflow-wrap: anywhere; }
.selected-model h3 { font-size: 1.5rem; }
.selected-model small { font-size: .78rem; }
.mode-tabs button { min-height: 44px; }
.model-badges button { min-height: 40px; font-size: .8rem; }
.trust-checks li small { font-size: .85rem; line-height: 1.5; }
.site-footer { margin-top: 12px; margin-bottom: 32px; padding: clamp(28px,4vw,48px); border: 0; border-radius: 34px; background: linear-gradient(145deg,var(--surface-raised),var(--surface)); box-shadow: var(--shadow-raised); }
.footer-group h2 { font-size: .78rem; }
.footer-group a, .footer-tagline, .footer-bottom { font-size: .88rem; line-height: 1.7; }
@media(max-width: 1100px) and (min-width:981px) { .site-nav a { font-size: .75rem; padding-inline: 7px; } .nav-tools { gap: 7px; } }
@media(max-width:980px) { .site-header { grid-template-columns: 1fr 90px 44px; } .theme-control { grid-column: 2; } .hero { min-height: 0; } .hero-copy { max-width: 760px; } }
@media(max-width:680px) {
  :root { --space-section: 4.5rem; --shell: calc(100% - 28px); }
  .site-header { grid-template-columns: 1fr 76px 38px; gap: 6px; padding-left: 14px; }
  .theme-control select { width: 76px; padding-inline: 5px; font-size: .72rem; }
  .nav-toggle { width: 38px; height: 38px; }
  .source-logo { font-size: .95rem; gap: 7px; }
  .source-logo small { font-size: .58rem; }
  h1 { font-size: clamp(2.55rem, 10.4vw, 4.4rem); }
  .hero .eyebrow { font-size: .72rem; }
  .hero-proof { font-size: .78rem; }
  .trust-strip { padding: 22px; }
  .trust-strip article { padding-right: 10px; }
  .install-panel { padding: 28px 20px; }
  .install-steps { grid-template-columns: 1fr; }
  .install-command code { font-size: .78rem; }
  .terminal-setup { padding-inline: 14px; }
  .mode-tabs { flex-wrap: wrap; border-radius: 18px; }
  .mode-tabs button { flex: 1 1 42%; }
  .selected-model { grid-template-columns: 42px minmax(0,1fr); }
  .selected-model .model-logo { width: 42px; height: 42px; }
  .score-pill { grid-column: 1 / -1; width: max-content; min-height: 0; display: flex; gap: 10px; border-radius: 10px; }
  .site-footer { border-radius: 28px; padding: 26px 22px; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; }
}
html[data-motion="calm"] { scroll-behavior: auto; }
html[data-motion="calm"] *, html[data-motion="calm"] *::before, html[data-motion="calm"] *::after { animation-duration: .01ms!important; animation-iteration-count: 1!important; transition-duration: .01ms!important; }
