/* Dropwize site, iteration 2. One stylesheet, no build step.
   Order: 1 tokens, 2 base, 3 layout, 4 type, 5 components, 6 depth, 7 pages, 8 reduced motion, 9 print.
   Colours come only from the tokens below (taken from the re-themed product). */

/* ================================================================ 1. tokens */
:root, .band-paper {
  --paper: #F7F5F0; --surface: #FFFFFF; --sunk: #EFECE5; --ink: #10152B; --muted: #4F566E; --line: #E3DFD5;
  --brand: #1648D7; --brand-hover: #1239B0; --sky: #5E8BFD; --text-accent: #1648D7; --ring: #1648D7;
  --st-pending: #5B6573; --st-pending-bg: #E9ECF0;
  --st-scheduled: #6D4FD8; --st-scheduled-bg: #EBE6FB;
  --st-road: #965A00; --st-road-bg: #FBF0DC;
  --st-done: #136F40; --st-done-bg: #DCF2E5;
  --st-fail: #B42318; --st-fail-bg: #FBE3DF;
  --map-ground: #ECEFF6; --map-road: #D3D9E6; --map-water: #DCE5F7;
  --route: #1648D7; --route-future: #5E8BFD;
  --frame: #0B0F1F; --frame-edge: #1C2238;
  --shadow: rgb(16 21 43); --shadow-k: 1;
  --on-brand: #FFFFFF; --badge: #1648D7;
  color-scheme: light;
}
:root {
  --ease: cubic-bezier(.2, .7, .2, 1);
  --sans: Figtree, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 64px;
  --rail: 0px;
}
.band-ink, :root[data-theme="dark"], .nav.on-ink, .rail.on-ink {
  --paper: #10152B; --surface: #161B2F; --sunk: #0C1022; --ink: #E9ECF7; --muted: #A3ABC7; --line: #262C46;
  --brand: #3F6EF2; --brand-hover: #2F5DE0; --sky: #5E8BFD; --text-accent: #5E8BFD; --ring: #5E8BFD; --badge: #2F5DE0;
  --st-pending: #9AA5B3; --st-pending-bg: #232C37;
  --st-scheduled: #9B8CF7; --st-scheduled-bg: #2A2651;
  --st-road: #EAA53A; --st-road-bg: #3A2C12;
  --st-done: #4CC183; --st-done-bg: #14321F;
  --st-fail: #F0645A; --st-fail-bg: #3D1C1A;
  --map-ground: #0C1022; --map-road: #222A45; --map-water: #131A36;
  --route: #3F6EF2; --route-future: #5E8BFD;
  --frame: #05070F; --frame-edge: #1C2238;
  --shadow: rgb(0 0 0); --shadow-k: 1.7;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #10152B; --surface: #161B2F; --sunk: #0C1022; --ink: #E9ECF7; --muted: #A3ABC7; --line: #262C46;
    --brand: #3F6EF2; --brand-hover: #2F5DE0; --sky: #5E8BFD; --text-accent: #5E8BFD; --ring: #5E8BFD; --badge: #2F5DE0;
    --st-pending: #9AA5B3; --st-pending-bg: #232C37;
    --st-scheduled: #9B8CF7; --st-scheduled-bg: #2A2651;
    --st-road: #EAA53A; --st-road-bg: #3A2C12;
    --st-done: #4CC183; --st-done-bg: #14321F;
    --st-fail: #F0645A; --st-fail-bg: #3D1C1A;
    --map-ground: #0C1022; --map-road: #222A45; --map-water: #131A36;
    --route: #3F6EF2; --route-future: #5E8BFD;
    --frame: #05070F; --frame-edge: #1C2238;
    --shadow: rgb(0 0 0); --shadow-k: 1.7;
    color-scheme: dark;
  }
  :root:not([data-theme="light"]) .show-light { display: none; }
  :root:not([data-theme="light"]) .show-dark { display: block; }
}
/* light/dark image pairs follow the theme of their context */
.show-dark { display: none; }
:root[data-theme="dark"] .show-light, .band-ink .show-light, .nav.on-ink .show-light { display: none; }
:root[data-theme="dark"] .show-dark, .band-ink .show-dark, .nav.on-ink .show-dark { display: block; }
.band-paper .show-dark { display: none !important; }
.band-paper .show-light { display: block !important; }

/* ================================================================ 2. base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 120px; }
@media (prefers-reduced-motion: no-preference) { html:not(.still) { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans);
  overflow-x: clip; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
.band-ink, .band-paper { background: var(--paper); color: var(--ink); }
/* 3D stages overflow sideways by design; main clips them without becoming a scroll container (sticky still works) */
main { overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; border-radius: 4px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--surface); color: var(--ink); padding: 10px 14px; border-radius: 8px; border: 1px solid var(--line); }
.skip:focus { top: 12px; }
.top-sentinel { position: absolute; top: 8px; left: 0; width: 1px; height: 1px; }
[lang="ar"] { font-family: "Geeza Pro", "Noto Naskh Arabic", Tahoma, system-ui, sans-serif; }

/* ================================================================ 3. layout */
.wrap {
  --wmax: calc(1320px + 2 * var(--gutter) + var(--rail));
  --bleed: min(12vw, calc(var(--gutter) + max(0px, (100vw - var(--wmax)) / 2)));
  width: 100%; max-width: var(--wmax); margin-inline: auto;
  padding-inline: calc(var(--rail) + var(--gutter)) var(--gutter);
}
.g12 { display: grid; gap: 40px; }
@media (min-width: 1024px) {
  .g12 { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; }
  .bleed-r { margin-inline-end: calc(-1 * var(--bleed)); }
  .bleed-l { margin-inline-start: calc(-1 * var(--bleed)); }
}
@media (max-width: 767px) { .g12 { gap: 32px; } }
.sec { padding-block: 128px; }
@media (max-width: 1023px) { .sec { padding-block: 96px; } }
@media (max-width: 767px) { .sec { padding-block: 64px; } }

/* ================================================================ 4. type */
.display {
  font: 800 clamp(2.75rem, 6.4vw, 6rem)/.96 var(--sans); letter-spacing: -.035em; max-width: 13ch; text-wrap: balance;
}
.h1 { font: 800 clamp(2.5rem, 5.2vw, 4.75rem)/1 var(--sans); letter-spacing: -.03em; max-width: 16ch; text-wrap: balance; }
h2, .h2 { font: 700 clamp(1.875rem, 3.6vw, 3rem)/1.05 var(--sans); letter-spacing: -.02em; max-width: 22ch; text-wrap: balance; }
h3, .h3 { font: 700 1.375rem/1.2 var(--sans); letter-spacing: -.01em; }
.lede { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.5; color: var(--muted); max-width: 40ch; }
.small { font-size: .9375rem; line-height: 1.55; }
.eyebrow, .mono-label {
  display: block; font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--text-accent);
}
.eyebrow { margin-bottom: 16px; }
figcaption, .cap { font: 400 12px/1.5 var(--mono); color: var(--muted); margin-top: 16px; overflow-wrap: anywhere; }
.numeral, .big-time {
  font: 500 clamp(3rem, 8vw, 6.5rem)/1 var(--mono); letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
.foot-mono { font: 400 .8125rem/1.6 var(--mono); color: var(--muted); }

/* ================================================================ 5. components */
/* buttons */
.cta {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px;
  border-radius: 999px; background: var(--brand); color: var(--on-brand); text-decoration: none;
  font: 700 1.1875rem/1 var(--sans); white-space: nowrap; border: 0; cursor: pointer;
}
.cta:hover { background: var(--brand-hover); }
.cta-2 {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 4px; font-weight: 700;
  color: var(--ink); text-decoration: none;
}
.cta-2:hover { text-decoration: underline; text-underline-offset: 5px; }
.cta-ghost {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700;
}
.cta-ghost:hover { border-color: var(--muted); }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

/* header */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h); color: var(--ink);
  background: var(--paper); border-bottom: 1px solid transparent;
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav { background: color-mix(in srgb, var(--paper) 85%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { height: 100%; display: flex; align-items: center; gap: 16px; padding-inline: var(--gutter); max-width: 1680px; margin-inline: auto; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; border-radius: 6px; }
.brand img { height: 28px; width: auto; }
.brand-by { font: 400 12px/1 var(--mono); color: var(--muted); white-space: nowrap; padding-top: 4px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 10px 12px; text-decoration: none; font: 500 15px/1.2 var(--sans); white-space: nowrap; }
.nav-links a:hover { color: var(--text-accent); }
.nav-links a[aria-current="page"] { text-decoration: underline 2px var(--brand); text-underline-offset: 6px; }
.theme-btn {
  flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); cursor: pointer; padding: 0;
}
.theme-btn svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; display: none; }
.theme-btn[data-mode="system"] .i-system, .theme-btn[data-mode="light"] .i-light, .theme-btn[data-mode="dark"] .i-dark { display: block; }
html:not(.js) .theme-btn { display: none; }
.cta-nav { min-height: 40px; padding: 0 18px; flex: none; }
.menu { display: none; position: relative; flex: none; }
.menu summary {
  list-style: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); cursor: pointer;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; }
