/* Pluryprint landing. Plain CSS, no build step.
   The HTML alone is the finished page; motion only plays towards it, and only
   under prefers-reduced-motion: no-preference (html.ink / html.motion, set by
   theme.js and motion.js). */

@font-face {
  font-family: "Fraunces Display";
  src: url("fonts/fraunces-display-560.woff2") format("woff2");
  font-weight: 560;
  font-style: normal;
  font-display: optional;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2039-203A, U+20AC, U+2190-2193, U+2122, U+2212;
}

/* tokens:begin — copied from src/styles/tokens.css (.mp-light / .mp-dark) */
:root {
  --bg: #faf9f6;
  --surface: #ffffff;
  --surface2: #f3f1ec;
  --surface3: #eae7e0;
  --border: #e2ded5;
  --border-strong: #8f897e;
  --text: #1a1814;
  --text-mute: #6b665d;
  --accent: #c2410c;
  --on-accent: #ffffff;
  --accent-soft: #fdebd3;
  --success: #3f6212;
  --warn: #a16207;
  --error: #9f1239;
  --info: #0e7490;
}
/* tokens:end */

:root {
  color-scheme: light;
  /* Abanico icon palette (src-tauri/icons/source/macos.svg) */
  --tile-a: #fff7ed;
  --tile-b: #fed7aa;
  --ink: #1c1917;
  --ink-2: #44403c;
  --ink-3: #0c0a09;
  --spark: #c2410c;
  --led: #f97316;
  --paper: #ffffff;
  --pr-rim: transparent;

  --text-soft: color-mix(in srgb, var(--text) 82%, var(--bg));
  --lamp: 16%;
  --grain: url("paper.svg");
  --shadow-window: 0 1px 0 rgb(0 0 0 / .04), 0 28px 56px -32px rgb(60 30 0 / .34), 0 64px 120px -72px rgb(60 30 0 / .3);
  --shadow-card: 0 1px 0 rgb(0 0 0 / .04), 0 18px 40px -24px rgb(60 30 0 / .35);
  --ease-ink: cubic-bezier(.2, .7, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.5, .64, 1);
  --radius-control: 8px;
  --radius-card: 12px;
  --radius-dialog: 16px;
  --gutter: 20px;
  --wide: 1200px;
  --bleed: clamp(0px, (100vw - var(--wide)) / 2 - 24px, 136px);
  --space-section: clamp(88px, 12vw, 168px);
  --font-display: "Fraunces Display", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-ui: system-ui, "Segoe UI Variable", "Segoe UI", "SF Pro Text", -apple-system, "Inter Variable", "Noto Sans", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, "Cascadia Mono", Consolas, monospace;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #15140f; --surface: #1c1a15; --surface2: #23211b; --surface3: #2d2a23;
    --border: #33302a; --border-strong: #7a756b; --text: #f0ede5; --text-mute: #a8a296;
    --accent: #f97316; --on-accent: #1a1814; --accent-soft: #3a1f0e;
    --success: #9ccb4a; --warn: #e0b341; --error: #f87171; --info: #4fc1d7;
    color-scheme: dark; --lamp: 22%; --grain: none; --pr-rim: rgb(255 255 255 / .34); --ink-2: #57534e;
    --shadow-window: 0 1px 0 rgb(255 255 255 / .04), 0 28px 56px -32px rgb(0 0 0 / .7), 0 64px 120px -72px rgb(0 0 0 / .6);
    --shadow-card: 0 18px 40px -24px rgb(0 0 0 / .7);
  }
}
:root[data-theme="dark"] {
  --bg: #15140f; --surface: #1c1a15; --surface2: #23211b; --surface3: #2d2a23;
  --border: #33302a; --border-strong: #7a756b; --text: #f0ede5; --text-mute: #a8a296;
  --accent: #f97316; --on-accent: #1a1814; --accent-soft: #3a1f0e;
  --success: #9ccb4a; --warn: #e0b341; --error: #f87171; --info: #4fc1d7;
  color-scheme: dark; --lamp: 22%; --grain: none; --pr-rim: rgb(255 255 255 / .34); --ink-2: #57534e;
  --shadow-window: 0 1px 0 rgb(255 255 255 / .04), 0 28px 56px -32px rgb(0 0 0 / .7), 0 64px 120px -72px rgb(0 0 0 / .6);
  --shadow-card: 0 18px 40px -24px rgb(0 0 0 / .7);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 72px; scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--bg);
  background-image: var(--grain);
  background-size: 160px;
  color: var(--text);
  font: 400 1rem/1.6 var(--font-ui);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-color: color-mix(in srgb, var(--accent) 60%, transparent); text-underline-offset: .18em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
