/* ==========================================================================
   NeoAI deck pages: one point per screen, scroll-snapped, fits 390x664.
   Load after /type.css. Component reference lives in deck/README.md.
   Rules of the house:
     - every slide heading is a claim
     - mock data is realistic and labelled (.tag.*), never presented as results
     - a slide must fit 390x664 and 1280x720 without scrolling (scripts/check-fit.js)
   ========================================================================== */
:root {
  --bg-page: #06080d;
  --bg-surface: #0d111a;
  --bg-surface-elevated: #131926;
  --bg-input: #0a0d14;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-highlight: rgba(56, 189, 248, 0.4);
  --text-primary: #f8fafc;
  --text-secondary: #a3b1c6;
  --text-muted: #8c9ab0;
  --text-accent: #38bdf8;
  --cyan-glow: #00f5a0;
  --blue-glow: #38bdf8;
  --amber-glow: #fbbf24;
  --red-glow: #f87171;
  --violet: #c4b5fd;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --glow-subtle: 0 4px 20px rgba(56, 189, 248, 0.16);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg-page); color: var(--text-primary); -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body { min-height: 100vh; background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(56, 189, 248, 0.12), transparent) no-repeat, var(--bg-page); overflow-x: hidden; }
a { color: var(--text-accent); text-underline-offset: 3px; }
a:hover { color: #7dd3fc; }
:focus-visible { outline: 2px solid var(--text-accent); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--bg-surface-elevated); padding: 8px 12px; border-radius: var(--radius-sm); z-index: 60; }
.skip:focus { left: 8px; }
ul, ol { margin-left: 20px; }
strong { color: var(--text-primary); }

/* ---------- top bar (scrolls away with the first slide) ---------- */
.deck-top { position: absolute; top: 0; left: 0; right: 0; z-index: 20; }
.deck-top .in { max-width: 1180px; margin: 0 auto; padding: 16px clamp(20px, 5vw, 72px); display: flex; align-items: center; gap: 22px; }
.brand { font-family: var(--font-display); font-weight: 650; font-size: 1.25rem; color: var(--text-primary); text-decoration: none; letter-spacing: -0.01em; }
.deck-top nav { display: flex; gap: 4px 20px; flex: 1; flex-wrap: wrap; }
.deck-top nav a { color: var(--text-secondary); text-decoration: none; font-size: var(--t-small); padding: 4px 0; }
.deck-top nav a:hover, .deck-top nav a[aria-current="page"] { color: var(--text-primary); }
.deck-top .btn { margin-left: auto; padding: 9px 16px; font-size: .875rem; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; font-weight: 650; font-size: .9375rem; border-radius: var(--radius-sm); text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: transform .2s var(--ease), background .2s; line-height: 1.2; }
.btn-primary { background: #fff; color: #06080d; box-shadow: 0 4px 14px -2px rgba(0, 0, 0, .5), 0 0 20px rgba(255, 255, 255, .12); }
.btn-primary:hover { background: #f1f5f9; color: #06080d; transform: translateY(-1px); }
.btn-secondary { background: rgba(255, 255, 255, .04); color: var(--text-primary); border-color: rgba(255, 255, 255, .22); }
.btn-secondary:hover { background: rgba(255, 255, 255, .08); color: var(--text-primary); }

/* ---------- deck mechanics ---------- */
.slide { position: relative; padding: 88px clamp(20px, 5vw, 72px) 64px; }
.slide-in { width: min(1180px, 100%); margin-inline: auto; }
@media (min-width: 900px) and (min-height: 600px) {
  html { scroll-snap-type: y mandatory; }
  .slide { min-height: 100svh; display: flex; align-items: center; scroll-snap-align: start; scroll-snap-stop: always; padding-top: 72px; padding-bottom: 48px; }
  .slide > .slide-in { margin-block: auto; }
}
.js .slide .slide-in { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .slide.is-active .slide-in { opacity: 1; transform: none; }
.cue { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); font-size: var(--t-label); font-weight: 600; color: var(--text-muted); text-decoration: none; }
.cue::after { content: " \2193"; }

/* rail */
.rail { position: fixed; right: 10px; top: 50%; transform: translateY(-50%); z-index: 40; display: flex; flex-direction: column; }
.rail button { all: unset; box-sizing: border-box; position: relative; width: 28px; height: 20px; cursor: pointer; display: grid; place-items: center; }
.rail button::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--border-medium); transition: height .3s var(--ease), background .3s, border-radius .3s; }
.rail button:hover::before { background: var(--text-secondary); }
.rail button[aria-current]::before { height: 18px; border-radius: 3px; background: var(--blue-glow); }
.rail button:focus-visible { outline: 2px solid var(--blue-glow); outline-offset: -2px; border-radius: 6px; }
.rail button::after { content: attr(data-label); position: absolute; right: 34px; top: 50%; transform: translateY(-50%); white-space: nowrap; padding: 4px 10px; border-radius: 6px; background: var(--bg-surface-elevated); border: 1px solid var(--border-medium); color: var(--text-primary); font-size: var(--t-label); opacity: 0; pointer-events: none; transition: opacity .2s; }
.rail button:hover::after, .rail button:focus-visible::after { opacity: 1; }

/* ---------- type inside slides ---------- */
.slide h1 { max-width: 20ch; font-size: clamp(2.25rem, 1.2rem + 3.6vw, 3.75rem); line-height: 1.06; margin-bottom: 20px; }
.slide h2 { font-size: clamp(1.75rem, 1rem + 2.4vw, 2.75rem); line-height: 1.1; max-width: 22ch; margin-bottom: 18px; }
.slide h2.wide { max-width: 24ch; font-size: clamp(2rem, 1.1rem + 3vw, 3.5rem); margin-bottom: 22px; }
.slide p { color: #cbd5e1; max-width: 62ch; }
.lead { font-size: var(--t-lead); line-height: 1.55; color: #dbe4f0; max-width: 58ch; }
.section-lead { font-size: var(--t-lead); line-height: 1.55; color: #cbd5e1; max-width: 60ch; }
.fine { margin-top: 14px; font-size: .8125rem; line-height: 1.5; color: var(--text-secondary); max-width: 80ch; }
.runin { color: var(--text-primary); font-weight: 650; }
.meta { font-size: var(--t-label); color: var(--text-muted); margin-bottom: 14px; }
.crumb { font-size: var(--t-label); color: var(--text-muted); margin-bottom: 14px; }
.crumb a { color: var(--text-muted); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.split.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split.flip .claim { order: 2; }
.claim h2 { font-size: clamp(1.9rem, 1.1rem + 2.3vw, 3rem); max-width: 15ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

/* ---------- tags (every number carries one) ---------- */
.tag { display: inline-block; font-size: .8125rem; font-weight: 600; padding: 1px 8px; border-radius: 4px; border: 1px solid var(--border-medium); color: var(--text-secondary); vertical-align: middle; white-space: nowrap; line-height: 1.5; }
.tag.estimate { color: var(--amber-glow); border-color: rgba(251, 191, 36, .4); }
.tag.simulated { color: var(--violet); border-color: rgba(196, 181, 253, .4); }
.tag.public { color: var(--blue-glow); border-color: rgba(56, 189, 248, .4); }
.tag.pilot { color: var(--cyan-glow); border-color: rgba(0, 245, 160, .4); }
.tag.commercial, .tag.commitment, .tag.worked { color: var(--text-primary); }
.tag.sample { color: var(--text-muted); border-style: dashed; }

/* tier chips */
.chip { display: inline-block; padding: 3px 9px; border-radius: 6px; font-size: .8125rem; font-weight: 650; border: 1px solid; white-space: nowrap; }
.chip.f { color: var(--amber-glow); border-color: rgba(251, 191, 36, .5); background: rgba(251, 191, 36, .08); }
.chip.m { color: var(--blue-glow); border-color: rgba(56, 189, 248, .5); background: rgba(56, 189, 248, .08); }
.chip.s { color: var(--cyan-glow); border-color: rgba(0, 245, 160, .5); background: rgba(0, 245, 160, .08); }
.chip.bad { color: var(--red-glow); border-color: rgba(248, 113, 113, .5); background: rgba(248, 113, 113, .08); }
.chip.ok { color: var(--cyan-glow); border-color: rgba(0, 245, 160, .5); }
.chip.n { color: var(--text-secondary); border-color: var(--border-medium); }

/* ---------- cards, stats, callouts ---------- */
.cards { display: grid; gap: 14px; margin-top: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 18px; }
.card h3 { margin-bottom: 6px; }
.card p { font-size: var(--t-small); color: var(--text-secondary); }
.card .ico { width: 28px; height: 28px; stroke: var(--amber-glow); fill: none; stroke-width: 1.6; margin-bottom: 10px; display: block; }
.card.hot { border-color: var(--border-highlight); background: var(--bg-surface-elevated); }
.stat-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.stat { flex: 1 1 200px; border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); padding: 14px 16px; background: var(--bg-surface); font-size: .875rem; color: var(--text-secondary); }
.stat b { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--text-primary); margin-bottom: 2px; font-variant-numeric: lining-nums tabular-nums; }
.callout { margin-top: 20px; padding: 14px 18px; border-left: 3px solid var(--cyan-glow); background: var(--bg-surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--text-secondary); font-size: var(--t-small); max-width: 70ch; }
.callout strong { color: var(--text-primary); }
.eq { font-family: var(--font-display); font-size: clamp(1.1rem, .8rem + 1.2vw, 1.6rem); line-height: 1.7; }
.eq em { font-style: normal; font-weight: 600; color: var(--text-primary); }
.eq .down { font-family: var(--font-text); font-size: var(--t-small); color: var(--cyan-glow); }

/* ---------- tables ---------- */
.table-scroll { overflow-x: auto; margin-top: 18px; }
table.t { width: 100%; border-collapse: collapse; font-size: .9375rem; }
table.t caption { text-align: left; font-size: .8125rem; color: var(--text-muted); padding-top: 10px; caption-side: bottom; }
table.t th { text-align: left; font-size: .8125rem; font-weight: 600; color: var(--text-secondary); padding: 10px 12px; border-bottom: 1px solid var(--border-medium); }
table.t td { padding: 11px 12px; border-bottom: 1px solid var(--border-subtle); color: var(--text-secondary); vertical-align: top; }
table.t td:first-child { color: var(--text-primary); font-weight: 600; }
table.t .num { text-align: right; font-variant-numeric: lining-nums tabular-nums; }
table.t tr.hl td { background: rgba(56, 189, 248, .06); }

/* ---------- mock app window ---------- */
.win { background: var(--bg-surface-elevated); border: 1px solid var(--border-medium); border-radius: var(--radius-md); overflow: hidden; box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .7); font-size: .875rem; }
.win-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--bg-surface); border-bottom: 1px solid var(--border-subtle); }
.win-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2a3350; }
.win-bar span { margin-left: 8px; font-size: .75rem; color: var(--text-muted); }
.win-bar .tag { margin-left: auto; }
.win-body { padding: 14px 16px; display: grid; gap: 10px; }
.win-side { display: grid; grid-template-columns: 150px 1fr; }
.win-side > aside { background: var(--bg-surface); border-right: 1px solid var(--border-subtle); padding: 12px 10px; display: grid; gap: 4px; align-content: start; font-size: .8125rem; color: var(--text-secondary); }
.win-side > aside b { padding: 5px 8px; border-radius: 6px; font-weight: 600; }
.win-side > aside b.on { background: rgba(56, 189, 248, .12); color: var(--blue-glow); }
.row { display: grid; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border-subtle); }
.row:last-child { border-bottom: 0; }
.row .k { color: var(--text-muted); font-size: .8125rem; }
.row .v { color: var(--text-primary); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .8125rem; }
pre.code { background: var(--bg-input); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); padding: 12px 14px; overflow-x: auto; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .75rem; line-height: 1.6; color: #cbd5e1; }
pre.code .k { color: var(--blue-glow); } pre.code .s { color: var(--cyan-glow); } pre.code .c { color: var(--text-muted); }