.menu-panel {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 230px; display: grid; gap: 2px; padding: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 48px -24px var(--shadow);
}
.menu-panel nav { display: grid; gap: 2px; }
.menu-panel a:not(.cta) { padding: 12px; border-radius: 8px; text-decoration: none; font-weight: 500; }
.menu-panel a:not(.cta):hover { background: var(--sunk); }
.menu-panel a[aria-current="page"] { color: var(--text-accent); }
.menu-theme { display: flex; align-items: center; gap: 12px; padding: 6px 12px 8px; border-top: 1px solid var(--line); margin-top: 6px; font: 400 12px/1 var(--mono); color: var(--muted); }
.menu-panel .cta { display: none; margin-top: 6px; }
@media (max-width: 1100px) { .brand-by { display: none; } }
@media (max-width: 899px) {
  .nav-links, .nav-in > .theme-btn { display: none; }
  .menu { display: block; }
  .cta-nav { margin-left: auto; }
}
@media (max-width: 479px) {
  .nav-in { gap: 8px; }
  .cta-nav { display: none; }
  .menu { margin-left: auto; }
  .menu-panel .cta { display: flex; }
}

/* footer */
.foot { padding: 72px 0 48px; }
.foot-top { display: grid; gap: 16px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.foot-top p { color: var(--muted); max-width: 46ch; }
.foot .brand img { height: 28px; }
.foot-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; padding: 40px 0; }
.foot-cols h2 { font: 500 12px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; max-width: none; }
.foot-cols a { display: inline-block; padding: 6px 0; text-decoration: none; }
.foot-cols a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; border-top: 1px solid var(--line); font: 400 12px/1.6 var(--mono); color: var(--muted); }
.foot-legal a { color: var(--ink); text-decoration: none; }
.foot-legal a:hover { text-decoration: underline; }
@media (min-width: 768px) { .foot-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* window frame: bar, body, and a back slab that shows its edge when tilted */
.win { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; transform-style: preserve-3d; }
.win-slab, .phone-slab { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
.win-slab { background: var(--frame-edge); transform: translateZ(-6px); }
.win-bar {
  position: relative; height: 32px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 14px 14px 0 0;
  background: var(--surface); border-bottom: 1px solid var(--line); font: 400 11px/1 var(--mono); color: var(--muted); white-space: nowrap;
}
.win-bar img { width: 14px; height: 14px; }
.win-bar .lbl { color: var(--ink); overflow: hidden; text-overflow: ellipsis; }
.win-bar .clk-t { margin-left: auto; }
.win-body { position: relative; overflow: hidden; border-radius: 0 0 13px 13px; background: var(--surface); }
.win-body img { width: 100%; }
.crop { overflow: hidden; }
.crop img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* phone frame */
.phone { position: relative; width: 100%; transform-style: preserve-3d; }
.phone-slab { background: var(--frame); transform: translateZ(-10px); border-radius: 14.5% / 6.7%; box-shadow: 0 0 0 1px var(--frame-edge); }
.phone-body { position: relative; padding: 3.4%; border-radius: 14.5% / 6.7%; background: var(--frame); box-shadow: inset 0 0 0 1px var(--frame-edge); }
.phone-body::before { content: ""; position: absolute; z-index: 2; top: 2.6%; left: 35%; width: 30%; aspect-ratio: 6 / 1.1; border-radius: 999px; background: var(--frame); }
.phone::after { content: ""; position: absolute; right: -2px; top: 22%; width: 2px; height: 12%; border-radius: 2px; background: var(--frame-edge); }
.screen { position: relative; aspect-ratio: 585 / 1266; border-radius: 11.4% / 5.3%; overflow: hidden; background: var(--surface); padding-top: 9%; }
.screen.short { aspect-ratio: 585 / 800; border-radius: 11.4% / 8.3%; }
.shot { position: relative; display: grid; }
.shot > img { grid-area: 1 / 1; width: 100%; }
.marks { position: absolute; inset: 0; pointer-events: none; }

/* trade switch (CSS only, via :has). Without :has both variants stay in the markup. */
body:has(#trade-lpg:checked) .v-diesel, body:has(#trade-diesel:checked) .v-lpg { display: none !important; }

/* rings: drawn from their perimeter on reveal */
.ring { position: absolute; left: calc(var(--x) - 3px); top: calc(var(--y) - 3px); width: calc(var(--w) + 6px); height: calc(var(--h) + 6px); overflow: visible; }
.ring rect { fill: none; stroke: var(--ring); stroke-width: 2; }
html.js:not(.still) .beat:not(.drawn) .ring { opacity: 0; }

/* callout tags with SVG leaders (leaders are drawn by script.js in the stage plane) */
.tag {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; white-space: nowrap;
  font: 500 12px/1 var(--mono); color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 10px 24px -14px var(--shadow);
}
.t-more { margin-left: -8px; }
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ring); flex: none; }
.anc { position: absolute; width: 0; height: 0; }
.leaders-ov { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 3; }
.leaders-ov path { fill: none; stroke: var(--muted); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 1; }
.leaders-ov circle { fill: var(--ring); opacity: 0; }
.leaders-ov.on path { stroke-dashoffset: 0; transition: stroke-dashoffset 400ms var(--ease); }
.leaders-ov.on circle { opacity: 1; transition: opacity 200ms var(--ease) 300ms; }

/* status pips and chips in product colours */
.pip { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; background: var(--st-pending); }
.pip.scheduled { background: var(--st-scheduled); } .pip.road { background: var(--st-road); } .pip.done { background: var(--st-done); } .pip.fail { background: var(--st-fail); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; font: 500 12px/1.2 var(--mono); background: var(--st-pending-bg); color: var(--ink); white-space: nowrap; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--st-pending); }
.chip.scheduled { background: var(--st-scheduled-bg); } .chip.scheduled::before { background: var(--st-scheduled); }
.chip.road { background: var(--st-road-bg); } .chip.road::before { background: var(--st-road); }
.chip.done { background: var(--st-done-bg); } .chip.done::before { background: var(--st-done); }
.chip.type { background: transparent; border: 1px solid var(--line); } .chip.type::before { display: none; }
.mono-list { display: flex; flex-wrap: wrap; gap: 8px; }
.mono-list li { font: 400 .8125rem/1 var(--mono); padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }

/* illustration tag */
.tag-illus {
  position: absolute; top: 12px; right: 12px; margin: 0; font: 500 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); padding: 5px 8px; border: 1px dashed var(--line); border-radius: 6px; background: var(--surface);
}

/* ticket: an illustrated job card */
.ticket { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px 20px; color: var(--ink); }
.ticket-ref { font: 500 12px/1.4 var(--mono); color: var(--muted); }
.ticket-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ticket-perf { display: block; width: calc(100% + 40px); height: 12px; margin: 14px -20px; color: var(--line); }
.ticket-perf line { stroke: currentColor; stroke-width: 1.5; stroke-dasharray: 5 5; }
.ticket-cust { font-weight: 700; }
.ticket-lines { margin-top: 10px; display: grid; gap: 6px; font-size: .9375rem; }
.ticket-lines .q { font-family: var(--mono); color: var(--muted); margin-right: 8px; }
.ticket-when { margin-top: 12px; font: 400 12px/1.4 var(--mono); color: var(--muted); }

/* loupe: a second crop of the same screen on its own plane */
.loupe { border-radius: 14px; overflow: hidden; background: var(--surface); box-shadow: 0 0 0 2px var(--ring); }
.loupe img { width: 100%; }