p { text-wrap: pretty; margin: 0 0 1em; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--font-display); font-weight: 560; font-optical-sizing: none; }
h2 { font-size: clamp(2.25rem, 1.5rem + 3vw, 4rem); line-height: 1.04; letter-spacing: -.02em; margin-bottom: .45em; }
h3 { font: 600 1.1875rem/1.35 var(--font-ui); margin-bottom: .35em; }
code { font-family: var(--font-mono); font-size: .88em; background: var(--surface2); border: 1px solid var(--border); border-radius: 5px; padding: .05em .35em; }
.small { font-size: .84375rem; color: var(--text-mute); }
.nobreak { white-space: nowrap; }
.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; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wide)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--accent); color: var(--on-accent); padding: 10px 14px; border-radius: var(--radius-control); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; color: var(--on-accent); }
main:focus { outline: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  min-height: 44px; padding: 10px 18px; border-radius: var(--radius-control);
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--text);
  font: 600 .96875rem/1.2 var(--font-ui); text-decoration: none; cursor: pointer;
  transition: transform 150ms ease-out, box-shadow 150ms ease-out, background-color 150ms ease-out, color 150ms;
}
.btn:hover { color: var(--text); transform: translateY(-1px); box-shadow: 0 8px 18px -12px rgb(60 30 0 / .55); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-primary:hover { color: var(--on-accent); background: color-mix(in srgb, var(--accent) 88%, var(--text)); }
.btn-small { min-height: 34px; padding: 6px 12px; font-size: .875rem; }
.btn-large { min-height: 52px; padding: 14px 24px; font-size: 1.0625rem; }
.btn-invert { background: var(--on-accent); color: var(--accent); border-color: var(--on-accent); }
.btn-invert:hover { color: var(--accent); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 16px; }

/* ---------- topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20; height: 56px;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}
.topbar-inner { position: relative; height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--text); font-weight: 650; letter-spacing: -.01em; }
.brand:hover { color: var(--text); }
.wordmark { font-size: 1.0625rem; }
.wordmark b { font-weight: 650; color: var(--accent); }
/* The mark is the app icon itself (tile, fanned sheets, printer) with its own
   fixed colours, so it reads the same on light and dark pages. */
.mark { width: 30px; height: 30px; flex: none; overflow: visible; filter: drop-shadow(0 1px 1.5px rgb(60 30 0 / .18)); }
.mark-live .mk-s { transform-box: view-box; transform-origin: 0 0; }
.mark-live .mk-l { transform: rotate(-34deg); }
.mark-live .mk-r { transform: rotate(34deg); }
.topnav { display: none; gap: 22px; margin-left: auto; font-size: .9375rem; }
.topnav a { text-decoration: none; color: var(--text-soft); }
.topnav a:hover { color: var(--accent); }
.header-cta { margin-left: auto; order: 3; }
.lang { order: 4; display: inline-flex; align-items: center; min-height: 34px; padding: 4px 11px; border: 1px solid var(--border); border-radius: 999px; font: 600 .8125rem/1 var(--font-mono); text-decoration: none; }
/* Below 760px the section links live in a small menu; no JS needed to open it. */
.navmenu { order: 5; position: relative; }
.navmenu summary { list-style: none; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--border); border-radius: 50%; cursor: pointer; color: var(--text-soft); }
.navmenu summary::-webkit-details-marker { display: none; }
.navmenu summary svg { width: 16px; height: 16px; }
.navmenu[open] summary { border-color: var(--accent); color: var(--accent); }
.navmenu nav { position: absolute; right: 0; top: calc(100% + 10px); min-width: 13rem; display: grid; padding: 6px; border-radius: var(--radius-card); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-card); }
.navmenu nav a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 6px; text-decoration: none; color: var(--text); }
.navmenu nav a:hover { background: var(--surface2); }
@media (max-width: 759px) { .topbar-inner { gap: 10px; } }
@media (min-width: 760px) {
  .topnav { display: flex; }
  .navmenu { display: none; }
  .header-cta { margin-left: 0; }
}
.feed { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; pointer-events: none; }
.feed-bar { height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- hero ---------- */
.hero { padding: clamp(36px, 6vw, 72px) 0 clamp(64px, 8vw, 104px); position: relative; overflow-x: clip; }
.hero-grid { display: grid; gap: 48px; }
.pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 6px 13px 6px 10px; margin-bottom: 26px;
  border: 1px solid var(--border); border-radius: 999px; background: var(--surface);
  font: 500 .84375rem/1.2 var(--font-ui); color: var(--text-soft); text-decoration: none;
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 0 3px color-mix(in srgb, var(--warn) 22%, transparent); }
h1 {
  font-size: max(2.5rem, min(clamp(2.5rem, 1.25rem + 3.5vw, 4.6rem), 8.6vh));
  line-height: 1.02; letter-spacing: -.025em; margin-bottom: 26px;
}
.h1-line { display: block; }
.nums { white-space: nowrap; }
.num { color: var(--accent); display: inline-block; font-variant-numeric: lining-nums; }
.sub { font-size: clamp(1.125rem, 1rem + .45vw, 1.3125rem); line-height: 1.5; color: var(--text-soft); max-width: 31em; }
.assure { font-size: .9375rem; color: var(--text-mute); margin: 0 0 22px; }
.picker { display: none; align-items: center; gap: 12px; }
.js .picker { display: flex; }
.picker-label { font-size: .84375rem; color: var(--text-mute); }
.modes { display: flex; gap: 6px; border: 0; margin: 0; padding: 0; }
.mode-pill { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text-soft); cursor: pointer; transition: border-color 150ms, color 150ms; }
.mode-pill svg { width: 17px; height: 17px; }
.mode-pill input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.mode-pill:has(input:checked) { border-color: var(--accent); color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.mode-pill:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

/* hero stage */
.hero-figure { margin: 0; position: relative; isolation: isolate; }
.hero-figure::before {
  content: ""; position: absolute; inset: -14% -10% 0 -14%; z-index: -1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) var(--lamp), transparent), transparent);
}
.press { position: relative; aspect-ratio: 10 / 8.6; }
.window {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-card); box-shadow: var(--shadow-window); overflow: hidden;
}
.win-bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; background: var(--surface2); border-bottom: 1px solid var(--border); font: 500 .75rem/1 var(--font-ui); color: var(--text-mute); }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.win-bar i:first-child { background: #ec6a5e; } .win-bar i:nth-child(2) { background: #f4bf4f; } .win-bar i:nth-child(3) { background: #61c554; }
.win-bar span { flex: 1; text-align: center; margin-right: 46px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.press-window { position: absolute; top: 0; right: 0; width: 82%; }
.menu-card {
  position: absolute; left: -6%; top: 20%; width: min(40%, 13.5rem); z-index: 2;
  display: grid; padding: 6px; border-radius: 10px; border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card); font: 400 .78125rem/1.25 var(--font-ui);
}
.menu-head { padding: 4px 8px 6px; color: var(--text-mute); font-size: .71875rem; }
.menu-row { padding: 5px 8px; border-radius: 5px; }
.menu-sep { height: 1px; background: var(--border); margin: 4px 6px; }
.menu-sub { display: flex; justify-content: space-between; background: var(--surface3); }
.menu-flyout { display: grid; margin: 4px 0 0 14px; padding: 4px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-card); }
.menu-pick { background: var(--accent); color: var(--on-accent); font-weight: 600; }
.printer { position: absolute; left: -8%; bottom: -6%; width: 56%; overflow: visible; z-index: 3; filter: drop-shadow(0 24px 22px rgb(60 30 0 / .22)); }
.sh-paper { fill: var(--paper); stroke: var(--ink); stroke-width: 2; }
.sh-line { fill: var(--line, #c2410c); }
.rest-c, .fly-2, .fly-5 { --line: #f97316; }
.pr-top { fill: var(--ink-2); }
.pr-body { fill: var(--ink); stroke: var(--pr-rim); stroke-width: .8; }
.pr-slot { fill: var(--ink-3); }
.pr-bar { fill: var(--ink-2); }
.pr-led { fill: var(--led); }
.sparks path, .cm-sparks { fill: none; stroke: var(--spark); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1 2; stroke-dashoffset: 0; }
.printer .rest, .printer .fly { transform-box: view-box; transform-origin: 0 0; }
.rest-l { transform: rotate(-34deg) translateY(0); }
.rest-r { transform: rotate(34deg) translateY(0); }
.rest-c { transform: rotate(0deg) translateY(0); }
.fly { opacity: 0; }
.counter {
  position: absolute; right: 4%; bottom: 6%; z-index: 4; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 12px;
  min-width: 13.5rem; padding: 10px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-card);
  font: 500 .8125rem/1.2 var(--font-ui);
}
.counter-label { font: 600 .6875rem/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-mute); }
.counter-n { justify-self: end; font-variant-numeric: tabular-nums; color: var(--text-soft); }
.counter-n b { color: var(--text); font-weight: 650; }
.counter-bar { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--surface3); overflow: hidden; }
.counter-fill { display: block; height: 100%; background: var(--success); transform-origin: 0 50%; transform: scaleX(var(--p, 1)); border-radius: inherit; }
.counter-state { grid-column: 1 / -1; font-size: .75rem; color: var(--success); font-weight: 600; }
.caption-row { display: flex; align-items: center; gap: 14px; margin-top: 36px; font-size: .84375rem; color: var(--text-mute); }
.replay, .btn-link { font: inherit; color: var(--accent); background: none; border: 0; padding: 4px 6px; cursor: pointer; border-radius: 6px; }
.replay { visibility: hidden; }
.is-played .replay { visibility: visible; }

