:root {
  color-scheme: dark;
  --bg: #050913;
  --text: #f4f8ff;
  --muted: #a4b6ce;
  --secondary: #8ca6c2;
  --cyan: #7dcfff;
  --line: #91b7ff26;
  --max: 1240px;
  --mono: Consolas, ui-monospace, SFMono-Regular, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 106px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
figure, p, h1, h2, h3 { margin: 0; }
::selection { color: #fff; background: #247de9aa; }

.wrap { width: min(var(--max), calc(100% - 96px)); margin-inline: auto; }
.mono, .eyebrow { font: .8125rem/1.5 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.eyebrow { color: #88c8f7; margin-bottom: 22px; }
.gradient { color: transparent; background: linear-gradient(110deg, #eaf6ff 0%, #91ceff 48%, #3a91ff 100%); background-clip: text; -webkit-background-clip: text; }
h1, h2, h3 { font-weight: 650; }
h1 { font-size: clamp(3.25rem, 5.65vw, 5.25rem); line-height: 1.04; letter-spacing: -.065em; font-weight: 720; }
h2 { font-size: clamp(2.6rem, 4.5vw, 4.125rem); line-height: 1.055; letter-spacing: -.05em; }
h3 { letter-spacing: -.035em; }
.intro { color: var(--muted); font-size: 1.125rem; line-height: 1.65; max-width: 610px; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 21px; border: 1px solid #3e6c9c; border-radius: 6px; background: #11233b66; color: #dbeeff; font-size: .9375rem; font-weight: 600; text-align: center; transition: background .2s, border-color .2s; }
.button:hover { background: #193858; border-color: var(--cyan); }
.button.primary { background: #1769d4; color: #fff; border-color: #409cff; box-shadow: 0 8px 42px #0b65e91c; }
.button.primary:hover { background: #1764c9; border-color: #8bd1ff; }
.button.small { min-height: 40px; padding: 7px 14px; font-size: .875rem; }
.text-link { display: inline-block; color: #92ceff; font-size: .9375rem; line-height: 1.5; font-weight: 550; }
.text-link:hover { color: #e6f4ff; text-decoration: underline; text-underline-offset: .2em; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 100; padding: 12px 18px; border: 1px solid #72bfff; background: #091725; }
.skip-link:focus { top: 10px; }

.site-header { position: sticky; top: 0; z-index: 30; background: #050913e8; backdrop-filter: blur(18px); border-bottom: 1px solid #8eb7ff10; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; }
.brand { display: inline-flex; align-items: center; width: fit-content; gap: 11px; font-size: 1.3125rem; letter-spacing: -.035em; font-weight: 720; }
.brand img { width: 37px; height: 37px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: .9375rem; color: var(--muted); }
.nav-links > a:hover { color: #fff; }
.reading-progress { height: 1px; position: absolute; bottom: -1px; left: 0; right: 0; }
.reading-progress span { display: block; width: 100%; height: 1px; background: #3b9dff; transform: scaleX(0); transform-origin: left; opacity: .7; }

main { background: radial-gradient(ellipse at 76% 24%, #1671f71c, transparent 61%) top center / 100% 58rem no-repeat; }
.hero { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; column-gap: clamp(32px, 5vw, 72px); row-gap: 36px; padding-block: clamp(54px, 6vw, 90px) 20px; }
.hero-copy { min-width: 0; }
.launch-pill { display: inline-flex; flex-wrap: wrap; gap: 4px 9px; color: #9dc9ec; background: #12355766; border: 1px solid #2c679b90; border-radius: 30px; padding: 8px 13px; font: .8125rem/1.4 var(--mono); margin-bottom: 29px; }
.launch-pill b { color: #e0f0ff; font-weight: 600; }
.launch-pill:hover { background: #1a4465; border-color: #74bded; }
.hero-description { max-width: 505px; color: var(--muted); font-size: 1.125rem; line-height: 1.65; margin-top: 24px; }
.creator-credit { margin-top: 23px; color: var(--secondary); font-size: .9375rem; }
.creator-credit a { display: inline-block; margin-left: 4px; color: #e1f1ff; font-size: 1.125rem; font-weight: 650; text-decoration: underline; text-decoration-color: #4d81a9; text-underline-offset: .2em; }
.creator-credit a:hover { color: var(--cyan); }
.hero-visual { justify-self: center; width: min(100%, 560px); min-width: 0; }
.hero-visual picture { display: block; width: 100%; aspect-ratio: 900 / 760; }
.hero-visual img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: lighten; }
.hero-proof { grid-column: 1/-1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.hero-proof a { display: flex; gap: 17px; align-items: center; min-width: 0; padding: 22px clamp(12px, 2vw, 30px); }
.hero-proof a:first-child { padding-left: 0; }
.hero-proof a + a { border-left: 1px solid var(--line); }
.hero-proof a:hover { background: #12355738; }
.hero-proof strong { color: #a7ddff; font-size: clamp(1.875rem, 3.15vw, 2.75rem); line-height: 1; letter-spacing: -.06em; white-space: nowrap; }
.hero-proof strong span { font-size: .7em; font-weight: 500; margin-left: .08em; }
.hero-proof a > span { color: #d9e8f9; font-size: .9375rem; line-height: 1.35; font-weight: 550; }
.hero-proof small { display: block; color: var(--secondary); font-size: .8125rem; font-weight: 400; margin-top: 5px; }

.section { padding: 100px 0; }
.section-heading { margin-bottom: 40px; }
.section-heading > .intro { margin-top: 22px; }
.split-heading { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 100px); align-items: end; }
.split-heading .intro { padding-bottom: 3px; max-width: 520px; }

.operations-section { padding-block: 88px 68px; }
.operations-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.operation { min-width: 0; padding: 27px 23px 29px; }
.operation:first-child { padding-left: 0; }
.operation + .operation { border-left: 1px solid var(--line); }
.operation:hover { background: #12355738; }
.operation .mono { color: #80bde8; }
.operation h3 { margin-top: 12px; font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.2; }
.operation:hover h3 { color: #a9deff; }
.operation p { margin-top: 10px; color: var(--muted); font-size: 1rem; line-height: 1.55; }

.compact-section { background: radial-gradient(ellipse at 80% 40%, #103d6537, transparent 59%); }
.combine-section { background: radial-gradient(ellipse at 21% 50%, #103d652c, transparent 55%); }
.feature-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "copy demo"; gap: clamp(34px, 5vw, 74px); align-items: center; }
.feature-reverse { grid-template-areas: "demo copy"; }
.feature-copy { grid-area: copy; }
.feature-copy .intro { margin-top: 22px; }
.feature-detail { color: var(--secondary); font-size: 1rem; line-height: 1.65; margin-top: 16px; }
.feature-detail code { color: #a7d7fa; font: .91em var(--mono); }
.demo-card { grid-area: demo; min-width: 0; border: 1px solid #32689970; background: linear-gradient(130deg, #0b1c30, #060f1c); border-radius: 12px; box-shadow: 0 30px 90px #0004; overflow: hidden; }
.demo-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 60px; padding: 15px 23px; border-bottom: 1px solid #38668b50; color: #a8c4df; }
.demo-top strong { font-size: 1.5rem; color: #b5e4ff; line-height: 1; letter-spacing: -.03em; }
.visual canvas { display: block; width: 100%; height: auto; position: relative; }
.demo-card .visual { margin: 16px 8px 24px; }
.compact-visual canvas { aspect-ratio: 560 / 230; }
.combine-visual canvas { aspect-ratio: 560 / 260; }
.demo-card figcaption { padding-inline: 12px; text-align: center; font: .875rem/1.55 var(--mono); color: #a7c3df; }
.demo-call { background: #040b15a6; border-top: 1px solid #38668b50; padding: 18px 23px; }
.demo-call code { color: #c4d9ed; font: clamp(.875rem, 1.65vw, 1.1875rem)/1.55 var(--mono); }
.demo-call code span { color: #8ed9ff; }

.handoff-visual { margin-top: 36px; }
.handoff-visual canvas { aspect-ratio: 1200 / 360; }
.handoff-caption { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 20px; font-size: .9375rem; color: var(--secondary); padding: 4px 20px 22px; }
.handoff-caption > span:first-child > span { margin-inline: 5px; color: #75b7ec; }
.handoff-caption strong { color: #a5dfff; font-size: 1.5rem; margin-right: 4px; }
.handoff-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.phase-step { display: grid; align-content: start; gap: 5px; padding: 20px 24px; position: relative; }
.phase-step + .phase-step { border-left: 1px solid var(--line); }
.phase-step::before { content: ""; position: absolute; height: 1px; background: #7ac5ff; top: -1px; left: 0; right: 0; transform: scaleX(0); transform-origin: left; transition: transform .6s; }
.phase-step.is-current::before { transform: scaleX(1); }
.phase-step strong { color: #bbcee4; font-size: 1.0625rem; font-weight: 550; }
.phase-step small { color: var(--secondary); font-size: .875rem; line-height: 1.5; }
.phase-step.is-current strong { color: #afdfff; }
.bridge-links, .catalog-links, .start-links { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 26px; margin-top: 24px; }

.results-section { background: linear-gradient(120deg, #091425a6, #070f1c66); border-block: 1px solid #769ed12a; }
.proof-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.proof-card { display: grid; justify-items: start; align-content: start; padding: clamp(22px, 3vw, 38px); border: 1px solid var(--line); border-radius: 9px; background: linear-gradient(135deg, #0e2036bc, #081423ac); }
.proof-card .eyebrow { margin-bottom: 17px; }
.proof-value { color: #a7ddff; font-size: clamp(3rem, 6vw, 5.5rem); line-height: 1; letter-spacing: -.065em; font-weight: 600; }
.proof-value span { font-weight: 450; font-size: .6em; }
.proof-card h3 { margin-top: 16px; font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.25; }
.proof-card p:not(.eyebrow) { margin-top: 10px; color: var(--muted); line-height: 1.65; max-width: 460px; }
.proof-card .text-link { margin-top: 20px; }

.results-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(34px, 6vw, 90px); align-items: center; margin-top: 65px; }
.result-copy h3 { font-size: clamp(1.75rem, 3.6vw, 3rem); line-height: 1.1; font-weight: 600; }
.speedup { margin-top: 24px; }
.speedup strong { display: block; font-size: clamp(5.25rem, 10vw, 8.625rem); font-weight: 600; line-height: .98; letter-spacing: -.07em; color: #a5ddff; }
.speedup strong > span { font-size: .58em; font-weight: 400; margin-left: 6px; }
.speedup p { margin-top: 13px; color: #d3e5f9; font-size: 1.1875rem; }
.stat-scope { margin-top: 11px; color: var(--secondary); font-size: .875rem; line-height: 1.5; }
.chart-top { margin-bottom: 26px; color: #a5bdd7; }
.race-row + .race-row { margin-top: 22px; }
.race-label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; gap: 12px; color: #cadaed; }
.race-label strong { font-weight: 550; font-size: 1.3125rem; letter-spacing: -.03em; white-space: nowrap; }
.race-label strong span { font-size: .875rem; margin-left: 3px; color: var(--secondary); }
.race-track { height: 24px; background: #0b1a2b; border-radius: 2px; overflow: hidden; }
.race-fill { height: 100%; width: var(--bar-width, 100%); transform-origin: left; }
.native-fill { background: linear-gradient(90deg, #244560, #567c9f); }
.composite-fill { background: linear-gradient(90deg, #166ce5, #69caff); box-shadow: 0 0 22px #4fabff3b; }
.enhanced .race-fill { transform: scaleX(0); }
.chart-started .native-fill { animation: bar-grow 2.8s cubic-bezier(.16, .4, .3, 1) both; }
.chart-started .composite-fill { animation: bar-grow 1.26s cubic-bezier(.16, .4, .3, 1) both; }
@keyframes bar-grow { to { transform: scaleX(1); } }
.benchmark .text-link { margin-top: 25px; }
.quality-block { margin-top: 42px; border-top: 1px solid var(--line); padding-top: 30px; display: grid; grid-template-columns: 1fr .88fr; gap: 38px; align-items: center; }
.quality-block h3 { font-size: 1.375rem; font-weight: 600; }
.quality-block p { margin-top: 9px; color: var(--muted); line-height: 1.6; max-width: 540px; }
.quality-scores { display: grid; grid-template-columns: 1fr 1.25fr; gap: 22px; }
.quality-scores > div { display: grid; align-content: start; gap: 5px; color: var(--secondary); font-size: .875rem; }
.quality-scores strong { font-size: 2.25rem; font-weight: 500; line-height: 1.1; letter-spacing: -.035em; color: #b1c6de; }
.quality-scores strong span { font-size: 1.125rem; margin-left: 2px; }
.quality-scores .composite-score strong { color: #a6dfff; }

.context-layout { display: grid; grid-template-columns: .95fr 1.15fr; gap: 12px 38px; align-items: center; }
.context-copy .intro { margin-top: 22px; }
.context-steps { display: grid; margin-block: 19px 24px; max-width: 465px; }
.context-step { display: grid; gap: 5px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.context-step strong { color: #c1d4eb; font-size: 1rem; font-weight: 600; transition: color .5s; }
.context-step small { color: var(--secondary); font-size: .875rem; line-height: 1.45; }
.context-step.is-current strong { color: #b4e4ff; }
.context-visual canvas { aspect-ratio: 700 / 540; }

.models-section { border-top: 1px solid var(--line); }
.model-table { width: 100%; table-layout: fixed; text-align: left; border-collapse: collapse; }
.model-table th, .model-table td { border-bottom: 1px solid var(--line); padding: 15px 18px; }
.model-table thead th { background: #0d2035; color: #a9c6e3; font: .875rem/1.4 var(--mono); }
.model-table thead th:first-child { width: 48%; }
.model-table tbody th { font-weight: 550; overflow-wrap: anywhere; }
.model-table tbody tr:nth-child(odd) { background: #0a1525; }
.model-table tbody tr:first-child th { color: #bbe5ff; }
.model-table td { color: var(--secondary); }
.model-table a { color: #98d1ff; text-decoration: underline; text-decoration-color: #426b91; text-underline-offset: .2em; }
.model-table a:hover { color: #fff; text-decoration-color: currentColor; }

.research-section { padding-block: 43px 65px; }
.paper-block { display: grid; grid-template-columns: minmax(160px, 270px) minmax(0, 1fr); gap: 40px; padding: 38px; border: 1px solid var(--line); border-radius: 9px; align-items: center; }
.paper-mark { display: flex; align-items: center; justify-content: center; gap: 18px; color: #8bbce6; font-size: clamp(2.625rem, 5vw, 4.125rem); font-weight: 450; letter-spacing: -.06em; white-space: nowrap; }
.paper-mark i { font-size: .65em; font-weight: 400; font-style: normal; color: #5788b5; }
.paper-copy .eyebrow { margin-bottom: 11px; }
.paper-copy h2 { font-size: clamp(1.625rem, 3vw, 2.375rem); letter-spacing: -.035em; }
.paper-copy > p:not(.eyebrow) { color: var(--muted); line-height: 1.65; margin-top: 14px; }
.paper-copy .text-link { margin-top: 17px; }

.start-section { background: linear-gradient(130deg, #0b172a, #07101d 70%); border-block: 1px solid #769ed12c; }
.start-layout { display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(32px, 6vw, 84px); align-items: start; }
.start-layout > * { min-width: 0; }
.start-copy .intro { margin-top: 22px; }
.install-command { width: fit-content; max-width: 100%; margin-top: 21px; padding: 12px 14px; color: #c5dcf5; background: #040b15; border: 1px solid #406b9855; border-radius: 6px; font: .9375rem/1.5 var(--mono); overflow-wrap: anywhere; }
.install-command code { font: inherit; }
.code-window { background: #040b15; border: 1px solid #406b9855; border-radius: 9px; box-shadow: 0 30px 80px #0003; }
.code-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 18px; border-bottom: 1px solid #3c628750; border-radius: 8px 8px 0 0; background: #0a1524; color: #a2bbd4; }
.copy-button { flex: 0 0 auto; min-height: 38px; color: #c5dff6; padding: 5px 10px; font-size: .875rem; border: 1px solid #3a638680; border-radius: 4px; background: #12243a66; }
.copy-button:hover { background: #193352; color: #fff; }
pre { margin: 0; padding: 20px 18px; color: #bfd4e9; font: .875rem/1.85 var(--mono); overflow: auto; tab-size: 4; }
pre code { font: inherit; }
.syntax-key { color: #8bbaff; }
.syntax-string { color: #8cd9e5; }
.code-note { color: var(--secondary); font-size: .875rem; line-height: 1.65; margin-top: 13px; }

.site-footer { padding: 36px 0 24px; background: #030710; }
.footer-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.footer-top nav { display: flex; flex-wrap: wrap; gap: 14px 25px; color: #a6bdd5; font-size: .875rem; }
.footer-top nav a:hover, .footer-bottom a:hover { color: #d5edff; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 9px 20px; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 24px; color: var(--secondary); font-size: .8125rem; }
.footer-bottom a { color: #bfd9ed; }

.detail-page [aria-current="page"] { color: var(--text); text-decoration: underline; text-underline-offset: .3em; }
.detail-page .detail-card h3, .detail-page .detail-results, .detail-page .detail-results .speedup { margin-top: 0; }
.detail-page .detail-prose { max-width: 720px; }
.detail-page .detail-prose p { color: var(--muted); line-height: 1.65; margin-top: 14px; }
.detail-page .detail-prose h3 { font-size: 1.375rem; margin-top: 30px; }
.detail-page .detail-prose .code-window { margin-top: 20px; }
.detail-page .detail-transfer-notes { margin-top: 30px; }
.detail-page .detail-table, .detail-page .code-window + .code-window { margin-top: 16px; }
.detail-page .detail-table thead th:first-child { width: 62%; }

.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; }
.enhanced .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.65,.3,1); }
.enhanced .reveal:is(.in-view, :focus-within, :target) { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .wrap { width: calc(100% - 72px); }
  .nav-links { gap: 23px; }
  .hero-proof a { gap: 12px; }
  .context-layout { grid-template-columns: 1fr 1.1fr; gap: 25px; }
}

@media (max-width: 900px) {
  .wrap { width: calc(100% - 48px); }
  .section { padding-block: 76px; }
  .hero { grid-template-columns: minmax(0, 1fr); row-gap: 30px; }
  .hero-copy { width: 100%; max-width: 560px; justify-self: center; }
  h1 { font-size: clamp(3.5rem, 9.5vw, 5rem); }
  .hero-visual { width: min(100%, 475px); }
  .operations-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .operation:nth-child(odd) { border-left: 0; padding-left: 0; }
  .operation:nth-child(n+3) { border-top: 1px solid var(--line); }
  .feature-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "demo"; }
  .demo-card { width: min(100%, 610px); justify-self: center; }
  .context-layout { grid-template-columns: 1fr; }
  .context-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: none; }
  .context-visual { width: min(100%, 640px); justify-self: center; }
  .research-section { padding-block: 20px 62px; }
}

@media (max-width: 680px) {
  .nav-inner { min-height: 66px; gap: 14px; }
  .brand { font-size: 1.1875rem; gap: 8px; }
  .brand img { width: 31px; height: 31px; }
  .nav-links { gap: 13px; font-size: .875rem; }
  .hero-proof a { display: grid; align-content: start; gap: 9px; }
  .start-layout { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  html { scroll-padding-top: 117px; }
  .wrap { width: calc(100% - 36px); }
  .nav-inner { display: grid; grid-template-columns: 1fr auto; row-gap: 0; min-height: 96px; padding-block: 8px; }
  .nav-links { display: contents; }
  .nav-links > a:not(.button) { grid-row: 2; padding-block: 8px 4px; }
  .nav-links > a:nth-child(1) { grid-column: 1; justify-self: start; }
  .nav-links > a:nth-child(2) { grid-column: 1/-1; justify-self: center; }
  .nav-links > a:nth-child(3) { grid-column: 2; justify-self: end; }
  .nav-links .button { grid-row: 1; grid-column: 2; min-height: 36px; }
  .section { padding-block: 61px; }
  .section-heading { margin-bottom: 28px; }
  .eyebrow { margin-bottom: 16px; }
  h1 { font-size: clamp(2.375rem, 10.75vw, 4.125rem); }
  h2 { font-size: clamp(2.25rem, 9.55vw, 3.125rem); }
  .intro, .hero-description { font-size: 1rem; }
  .hero { padding-top: 37px; row-gap: 22px; }
  .launch-pill { margin-bottom: 20px; }
  .hero-description { margin-top: 18px; }
  .creator-credit { margin-top: 17px; }
  .actions { margin-top: 23px; gap: 14px 18px; }
  .button, .text-link { font-size: .875rem; }
  .button { padding-inline: 14px; }
  .hero-proof a { padding: 15px 9px; }
  .hero-proof strong { font-size: 1.75rem; }
  .hero-proof a > span { font-size: .8125rem; }
  .hero-proof small { font-size: .75rem; }
  .split-heading { grid-template-columns: 1fr; gap: 18px; }
  .operations-section { padding-bottom: 44px; }
  .operation { padding: 19px 12px 20px; }
  .operation p { font-size: .9375rem; }
  .feature-layout { gap: 27px; }
  .demo-top { min-height: 49px; padding-inline: 17px; }
  .demo-card .visual { margin: 10px 5px 17px; }
  .demo-card figcaption { font-size: .8125rem; }
  .demo-call { padding: 15px 17px; }
  .compact-visual canvas { aspect-ratio: 360 / 175; }
  .combine-visual canvas { aspect-ratio: 360 / 300; }
  .handoff-visual { margin-top: 12px; }
  .handoff-visual canvas { aspect-ratio: 360 / 680; }
  .handoff-caption { align-items: flex-start; flex-direction: column; padding-inline: 0; line-height: 1.4; font-size: .875rem; }
  .phase-step { padding: 13px 9px; }
  .phase-step strong { font-size: .9375rem; }
  .phase-step small { font-size: .8125rem; }
  .proof-grid, .results-layout, .quality-block { grid-template-columns: 1fr; }
  .proof-grid { gap: 12px; }
  .results-layout { margin-top: 43px; gap: 28px; }
  .race-label { font-size: .9375rem; }
  .quality-block { margin-top: 30px; gap: 18px; }
  .context-steps { grid-template-columns: 1fr; gap: 0; }
  .context-visual canvas { aspect-ratio: 360 / 440; }
  .model-table th, .model-table td { padding: 12px 6px; font-size: .875rem; }
  .model-table thead th { font-size: .8125rem; }
  .catalog-links { gap: 10px 18px; }
  .paper-block { grid-template-columns: 1fr; gap: 15px; padding: 23px; }
  .paper-mark { justify-content: flex-start; }
  .research-section { padding-top: 9px; }
  .code-toolbar { padding: 10px 12px; }
  .code-toolbar .mono { font-size: .75rem; }
  pre { padding: 15px 12px; font-size: .8125rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
  .enhanced .reveal { opacity: 1; transform: none; }
  .enhanced .race-fill { transform: scaleX(1); }
}
@media print {
  .site-header, .actions, .copy-button, .reading-progress { display: none; }
  .wrap { width: 100%; }
  .section { padding: 36px 0; break-inside: avoid; }
  .enhanced .reveal { opacity: 1; transform: none; }
  .enhanced .race-fill { transform: scaleX(1); }
  body { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