/* spec sheet and index list */
.spec { border-top: 1px solid var(--line); }
.spec > div { display: grid; gap: 4px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.spec dt { font: 500 12px/1.6 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 640px) { .spec > div { grid-template-columns: 180px minmax(0, 1fr); } }
.index-list { border-top: 1px solid var(--line); }
.index-list a { display: grid; grid-template-columns: 3.2rem 1fr; gap: 2px 12px; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.index-list .n { grid-row: span 2; font: 500 .875rem/1.9 var(--mono); color: var(--text-accent); }
.index-list .t { font: 700 1.5rem/1.2 var(--sans); letter-spacing: -.01em; }
.index-list .d { font-size: .9375rem; color: var(--muted); }
.index-list a:hover .t { color: var(--text-accent); }

/* comparison table */
.table-wrap { overflow-x: auto; }
table.compare { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.compare caption { text-align: left; font: 500 12px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-bottom: 16px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); }
.compare thead th { position: sticky; top: var(--nav-h); background: var(--paper); font: 500 12px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* FAQ */
details.faq { border-bottom: 1px solid var(--line); }
details.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; font-weight: 700; font-size: 1.125rem; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font: 500 1.25rem/1 var(--mono); color: var(--text-accent); }
details.faq[open] summary::after { content: "\2212"; }
details.faq p { padding: 0 0 22px; max-width: 64ch; color: var(--muted); }

/* forms */
.lead { display: grid; gap: 20px; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 500; }
.field .req, .field .opt { font: 400 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-left: 8px; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: 10px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--ring); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: var(--st-fail); }
.field .help { font-size: .875rem; color: var(--muted); }
.field .err { font-size: .875rem; color: var(--st-fail); }
.field .err:empty { display: none; }
.form-err { color: var(--st-fail); }
.form-err:empty { display: none; }
.radios { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; }
.radios label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; background: var(--surface); }
.radios input { accent-color: var(--brand); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sent h2:focus { outline: none; }

/* ================================================================ 6. depth
   section > .stage[data-stage][data-pose] > .rig > .layer. JS writes only --p, --mx, --my on .stage.
   Never put overflow, filter, opacity<1, clip-path or mask between .rig and a layer's 3D children. */
.stage {
  position: relative; perspective: 1400px; perspective-origin: 50% 30%;
  --p: .5; --mx: 0; --my: 0; --k: 1;
  --rx0: 0; --rx1: 0; --ry0: 0; --ry1: 0; --rz0: 0; --rz1: 0; --tiltx: 0; --tilty: 0;
}
.rig {
  position: relative; width: 100%; aspect-ratio: var(--ar, 4 / 3); transform-style: preserve-3d;
  transform:
    rotateX(calc(((var(--rx0) + (var(--rx1) - var(--rx0)) * var(--p)) * var(--k) - var(--my) * var(--tiltx)) * 1deg))
    rotateY(calc(((var(--ry0) + (var(--ry1) - var(--ry0)) * var(--p)) * var(--k) + var(--mx) * var(--tilty)) * 1deg))
    rotateZ(calc((var(--rz0) + (var(--rz1) - var(--rz0)) * var(--p)) * var(--k) * 1deg));
}
.rig.moving { will-change: transform; }
.layer {
  position: absolute; transform-style: preserve-3d;
  transform: translate3d(calc(var(--mx) * var(--par, 0) * 16px), calc(var(--my) * var(--par, 0) * 16px),
    calc((var(--z0, 0) + (var(--z1, var(--z0, 0)) - var(--z0, 0)) * var(--p)) * 1px)) var(--tf, translateZ(0));
}
.layer > img { width: 100%; }
img.plane { border-radius: 12px; box-shadow: 0 0 0 1px var(--line); backface-visibility: hidden; }
.layer img { backface-visibility: hidden; }
/* ground shadow: a blurred leaf on the ground, offset and scaled by the lift of the plane above it */
.gs { --lift: calc(var(--l0, 0) + (var(--l1, var(--l0, 0)) - var(--l0, 0)) * var(--p)); }
.ground-shadow {
  position: absolute; inset: 6% 5%; border-radius: 18px; background: var(--shadow); filter: blur(28px);
  opacity: calc((.2 - .0005 * var(--lift)) * var(--shadow-k));
  transform: translate(calc(var(--lift) * .25px), calc(var(--lift) * .35px)) scale(calc(1 + var(--lift) / 1000));
}
.gs.phone-gs .ground-shadow { border-radius: 40px; inset: 2% 4%; }
.lift { transform-style: preserve-3d; transform: translateZ(var(--lz, 0px)); transition: transform 520ms var(--ease); }

/* poses (degrees). Rest = these numbers at the pose's rest --p, without JS or under reduced motion. */
.stage[data-pose="hero"] { --rx0: 46; --rx1: 10; --ry0: 0; --ry1: -10; --rz0: -14; --rz1: -2; --tiltx: 3; --tilty: 5; --p: 1; }
.stage[data-pose="right"] { --rx0: 6; --rx1: 3; --ry0: -16; --ry1: -3; --tiltx: 2; --tilty: 3; }
.stage[data-pose="left"] { --rx0: 6; --rx1: 3; --ry0: 16; --ry1: 3; --tiltx: 2; --tilty: 3; }
.stage[data-pose="ticket"] { --rx0: 8; --rx1: 8; --ry0: -14; --ry1: -14; --rz0: 2; --rz1: 2; --tiltx: 6; --tilty: 8; --p: 0; }
.stage[data-pose="stack"] { --rx0: 56; --rx1: 56; --rz0: -38; --rz1: -38; --p: .6; }
.stage[data-pose="strip"] { --p: .5; }
@media (max-width: 1023px) { .stage { perspective: 1100px; } }
@media (max-width: 767px) { .stage { perspective: 900px; --k: .5; } }
@supports not (transform-style: preserve-3d) {
  .rig, .layer, .lift, .win-slab, .phone-slab { transform: none !important; }
}

/* ================================================================ 7. pages */
/* ---------------------------------------------------------------- home: rail and clocks */
@media (min-width: 1200px) { .page-home { --rail: 88px; } }
[data-clock] { font-family: var(--mono); font-variant-numeric: tabular-nums; line-height: 1; }
.clk { display: inline-flex; align-items: center; }
.clk .pr { display: inline-flex; }
.clk .d { display: inline-block; height: 1em; overflow: hidden; }
.clk .strip { display: block; white-space: pre; line-height: 1; transition: transform 420ms var(--ease); }
.clk .c { color: var(--brand); }
.clk .secs { display: inline-flex; align-items: center; overflow: hidden; max-width: 0; transition: max-width 420ms var(--ease); }
.clk .secs.open { max-width: 3.2ch; }
.clk.instant .strip, .clk.instant .secs { transition: none; }

.rail { display: none; }
html.js .rail {
  display: flex; align-items: center; gap: 14px; position: sticky; top: var(--nav-h); z-index: 40; height: 40px;
  padding-inline: var(--gutter); background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line); font-family: var(--mono);
  transition: opacity 320ms var(--ease), transform 320ms var(--ease);
}
.rail-clock { font-size: 1rem; font-weight: 500; }
.rail-label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.rail-track { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; }
.rail-track span { display: block; height: 100%; background: var(--brand); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform 420ms var(--ease); }
@media (min-width: 1200px) {
  html.js .rail {
    position: fixed; left: 0; top: var(--nav-h); bottom: 0; width: 88px; height: auto; flex-direction: column;
    padding: 32px 0 28px; border-bottom: 0; border-right: 1px solid var(--line); gap: 12px;
  }
  html.js .rail-clock { font-size: 1.75rem; }
  html.js .rail-clock .clk { flex-direction: column; }
  html.js .rail-clock .c { display: block; height: .45em; line-height: .45em; transform: rotate(90deg); font-size: .8em; }
  html.js .rail-clock .secs { flex-direction: column; max-width: none; max-height: 0; transition: max-height 420ms var(--ease); }
  html.js .rail-clock .secs.open { max-height: 1.6em; }
  html.js .rail-label { text-align: center; padding-inline: 6px; line-height: 1.3; }
  html.js .rail-track { position: relative; inset: auto; flex: 1; width: 2px; height: auto; margin-top: 10px; background: var(--line); border-radius: 2px; }
  html.js .rail-track span { width: 100%; height: 100%; transform-origin: top; transform: scaleY(var(--p, 0)); }
  /* the rail ends where the full-width ink bands (pilot, footer) begin */
  html.js .rail.gone { opacity: 0; transform: translateX(-100%); pointer-events: none; }
}