/* Wide: the H1 runs across both columns in two lines, then the copy sits
   beside a figure that takes seven twelfths of the row. */
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 5fr 7fr; align-items: start; column-gap: 56px; row-gap: 8px; }
  .hero-copy { padding-top: clamp(32px, 4vw, 64px); }
  .hero-head { grid-column: 1 / -1; }
  .hero-head h1 { font-size: max(3rem, min(1.5rem + 3.4vw, 4.5rem, 9vh)); margin-bottom: 0; }
  .hero-figure { margin-right: calc(-1 * var(--bleed)); }
}
/* Phones: the stage follows the call to action, so it starts above the fold;
   the reassurance line and the theme picker move below it. */
@media (max-width: 719px) {
  .hero-grid { gap: 0; }
  .hero-copy { display: contents; }
  .hero-head { order: 0; }
  .hero-copy .sub { order: 1; }
  .hero-copy .actions { order: 2; margin-bottom: 28px; }
  .hero-figure { order: 3; margin-bottom: 36px; }
  .hero-copy .assure { order: 4; }
  .hero-copy .picker { order: 5; }
  .press { aspect-ratio: 10 / 14.6; }
  .press-window { width: 100%; top: 9.25rem; }
  .menu-card { width: 13rem; top: 0; right: 0; left: auto; bottom: auto; font-size: .75rem; }
  .menu-card > .menu-row:nth-child(2), .menu-card > .menu-row:nth-child(3), .menu-card > .menu-sep { display: none; }
  .printer { width: 66%; left: -6%; bottom: -3%; }
  .counter { min-width: 0; right: 0; bottom: 3%; }
  .caption-row { flex-wrap: wrap; }
}

