@font-face { font-family: Archivo; src: url('demo-ui/fonts/archivo-latin.woff2') format('woff2'); font-style: normal; font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('demo-ui/fonts/jetbrains-mono-latin.woff2') format('woff2'); font-style: normal; font-weight: 100 800; font-display: swap; }
:root {
  color-scheme: dark;
  --bg: #090e14; --panel: #101923; --raised: #172330; --fg: #edf4fa;
  --muted: #9cabbc; --border: #304154; --rule: #223141;
  --speaking: #71e0b5; --silence: #63758a; --holding: #f4c46a; --agent: #50d9f3;
  --display: Archivo, 'Segoe UI', sans-serif;
  --body: system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', Consolas, monospace;
}
* { box-sizing: border-box; }
html { scrollbar-color: var(--silence) var(--bg); scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.65 var(--body); }
::selection { color: var(--bg); background: var(--fg); }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 5px; }
a { color: inherit; text-underline-offset: 5px; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; caret-color: var(--fg); }
h1, h2, h3, p, figure, dl { margin: 0; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; }
h1, h2 { letter-spacing: -0.035em; }
p { max-width: 70ch; }
svg { display: inline-block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.shell { width: min(100% - 80px, 1440px); margin-inline: auto; }
.skip-link { position: absolute; left: 20px; top: -90px; z-index: 5; padding: 12px 16px; background: var(--fg); color: var(--bg); }
.skip-link:focus { top: 12px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 100px; border-bottom: 1px solid var(--border); }
.wordmark { font: 780 30px/1 var(--display); letter-spacing: -0.035em; text-decoration: none; white-space: nowrap; }
.site-header nav { display: flex; align-items: center; gap: 32px; }
.site-header nav a { display: inline-flex; align-items: center; gap: 8px; padding-block: 10px; text-decoration: none; font-size: 14px; }
.site-header nav a:hover { text-decoration: underline; }

/* ---- Landing hero: one hierarchy, then the signature loop ---- */
.hero { padding-block: 76px 72px; }
.hero h1 { margin-top: 26px; font-size: clamp(64px, 8.5vw, 96px); font-weight: 760; line-height: 0.98; }
.hero-deck { margin-top: 28px; font: 440 21px/1.55 var(--display); letter-spacing: -0.012em; max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Console keys */
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 14px; border: 1px solid transparent; border-radius: 4px; padding: 11px 20px; font-size: 15px; font-weight: 650; line-height: 1.4; text-decoration: none; transition: background-color 140ms ease-out; }
.button:active { transform: translateY(1px); }
.button-primary { background: var(--agent); color: var(--bg); border-color: var(--agent); }
.button-primary:hover { background: #98eafa; }
.button-quiet { background: var(--raised); color: var(--fg); border-color: #4a6078; }
.button-quiet:hover { background: #233649; }
.button-quiet:active { background: #2d455b; }

/* Signature: concept loop in the console's two-lane language */
.turn-figure { --gutter: 86px; margin-top: 64px; padding: 24px 28px 20px; border: 1px solid var(--border); border-radius: 14px; background: var(--panel); }
.figure-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.figure-title h2 { font-size: 21px; font-weight: 570; letter-spacing: -0.02em; }
.figure-meta { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.figure-chip { border: 1px solid var(--border); padding: 6px 9px; color: var(--fg); font: 11px/1 var(--mono); letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap; }
.figure-chip::before { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; margin: 0 7px 1px 0; background: var(--muted); }
.figure-clock { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
#loop-clock { font: 20px/1 var(--mono); font-variant-numeric: tabular-nums; }
.clock-label { color: var(--muted); font: 10px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.diagram-grid { min-width: 0; }
.ruler-row, .decision-row, .lane-row, .state-row { display: grid; grid-template-columns: var(--gutter) minmax(0, 1fr); }
.lane-tag { display: flex; align-items: center; color: var(--muted); font: 11px var(--mono); letter-spacing: 0.04em; text-transform: uppercase; }
.plot { position: relative; min-width: 0; }
.ruler-row { height: 24px; }
.ruler-row .lane-tag { align-items: flex-end; padding-bottom: 4px; }
.ruler-tick { position: absolute; bottom: 4px; height: 14px; padding-left: 8px; border-left: 1px solid var(--border); color: var(--muted); font: 11px/14px var(--mono); letter-spacing: 0.03em; text-transform: uppercase; white-space: nowrap; }
.ruler-end { width: 0; padding: 0; }
.decision-row { height: 37px; margin-top: 8px; }
.decision-flag { position: absolute; bottom: 9px; padding: 3px 6px; background: var(--fg); color: var(--bg); font: 600 11px/1.25 var(--mono); letter-spacing: 0.02em; white-space: nowrap; }
.decision-flag::after { content: ''; position: absolute; left: 0; top: 100%; height: 9px; width: 1px; background: inherit; }
.flag-wait { background: var(--holding); }
.lanes-wrap { position: relative; }
.lane-row + .lane-row { margin-top: 4px; }
.lane { height: 56px; background-color: #0b121b; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background-image: linear-gradient(to right, var(--rule) 1px, transparent 1px); background-size: 12.5% 100%; }
.lane-fill { position: absolute; inset: 0; }
.seg { position: absolute; top: 12px; height: 32px; display: flex; align-items: center; padding: 0 9px; border-radius: 2px; overflow: hidden; white-space: nowrap; font: 550 12px var(--display); }
.seg-speaking { left: 0; width: 32%; background: var(--speaking); color: #08110a; }
.seg-pause { left: 32%; width: 19%; background: #263748; color: #c7d6e3; }
.seg-continue { left: 51%; width: 31%; background: var(--speaking); color: #08110a; }
.seg-reply { left: 82%; width: 18%; background: var(--agent); color: #061016; }
.hold-label { position: absolute; left: 32%; top: 12px; height: 32px; display: flex; align-items: center; padding-left: 9px; color: var(--holding); font: 550 12px var(--display); }
.hold-bar { position: absolute; left: 32%; width: 50%; top: 47px; height: 5px; background: var(--holding); }
.playhead-track { position: absolute; left: var(--gutter); right: 0; top: -3px; bottom: -3px; pointer-events: none; }
.playhead { position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--fg); opacity: 0; }
.state-row { height: 26px; margin-top: 14px; align-items: center; }
.state-chips { height: 26px; }
.state-chip { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; border: 1px solid var(--border); padding: 6px 9px; font: 600 11px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; opacity: 0; }
.state-chip::before { content: ''; width: 5px; height: 5px; border-radius: 50%; margin-right: 7px; background: currentColor; }
.chip-speaking { color: var(--speaking); }
.chip-holding { color: var(--holding); }
.chip-reply { color: var(--agent); opacity: 1; }
figcaption { margin-top: 20px; color: var(--muted); font-size: 12px; }

/* ---- Evidence, elevated ---- */
.section-intro h2 { font-size: clamp(32px, 3.5vw, 48px); line-height: 1.08; font-weight: 660; }
.section-intro p { margin-top: 22px; color: var(--muted); }
.landing .evidence-section { display: grid; grid-template-columns: 1fr 1.25fr; gap: 72px; padding-block: 84px; border-top: 1px solid var(--border); scroll-margin-top: 24px; }
.evidence-card { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 26px 28px 26px; }
.evidence-heading { display: flex; flex-direction: column; gap: 7px; margin-bottom: 22px; }
.evidence-heading h3 { font-size: 20px; font-weight: 580; letter-spacing: -0.02em; line-height: 1.4; }
.landing .evidence-heading { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.landing .revision { text-align: right; }
.revision { font: 12px/1.5 var(--mono); color: var(--muted); }
.evidence-facts > div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; border-top: 1px solid var(--rule); padding-block: 13px; align-items: baseline; }
.evidence-facts > div:last-child { border-bottom: 1px solid var(--rule); }
.evidence-facts dt { display: flex; align-items: center; gap: 10px; color: var(--muted); font: 12px/1.6 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; }
.evidence-facts dd { margin: 0; font: 13px/1.65 var(--mono); }
.dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.dot-recorded { background: var(--speaking); }
.dot-pending { background: var(--holding); }
.evidence-limit { margin-top: 20px; color: var(--muted); font-size: 14px; }
.evidence-link { margin-top: 24px; font-size: 14px; min-height: 44px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; }

/* ---- Comparison: three numbered console channels ---- */
.landing .comparison-section { padding-block: 80px 88px; border-top: 1px solid var(--border); }
.compare-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; margin-bottom: 46px; }
.compare-head h2 { font-size: clamp(32px, 3.5vw, 48px); line-height: 1.08; font-weight: 660; max-width: 14ch; }
.compare-head p { color: var(--muted); max-width: 46ch; margin-bottom: 6px; }
.channel-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.channel-row li { border-top: 1px solid var(--border); padding-top: 16px; }
.channel-no { font: 12px/1 var(--mono); color: var(--muted); letter-spacing: 0.08em; }
.channel-row h3 { margin-top: 16px; font-size: 20px; font-weight: 580; letter-spacing: -0.02em; line-height: 1.4; }
.channel-row p { margin-top: 10px; color: var(--muted); font-size: 15px; }

.closing { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 90px; padding-block: 68px 88px; border-top: 1px solid var(--border); }
.closing h2 { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.08; font-weight: 680; }
.closing p { max-width: 44ch; color: var(--muted); margin-bottom: 24px; }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--border); padding-block: 28px 36px; display: flex; align-items: baseline; justify-content: space-between; gap: 24px; font-size: 13px; }
.footer-tagline { margin-left: 12px; color: var(--muted); }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--fg); }
.landing .site-footer { display: block; padding-block: 0 40px; }
.footer-top { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding-block: 26px 20px; }
.footer-brand { font-weight: 650; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer-notes { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 40px; border-top: 1px solid var(--rule); padding-top: 16px; color: var(--muted); font-size: 12px; }
.footer-notes p { margin: 0; }

/* ---- Judge view (unchanged treatments) ---- */
.judge-page .shell { width: min(100% - 64px, 1536px); }
.judge-page .site-header { min-height: 82px; }
.judge-intro { padding-block: 32px 22px; display: flex; align-items: baseline; justify-content: space-between; gap: 32px; }
.judge-intro h1 { font-size: clamp(28px, 3vw, 42px); font-weight: 680; line-height: 1.15; }
.judge-intro p { margin-top: 12px; color: var(--muted); max-width: 78ch; }
.judge-intro > a { white-space: nowrap; }
.presenter-guide { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 12px 0; font-size: 14px; }
summary { cursor: pointer; width: fit-content; }
summary:hover { color: var(--muted); }
.presenter-guide ol { padding-left: 24px; margin: 18px 0 6px; max-width: 90ch; }
.presenter-guide li { padding-left: 6px; margin-top: 12px; color: var(--muted); }
.presenter-guide strong { color: var(--fg); font-weight: 600; }
.console-embed { padding-block: 8px 30px; }
#console-frame { display: block; border: 0; width: 100%; height: 2000px; background: var(--bg); }
.embed-fallback { color: var(--muted); font-size: 12px; margin-top: 6px; }
.judge-evidence { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; padding-block: 48px 64px; border-top: 1px solid var(--border); }
.judge-evidence .section-intro h2 { font-size: 36px; }
.handoff-observations { margin-top: 24px; }
.handoff-observations > div { border-top: 1px solid var(--rule); padding-block: 16px; }
.handoff-observations dt { font-size: 14px; font-weight: 650; }
.handoff-observations dd { color: var(--muted); margin: 6px 0 0; font-size: 14px; }
.evidence-links { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 24px; }
@media (min-width: 1001px) {
  .judge-page .site-header { min-height: 64px; }
  .judge-intro { padding-block: 16px 14px; }
  .judge-intro h1 { font-size: 32px; }
  .judge-intro p { margin-top: 6px; max-width: none; font-size: 14px; line-height: 1.5; }
  .presenter-guide { padding-block: 6px; }
}
@media (max-width: 1000px) {
  .shell { width: calc(100% - 48px); }
  .hero { padding-top: 56px; }
  .hero h1 { margin-top: 22px; }
  .turn-figure { margin-top: 52px; }
  .landing .evidence-section { gap: 48px; }
  .channel-row { gap: 28px; }
  .closing { gap: 48px; }
  .judge-intro { align-items: flex-start; flex-direction: column; gap: 14px; }
  .judge-evidence { gap: 40px; }
}
@media (max-width: 720px) {
  .hero { padding-block: 44px 48px; }
  .hero-deck { font-size: 19px; }
  .turn-figure { --gutter: 64px; margin-top: 44px; padding: 20px 18px 16px; }
  .figure-title { flex-direction: column; gap: 14px; margin-bottom: 22px; }
  .figure-meta { width: 100%; justify-content: space-between; flex-wrap: wrap; row-gap: 10px; }
  .figure-clock { flex-direction: row; align-items: baseline; gap: 8px; }
  #loop-clock { font-size: 16px; }
  .landing .evidence-section { grid-template-columns: 1fr; gap: 36px; padding-block: 56px; }
  .landing .evidence-heading { flex-direction: column; gap: 7px; }
  .landing .revision { text-align: left; }
  .evidence-card { padding: 20px 18px; }
  .evidence-facts > div { grid-template-columns: 136px minmax(0, 1fr); gap: 14px; }
  .landing .comparison-section { padding-block: 56px 60px; }
  .compare-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 30px; }
  .compare-head p { margin-bottom: 0; }
  .channel-row { grid-template-columns: 1fr; gap: 24px; }
  .closing { grid-template-columns: 1fr; gap: 32px; padding-block: 48px 56px; }
  .closing h2 { font-size: 42px; }
  .section-intro h2 { font-size: 38px; }
  .section-intro p { margin-top: 16px; }
  .site-header { gap: 20px; min-height: 88px; }
  .site-header nav { gap: 18px; }
  .site-header nav a { font-size: 13px; }
  .wordmark { font-size: 26px; }
  .footer-top { flex-direction: column; gap: 14px; }
  .footer-notes { flex-direction: column; gap: 8px; }
  .footer-tagline { display: block; margin-left: 0; margin-top: 4px; }
  .judge-page .shell { width: calc(100% - 32px); }
  .judge-page .site-header { flex-wrap: wrap; padding-block: 20px; gap: 12px; }
  .judge-page .site-header nav { flex-wrap: wrap; }
  .judge-page .site-header nav a { padding-block: 4px; }
  .judge-intro { padding-top: 24px; }
  .judge-evidence { grid-template-columns: 1fr; gap: 32px; padding-block: 48px; }
}
@media (max-width: 480px) {
  .shell { width: calc(100% - 32px); }
  .site-header { align-items: flex-start; flex-direction: column; padding-block: 22px 16px; gap: 16px; }
  .site-header nav { justify-content: space-between; width: 100%; }
  .site-header nav a { padding-block: 0; font-size: 14px; }
  .hero h1 { font-size: 60px; }
  .hero-deck { font-size: 18px; }
  .hero-actions { margin-top: 28px; }
  .hero-actions .button { width: 100%; }
  .turn-figure { --gutter: 54px; padding-inline: 14px; }
  .figure-title h2 { font-size: 19px; }
  .lane-tag, .ruler-tick { font-size: 10px; }
  .ruler-tick { padding-left: 5px; letter-spacing: 0.01em; }
  .seg, .hold-label { font-size: 11px; }
  .seg { padding: 0 6px; }
  .hold-label { padding-left: 6px; }
  .lane { height: 48px; }
  .seg, .hold-label { top: 9px; }
  .hold-bar { top: 40px; height: 4px; }
  .flag-complete { transform: translateX(-100%); }
  .flag-complete::after { left: auto; right: 0; }
  .section-intro h2 { font-size: 36px; }
  .compare-head h2 { font-size: 34px; }
  .evidence-facts > div { grid-template-columns: 1fr; gap: 6px; padding-block: 11px; }
  .closing h2 { font-size: 38px; }
  .site-footer { align-items: flex-start; font-size: 12px; gap: 20px; }
  .site-footer > span { max-width: 54%; }
  .landing .site-footer .footer-brand { max-width: none; }
  .judge-page .site-header { align-items: flex-start; }
  .judge-intro h1 { font-size: 32px; max-width: 17ch; }
  .judge-evidence .section-intro h2 { font-size: 32px; }
  .judge-evidence .evidence-heading h3 { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Studio workspace: precise surfaces, task-first hierarchy. */
[hidden] { display: none !important; }
:root { --accent: #50d9f3; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline-color: var(--accent); }
.shell { width: min(100% - 80px, 1440px); }
.site-header { min-height: 84px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; font-size: 25px; letter-spacing: -0.025em; }
.brand-symbol { width: 28px; height: 28px; stroke-width: 2; color: var(--accent); }
.brand-dot { color: var(--accent); }
.site-header nav { gap: 28px; }
.site-header nav a { min-height: 44px; color: var(--muted); font-weight: 550; }
.site-header nav a[aria-current] { color: var(--fg); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 14px; }
.site-header nav .nav-workspace { color: var(--accent); }
.hero { padding-block: 64px 56px; }
.hero-copy { display: grid; grid-template-columns: 1.05fr 1fr; align-items: end; gap: 72px; }
.hero h1 { font-size: clamp(64px, 7.8vw, 96px); margin: 0; font-weight: 750; line-height: 0.99; letter-spacing: -0.04em; }
.hero h1 span { color: var(--accent); }
.hero-deck { margin: 0; font-size: clamp(21px, 2vw, 27px); line-height: 1.35; font-weight: 520; max-width: 32ch; }
.hero-context { color: var(--muted); margin-top: 18px; font-size: 15px; line-height: 1.65; max-width: 55ch; }
.hero-actions { margin-top: 24px; }
.button { border-radius: 6px; min-height: 48px; }
.button-quiet { background: transparent; border-color: var(--border); }
.turn-figure { margin-top: 48px; padding: 24px 28px 18px; border-radius: 12px; container: sequence / inline-size; }
.figure-title { padding-bottom: 20px; border-bottom: 1px solid var(--rule); }
.figure-title h2 { font-size: 20px; }
.figure-chip { color: var(--muted); border: 0; padding: 0; text-transform: none; letter-spacing: 0; }
.figure-chip::before { background: var(--holding); }
.figure-meta { gap: 24px; }
.figure-clock { color: var(--accent); }
.clock-label { color: var(--muted); }
.lane { height: 66px; }
.seg { top: 16px; }
.hold-label { top: 16px; }
.hold-bar { top: 53px; }
.decision-flag { font-size: 10px; }
.turn-figure .lane-fill { clip-path: inset(0 calc(100% - var(--sequence-progress, 100%)) 0 0); }
.turn-figure .playhead { left: var(--sequence-progress, 100%); opacity: 1; background: var(--accent); }
.turn-figure .flag-wait { opacity: var(--wait-visible, 1); }
.turn-figure .flag-complete { opacity: var(--reply-visible, 1); }
.turn-figure .hold-label, .turn-figure .hold-bar { opacity: var(--wait-visible, 1); }
.turn-figure .chip-speaking { opacity: var(--speaking-visible, 0); }
.turn-figure .chip-holding { opacity: var(--holding-visible, 0); }
.turn-figure .chip-reply { opacity: var(--reply-visible, 1); }
.sequence-transport { display: flex; align-items: center; gap: 16px; padding-top: 18px; margin-top: 18px; border-top: 1px solid var(--rule); }
.sequence-transport button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; min-width: 168px; border: 1px solid var(--border); border-radius: 6px; background: var(--raised); color: var(--fg); cursor: pointer; font-size: 13px; }
.sequence-transport button:hover { background: #233649; }
.sequence-transport button .pause-icon { display: none; }
.is-playing .sequence-transport button .pause-icon { display: block; }
.is-playing .sequence-transport button .play-icon { display: none; }
.sequence-transport label { font-size: 12px; color: var(--muted); white-space: nowrap; }
.sequence-transport input { min-width: 44px; flex: 1; height: 44px; accent-color: var(--accent); cursor: pointer; }
#sequence-phase { font: 12px var(--mono); min-width: 86px; text-align: right; color: var(--accent); }
.sequence-note { margin-top: 16px; font-size: 14px; }
.turn-figure figcaption { margin-top: 7px; }
.landing .evidence-section { gap: 72px; padding-block: 60px; }
.evidence-card { border-radius: 0; border: 0; border-top: 1px solid var(--border); padding: 22px 0 0; background: transparent; }
.evidence-facts dt { text-transform: none; letter-spacing: 0; font-family: var(--body); font-size: 13px; }
.evidence-facts > div { grid-template-columns: 150px minmax(0, 1fr); }
.evidence-facts dd { font-family: var(--body); font-size: 14px; }
.section-intro h2, .compare-head h2 { font-size: clamp(30px, 3vw, 42px); }
.landing .comparison-section { padding-block: 56px 64px; }
.channel-no { color: var(--accent); }
.closing { padding-block: 56px 64px; }
.closing h2 { font-size: clamp(34px, 3.5vw, 48px); }
.site-footer a:hover, .text-link:hover { color: var(--accent); }
.judge-page .site-header { min-height: 66px; }
.judge-intro h1 { letter-spacing: -0.025em; }
.presenter-guide { color: var(--muted); }
.presenter-guide summary { min-height: 32px; display: list-item; align-content: center; }
.judge-evidence { gap: 80px; }
@container sequence (max-width: 620px) {
  .figure-title { flex-direction: column; gap: 14px; }
  .figure-meta { width: 100%; justify-content: space-between; }
  .sequence-transport { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; }
  .sequence-transport button { min-width: 0; padding-inline: 12px; }
  .sequence-transport label { text-align: right; }
  .sequence-transport input { grid-column: 1; width: 100%; }
  #sequence-phase { grid-column: 2; min-width: 0; }
}
@media (max-width: 1000px) {
  .hero-copy { gap: 36px; }
  .hero h1 { font-size: clamp(56px, 8vw, 80px); }
  .figure-title { flex-wrap: wrap; }
  .figure-meta { flex-wrap: wrap; }
  .landing .evidence-section { gap: 40px; }
}
@media (max-width: 720px) {
  .shell { width: calc(100% - 40px); }
  .site-header { min-height: 76px; gap: 12px; }
  .site-header nav { gap: 16px; }
  .hero { padding-block: 40px; }
  .hero-copy { grid-template-columns: 1fr; gap: 24px; }
  .hero h1 { font-size: 72px; }
  .hero-deck { font-size: 22px; max-width: 36ch; }
  .hero-context { margin-top: 14px; }
  .turn-figure { margin-top: 32px; padding: 20px 16px 16px; }
  .figure-title h2 { font-size: 18px; }
  .figure-chip { font-size: 11px; }
  .landing .evidence-section { padding-block: 40px; gap: 28px; }
  .landing .comparison-section, .closing { padding-block: 40px; }
  .evidence-facts > div { grid-template-columns: 126px minmax(0, 1fr); gap: 12px; }
  .judge-page .site-header { padding-block: 14px 10px; }
  .judge-page .site-header nav { width: 100%; gap: 20px; justify-content: flex-start; }
  .judge-page .site-header nav a { font-size: 12px; min-height: 40px; }
  .judge-page .site-header nav a[aria-current] { text-underline-offset: 10px; }
  .judge-intro h1 { font-size: 30px; }
  .judge-evidence { gap: 28px; }
}
@media (max-width: 480px) {
  .site-header { padding-block: 18px 8px; gap: 10px; }
  .wordmark { font-size: 24px; }
  .site-header nav a { padding-block: 8px; font-size: 13px; }
  .site-header nav a[aria-current] { text-underline-offset: 12px; }
  .hero h1 { font-size: clamp(56px, 18vw, 72px); }
  .hero-actions { flex-wrap: nowrap; gap: 10px; }
  .hero-actions .button { width: auto; font-size: 13px; padding-inline: 12px; }
  .hero-actions .button-primary { flex: 1; }
  .turn-figure { --gutter: 52px; padding-inline: 12px; }
  .ruler-tick { font-size: 11px; padding-left: 5px; }
  .seg, .hold-label { font-size: 11px; }
  .seg { padding-inline: 4px; }
  .decision-flag { font-size: 11px; padding-inline: 5px; }
  .figure-meta { gap: 10px; }
  .figure-clock { gap: 6px; }
  .clock-label { font-size: 11px; }
  .figure-title { margin-bottom: 18px; }
  .sequence-transport { display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; }
  .sequence-transport label { text-align: right; font-size: 11px; }
  .sequence-transport button { min-width: 0; font-size: 12px; padding-inline: 8px; }
  .sequence-transport input { grid-column: 1; width: 100%; }
  #sequence-phase { grid-column: 2; min-width: 0; }
}
.lane-tag, .clock-label, .decision-flag, .ruler-tick { font-size: 11px; }
.turn-diagram { overflow-x: auto; padding-block: 4px 8px; scrollbar-color: var(--silence) var(--panel); }
.diagram-grid { min-width: 520px; }
.diagram-scroll-note { display: none; font-size: 12px; color: var(--muted); margin-top: 8px; }
@media (max-width: 640px) { .diagram-scroll-note { display: block; } }
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 160ms; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