/* ---------------------------------------------------------------- home: hero */
.hero-in { padding: 40px 0 72px; }
.hero-clock { font: 500 clamp(3rem, min(8vw, 11svh), 6.5rem)/1 var(--mono); letter-spacing: -.02em; margin: 0 0 20px; font-variant-numeric: tabular-nums; }
.hero .display { font-size: clamp(2.75rem, min(5.4vw, 8.2svh), 6rem); margin-bottom: 24px; }
.hero .lede { margin-bottom: 32px; }
.hero .meta { margin-top: 28px; font: 400 .8125rem/1.6 var(--mono); color: var(--muted); }
.meta [lang] { white-space: nowrap; }
.hero-fig { min-width: 0; margin: 0; }
.hero-fig figcaption { max-width: 52ch; margin-top: 56px; position: relative; z-index: 2; }
.hero .stage { --ar: 1 / .8; }
.hm-l { left: -10%; top: -6%; width: 118%; aspect-ratio: 3 / 2; }
.hm-l svg { width: 100%; height: 100%; }
.hm-ground { fill: var(--map-ground); }
#g40 path { fill: none; stroke: var(--line); stroke-width: 1; opacity: .4; }
.hm-water { fill: var(--map-water); }
.hm-roads path { fill: none; stroke: var(--map-road); stroke-linecap: round; stroke-linejoin: round; }
.hm-route { fill: none; stroke: var(--route); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - min(1, var(--p) * 1.4)); }
.hm-future { fill: none; stroke: var(--route-future); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 12 14; opacity: clamp(0, calc((var(--p) - .45) * 3), 1); }
.hm-depot rect { fill: var(--ink); }
.hm-depot text, .hm-stop text { font: 500 22px var(--mono); text-anchor: middle; dominant-baseline: central; }
.hm-stop circle { stroke: var(--paper); stroke-width: 5; }
.hm-stop text { fill: var(--on-brand); font-size: 20px; }
.hm-stop.s circle { fill: var(--st-scheduled); } .hm-stop.r circle { fill: var(--st-road); } .hm-stop.d circle { fill: var(--st-done); }
.hero-win { left: 0; top: 4%; width: 78%; }
.hero-win-gs { left: 0; top: 4%; width: 78%; height: 62%; }
.hero-phone { left: 60%; bottom: 0; width: 25%; --tf: rotateY(-6deg); }
.hero-phone-gs { left: 60%; top: 30%; width: 25%; height: 68%; }
.tags-l { inset: 0; }
.t-road { left: 30%; top: 89%; }
.t-plan { left: 54%; top: 11%; }
.t-depot { left: 1%; top: 96%; }
@media (max-width: 1199px) { .t-depot { display: none; } }
@media (min-width: 1024px) {
  .hero-grid { align-items: center; }
  .hero-text { grid-column: 1 / 7; position: relative; z-index: 2; }
  .hero-fig { grid-column: 7 / 13; }
  html.js:not(.still) .hero { height: 170vh; }
  html.js:not(.still) .hero-in { position: sticky; top: var(--nav-h); min-height: calc(100svh - var(--nav-h)); display: flex; align-items: center; }
  .hero-in > .wrap { width: 100%; }
}
@media (min-width: 1200px) { html.js:not(.still) .hero-in { min-height: calc(100svh - var(--nav-h)); } }
@media (max-width: 1199px) { html.js:not(.still) .hero-in { min-height: calc(100svh - var(--nav-h) - 40px); } html.js:not(.still) .hero-in { top: calc(var(--nav-h) + 40px); } }
@media (max-width: 1023px) {
  .hero-fig { margin-top: 56px; }
  .stage[data-pose="hero"] { --ry1: -6; --rz1: -1; --tilty: 3; }
  .hero .stage { max-width: 760px; }
}
@media (max-width: 767px) {
  .tag { font-size: 10.5px; padding: 5px 7px; }
  .t-plan { left: auto; right: 14%; top: -4%; }
  .t-more { display: none; }
  .t-road { left: 24%; top: 90%; }
}