/* ---------- sections ---------- */
.section { position: relative; padding-block: var(--space-section) 0; }
.section + .section, .closing { margin-top: 0; }
.s-faq { padding-bottom: var(--space-section); }
.ink-rule { position: relative; width: min(100% - 2 * var(--gutter), var(--wide)); margin: 0 auto clamp(48px, 6vw, 80px); height: 18px; display: flex; align-items: center; }
.ink-rule svg { width: 100%; height: 8px; overflow: visible; }
.ink-rule use { stroke: var(--border-strong); stroke-dasharray: 1 2; stroke-dashoffset: 0; }
.reg { position: absolute; right: -4px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border: 1.5px solid var(--accent); border-radius: 50%; background: var(--bg); }
.reg::before, .reg::after { content: ""; position: absolute; background: var(--accent); }
.reg::before { left: 50%; top: -5px; bottom: -5px; width: 1.5px; margin-left: -.75px; }
.reg::after { top: 50%; left: -5px; right: -5px; height: 1.5px; margin-top: -.75px; }
.chapter-mark { display: flex; align-items: baseline; gap: 4px; font: 560 2.5rem/1 var(--font-display); color: var(--accent); margin-bottom: 18px; font-variant-numeric: lining-nums; }
.chapter-mark small { font: 500 .8125rem/1 var(--font-mono); color: var(--text-mute); }
.lead { font-size: 1.1875rem; line-height: 1.55; color: var(--text-soft); max-width: 30em; }
.s-head-wide { max-width: 46rem; margin-bottom: clamp(40px, 5vw, 64px); }

/* ink underline */
.ink-word { position: relative; display: inline-block; white-space: nowrap; }
.ink-under { position: absolute; left: -2%; bottom: -.02em; width: 104%; height: .17em; overflow: visible; color: var(--accent); pointer-events: none; }
.ink-under use { stroke-dasharray: 1 2; stroke-dashoffset: 0; }

/* figures */
figure { margin: 0; }
figcaption { font-size: .84375rem; color: var(--text-mute); margin-top: 14px; }
.shot { position: relative; }
.annot { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.annot-mark { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 2; stroke-dashoffset: 0; }

/* I: batch */
.split { display: grid; gap: 48px; }
@media (min-width: 1024px) { .split { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; } }
.routes { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.routes li { position: relative; padding-left: 26px; color: var(--text-soft); }
.routes b { color: var(--text); }
.route-dot { position: absolute; left: 2px; top: .5em; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--warn); }
.route-dot.is-on { background: var(--success); border-color: var(--success); }
.stage { position: relative; padding-top: 34px; }
.drops { position: absolute; top: 0; right: 4%; left: 18%; z-index: 2; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; pointer-events: none; }
.drop {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 8px; border-radius: 7px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-card);
  font: 500 .75rem/1.2 var(--font-mono); white-space: nowrap; transform: rotate(var(--r, 0deg));
}
.drop::before { content: ""; width: 9px; height: 11px; border-radius: 2px; background: var(--accent-soft); border: 1px solid var(--accent); }
.d1 { --r: -3deg; } .d2 { --r: 2deg; } .d3 { --r: -1deg; } .d4 { --r: 3deg; } .d5 { --r: -2deg; }
@media (max-width: 719px) { .stage { padding-top: 56px; } .drop:nth-child(n+4) { display: none; } .drops { left: 0; } }