/* ---------- bars ---------- */
.hb { display: grid; grid-template-columns: minmax(80px, 150px) 1fr auto; gap: 10px; align-items: center; margin: 9px 0; font-size: .8125rem; color: var(--text-secondary); }
.hb .tr { height: 12px; border-radius: 999px; background: var(--bg-input); overflow: hidden; border: 1px solid var(--border-subtle); }
.hb .fl { display: block; height: 100%; width: var(--v, 50%); border-radius: 999px; background: #3b4a6b; transition: width .8s var(--ease); }
.hb .fl.b { background: var(--blue-glow); } .hb .fl.g { background: var(--cyan-glow); } .hb .fl.a { background: var(--amber-glow); } .hb .fl.r { background: var(--red-glow); } .hb .fl.v { background: var(--violet); }
.hb b { color: var(--text-primary); font-variant-numeric: lining-nums tabular-nums; min-width: 4.5ch; text-align: right; }
.hatch { background: repeating-linear-gradient(45deg, #2a3350, #2a3350 6px, #222a42 6px, #222a42 12px) !important; }

/* ---------- architecture ---------- */
.arch { display: grid; grid-template-columns: 1fr auto 1fr auto 1.5fr auto 1fr; gap: 10px; align-items: stretch; margin-top: 26px; }
.arch .box { background: var(--bg-surface); border: 1px solid var(--border-medium); border-radius: var(--radius-sm); padding: 14px; font-size: .8125rem; color: var(--text-secondary); display: flex; flex-direction: column; justify-content: center; text-align: center; }
.arch .box strong { display: block; color: var(--text-primary); }
.arch .neo { border-color: var(--blue-glow); box-shadow: var(--glow-subtle); background: var(--bg-surface-elevated); }
.arch .neo .inner { display: grid; gap: 6px; margin-top: 10px; }
.arch .neo .inner span { border: 1px solid var(--border-subtle); border-radius: 6px; padding: 5px 8px; background: var(--bg-surface); }
.arch .arr { align-self: center; color: var(--text-muted); font-size: 1.25rem; }
.vpc { border: 1.5px dashed var(--border-highlight); border-radius: var(--radius-md); padding: 12px; position: relative; }
.vpc > .vpc-label { position: absolute; top: -10px; left: 12px; background: var(--bg-page); padding: 0 8px; font-size: .8125rem; color: var(--blue-glow); font-weight: 600; }

/* ---------- controls ---------- */
.ctl { margin: 12px 0; }
.ctl label, .field-label { display: flex; justify-content: space-between; gap: 12px; font-size: .8125rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; }
.ctl label output { color: var(--text-primary); font-variant-numeric: lining-nums tabular-nums; }
input[type=range] { width: 100%; accent-color: var(--blue-glow); }
.seg { display: inline-flex; border: 1px solid var(--border-medium); border-radius: var(--radius-sm); overflow: hidden; flex-wrap: wrap; }
.seg button { all: unset; box-sizing: border-box; cursor: pointer; padding: 8px 14px; font-size: .8125rem; font-weight: 600; color: var(--text-secondary); border-right: 1px solid var(--border-subtle); }
.seg button:last-child { border-right: 0; }
.seg button[aria-pressed="true"] { background: rgba(56, 189, 248, .14); color: var(--blue-glow); }
.seg button:focus-visible { outline: 2px solid var(--blue-glow); outline-offset: -2px; }
.out { background: var(--bg-surface-elevated); border: 1px solid var(--border-highlight); border-radius: var(--radius-md); padding: 16px 18px; }
.out small { display: block; font-size: .8125rem; color: var(--text-secondary); }
.big { font-family: var(--font-display); font-size: clamp(1.9rem, 1.2rem + 2vw, 2.75rem); font-weight: 600; color: var(--text-primary); line-height: 1.1; font-variant-numeric: lining-nums tabular-nums; }
.big.g { color: var(--cyan-glow); } .big.a { color: var(--amber-glow); } .big.r { color: var(--red-glow); }

/* ---------- process / timeline ---------- */
.flow-h { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; margin-top: 24px; counter-reset: fs; }
.flow-h > div { position: relative; padding: 16px 14px 0 0; border-top: 3px solid var(--blue-glow); font-size: .875rem; color: var(--text-secondary); counter-increment: fs; }
.flow-h > div:nth-child(2n) { border-color: var(--cyan-glow); }
.flow-h > div:nth-child(3n) { border-color: var(--amber-glow); }
.flow-h strong { display: block; color: var(--text-primary); font-size: 1rem; }
.flow-h .when { font-size: .8125rem; color: var(--text-muted); display: block; }
.numlist { list-style: none; margin: 18px 0 0; display: grid; gap: 10px; counter-reset: n; }
.numlist li { counter-increment: n; position: relative; padding: 11px 14px 11px 52px; background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); font-size: var(--t-small); color: var(--text-secondary); }
.numlist li::before { content: counter(n); position: absolute; left: 16px; top: 8px; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--blue-glow); }
.numlist strong { color: var(--text-primary); }

/* ---------- faq + full text ---------- */
.faq-list { margin-top: 18px; max-width: 780px; border-top: 1px solid var(--border-subtle); }
.faq-list details { border-bottom: 1px solid var(--border-subtle); }
.faq-list summary { cursor: pointer; padding: 9px 28px 9px 0; line-height: 1.3; font-weight: 650; list-style: none; position: relative; color: var(--text-primary); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 6px; color: var(--text-accent); font-size: 1.25rem; }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { padding: 0 0 12px; color: var(--text-secondary); font-size: var(--t-small); }
.fulltext { margin-top: 18px; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); background: var(--bg-surface); }
.fulltext > summary { cursor: pointer; padding: 14px 18px; font-weight: 650; list-style: none; color: var(--text-primary); }
.fulltext > summary::-webkit-details-marker { display: none; }
.fulltext > summary::after { content: "Open"; float: right; color: var(--text-accent); font-weight: 600; font-size: .875rem; }
.fulltext[open] > summary::after { content: "Close"; }
.fulltext article { padding: 4px 22px 22px; max-width: 760px; }
.fulltext article section { margin-top: 26px; }
.fulltext article h2 { font-size: 1.5rem; margin-bottom: 10px; max-width: none; }
.fulltext article h3 { margin: 16px 0 6px; font-size: 1.0625rem; }
.fulltext article p, .fulltext article li { color: #cbd5e1; font-size: var(--t-small); margin-bottom: 10px; max-width: 68ch; }
.fulltext article ul, .fulltext article ol { margin: 0 0 12px 20px; }
.fulltext article .table-wrap { overflow-x: auto; margin: 14px 0; }
.fulltext article table { width: 100%; border-collapse: collapse; font-size: .875rem; min-width: 520px; }
.fulltext article caption { text-align: left; padding: 8px 0; font-size: .8125rem; color: var(--text-muted); caption-side: bottom; }
.fulltext article th { text-align: left; font-size: .8125rem; color: var(--text-secondary); padding: 8px 10px; border-bottom: 1px solid var(--border-medium); }
.fulltext article td { padding: 9px 10px; border-bottom: 1px solid var(--border-subtle); color: #cbd5e1; vertical-align: top; }
.fulltext article td.num, .fulltext article th.num { text-align: right; }
.fulltext article .steps { list-style: none; margin-left: 0; }
.fulltext article .steps li { padding: 8px 12px; background: var(--bg-surface-elevated); border-radius: var(--radius-sm); }
.fulltext article .callout { margin: 14px 0; }
.fulltext article .note { font-size: .8125rem; color: var(--text-muted); }

/* ---------- cta + footer ---------- */
.cta-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.related-row { display: grid; gap: 8px; margin-top: 4px; }
.related-row a { display: block; padding: 11px 14px; border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); background: var(--bg-surface); text-decoration: none; color: var(--text-primary); font-weight: 600; font-size: var(--t-small); }
.related-row a small { display: block; font-weight: 420; color: var(--text-secondary); font-size: .8125rem; }
.related-row a:hover { border-color: var(--text-accent); }
.related-row h3 { font-size: .8125rem; color: var(--text-muted); font-weight: 600; margin-bottom: 4px; }
.deck-foot { margin-top: clamp(22px, 4svh, 44px); padding-top: 16px; border-top: 1px solid var(--border-subtle); display: grid; gap: 8px; }
.deck-foot nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.deck-foot nav a { font-size: .8125rem; color: var(--text-secondary); }
.deck-foot p { font-size: .8125rem; color: var(--text-muted); max-width: none; }

/* progressive enhancement: widgets have static fallbacks inside */
.w { position: relative; }

@media (max-width: 899px) {
  .rail, .cue { display: none; }
  html { scroll-snap-type: y mandatory; }
  .slide { min-height: 100svh; display: flex; align-items: center; scroll-snap-align: start; scroll-snap-stop: always; padding: 16px 18px; }
  .slide > .slide-in { margin-block: auto; width: 100%; }
  .deck-top .in { padding: 12px 18px; gap: 12px; }
  .deck-top nav { display: none; }
  .slide-hero { padding-top: 56px; }
  .split, .split.flip { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .split .claim, .split.flip .claim { order: -1; }
  .cards, .cards.c2, .cards.c4 { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 12px; }
  .cards.m2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { padding: 11px 13px; }
  .card h3 { font-size: 1rem; margin-bottom: 2px; }
  .card p { font-size: .8125rem; }
  .card .ico { display: none; }
  .slide h1 { font-size: clamp(1.8rem, 8vw, 2.25rem); line-height: 1.06; max-width: none; margin-bottom: 12px; }
  .slide h2, .slide h2.wide, .claim h2 { font-size: clamp(1.4rem, 6.3vw, 1.7rem); line-height: 1.15; max-width: none; margin-bottom: 10px; }
  .slide p, .section-lead { font-size: .9rem; line-height: 1.45; }
  .lead { font-size: .95rem; }
  .hero-actions { flex-wrap: nowrap; gap: 8px; margin-top: 16px; }
  .hero-actions .btn { flex: 1; padding: 12px 8px; font-size: .875rem; }
  .stat-row { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .stat { padding: 9px 11px; font-size: .75rem; }
  .stat b { font-size: 1.25rem; }
  .slide .tag, .slide .chip { font-size: .75rem; }
  .slide .fine { font-size: .75rem; margin-top: 8px; }
  .callout { margin-top: 10px; padding: 9px 12px; font-size: .8125rem; }
  .arch { grid-template-columns: 1fr; gap: 4px; margin-top: 12px; }
  .arch .arr { transform: rotate(90deg); font-size: .9rem; line-height: 1; text-align: center; }
  .arch .box { padding: 8px 12px; }
  .arch .neo .inner { display: none; }
  .flow-h { grid-auto-flow: row; margin-top: 12px; }
  .flow-h > div { padding: 8px 0 8px 0; }
  .numlist { gap: 6px; margin-top: 10px; }
  .numlist li { padding: 7px 10px 7px 38px; font-size: .8125rem; }
  .numlist li::before { left: 11px; top: 5px; font-size: 1.15rem; }
  table.t { font-size: .75rem; } table.t th, table.t td { padding: 5px 7px; }
  .win-side { grid-template-columns: 1fr; } .win-side > aside { display: none; }
  .win-body { padding: 10px 12px; gap: 6px; }
  .hb { grid-template-columns: 78px 1fr auto; gap: 8px; margin: 6px 0; }
  .out { padding: 10px 12px; }
  .cta-grid { grid-template-columns: 1fr; gap: 12px; }
  .related-row { display: none; }
  .deck-foot { margin-top: 10px; padding-top: 8px; }
  .deck-foot nav { display: none; }
  .fulltext article { padding: 0 14px 18px; }
  .meta { margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .slide .slide-in { opacity: 1; transform: none; transition: none; }
  .hb .fl { transition: none; }
}