/* ---------------------------------------------------------------- home: who, day */
.who-head { position: relative; }
@media (min-width: 1024px) {
  .who-head { grid-column: 1 / 5; }
  .who-head > div { position: sticky; top: 140px; }
  .who-list { grid-column: 5 / 13; }
}
.who-head p { color: var(--muted); margin-top: 20px; max-width: 34ch; }
.who-list ul { display: grid; column-gap: 32px; }
@media (min-width: 768px) { .who-list ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.who-list .more { margin-top: 28px; }

.day h2 { max-width: 24ch; }
.trade { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 40px; border: 0; padding: 0; }
.trade legend { float: left; margin-right: 8px; font: 500 12px/44px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.trade-sw { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.trade-sw input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.trade-sw label {
  position: relative; z-index: 1; grid-row: 1; min-height: 40px; display: grid; place-items: center; padding: 0 18px; text-align: center;
  font: 500 .875rem/1 var(--mono); border-radius: 999px; cursor: pointer; white-space: nowrap; color: var(--muted); transition: color 240ms var(--ease);
}
.trade-sw label[for="trade-lpg"] { grid-column: 1; }
.trade-sw label[for="trade-diesel"] { grid-column: 2; }
.trade-sw input:checked + label { color: var(--on-brand); }
.trade-sw input:focus-visible + label { outline: 2px solid var(--ring); outline-offset: 2px; }
.trade-ind { grid-row: 1; grid-column: 1; border-radius: 999px; background: var(--brand); transition: transform 240ms var(--ease); }
.trade-sw:has(#trade-diesel:checked) .trade-ind { transform: translateX(100%); }
.trade-note { flex-basis: 100%; font-size: .9375rem; color: var(--muted); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 32px; font: 400 .8125rem/1.4 var(--mono); color: var(--muted); }
.legend li { display: flex; align-items: center; gap: 8px; }

/* ---------------------------------------------------------------- home: beats */
.beat { padding-block: 48px; }
@media (min-width: 768px) { .beat { padding-block: 64px; } }
@media (min-width: 1200px) { .beat { padding-block: 80px; } }
.beat-text p { max-width: 60ch; }
.beat-text p + p, .beat-text p + ul, .beat-text p + h3 { margin-top: 14px; }
.beat-text h2 { margin-bottom: 24px; }
.beat-text h3 { margin: 40px 0 10px; }
.beat-text .mono-list { margin-top: 24px; }
.beat-text .foot-mono { margin-top: 24px; }
.beat .big-time { display: block; margin: 0 0 16px; }
.step-n { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 10px; border-radius: 50%; border: 1px solid var(--line); font: 500 .75rem/1 var(--mono); color: var(--text-accent); vertical-align: 2px; }
.kicker { font-weight: 700; margin-top: 24px !important; }
.beat-fig { min-width: 0; margin: 0; }
.beat-fig figcaption .c2 { display: block; }
@media (min-width: 1024px) {
  .beat-grid { align-items: center; }
  .fig-r .beat-text { grid-column: 1 / 6; }
  .fig-r .beat-fig { grid-column: 6 / 13; }
  .fig-l .beat-text { grid-column: 8 / 13; grid-row: 1; }
  .fig-l .beat-fig { grid-column: 1 / 8; grid-row: 1; }
  .fig-l.wide .beat-text { grid-column: 9 / 13; }
  .fig-l.wide .beat-fig { grid-column: 1 / 9; }
  .beat.tall .beat-grid { align-items: start; }
  .beat.tall .beat-grid { min-height: 150vh; }
  .beat.tall .beat-text { padding-top: 18vh; padding-bottom: 20vh; }
  .beat.tall .beat-fig { position: sticky; top: calc(var(--nav-h) + 6vh); }
  .two-step .step-2 { margin-top: 36vh; }
}
@media (max-width: 1023px) {
  .beat-fig { order: 2; }
  .beat .stage { max-width: 720px; }
}

/* 06:00 plan: untangle card (ground) and phone */
.b-plan .stage { --ar: 1 / .6; }
.ut-l { left: 0; top: 0; width: 78%; }
.untangle-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 14px 12px; }
.untangle-card figcaption { margin-top: 8px; }
.untangle { width: 100%; height: auto; overflow: visible; --w: 0; --g: 1; --l: 1; --t: 1; }
#dots circle { fill: var(--muted); opacity: .35; }
#nn-mask { fill: none; stroke: #fff; stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }
.ut-nn path { fill: none; stroke: var(--muted); stroke-width: 2; stroke-dasharray: 6 6; stroke-linejoin: round; }
.ut-nn { opacity: calc(1 - .8 * var(--g)); }
.ut-warn { opacity: var(--w); }
.ut-warn path { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; }
.ut-x path { stroke: var(--st-fail); stroke-width: 3; }
.ut-fin { fill: none; stroke: var(--route); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ut-stops circle { fill: var(--surface); stroke: var(--ink); stroke-width: 1.5; }
.ut-stops text, .ut-depot text, .ut-tag text { font: 500 12px var(--mono); text-anchor: middle; dominant-baseline: central; fill: var(--ink); }
.ut-stops .n1 { opacity: calc(1 - var(--l)); }
.ut-stops .n2 { opacity: var(--l); }
.ut-depot rect { fill: var(--ink); }
.ut-depot .pulse { fill: none; stroke: var(--route); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.ut-depot text { fill: var(--muted); font-size: 11px; }
.ut-tag { opacity: var(--t); }
.ut-tag rect { fill: var(--sunk); stroke: var(--line); }
.ut-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font: 400 12px/1.4 var(--mono); color: var(--muted); }
.ut-legend li { display: flex; align-items: center; gap: 8px; }
.ut-legend span { display: inline-block; width: 22px; border-top: 2px dashed var(--muted); }
.ut-legend .lg-fin { border-top: 3px solid var(--route); }
.ut-legend .lg-x { width: 12px; height: 12px; border: 0; background: linear-gradient(45deg, transparent 43%, var(--st-fail) 43% 57%, transparent 57%), linear-gradient(-45deg, transparent 43%, var(--st-fail) 43% 57%, transparent 57%); }
.untangle.done .pulse { animation: pulse 900ms var(--ease) 1; }
@keyframes pulse { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(2.4); } }
.plan-phone { right: 0; top: 30%; width: 25%; }
.plan-phone-gs { right: 0; top: 34%; width: 25%; height: 52%; }

/* 07:30 book */
.b-book .stage { --ar: 1 / .74; }
.book-win { left: 0; top: 12%; width: 76%; }
.book-win-gs { left: 0; top: 12%; width: 76%; height: 48%; }
.book-phone { right: 9%; top: 4%; width: 28%; }
.book-phone-gs { right: 9%; top: 8%; width: 28%; height: 88%; }

/* 07:30:01 assign */
.b-assign .stage { --ar: 1 / .64; }
.as-win { left: 2%; top: 24%; width: 94%; }
.as-win-gs { left: 2%; top: 24%; width: 94%; height: 54%; }
.as-kpi { left: 0; top: 3%; width: 94%; }
.as-chips { right: 0; top: 76%; display: grid; justify-items: end; gap: 8px; }
.as-chips-l { right: 6%; top: 80%; }
@media (max-width: 767px) {
  .as-chips-l { left: 0; right: 0; top: 92%; }
  .as-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
  .as-chips-l .as-chips li { font-size: .6875rem; padding: 7px 10px; transform: none; }
  .b-assign .beat-fig > figcaption { margin-top: 76px; }
}
.as-chips li {
  font: 500 .8125rem/1 var(--mono); padding: 10px 14px; border-radius: 999px; border: 1px solid var(--ring); color: var(--text-accent);
  background: var(--surface); transform: translateX(calc(var(--i) * -18px)) rotate(calc(var(--i) * 1.5deg - 1.5deg));
  transition: background-color 420ms var(--ease), color 420ms var(--ease); transition-delay: calc(700ms + var(--i) * 120ms);
}
html.js:not(.still) .beat:not(.drawn) .as-chips li { border-color: var(--line); color: var(--muted); }
.beat.drawn .as-chips li, html:not(.js) .as-chips li, html.still .as-chips li { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }

/* 09:10 live */
.b-live .stage { --ar: 1 / .68; }
.lv-win { left: 34%; top: 2%; width: 50%; }
.lv-win-gs { left: 34%; top: 4%; width: 50%; height: 88%; }
.lv-map { aspect-ratio: 792 / 985; }
.lv-plane { left: 2%; top: 22%; width: 38%; }
.lv-plane-gs { left: 2%; top: 24%; width: 38%; height: 52%; }
@keyframes ping { 0% { transform: translate(-50%, -50%) scale(.6); opacity: .95; } 80%, 100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; } }

/* 11:40 late risk: two lanes as planes, the chip lifts across */
.b-late .stage { --ar: 1 / .5; }
.lanes-l { left: 4%; top: 10%; width: 92%; }
.lanes-gs { left: 4%; top: 10%; width: 92%; height: 76%; }
.lanes { --pad: 24px; --pt: 56px; --nw: 8.5rem; --sw: 56px; --sg: 8px; --lh: 64px; --so: 18px;
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: var(--pt) var(--pad) 28px; transform-style: preserve-3d; }
.lane { display: grid; grid-template-columns: var(--nw) 1fr; align-items: center; height: var(--lh); border-top: 1px solid var(--line); transform-style: preserve-3d; }
.lane:last-of-type { border-bottom: 1px solid var(--line); }
.lane.l2 { transform: translateZ(40px); background: var(--surface); }
.lane-name { font: 500 .8125rem/1.2 var(--mono); }
.slots { display: flex; gap: var(--sg); }
.slots li { width: var(--sw); height: 28px; border-radius: 8px; background: var(--line); border: 1px solid var(--line); flex: none; }
.slots li.gap { background: transparent; border: 1.5px dashed var(--muted); }
.mover { position: absolute; left: calc(var(--pad) + var(--nw) + 3 * (var(--sw) + var(--sg))); top: calc(var(--pt) + var(--lh) + var(--so)); width: var(--sw); height: 28px;
  transform: translateZ(40px); transform-style: preserve-3d; }
.mv-chip { display: block; width: 100%; height: 100%; border-radius: 8px; background: var(--st-done-bg); border: 2px solid var(--st-done); transition: border-color 240ms var(--ease) 800ms, background-color 240ms var(--ease) 800ms; }
.mv-tag { position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%); display: grid; font: 500 11px/1 var(--mono); white-space: nowrap; }
.mv-tag span { grid-area: 1 / 1; text-align: center; transition: opacity 240ms var(--ease) 800ms; }
.mv-tag .a { color: var(--st-road); opacity: 0; }
.mv-tag .b { color: var(--st-done); }
.lanes.pre .mover { transform: translate(calc(-1 * (var(--sw) + var(--sg))), calc(-1 * var(--lh))) translateZ(0); animation: none; }
.lanes.pre .mv-chip { border-color: var(--st-road); background: var(--st-road-bg); transition: none; }
.lanes.pre .mv-tag .a { opacity: 1; transition: none; }
.lanes.pre .mv-tag .b { opacity: 0; transition: none; }
.lanes.go .mover { animation: mv 900ms var(--ease) both; }
@keyframes mv {
  0% { transform: translate(calc(-1 * (var(--sw) + var(--sg))), calc(-1 * var(--lh))) translateZ(0); }
  28% { transform: translate(calc(-1 * (var(--sw) + var(--sg))), calc(-1 * var(--lh))) translateZ(120px); }
  72% { transform: translate(0, 0) translateZ(120px); }
  100% { transform: translate(0, 0) translateZ(40px); }
}
@media (max-width: 560px) {
  .b-late .stage { --ar: 1 / .78; }
  .lanes { --nw: 0px; --lh: 76px; --so: 38px; --sw: 46px; --pad: 18px; }
  .lane { grid-template-columns: 1fr; align-content: center; gap: 6px; }
}
@media (max-width: 360px) { .lanes { --sw: 38px; --sg: 6px; } }

/* 12:15 proof and 14:30 service: two phones, the active one lifts */
.b-proof .stage, .b-service .stage { --ar: 1 / .86; }
.pf-ph { left: 30%; top: 3%; width: 34%; }
.pf-gs { left: 30%; top: 8%; width: 34%; height: 84%; }
.pf-drawer { left: 57%; top: 14%; width: 41%; }
.pf-drawer .plane { transition: opacity 420ms var(--ease); }
.pf-drawer .lift { --lz: 0px; }
.ph-stack { display: grid; }
.ph-stack > .phone { grid-area: 1 / 1; transition: opacity 280ms var(--ease); }
html.js .two-step:not([data-step="2"]) .ph-stack .ph-2, html.js .two-step[data-step="2"] .ph-stack .ph-1 { opacity: 0; pointer-events: none; }
html.js .two-step:not([data-step="2"]) .pf-drawer .lift { --lz: -80px; }
html.js .two-step:not([data-step="2"]) .pf-drawer .plane { opacity: 0; }
.leaders { position: absolute; left: 3.4%; right: 3.4%; top: 0; padding-top: 11.8%; pointer-events: none; }
.ld-in { position: relative; aspect-ratio: 585 / 1266; }
.leaders .ld { position: absolute; right: 100%; top: var(--y); display: flex; align-items: center; transform: translateY(-50%); white-space: nowrap; }
.leaders .ld::after { content: ""; width: 34px; height: 1px; background: var(--muted); margin-right: -14px; }
.leaders .ld b { display: grid; place-items: center; width: 20px; height: 20px; margin-right: 6px; border-radius: 50%; background: var(--badge); color: var(--on-brand); font: 500 11px/1 var(--mono); }
.leaders .ld i { font: 500 12px/1 var(--mono); font-style: normal; color: var(--ink); padding: 6px 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
html.js:not(.still) .leaders { opacity: 0; transition: opacity 420ms var(--ease) 200ms; }
html.js .two-step[data-step="2"] .leaders { opacity: 1; }
.leader-list { display: none; }
html:not(.js) .leaders { display: none; }
html:not(.js) .leader-list, .leader-list.always { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 8px 22px; counter-reset: ld; margin-top: 16px; font: 400 .8125rem/1.4 var(--mono); }
.leader-list li { counter-increment: ld; display: flex; align-items: center; gap: 8px; }
.leader-list li::before { content: counter(ld); display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--badge); color: var(--on-brand); font-size: 11px; }
@media (max-width: 767px) {
  .leaders .ld i, .leaders .ld::after { display: none; }
  .leaders .ld { right: auto; left: 3%; }
  html.js .leader-list { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 8px 22px; counter-reset: ld; margin-top: 16px; font: 400 .8125rem/1.4 var(--mono); }
}
.sv-a { left: 10%; top: 3%; width: 34%; }
.sv-b { left: 54%; top: 3%; width: 34%; }
.sv-a-gs { left: 10%; top: 8%; width: 34%; height: 84%; }
.sv-b-gs { left: 54%; top: 8%; width: 34%; height: 84%; }
.sv-a .lift { --lz: 80px; }
.sv-b .lift { --lz: 0px; }
html.js .b-service[data-step="2"] .sv-a .lift { --lz: 0px; }
html.js .b-service[data-step="2"] .sv-b .lift { --lz: 80px; }
.dim .screen::after { content: ""; position: absolute; inset: 0; background: var(--paper); opacity: 0; transition: opacity 400ms var(--ease); pointer-events: none; }
html.js .b-service:not([data-step="2"]) .sv-b .screen::after, html.js .b-service[data-step="2"] .sv-a .screen::after { opacity: .45; }

.outbox { position: relative; margin-top: 28px; max-width: 380px; padding: 18px 20px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.ob-head { display: flex; align-items: center; gap: 12px; font: 500 .8125rem/1 var(--mono); margin: 0 0 12px !important; padding-right: 110px; }
.ob-net, .ob-st { display: inline-grid; }
.ob-net > span, .ob-st > span { grid-area: 1 / 1; transition: opacity 240ms var(--ease); }
.ob-net > span { padding: 5px 9px; border-radius: 999px; font-size: .75rem; }
.ob-net .a { color: var(--st-road); border: 1px solid var(--st-road); opacity: 0; }
.ob-net .b { color: var(--st-done); border: 1px solid var(--st-done); }
.outbox ul { display: grid; }
.outbox li { display: flex; justify-content: space-between; font: 400 .8125rem/1 var(--mono); padding: 10px 0; border-top: 1px solid var(--line); }
.ob-st .a { color: var(--muted); opacity: 0; }
.ob-st .b { color: var(--st-done); }
.outbox li .ob-st > span { transition-delay: calc(500ms + var(--i) * 220ms); }
.outbox.pre .ob-net .a, .outbox.pre .ob-st .a { opacity: 1; transition: none; }
.outbox.pre .ob-net .b, .outbox.pre .ob-st .b { opacity: 0; transition: none; }

/* 18:00 settle */
.b-settle .stage { --ar: 1 / .66; }
.st-win { left: 0; top: 6%; width: 94%; }
.st-win-gs { left: 0; top: 6%; width: 94%; height: 34%; }
.st-loupe { right: -2%; top: 44%; width: 56%; }
.st-loupe-gs { right: -2%; top: 46%; width: 56%; height: 46%; }

/* ---------------------------------------------------------------- home: setup, plans, pilot */
@media (min-width: 1024px) {
  .setup-head { grid-column: 1 / 5; }
  .setup .spec { grid-column: 5 / 13; }
}
.bilingual { font: 700 clamp(1.5rem, 2.6vw, 2rem)/1.2 var(--sans); letter-spacing: -.01em; display: block; margin-bottom: 4px; }

.plans-in { display: grid; margin-top: 48px; }
.plans-std, .plans-pre { padding: 40px 0; }
.plans-pre { padding: 40px var(--gutter); margin-inline: calc(-1 * var(--gutter)); background: var(--sunk); box-shadow: inset 0 0 0 1px var(--line); }
.plans h3 { margin-bottom: 16px; }
.plans h3 .mono-label { font-size: 13px; }
.plans-in p { max-width: 44ch; font-size: 1.1875rem; line-height: 1.5; }
.plans-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; margin-top: 40px; }
.plans-foot .line { font-weight: 700; }
@media (min-width: 1024px) {
  .plans-in { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .plans-std { grid-column: 1 / 7; padding: 56px 48px 56px 0; border-top: 1px solid var(--line); }
  .plans-pre { grid-column: 7 / 13; margin-inline: 0 calc(-1 * var(--bleed)); padding: 56px calc(var(--bleed) + 8px) 56px 48px; border-radius: 20px 0 0 20px; }
}
.pilot { border-top: 1px solid var(--line); }

.pilot-card { display: grid; gap: 40px; padding: clamp(28px, 5vw, 64px); border-radius: 20px; border: 1px solid var(--line); }
.pilot-card .numeral { margin-bottom: 18px; }
.pilot-card h2 { margin-bottom: 12px; }
.pilot-left > p:not(.numeral) { color: var(--muted); max-width: 40ch; margin-bottom: 28px; }
.pilot-card .spec { align-self: center; }
.pilot-card .spec > div { grid-template-columns: 7.5rem 1fr; padding: 14px 0; }
.built { margin-top: 24px; color: var(--muted); font-size: .9375rem; }
@media (min-width: 900px) { .pilot-card { grid-template-columns: 1.1fr 1fr; gap: 56px; } }
.pilot-card .numeral { word-spacing: -.35em; }
/* dark theme: the pilot card is a raised ink surface, not a cream slab on the navy page */
:root[data-theme="dark"] .pilot-card.band-paper { --paper: #161B2F; --surface: #10152B; --sunk: #0C1022; --ink: #E9ECF7; --muted: #A3ABC7; --line: #262C46; --brand: #3F6EF2; --brand-hover: #2F5DE0; --text-accent: #5E8BFD; --ring: #5E8BFD; --badge: #2F5DE0; color-scheme: dark; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pilot-card.band-paper { --paper: #161B2F; --surface: #10152B; --sunk: #0C1022; --ink: #E9ECF7; --muted: #A3ABC7; --line: #262C46; --brand: #3F6EF2; --brand-hover: #2F5DE0; --text-accent: #5E8BFD; --ring: #5E8BFD; --badge: #2F5DE0; color-scheme: dark; } }

/* ---------------------------------------------------------------- 404 */
.page-404 main { min-height: calc(100svh - var(--nav-h) - 1px); display: grid; place-items: center; text-align: center; padding: 96px 0; }
.page-404 .h1 { margin: 0 auto 20px; }
.page-404 p { color: var(--muted); }
.nf-route { width: min(320px, 80vw); margin: 0 auto 32px; }
.nf-route .r { fill: none; stroke: var(--route); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.nf-route .e { fill: none; stroke: var(--muted); stroke-width: 2.5; stroke-dasharray: 6 6; }
.nf-route .s { fill: var(--route); }
.nf-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; margin-top: 24px; }
.nf-links a { display: inline-block; padding: 10px 4px; font-weight: 700; text-decoration: none; }
.nf-links a:hover { text-decoration: underline; text-underline-offset: 5px; }

/* ---------------------------------------------------------------- reveal */
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.still) [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
  html.js:not(.still) [data-reveal].in { opacity: 1; transform: none; }
}

/* ================================================================ 8. reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
html.still *, html.still *::before, html.still *::after { animation: none !important; transition: none !important; }

/* ================================================================ 9. print */
@media print {
  .nav, .rail, .foot, .skip, .toc { display: none !important; }
  body { background: #fff; color: #000; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero { height: auto !important; }
  .hero-in { position: static !important; }
}

/* ================================================================ pages (iteration 2, inner pages)
   Added after the shared system; scoped by body class. Nothing above is changed. */
.pg-hero { padding: 72px 0 96px; }
.pg-hero .h1 { margin-bottom: 24px; }
.note { margin: 20px 0 32px; font: 400 .8125rem/1.6 var(--mono); color: var(--muted); }
.mono-label + h2 { margin-top: 12px; }
.cta-band .cb-text p { max-width: 52ch; margin-top: 16px; color: var(--muted); }
.cta-band .cb-text strong { color: var(--ink); }
.cb-ctas { align-self: end; }
.cta-band { padding-block: 96px; }
.cta-ghost { gap: 6px; }
@media (min-width: 1024px) {
  .pg-hero-text { grid-column: 1 / 7; }
  .pr-hero { grid-column: 1 / 8; }
  .cta-band .cb-text { grid-column: 1 / 8; }
  .cb-ctas { grid-column: 8 / 13; justify-content: flex-end; }
}

/* ---------------------------------------------------------------- use cases */
.stage[data-pose="fan"] { --rx0: 8; --rx1: 8; --ry0: -14; --ry1: -14; --rz0: 2; --rz1: 2; --tiltx: 6; --tilty: 8; --p: 0; }
.uc-fan-fig { margin: 0; min-width: 0; }
.uc-fan-fig .stage { --ar: 1 / .78; }
.fan-t { left: 8%; top: 12%; width: 58%; aspect-ratio: 1 / .8; transform-origin: 0 100%;
  --tf: rotateZ(calc(var(--j) * 2.4deg * (1 - var(--p)))); }
.fan-t .ticket { height: 100%; overflow: hidden; font-size: .9375rem; box-shadow: 0 14px 30px -26px var(--shadow); }
.fan-t:not(:last-child) .ticket { background: var(--sunk); }
.fan-t .tag-illus { top: auto; bottom: 12px; }
@media (max-width: 1100px) { .fan-t .tag-illus { top: 12px; bottom: auto; } }
.uc-card .rig, .ct-stage .rig { aspect-ratio: auto; }
.uc-card .layer, .ct-stage .layer { position: relative; }
.flip { display: grid; transform-style: preserve-3d; transition: transform 640ms var(--ease); }
.flip.flipped { transform: rotateY(180deg); }
.flip > .ticket { grid-area: 1 / 1; -webkit-backface-visibility: hidden; backface-visibility: hidden; min-height: 270px; }
.flip > .ticket + .ticket { transform: rotateY(180deg); }
.uc-card .ticket-cust { font-size: 1.375rem; margin-top: 4px; }
.uc-card .ticket-lines { font-size: 1.0625rem; }
.ticket-lines .col, .ticket-work .mono-label { margin-left: 8px; font: 500 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-accent); }
.ticket-lines .col { padding: 3px 6px; border: 1px solid var(--line); border-radius: 5px; vertical-align: 1px; }
.ticket-work { margin-top: 10px; }
.ticket-work .mono-label { margin: 0 0 4px; }
.uc-side { display: none; }
.uc-side .cap { max-width: 40ch; }
.uc-entry { padding-block: 64px; border-top: 1px solid var(--line); }
.uc-entry:first-child { padding-top: 0; border-top: 0; }
.uc-n { font: 500 .875rem/1 var(--mono); color: var(--text-accent); }
.uc-entry h2 { font-size: 1.75rem; margin: 12px 0 8px; }
.uc-entry .mono-label { margin: 22px 0 8px; color: var(--muted); }
.uc-day { max-width: 58ch; }
.uc-inline { margin-top: 28px; max-width: 420px; }
@media (min-width: 1024px) {
  .uc-fan-fig { grid-column: 7 / 13; }
  .uc-side { display: block; grid-column: 1 / 6; position: sticky; top: 120px; align-self: start; }
  .uc-list { grid-column: 6 / 13; }
  .uc-inline { position: absolute !important; width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); }
}
@media (max-width: 1023px) { .uc-fan-fig .stage { max-width: 620px; } }
.parts-fig { margin: 56px 0 0; }
.parts-fig .stage { --ar: 1 / .44; }
.pt-a, .pt-a-gs { left: 0; top: 16%; width: 44%; }
.pt-c, .pt-c-gs { left: 56%; top: 16%; width: 44%; }
.pt-a { --tf: rotateY(16deg); } .pt-c { --tf: rotateY(-16deg); }
.pt-a-gs, .pt-c-gs { height: 62%; }
.pt-b, .pt-b-gs { left: 40.5%; top: 0; width: 19%; }
.pt-b-gs { top: 8%; height: 86%; }
.pt-map { aspect-ratio: 1266 / 716; }
@media (max-width: 767px) {
  .parts-fig .stage { --ar: 1 / .56; }
  .pt-b, .pt-b-gs { left: 37%; width: 26%; }
}

/* ---------------------------------------------------------------- pricing */
.value { margin-top: 32px; padding-left: 16px; border-left: 2px solid var(--brand); max-width: 46ch; font: 500 1rem/1.55 var(--mono); color: var(--text-accent); }
.pr-plans { padding-bottom: 48px; }
.pr-plans h2 { font-size: clamp(1.625rem, 2.6vw, 2.25rem); }
.pr-std, .pr-pre { border-radius: 20px; padding: clamp(24px, 4vw, 48px); min-width: 0; }
.pr-std { background: var(--surface); border: 1px solid var(--line); }
.pr-pre { display: grid; gap: 40px; }
.pr-list { margin: 28px 0; border-top: 1px solid var(--line); }
.pr-list li, .pr-intro { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.pr-intro { margin-top: 24px; padding: 0; border: 0; font-weight: 700; }
.pr-intro + .pr-list { margin-top: 16px; }
.pr-pre .pr-list li:not(:has(.n)) { padding-left: 34px; }
.pr-pre .n { flex: none; display: grid; place-items: center; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--badge); color: var(--on-brand); font: 500 11px/1 var(--mono); }
.fit { margin-bottom: 28px; font-weight: 700; }
.fit a { color: var(--text-accent); text-underline-offset: 4px; white-space: nowrap; }
.honest { margin-bottom: 28px; font: 400 .8125rem/1.6 var(--mono); color: var(--muted); }
.pr-custom { margin-top: 40px; font-weight: 700; font-size: 1.1875rem; }
.pr-stack-fig { margin: 0; min-width: 0; }
.pr-stack-fig { padding-top: 24px; border-top: 1px solid var(--line); container-type: inline-size; }
.pr-stack-fig .stage { --ar: 1 / .8; max-width: 620px; }
.stk { left: 4%; top: 52%; width: 38%; aspect-ratio: 1.5; }
.stk-p { position: relative; width: 100%; height: 100%; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); transform-style: preserve-3d; }
.stk:first-child .stk-p { background: var(--sunk); }
.stk-img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: cover; object-position: left top; border-radius: 8px; box-shadow: 0 0 0 1px var(--line); }
.stk:last-child .stk-p { border-color: var(--sky); }
.stk-l { position: absolute; left: 100%; top: 100%; display: flex; align-items: flex-start; gap: 8px; width: max-content; max-width: min(230px, 36cqw); transform-origin: 0 0;
  transform: rotateZ(calc(38deg * var(--k))) rotateX(calc(-56deg * var(--k))) translate(14px, -50%);
  font: 500 11.5px/1.35 var(--mono); color: var(--ink); }