/* II: tiles */
.tiles { display: grid; gap: 28px; }
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.tile { padding: 24px; border-radius: var(--radius-dialog); background: var(--surface); border: 1px solid var(--border); }
.tile p { color: var(--text-soft); margin: 0; }
.tile-fig { margin: -4px -4px 18px; border-radius: 10px; background: var(--surface2); aspect-ratio: 280 / 180; }
.tile-fig svg { width: 100%; height: 100%; overflow: visible; }
.tile-fig text { font: 600 11px/1 var(--font-mono); fill: var(--text-mute); text-anchor: middle; }
.fan-card { transform-box: view-box; transform-origin: 140px 112px; }
.fan-card rect { fill: var(--surface); stroke: var(--border-strong); stroke-width: 1.2; }
.fan-card.is-pdf rect { stroke: var(--accent); stroke-width: 1.6; }
.fan-card.is-pdf text { fill: var(--accent); }
.fc-1 { transform: rotate(-54deg); } .fc-2 { transform: rotate(-32deg); } .fc-3 { transform: rotate(32deg); }
.fc-4 { transform: rotate(54deg); } .fc-5 { transform: rotate(-11deg); } .fc-6 { transform: rotate(11deg); }
.fan-base rect { fill: var(--ink); stroke: var(--pr-rim); }
.fan-base path { stroke: var(--ink-2); stroke-width: 5; stroke-linecap: round; }
.fan-base circle { fill: var(--led); }
.pcard rect { fill: var(--surface); stroke: var(--border-strong); stroke-width: 1.2; }
.pcard text { font: 600 13px/1 var(--font-ui); fill: var(--text); text-anchor: start; }
.pc-chip { fill: var(--surface3); }
.pcard.is-default rect { stroke: var(--accent); stroke-width: 1.8; }
.pc-star { fill: var(--accent); }
.retry text { font-size: 11px; }
.rt-title { font: 600 12px/1 var(--font-ui) !important; text-anchor: start !important; fill: var(--text-soft) !important; }
.rt-track { fill: none; stroke: var(--border-strong); stroke-width: 2; stroke-dasharray: 1 2; stroke-dashoffset: 0; }
.rt-step circle { fill: var(--surface); stroke: var(--warn); stroke-width: 2.4; }
.rs-0 circle { stroke: var(--error); }
.rt-arc { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-dasharray: 1 2; stroke-dashoffset: 0; stroke-linecap: round; }
.rt-done circle { fill: var(--success); }
.rt-done path { fill: none; stroke: var(--surface); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.rt-step, .rt-done, .pcard { transform-box: fill-box; transform-origin: 50% 50%; }

/* III: screens */
.steps { display: grid; gap: 56px; }
.step { display: grid; gap: 22px; }
.step-text h3 { font: 560 1.75rem/1.15 var(--font-display); letter-spacing: -.01em; }
.step-text p { color: var(--text-soft); max-width: 26em; }
.shot img { width: 100%; }
@media (max-width: 719px) {
  .step-fig .shot { overflow: hidden; aspect-ratio: 1 / 1.02; }
  .step-fig .shot picture, .step-fig .shot img { width: 168%; max-width: none; }
  .step-fig .shot .annot { display: none; }
  .step-fig .window { -webkit-mask-image: linear-gradient(90deg, #000 78%, transparent); mask-image: linear-gradient(90deg, #000 78%, transparent); }
}
.cli { display: grid; gap: 28px; margin-top: clamp(64px, 8vw, 112px); align-items: center; }
@media (min-width: 1024px) { .cli { grid-template-columns: 5fr 7fr; gap: 64px; } }
.cli h3 { font: 560 1.75rem/1.15 var(--font-display); }
.cli p { color: var(--text-soft); }
.term { border-radius: var(--radius-card); background: #1c1917; color: #e7e5e4; box-shadow: var(--shadow-window); overflow: hidden; border: 1px solid #292524; }
.term-bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; background: #292524; font: 500 .75rem/1 var(--font-ui); color: #a8a29e; }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: #57534e; }
.term-bar span { flex: 1; text-align: center; margin-right: 46px; }
.term-body { margin: 0; padding: 18px 20px 22px; font: 400 .8125rem/1.65 var(--font-mono); white-space: pre-wrap; overflow-wrap: anywhere; min-height: 19.5em; }
.t-prompt { color: #f97316; }
.t-cmd { color: #fafaf9; }
.t-out { color: #a8a29e; display: block; margin-top: .4em; }
.t-caret { display: inline-block; width: .55em; height: 1.1em; vertical-align: -.2em; background: #f97316; margin-left: 1px; }
.chips { margin: clamp(48px, 6vw, 72px) 0 0; padding-top: 24px; border-top: 1px solid var(--border); color: var(--text-mute); font-size: .9375rem; line-height: 1.9; text-wrap: balance; }

/* IV: comparison */
.vs-cap { font-size: .84375rem; color: var(--text-mute); max-width: 44em; }
.vs-hint { display: none; font-size: .84375rem; color: var(--text-mute); }
.vs-scroll { position: relative; overflow-x: auto; padding: 14px 4px 18px; margin-inline: -4px; }
.vs { width: 100%; min-width: 880px; border-collapse: separate; border-spacing: 0; font-size: .9375rem; }
.vs th, .vs td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.vs thead th { font: 600 .9375rem/1.3 var(--font-ui); border-bottom: 1px solid var(--border-strong); vertical-align: bottom; }
.vs tbody th { font-weight: 600; color: var(--text-soft); width: 15%; }
.vs small { display: block; color: var(--text-mute); font-size: .78125rem; margin-top: 3px; line-height: 1.35; }
.vs .is-us { background: var(--surface); box-shadow: inset 1px 0 var(--border), inset -1px 0 var(--border); width: 19%; }
.vs thead .is-us { border-radius: 14px 14px 0 0; box-shadow: inset 0 1px var(--border), inset 1px 0 var(--border), inset -1px 0 var(--border), 0 -10px 30px -18px rgb(60 30 0 / .35); }
.vs tbody tr:last-child .is-us { border-radius: 0 0 14px 14px; box-shadow: inset 0 -1px var(--border), inset 1px 0 var(--border), inset -1px 0 var(--border), 0 18px 30px -22px rgb(60 30 0 / .35); }
.vs-us-name { display: inline-flex; align-items: center; gap: 8px; font-size: 1.0625rem; color: var(--accent); }
.vs-us-name .mark { width: 24px; height: 24px; }
.vs-num { position: relative; display: inline-block; font: 560 1.5rem/1.1 var(--font-display); font-variant-numeric: lining-nums; }
.vs-ring { position: absolute; left: -22%; top: -24%; width: 144%; max-width: none; height: 148%; overflow: visible; }
.vs-ring path { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1 2; stroke-dashoffset: 0; vector-effect: non-scaling-stroke; }
.vs-dash { color: var(--text-mute); }
.vs-notes { display: grid; gap: 14px 40px; margin-top: 28px; color: var(--text-soft); }
@media (min-width: 900px) { .vs-notes { grid-template-columns: 1fr 1fr; } }
.vs-more { font-size: .84375rem; color: var(--text-mute); }
@media (max-width: 959px) { .vs-hint { display: block; } }

/* status */
.get-grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .get-grid { grid-template-columns: 7fr 5fr; gap: 64px; align-items: start; } }
.files { list-style: none; margin: 8px 0 18px; padding: 0; border-top: 1px solid var(--border); }
.files li { display: grid; gap: 4px 18px; padding: 14px 0; border-bottom: 1px solid var(--border); }
@media (min-width: 720px) { .files li { grid-template-columns: 15rem 1fr; } }
.files-os { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.files-note { color: var(--text-soft); font-size: .9375rem; }
.os-dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--warn); flex: none; }
.os-dot.is-ci { background: var(--success); border-color: var(--success); }
.os-dot.is-off { border-color: var(--border-strong); }
.hint { font-size: .875rem; color: var(--text-mute); }
.dl-grid { display: grid; gap: 12px; margin: 28px 0 12px; }
@media (min-width: 560px) { .dl-grid { grid-template-columns: 1fr 1fr; } }
.btn.dl { justify-content: flex-start; gap: 14px; min-height: 64px; padding: 12px 18px; text-align: left; }
.btn.dl:hover { border-color: var(--accent); }
.dl-icon { width: 22px; height: 22px; flex: none; padding: 7px; box-sizing: content-box; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.dl-text { display: grid; gap: 3px; min-width: 0; }
.dl-os { font-size: 1rem; }
.dl-meta { font-weight: 500; font-size: .8125rem; color: var(--text-mute); }
.dl-links { margin: 0 0 22px; font-size: .9375rem; color: var(--text-mute); }
.dl-links a { color: var(--text-soft); }
.howto { margin: 4px 0 14px; }
.howto-title { font: 600 1rem/1.3 var(--font-ui); margin-bottom: 8px; }
.howto ul { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; color: var(--text-soft); font-size: .9375rem; }
.howto code { overflow-wrap: anywhere; }
.limits { padding: 26px 28px; border-radius: var(--radius-dialog); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-card); position: relative; }
.limits::before { content: ""; position: absolute; left: 28px; right: 28px; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: var(--warn); }
.limits h3 { font: 560 1.5rem/1.2 var(--font-display); margin-bottom: 14px; }
.limits ul { margin: 0; padding-left: 1.1em; display: grid; gap: 10px; color: var(--text-soft); font-size: .9375rem; }
.limits li::marker { color: var(--warn); }

/* FAQ */
.faq-grid { display: grid; gap: 32px; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: 5fr 7fr; gap: 64px; } }
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; padding: 18px 2px; font-weight: 600; font-size: 1.0625rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.5rem/1 var(--font-ui); color: var(--accent); transition: transform 200ms var(--ease-ink); }
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--accent); }
.answer { padding: 0 2px 18px; color: var(--text-soft); max-width: 40em; }
.answer p { margin: 0; }

/* closing */
/* The closing band keeps the deep brand orange in both themes: the dark
   theme's brighter accent would glare as a full-bleed block. */
.closing { --accent: #c2410c; --on-accent: #ffffff; background: var(--accent); color: var(--on-accent); padding: clamp(80px, 11vw, 150px) 0; text-align: center; margin-top: 0; position: relative; overflow: hidden; }
.closing::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 50% 0%, rgb(255 255 255 / .14), transparent 70%); pointer-events: none; }
.closing-inner { position: relative; display: grid; justify-items: center; }
.closing-mark { width: clamp(120px, 16vw, 180px); height: auto; overflow: visible; margin-bottom: 20px; filter: drop-shadow(0 18px 18px rgb(0 0 0 / .18)); }
.closing-mark .cm-s { transform-box: view-box; transform-origin: 0 0; }
.cm-l { transform: rotate(-34deg); } .cm-r { transform: rotate(34deg); } .cm-c { --line: #f97316; }
.closing .cm-sparks { stroke: var(--on-accent); }
.closing .pr-body { stroke: none; }
.closing h2 { font-size: clamp(2.5rem, 1.3rem + 4.4vw, 5rem); max-width: 16ch; margin-bottom: .3em; }
.closing-sub { font-size: 1.125rem; opacity: .92; }
.closing .assure { color: inherit; margin-top: 4px; }
.closing :focus-visible { outline-color: var(--on-accent); }
.closing .actions { justify-content: center; }

/* footer */
.footer { background: var(--surface2); border-top: 1px solid var(--border); padding: 56px 0 40px; font-size: .9375rem; }
.footer-top { display: grid; gap: 28px; }
@media (min-width: 900px) { .footer-top { grid-template-columns: 5fr 7fr; } }
.tagline { font: 560 1.5rem/1.25 var(--font-display); margin: 14px 0 0; color: var(--text-soft); }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: flex-start; }
@media (min-width: 900px) { .footer ul { justify-content: flex-end; } }
.footer nav a { text-decoration: none; color: var(--text-soft); }
.legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--text-mute); font-size: .84375rem; }
.legal p { margin: 0 0 6px; }
.proof-js { display: none; }
.js .proof-js { display: inline; }
.js .proof-nojs { display: none; }
.req-count { color: var(--success); }

/* ---------- 404 ---------- */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 64px 0; }
.nf .closing-mark { margin-inline: auto; }
.nf .pr-body { stroke: var(--pr-rim); }
.nf h1 { font-size: clamp(2.4rem, 1.4rem + 4vw, 4.4rem); }
.nf p { color: var(--text-soft); }

/* ---------- theme switch: ink spread from the click ---------- */
@keyframes ink-spread { from { clip-path: circle(0 at var(--ink-x, 50%) var(--ink-y, 50%)); } to { clip-path: circle(150vmax at var(--ink-x, 50%) var(--ink-y, 50%)); } }
html.vt-ink::view-transition-old(root) { animation: none; }
html.vt-ink::view-transition-new(root) { animation: ink-spread 520ms var(--ease-ink) both; }
@view-transition { navigation: auto; }

/* ---------- motion ---------- */
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes mk-fan-l { from { transform: rotate(0deg) translateY(16px); } to { transform: rotate(-34deg) translateY(0); } }
@keyframes mk-fan-r { from { transform: rotate(0deg) translateY(16px); } to { transform: rotate(34deg) translateY(0); } }
@keyframes mk-rise { from { transform: translateY(16px); } to { transform: translateY(0); } }
@keyframes num-pop { 0% { transform: translateY(.18em) scale(.82); } 60% { transform: translateY(-.04em) scale(1.08); } 100% { transform: none; } }
@keyframes fly {
  0% { transform: rotate(0deg) translateY(30px) rotate(0deg); opacity: 1; }
  26% { transform: rotate(0deg) translateY(0px) rotate(0deg); opacity: 1; }
  78% { opacity: .9; }
  100% { transform: rotate(var(--a)) translateY(-96px) rotate(var(--spin)); opacity: 0; }
}
@keyframes led-blink { 50% { opacity: .25; } }
@keyframes hum { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(.7px); } }
@keyframes drop-in { from { opacity: 0; transform: translate(40px, -46px) rotate(calc(var(--r) * 4)); } to { opacity: 1; transform: rotate(var(--r)); } }
@keyframes fan-open { from { transform: rotate(0deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { opacity: 0; transform: scale(.3); } 70% { opacity: 1; transform: scale(1.15); } 100% { transform: scale(1); } }
@keyframes fig-in { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }
@keyframes caret { 50% { opacity: 0; } }
@keyframes feed { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes show { from { opacity: 0; visibility: hidden; } to { opacity: 1; visibility: visible; } }
@keyframes reg-in { from { opacity: 0; transform: rotate(-90deg) scale(.4); } to { opacity: 1; transform: none; } }
@keyframes cm-l { from { transform: rotate(0deg) translateY(26px); } to { transform: rotate(-34deg) translateY(0); } }
@keyframes cm-r { from { transform: rotate(0deg) translateY(26px); } to { transform: rotate(34deg) translateY(0); } }
@keyframes cm-c { from { transform: translateY(26px); } to { transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  /* load: header mark fans out, numbers pop, H1 underline draws */
  html.ink .mark-live .mk-l { animation: mk-fan-l 620ms var(--ease-spring) 120ms both; }
  html.ink .mark-live .mk-r { animation: mk-fan-r 620ms var(--ease-spring) 220ms both; }
  html.ink .mark-live .mk-c { animation: mk-rise 520ms var(--ease-ink) both; }
  html.ink h1 .n1 { animation: num-pop 520ms var(--ease-ink) 150ms both; }
  html.ink h1 .n2 { animation: num-pop 520ms var(--ease-ink) 330ms both; }
  html.ink h1 .n3 { animation: num-pop 560ms var(--ease-ink) 510ms both; }
  html.ink h1 .ink-under use { animation: draw 700ms var(--ease-ink) 700ms both; }

  /* hero stage, driven by motion.js: armed → pick → printing → settled.
     html.ink is set in <head>, before the first paint, so the stage paints
     armed (sheets down, sparks undrawn, counter blank) until motion.js takes
     over; it never flashes the finished state first. */
  html.ink:not(.motion) .press .rest { transform: rotate(0deg) translateY(30px); }
  html.ink:not(.motion) .press .sparks path { stroke-dashoffset: 1; }
  html.ink:not(.motion) .press .menu-pick { background: transparent; color: inherit; font-weight: 400; }
  html.ink:not(.motion) .press .counter-fill { transform: scaleX(0); }
  html.ink:not(.motion) .press :is(.counter-n, .counter-state) { visibility: hidden; }
  html.motion .press.armed .rest { transform: rotate(0deg) translateY(30px); }
  html.motion .press .rest { transition: transform 680ms var(--ease-spring); }
  html.motion .press .rest-l { transition-delay: 90ms; }
  html.motion .press .rest-r { transition-delay: 180ms; }
  html.motion .press.armed .sparks path { stroke-dashoffset: 1; }
  html.motion .press .sparks path { transition: stroke-dashoffset 500ms var(--ease-ink) 520ms; }
  html.motion .press.armed .menu-pick { background: transparent; color: inherit; font-weight: 400; }
  html.motion .press .menu-pick { transition: background-color 160ms, color 160ms; }
  html.motion .press.picked .menu-pick { background: var(--accent); color: var(--on-accent); font-weight: 600; }
  html.motion .press .menu-card { transition: opacity 400ms var(--ease-ink), transform 400ms var(--ease-ink); }
  html.motion .press.printing .menu-card { opacity: .55; transform: translateY(-6px) scale(.97); }
  html.motion .press.printing .fly { animation: fly 1100ms cubic-bezier(.3, .6, .3, 1) var(--dl) 2 both; }
  html.motion .press.printing .pr-led { animation: led-blink 360ms steps(2) infinite; }
  html.motion .press.printing .pr { animation: hum 140ms linear infinite; }
  html.motion .press.armed .counter-state { color: var(--warn); }
  .fly-1 { --a: -34deg; --spin: -14deg; --dl: 0ms; }
  .fly-2 { --a: 0deg; --spin: 6deg; --dl: 180ms; }
  .fly-3 { --a: 34deg; --spin: 14deg; --dl: 360ms; }
  .fly-4 { --a: -30deg; --spin: -20deg; --dl: 540ms; }
  .fly-5 { --a: 4deg; --spin: -8deg; --dl: 720ms; }
  .fly-6 { --a: 30deg; --spin: 18deg; --dl: 900ms; }

  /* reveals (motion.js adds .is-in; .no-anim when already on screen) */
  html.motion [data-reveal]:not(.is-in) .drop { opacity: 0; }
  html.motion .is-in .drop { animation: drop-in 560ms var(--ease-ink) both; }
  html.motion .is-in .d2 { animation-delay: 110ms; } html.motion .is-in .d3 { animation-delay: 220ms; }
  html.motion .is-in .d4 { animation-delay: 330ms; } html.motion .is-in .d5 { animation-delay: 440ms; }
  html.motion [data-reveal]:not(.is-in) .fan-card { transform: rotate(0deg); }
  html.motion .is-in .fan-card { animation: fan-open 700ms var(--ease-spring) both; }
  html.motion .is-in .fc-2 { animation-delay: 60ms; } html.motion .is-in .fc-3 { animation-delay: 120ms; }
  html.motion .is-in .fc-4 { animation-delay: 180ms; } html.motion .is-in .fc-5 { animation-delay: 240ms; }
  html.motion [data-reveal]:not(.is-in) .pcard { opacity: 0; }
  html.motion .is-in .pcard { animation: rise 520ms var(--ease-ink) both; }
  html.motion .is-in .pc-2 { animation-delay: 110ms; } html.motion .is-in .pc-1 { animation-delay: 220ms; }
  html.motion [data-reveal]:not(.is-in) :is(.rt-track, .rt-arc) { stroke-dashoffset: 1; }
  html.motion [data-reveal]:not(.is-in) :is(.rt-step, .rt-done) { opacity: 0; }
  html.motion .is-in .rt-track { animation: draw 900ms var(--ease-ink) both; }
  html.motion .is-in .rt-step { animation: pop 420ms var(--ease-ink) both; }
  html.motion .is-in .rs-1 { animation-delay: 260ms; } html.motion .is-in .rs-2 { animation-delay: 520ms; } html.motion .is-in .rs-3 { animation-delay: 780ms; }
  html.motion .is-in .rt-arc { animation: draw 1000ms linear 200ms both; }
  html.motion .is-in .rt-done { animation: pop 480ms var(--ease-spring) 1150ms both; }
  html.motion [data-reveal]:not(.is-in) .vs-ring path { stroke-dashoffset: 1; }
  html.motion .is-in .vs-ring path { animation: draw 640ms var(--ease-ink) 150ms both; }
  html.motion .closing-mark:not(.is-in) .cm-s { transform: translateY(26px); }
  html.motion .closing-mark:not(.is-in) .cm-sparks { stroke-dashoffset: 1; }
  html.motion .closing-mark.is-in .cm-c { animation: cm-c 520ms var(--ease-spring) both; }
  html.motion .closing-mark.is-in .cm-l { animation: cm-l 640ms var(--ease-spring) 120ms both; }
  html.motion .closing-mark.is-in .cm-r { animation: cm-r 640ms var(--ease-spring) 220ms both; }
  html.motion .closing-mark.is-in .cm-sparks { animation: draw 500ms var(--ease-ink) 700ms both; }
  html.motion .no-anim, html.motion .no-anim * { animation-duration: 1ms !important; animation-delay: 0ms !important; }
  html.motion .cli.typing .t-out { opacity: 0; }
  html.motion .cli .t-out { transition: opacity 360ms var(--ease-ink); }
  html.motion .t-caret { animation: caret 1.06s steps(1) infinite; }

  /* FAQ height */
  .faq details { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; transition: height 260ms var(--ease-ink), content-visibility 260ms allow-discrete; }
  .faq details[open]::details-content { height: auto; }

  /* scroll-driven, where supported */
  @supports (animation-timeline: view()) {
    .feed-bar { animation: feed linear both; animation-timeline: scroll(root block); }
    body { timeline-scope: --hero-cta; }
    .hero .actions { view-timeline-name: --hero-cta; }
    .header-cta { animation: show linear both; animation-timeline: --hero-cta; animation-range: exit 0% exit 100%; }
    .section h2 .ink-under use { animation: draw linear both; animation-timeline: view(); animation-range: entry 30% cover 40%; }
    .ink-rule use { animation: draw linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
    .ink-rule .reg { animation: reg-in linear both; animation-timeline: view(); animation-range: entry 70% cover 35%; }
    .shot .annot-mark { animation: draw linear both; animation-timeline: view(); animation-range: entry 70% cover 55%; }

    @media (min-width: 1024px) {
      .steps { grid-template-columns: 5fr 7fr; column-gap: 64px; row-gap: 0; timeline-scope: --s1, --s2, --s3; }
      .step { display: contents; }
      .step-text { grid-column: 1; min-height: 72vh; padding-top: 18vh; }
      .step:first-child .step-text { padding-top: 6vh; }
      .step:nth-child(1) .step-text { grid-row: 1; view-timeline-name: --s1; }
      .step:nth-child(2) .step-text { grid-row: 2; view-timeline-name: --s2; }
      .step:nth-child(3) .step-text { grid-row: 3; view-timeline-name: --s3; }
      .step-fig { grid-column: 2; grid-row: 1 / 4; position: sticky; top: max(84px, 50vh - 230px); align-self: start; }
      .step:nth-child(2) .step-fig { animation: fig-in linear both; animation-timeline: --s2; animation-range: entry 55% entry 80%; }
      .step:nth-child(3) .step-fig { animation: fig-in linear both; animation-timeline: --s3; animation-range: entry 55% entry 80%; }
      .step:nth-child(1) .annot-mark { animation-timeline: --s1; animation-range: entry 80% cover 50%; }
      .step:nth-child(2) .annot-mark { animation-timeline: --s2; animation-range: entry 85% cover 50%; }
      .step:nth-child(3) .annot-mark { animation-timeline: --s3; animation-range: entry 85% cover 50%; }
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  .replay, .feed { display: none !important; }
}

@media print {
  .topbar, .picker, .replay, .caption-row button, .skip, .feed { display: none !important; }
  body { background: #fff; color: #000; }
  .closing { background: none; color: #000; }
  .t-out, .drop, .fan-card, .pcard { opacity: 1 !important; }
}