.stk-l b { flex: none; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--badge); color: var(--on-brand); font-size: 10px; }
@media (min-width: 1024px) {
  .pr-grid { align-items: start; }
  .pr-std { grid-column: 1 / 6; }
  .pr-pre { grid-column: 6 / 13; border-radius: 20px 0 0 20px; padding-right: calc(var(--bleed) + 40px); }
}
@media (max-width: 1023px) { .pr-pre { margin-inline: calc(-1 * var(--gutter)); border-radius: 0; } }
.pr-pre { box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 767px) {
  .stk-l { display: none; }
  .pr-stack-fig .stage { --ar: 1 / 1.05; }
  .stk { left: 22%; top: 64%; width: 52%; }
  .stk-list { position: static !important; width: auto; height: auto; overflow: visible; clip: auto; clip-path: none; white-space: normal;
    display: grid; gap: 8px; counter-reset: k; font: 500 .8125rem/1.4 var(--mono); }
  .stk-list li { counter-increment: k; display: flex; gap: 10px; }
  .stk-list li::before { content: counter(k); flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--badge); color: var(--on-brand); font-size: 10px; }
}
.compare tbody th { font-weight: 700; width: 32%; }
.compare td { width: 34%; }
.compare td a { color: var(--text-accent); font-weight: 700; }
@media (min-width: 768px) { .pr-compare .table-wrap { overflow: visible; } }
@media (max-width: 767px) {
  table.compare, .compare tbody, .compare caption { display: block; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .compare tr { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .compare tbody th, .compare td { width: auto; padding: 0; border: 0; }
  .compare tbody th { grid-column: 1 / -1; }
  .compare td::before { content: attr(data-l); display: block; font: 500 11px/1.8 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
}
.faq-list { border-top: 1px solid var(--line); }
@media (min-width: 1024px) { .faq-head { grid-column: 1 / 5; } .faq-list { grid-column: 5 / 13; } }

/* ---------------------------------------------------------------- demo and contact */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3vw, 36px); }
.form-card > h2 { margin-bottom: 24px; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.field legend { padding: 0; margin-bottom: 8px; }
.form-foot { display: grid; justify-items: start; gap: 14px; }
.privacy-line, .mailto { color: var(--muted); }
.privacy-line a, .mailto a { color: var(--ink); }
.mailto { margin-top: 16px; font: 400 .8125rem/1.6 var(--mono); }
.sent { padding: 8px 0; }
.sent h2 { margin-bottom: 12px; font-size: 2rem; }
.sent p { color: var(--muted); }
@media (min-width: 1024px) {
  .demo-copy { grid-column: 1 / 7; }
  .demo .form-col { grid-column: 8 / 13; }
  .ct-side { grid-column: 1 / 6; }
  .contact .form-col { grid-column: 7 / 13; }
}
@media (min-width: 1024px) and (min-height: 880px) {
  .demo .form-col { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; }
}
.agenda-wrap { display: grid; gap: 32px; margin-top: 56px; }
.ag-clock { position: sticky; top: calc(var(--nav-h) + 8px); z-index: 3; margin: 12px 0 4px; padding: 8px 0; background: var(--paper); font: 500 clamp(2.5rem, 5vw, 4rem)/1 var(--mono); letter-spacing: -.02em; }
html:not(.js) .ag-clock { display: none; }
.ag-run { position: relative; z-index: 0; }
.ag-run::before { content: ""; position: absolute; left: calc(4.25rem + 4px); top: 26px; bottom: 26px; width: 2px; background: var(--route); border-radius: 2px; }
.ag-run li { position: relative; display: grid; grid-template-columns: 4.25rem 1fr; gap: 20px; padding: 16px 0; }
.ag-run li + li { border-top: 1px solid var(--line); }
.ag-run li::before { content: ""; position: absolute; left: 4.25rem; top: 22px; width: 10px; height: 10px; border-radius: 50%; background: var(--st-scheduled); box-shadow: 0 0 0 3px var(--paper); }
.ag-run li > div { padding-left: 16px; }
.ag-run .ag-end::before { background: var(--paper); border: 2px solid var(--route); }
.ag-t { font: 500 .875rem/1.65 var(--mono); color: var(--text-accent); }
.ag-phone { display: none; margin: 0; }
.ag-phone figcaption { margin-top: 12px; }
@media (min-width: 1200px) {
  .agenda-wrap { grid-template-columns: minmax(0, 1fr) 150px; align-items: start; }
  .ag-phone { display: block; position: sticky; top: 120px; transform: perspective(1200px) rotateY(-10deg) rotateX(4deg); }
}
.next-h { margin-top: 56px; }
.steps { counter-reset: s; display: grid; gap: 12px; margin-top: 16px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; border: 1px solid var(--line); font: 500 .75rem/1 var(--mono); color: var(--text-accent); }
.aside { margin-top: 28px; padding-left: 16px; border-left: 2px solid var(--line); max-width: 52ch; font: 400 .875rem/1.6 var(--mono); color: var(--muted); }
.ct-stage { margin-top: 48px; max-width: 470px; }
.ct-ticket { transform-style: preserve-3d; padding: 22px 24px 20px; }
.ct-ticket .spec { margin-top: 14px; }
.ct-ticket .spec > div { grid-template-columns: 6.5rem minmax(0, 1fr); padding: 12px 0; }
.ct-ticket dd a { font-weight: 700; color: var(--text-accent); overflow-wrap: anywhere; }
@media (max-width: 380px) { .ct-ticket .spec > div { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px) { .ct-stage .rig { transform: none !important; } }
.ct-z1 { transform: translateZ(20px); }
.ct-z2 { transform: translateZ(40px); }
.ct-foot { margin-top: 14px; }

/* ---------------------------------------------------------------- legal and thanks */
.legal-grid { padding-block: 64px 112px; }
.toc { display: none; }
.toc ol { display: grid; gap: 2px; margin-top: 12px; font-size: .875rem; line-height: 1.35; }
.toc a { display: block; padding: 6px 0; text-decoration: none; color: var(--muted); }
.toc a:hover { color: var(--ink); }
.legal-col { min-width: 0; }
.legal { max-width: 68ch; }
.legal-eyebrow { font: 500 12px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-accent); }
.legal h1 { margin: 14px 0 20px; font: 800 clamp(2.25rem, 4.4vw, 3.5rem)/1.04 var(--sans); letter-spacing: -.03em; }
.legal-meta { font: 400 .8125rem/1.6 var(--mono); color: var(--muted); }
.legal h2 { max-width: none; margin: 52px 0 6px; font-size: clamp(1.375rem, 2.2vw, 1.625rem); scroll-margin-top: 96px; }
.legal p { margin-top: 14px; }
.legal-meta + p:not(.legal-meta) { margin-top: 28px; }
.legal a, .legal-q a { color: var(--text-accent); text-underline-offset: 3px; }
.legal code { font: .875em var(--mono); }
.legal table { width: 100%; margin-top: 18px; border-collapse: collapse; font-size: .9375rem; }
.legal th, .legal td { padding: 10px 14px 10px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal th { font: 500 11.5px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.legal-q { max-width: 68ch; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); font-weight: 700; }
@media (min-width: 1024px) {
  .toc { display: block; grid-column: 1 / 4; position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; max-height: calc(100svh - var(--nav-h) - 80px); overflow-y: auto; }
  .legal-col { grid-column: 4 / 11; }
}
@media (max-width: 639px) {
  /* rows stack as label and value, so nothing hides past the edge */
  .legal table, .legal tbody, .legal tr, .legal td { display: block; }
  .legal thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .legal tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .legal td { padding: 2px 0; border: 0; }
  .legal td:first-child { font-weight: 700; }
  .legal td:not(:first-child)::before { content: attr(data-l) " · "; font: 500 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
}
.page-thanks main { min-height: calc(100svh - var(--nav-h) - 1px); display: grid; place-items: center; padding: 96px 0; text-align: center; }
.page-thanks .h1 { margin: 0 auto 20px; }
.page-thanks p { color: var(--muted); }
.page-thanks p + p { margin-top: 8px; }
.page-thanks p a { color: var(--ink); }
.nf-route .ok circle, .nf-route .ok path { fill: none; stroke: var(--st-done); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@media print {
  :root, .band-ink { --paper: #fff; --surface: #fff; --ink: #000; --muted: #333; --line: #bbb; --text-accent: #000; }
  .legal-grid { display: block; padding: 0; }
  .legal, .legal-q { max-width: none; }
  .legal a { color: #000; }
}
.uc-parts .lede { margin-top: 20px; }
@media (max-width: 767px) {
  .fan-t { left: 12%; width: 66%; }
  .fan-t .ticket-when, .fan-t .ticket-lines li + li { display: none; }
  .fan-t .ticket { padding: 12px 14px; font-size: .75rem; }
  .fan-t .ticket-perf { display: none; }
  .fan-t .ticket-cust { margin-top: 8px; }
}
