/* Tracepoint public site. One stylesheet, self-hosted type, a locked dark theme to match
   the product it demonstrates, one accent (cyan) for the live state and one second colour
   (brass) reserved for anything sealed. Three type voices: Archivo for display lines, Geist
   for text, Geist Mono for labels, figures and identifiers. Radii: controls 4px, panels
   10px, frames 12px. One easing curve everywhere. */

@font-face { font-family: 'Geist'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/geist-sans-variable.woff2') format('woff2'); }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/geist-mono-variable.woff2') format('woff2'); }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url('/fonts/archivo-variable.woff2') format('woff2'); }

:root {
  /* a dark ramp wide enough to read on a dim office monitor */
  --ground: #070809;
  --ground-2: #0C0E11;
  --surface: #13161A;
  --raised: #1C2026;
  --line: rgba(255,255,255,0.11);
  --line-2: rgba(255,255,255,0.18);
  --ink: #EEF1F4;
  --dim: #A3AAB5;
  --faint: #808892;
  --accent: #22C9E6;
  --accent-bright: #5FE3F5;
  --accent-ink: #06181D;
  --accent-soft: rgba(34,201,230,0.10);
  --accent-line: rgba(95,227,245,0.30);
  /* brass means sealed. It appears on the seal node, the root digest and a sealed row, nowhere else. */
  --seal: #C9A24B;
  --seal-bright: #E2C169;
  --seal-soft: rgba(201,162,75,0.12);
  --seal-line: rgba(201,162,75,0.42);
  --go: #5FD39A; --warn: #F5C86B; --stop: #FF7A85;
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --display: 'Archivo', 'Geist', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --r-ui: 4px; --r-panel: 10px; --r-frame: 12px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --t-hover: .16s; --t-state: .4s; --t-enter: .55s;
  --paper: #EAE5D8; --paper-2: #E2DCCC; --paper-ink: #141A28; --paper-dim: rgba(20,26,40,0.74); --paper-line: rgba(20,26,40,0.16); --paper-accent: #075C6B;
  --band-bg: #0A2028; --band-bg-2: #0D1418; --band-line: rgba(95,227,245,0.16);
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
}
@media (min-width: 1600px) { :root { --wrap: 1400px; } }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ground); color: var(--ink); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html.menu-open { overflow: hidden; }
body {
  margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; background: var(--ground); color: var(--ink);
  font-feature-settings: 'ss01', 'cv11'; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-bright); text-decoration: none; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
p { margin: 0 0 1em; }
p, li, figcaption, dd { text-wrap: pretty; }

/* ── the type scale: four sizes, a real gap between them, display lines in Archivo ─── */
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--display); font-stretch: 108%; font-weight: 460; letter-spacing: -0.035em; line-height: 0.98; }
h1 { font-size: clamp(42px, 6.2vw, 92px); letter-spacing: -0.04em; line-height: 0.96; }
h2 { font-size: clamp(30px, 3vw, 40px); }
.h2-major { font-size: clamp(38px, 4.4vw, 62px); letter-spacing: -0.04em; line-height: 0.96; }
.h1-compact { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -0.03em; line-height: 1.05; }
h3 { font-family: var(--sans); font-size: 26px; font-weight: 500; letter-spacing: -0.022em; line-height: 1.2; }
h4 { font-size: 15px; font-weight: 600; letter-spacing: 0; }
.panel h3, .cols h3, .step h3, .path b { font-size: 21px; }
strong { font-weight: 600; color: var(--ink); }
code, .mono { font-family: var(--mono); font-size: 0.92em; }
.num, td, .mono, .stats b, .bigfig b, .tier .price { font-variant-numeric: tabular-nums; }
::selection { background: rgba(95,227,245,0.28); color: #fff; }
:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 16px; top: -60px; padding: 10px 14px; background: var(--accent); color: var(--accent-ink); border-radius: var(--r-ui); font-weight: 600; z-index: 100; }
.skip:focus { top: 12px; }
.scroll-probe { position: absolute; top: 0; height: 1px; width: 1px; pointer-events: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 820px; }

/* ── scroll progress (scroll-driven where the browser has it) and the hiding header ── */
.scan { position: fixed; top: 0; left: 0; right: 0; height: 2px; background: var(--accent-bright); transform-origin: 0 50%; transform: scaleX(0); z-index: 50; pointer-events: none; box-shadow: 0 0 12px rgba(95,227,245,0.6); }
@supports (animation-timeline: scroll()) {
  .scan { animation: scan-grow linear both; animation-timeline: scroll(root block); }
  @keyframes scan-grow { to { transform: scaleX(1); } }
}
.top { transition: transform .5s var(--ease), border-color var(--t-state) var(--ease); }
.top.hide { transform: translateY(-100%); }

/* ── header ──────────────────────────────────────────────────────────────── */
.top { position: sticky; top: 0; z-index: 40; background: rgba(7,8,9,0.72); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-bottom: 1px solid transparent; }
.top.scrolled { border-bottom-color: var(--line); }
@media (prefers-reduced-transparency: reduce) { .top { background: var(--ground); backdrop-filter: none; -webkit-backdrop-filter: none; } }
.top-row { height: 64px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 50%; }
.topnav { display: flex; gap: 4px; justify-content: center; }
.topnav a { color: var(--dim); font-size: 14.5px; font-weight: 500; padding: 8px 12px; border-radius: var(--r-ui); transition: color var(--t-hover) var(--ease), background var(--t-hover) var(--ease); }
.topnav a:hover { color: var(--ink); text-decoration: none; background: rgba(255,255,255,0.05); }
.topnav a[aria-current="page"] { color: var(--ink); }
.top-actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
/* the accent is spent once per screen: the header button is quiet until the hero has scrolled past */
.top-actions .btn { background: transparent; border-color: var(--line-2); color: var(--ink); box-shadow: none; transition: background var(--t-state) var(--ease), color var(--t-state) var(--ease), border-color var(--t-state) var(--ease); }
.top-actions .btn:hover { background: rgba(255,255,255,0.08); }
.top.scrolled .top-actions .btn { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.top.scrolled .top-actions .btn:hover { background: var(--accent-bright); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; border-radius: var(--r-ui); position: relative; cursor: pointer; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease); top: 17px; }
.menu-btn span + span { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span + span { transform: translateY(-4px) rotate(-45deg); }
.mobile-nav { display: none; }
@media (max-width: 900px) {
  .top-row { grid-template-columns: auto 1fr; }
  .topnav, .top-actions .btn { display: none; }
  .menu-btn { display: block; }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav { display: flex; flex-direction: column; gap: 2px; padding: 10px 16px 24px; border-top: 1px solid var(--line); background: var(--ground); height: calc(100dvh - 64px); overflow: auto; }
  .mobile-nav a { padding: 14px 8px; color: var(--ink); font-size: 20px; font-weight: 500; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(10px); transition: opacity var(--t-enter) var(--ease), transform var(--t-enter) var(--ease); }
  .mobile-nav:not([hidden]) a { opacity: 1; transform: none; }
  .mobile-nav a:nth-child(2) { transition-delay: 40ms; } .mobile-nav a:nth-child(3) { transition-delay: 80ms; } .mobile-nav a:nth-child(4) { transition-delay: 120ms; } .mobile-nav a:nth-child(n+5) { transition-delay: 150ms; }
  .mobile-nav a.strong { color: var(--accent-bright); }
}

/* ── buttons: document controls, 4px corners ─────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: var(--r-ui); font-weight: 600; font-size: 15px; color: var(--ink); background: rgba(255,255,255,0.06); border: 1px solid var(--line-2); transition: background var(--t-hover) var(--ease), transform var(--t-hover) var(--ease), border-color var(--t-hover) var(--ease); white-space: nowrap; }
.btn:hover { text-decoration: none; background: rgba(255,255,255,0.1); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: var(--accent); color: var(--accent-ink); border-color: transparent; box-shadow: 0 0 0 1px var(--accent-line), 0 10px 30px -12px rgba(34,201,230,0.55); }
.btn-primary:hover { background: var(--accent-bright); }
.btn-lg { height: 52px; padding: 0 24px; font-size: 16px; }
.btn .arrow { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(0,0,0,0.14); margin-right: -6px; transition: transform .35s var(--ease); }
.btn:not(.btn-primary) .arrow { background: rgba(255,255,255,0.08); }
.btn:hover .arrow { transform: translateX(2px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.textlink { font-weight: 500; display: inline-block; padding: 6px 0; }
.textlink::after { content: ' \2192'; }

/* ── section rhythm: constant padding, the ground does the work, rules are drawn ─── */
section { padding: clamp(72px, 8vw, 128px) 0; position: relative; }
section.tight { padding-block: clamp(48px, 6vw, 80px); }
section.wide { padding-block: clamp(96px, 12vw, 176px); }
section + section::before { content: ''; display: block; position: absolute; top: 0; left: 50%; width: min(100% - 2 * var(--gutter), var(--wrap) - 2 * var(--gutter)); transform: translateX(-50%); border-top: 1px solid var(--line-2); }
.band::before, .paper::before, .band + section::before, .paper + section::before, section.hero + section::before, section.flush::before { display: none !important; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--dim); max-width: 640px; text-wrap: balance; }
.head { max-width: 800px; margin-bottom: clamp(36px, 5vw, 64px); }
.head p { color: var(--dim); font-size: 18px; margin-top: 18px; max-width: 640px; }
.head .eyebrow + h2, .head .eyebrow + h1 { margin-top: 0; }
.hero .lede + .actions, .hero .actions { margin-top: 30px; }

/* the mono eyebrow with its rule and a record code, on every section head on every page */
.eyebrow { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-bright); margin: 0 0 22px; font-weight: 500; display: flex; align-items: baseline; gap: 12px; line-height: 1.5; }
.eyebrow::before { content: ''; width: 34px; height: 1px; background: var(--accent-bright); flex: 0 0 auto; align-self: baseline; position: relative; top: -0.34em; }
.eyebrow .rec { color: var(--faint); margin-right: 4px; }
.muted { color: var(--dim); }
.small { font-size: 14.5px; color: var(--faint); }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ── panels ──────────────────────────────────────────────────────────────── */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 28px; box-shadow: 0 1px 0 rgba(255,255,255,0.09) inset; transition: border-color var(--t-state) var(--ease); }
.panel:hover { border-color: var(--line-2); }
.panel h3 { margin-bottom: 10px; }
.panel p:last-child { margin-bottom: 0; }
.panel .muted { font-size: 15.5px; }
.panel.accent { border-color: var(--accent-line); background: linear-gradient(180deg, rgba(34,201,230,0.09), rgba(34,201,230,0.03)); }

/* ── the frame: a lit object. Light does the separating, since black shadows vanish on black ── */
.frame { position: relative; background: var(--surface); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--r-frame); padding: 6px; isolation: isolate;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.03), 0 0.5px 0 0 rgba(255,255,255,0.12) inset, 0 2px 2px -1px rgba(0,0,0,0.6), 0 24px 70px -40px rgba(34,201,230,0.35); }
.frame::before { content: ''; position: absolute; inset: -14% -8% -20%; background: radial-gradient(60% 55% at 50% 45%, rgba(34,201,230,0.16), transparent 70%); filter: blur(28px); z-index: -1; pointer-events: none; }
.frame > .inner { border-radius: calc(var(--r-frame) - 6px); overflow: hidden; background: #000; border: 1px solid rgba(255,255,255,0.06); }
.frame img { width: 100%; }
.frame.quiet::before { display: none; }
.frame.quiet { box-shadow: 0 0.5px 0 0 rgba(255,255,255,0.12) inset, 0 2px 2px -1px rgba(0,0,0,0.6); }

/* a figure with a record line: number, route, identifier, digest. The image is a record of a run. */
figure.fig { margin: 0; }
figure.fig figcaption { font-family: var(--mono); font-size: 11.5px; line-height: 1.5; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 10px 2px 0; border-top: 1px solid var(--line); margin-top: 12px; }
figure.fig figcaption b { font-weight: 500; color: var(--dim); }
figure.fig figcaption .live { margin-left: auto; color: var(--go); white-space: nowrap; }
figure.fig figcaption .live::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: currentColor; vertical-align: 1px; }
.paper figure.fig figcaption { border-color: var(--paper-line); color: var(--paper-dim); }
.paper figure.fig figcaption b { color: var(--paper-ink); }

/* ── grounds: dark, deeper, a cyan-inked band, and paper for the published record ──── */
.band { background: radial-gradient(120% 80% at 50% 0%, rgba(34,201,230,0.16), transparent 60%), var(--band-bg); border-top: 1px solid var(--band-line); border-bottom: 1px solid var(--band-line); }
.band .compare, .band .panel, .band .table-scroll, .band .trail { background: rgba(7,8,9,0.6); border-color: rgba(95,227,245,0.16); }
.band .compare .row:first-child { background: rgba(255,255,255,0.04); }
.band-2 { background: var(--band-bg-2); }
.band { position: relative; }
.band > .wrap { position: relative; z-index: 1; }
.tex-topo { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; opacity: 0.6; mask-image: radial-gradient(80% 70% at 50% 50%, #000 30%, transparent 100%); -webkit-mask-image: radial-gradient(80% 70% at 50% 50%, #000 30%, transparent 100%); }
.tex-topo svg { width: 100%; height: 100%; display: block; }
/* the drafting grid: neutral hairlines, a linear fade, the same material wherever it appears */
.grid-ground::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center top;
  -webkit-mask-image: linear-gradient(#000 0%, #000 50%, transparent 100%); mask-image: linear-gradient(#000 0%, #000 50%, transparent 100%); }
.grid-ground > .wrap { position: relative; z-index: 1; }

.paper { background: var(--paper); color: var(--paper-ink); border-top: 1px solid var(--paper-line); border-bottom: 1px solid var(--paper-line); }
.paper h1, .paper h2, .paper h3, .paper h4, .paper strong, .paper b { color: var(--paper-ink); }
.paper .head p, .paper .defs p, .paper .muted, .paper .lede, .paper .cols p, .paper .step p, .paper td, .paper .small { color: var(--paper-dim); }
.paper .defs, .paper .defs > div, .paper .cols > div, .paper .step { border-color: var(--paper-line); }
.paper a { color: var(--paper-accent); }
.paper .eyebrow { color: var(--paper-accent); } .paper .eyebrow::before { background: var(--paper-accent); } .paper .eyebrow .rec { color: rgba(20,26,40,0.5); }
.paper .table-scroll, .paper .panel, .paper .hgrid > .panel { background: rgba(255,255,255,0.45); border-color: var(--paper-line); color: var(--paper-ink); box-shadow: none; }
.paper .hgrid { background: var(--paper-line); border-color: var(--paper-line); }
.paper thead th { background: rgba(20,26,40,0.06); color: rgba(20,26,40,0.6); }
.paper th, .paper td { border-color: var(--paper-line); }
.paper td:first-child { color: var(--paper-ink); }
.paper td strong { color: var(--paper-accent); }
.paper .step .k { color: var(--paper-accent); }
.paper .step .k i { -webkit-text-stroke-color: rgba(20,26,40,0.28); }
.paper .path { background: rgba(255,255,255,0.45); border-color: var(--paper-line); }
.paper .path .n { color: var(--paper-accent); } .paper .path span { color: var(--paper-dim); }
.paper .btn { color: var(--paper-ink); border-color: rgba(20,26,40,0.3); background: rgba(255,255,255,0.35); }
.paper .btn-primary { background: var(--paper-accent); color: #fff; border-color: transparent; box-shadow: none; }
.paper ::selection { background: rgba(7,92,107,0.22); color: var(--paper-ink); }
.paper .textlink { color: var(--paper-accent); }
.paper .bigfig b { color: var(--paper-ink); } .paper .bigfig span, .paper .stats span { color: var(--paper-dim); }
.paper .stats { border-color: var(--paper-line); } .paper .stats > div { border-color: var(--paper-line); } .paper .stats b { color: var(--paper-ink); }

/* ── hero ────────────────────────────────────────────────────────────────── */
.hero { padding: clamp(40px, 6vw, 88px) 0 clamp(48px, 6vw, 88px); position: relative; overflow: clip; }
.hero::before { content: ''; position: absolute; inset: -20% -10% auto; height: 70vh; background: radial-gradient(60% 60% at 50% 0%, rgba(34,201,230,0.11), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero-band { background: linear-gradient(180deg, #06171C 0%, #071216 55%, var(--ground) 100%); }
.hero-band::before { background: radial-gradient(50% 55% at 72% 18%, rgba(34,201,230,0.2), transparent 70%), radial-gradient(40% 40% at 10% 60%, rgba(34,201,230,0.06), transparent 70%); height: 90vh; }
.hero-band::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px); background-size: 64px 64px; background-position: center top; -webkit-mask-image: linear-gradient(#000 0%, #000 45%, transparent 100%); mask-image: linear-gradient(#000 0%, #000 45%, transparent 100%); pointer-events: none; }
.hero .eyebrow { margin-bottom: 26px; }
.hero h1 { max-width: 19ch; }
.hero .lede { margin: 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; margin-top: clamp(28px, 3.5vw, 48px); }
.hero-grid .actions { margin-top: 30px; }
.hero-grid > :first-child { padding-top: 6px; }
.hero-ledger { margin: 0; }
.hero-ledger figcaption { font-family: var(--mono); font-size: 11.5px; color: var(--faint); margin-top: 10px; line-height: 1.5; letter-spacing: 0.04em; text-transform: uppercase; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-ledger figcaption b { color: var(--dim); font-weight: 500; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } .hero h1 { max-width: none; } }

/* the hero media breaks the column and runs past the fold, fading through a mask on the image itself */
.hero-shot { margin-top: clamp(44px, 6vw, 80px); margin-bottom: calc(-1 * clamp(48px, 6vw, 88px)); position: relative; margin-inline: calc(50% - 50vw); padding-inline: var(--gutter); }
@media (min-width: 1500px) { .hero-shot { margin-inline: calc(50% - 720px); padding-inline: 0; } }
.hero-shot .frame { border-radius: var(--r-frame) var(--r-frame) 0 0; border-bottom: 0; padding-bottom: 0; }
.hero-shot .frame > .inner { border-radius: calc(var(--r-frame) - 6px) calc(var(--r-frame) - 6px) 0 0; border-bottom: 0; }
.hero-shot .media { position: relative; -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 98%); mask-image: linear-gradient(to bottom, #000 60%, transparent 98%); }
.hero-shot .media img { width: 100%; }
.hero-shot .media picture img { width: 100%; }
/* the film: a recording of the application, played once, held on its last frame; the still is the poster */
.film > .frame > .inner { position: relative; }
.film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transition: opacity .6s var(--ease); }
.film.rolling video { opacity: 1; }
.film-ctl { position: absolute; right: 14px; bottom: 14px; z-index: 2; height: 34px; padding: 0 12px 0 10px; display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); background: rgba(7,8,9,0.72); border: 1px solid var(--line-2); border-radius: var(--r-ui); cursor: pointer; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: border-color var(--t-hover) var(--ease), background var(--t-hover) var(--ease); }
.film-ctl:hover { border-color: var(--accent-line); background: rgba(7,8,9,0.85); }
.film-ctl[hidden] { display: none; }
.film-ctl::before { content: ''; width: 0; height: 0; border-style: solid; }
.film-ctl[data-state="play"]::before, .film-ctl[data-state="replay"]::before { border-width: 5px 0 5px 8px; border-color: transparent transparent transparent var(--accent-bright); }
.film-ctl[data-state="pause"]::before { width: 8px; height: 10px; border-width: 0 2.5px; border-color: var(--accent-bright); border-style: solid; }
.film-ctl[data-state="play"]::after { content: 'Play'; } .film-ctl[data-state="pause"]::after { content: 'Pause'; } .film-ctl[data-state="replay"]::after { content: 'Replay'; }
.film-cap { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 12px 2px 0; }
.film-cap b { color: var(--dim); font-weight: 500; }
@media (prefers-reduced-motion: reduce) { .film video { display: none; } .film-ctl { display: none; } }
html.still .film video { display: none; }

/* the ledger drawing: one line through every row, drawn once, resting on a brass seal */
.trailgraph { width: 100%; height: auto; display: block; overflow: visible; }
.trailgraph .tg-lane { font-family: var(--mono); font-size: 16px; fill: var(--dim); letter-spacing: 0.06em; text-transform: uppercase; }
.trailgraph .tg-seal-label { font-family: var(--mono); font-size: 16px; fill: var(--seal-bright); letter-spacing: 0.08em; text-transform: uppercase; }
.trailgraph .tg-tick { font-family: var(--mono); font-size: 11px; fill: rgba(128,136,146,0.7); }
.trailgraph .tg-cap { font-family: var(--mono); font-size: 11.5px; fill: var(--faint); }
.trailgraph .tg-rule { stroke: rgba(255,255,255,0.14); stroke-width: 1; stroke-dasharray: 2 6; }
.trailgraph .tg-path { fill: none; stroke: var(--accent-bright); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1000; stroke-dashoffset: 1000; filter: drop-shadow(0 0 6px rgba(95,227,245,0.45)); }
.trailgraph .tg-dot { fill: var(--accent-bright); opacity: 0; }
.trailgraph .tg-halo { fill: rgba(95,227,245,0.16); opacity: 0; transform-box: fill-box; transform-origin: center; }
.trailgraph .tg-seal-ring { fill: none; stroke: var(--seal-bright); stroke-width: 1.5; opacity: 0; }
.trailgraph .tg-seal .tg-dot { fill: var(--seal-bright); }
.trailgraph .tg-seal .tg-halo { fill: var(--seal-soft); }
.trailgraph .tg-seal .tg-tick-mark { stroke: var(--seal-bright); stroke-width: 1.5; opacity: 0; }
.in .trailgraph .tg-path, .no-js .trailgraph .tg-path { animation: tg-draw 2.6s var(--ease) forwards; }
.in .trailgraph .tg-node .tg-dot, .in .trailgraph .tg-seal .tg-dot { animation: tg-pop .5s var(--ease) forwards; animation-delay: calc(0.2s + var(--i) * 0.12s); }
.in .trailgraph .tg-node .tg-halo { animation: tg-settle 1.4s var(--ease) forwards; animation-delay: calc(0.25s + var(--i) * 0.12s); }
.in .trailgraph .tg-seal .tg-halo { animation: tg-pop .8s var(--ease) forwards; animation-delay: calc(0.3s + var(--i) * 0.12s); }
.in .trailgraph .tg-seal-ring, .in .trailgraph .tg-seal .tg-tick-mark { animation: tg-pop .6s var(--ease) forwards; animation-delay: calc(0.4s + var(--i) * 0.12s); }
@keyframes tg-draw { to { stroke-dashoffset: 0; } }
@keyframes tg-pop { from { opacity: 0; transform: scale(0.4); transform-box: fill-box; transform-origin: center; } to { opacity: 1; transform: scale(1); } }
@keyframes tg-settle { 0% { opacity: 0.6; transform: scale(0.5); } 100% { opacity: 0; transform: scale(1.6); } }
@media (prefers-reduced-motion: reduce) {
  .trailgraph .tg-path { stroke-dashoffset: 0; animation: none; }
  .trailgraph .tg-dot, .trailgraph .tg-seal-ring, .trailgraph .tg-seal .tg-tick-mark { opacity: 1; animation: none; }
  .trailgraph .tg-halo { animation: none; opacity: 0; }
  .trailgraph .tg-seal .tg-halo { opacity: 1; }
}

/* ── proof numbers on rules, in the display face, never in boxes ───────────── */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line); }
.stats > div { padding: 30px 24px 28px; border-left: 1px solid var(--line); min-width: 0; }
.stats > div:first-child { border-left: 0; padding-left: 0; }
.stats b { display: block; font-family: var(--display); font-stretch: 105%; font-size: clamp(34px, 3.4vw, 50px); font-weight: 420; letter-spacing: -0.035em; line-height: 1; color: var(--ink); white-space: nowrap; }
.stats > div.lead b { font-size: clamp(48px, 5.4vw, 80px); }
.stats > div.long b { font-size: clamp(28px, 2.7vw, 40px); padding-top: 0.2em; }
.stats span { display: block; margin-top: 12px; font-size: 14.5px; line-height: 1.45; color: var(--dim); }
.stats-src { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--faint); padding: 14px 0 0; margin: 0; }
.facts { padding: clamp(28px, 4vw, 48px) 0 0; position: relative; z-index: 2; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } .stats > div { padding: 22px 16px; } .stats > div:nth-child(odd) { border-left: 0; padding-left: 0; } .stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 640px) { .stats b, .stats > div.lead b { font-size: 34px; } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } .stats > div, .stats > div:nth-child(odd) { border-left: 0; padding-left: 0; border-bottom: 1px solid var(--line); } .stats > div:last-child { border-bottom: 0; } }

/* one enormous figure per page, with the working beneath it */
.bigfig { margin: 0 0 clamp(28px, 4vw, 48px); padding: 0; }
.bigfig b { display: block; font-family: var(--display); font-stretch: 108%; font-size: clamp(84px, 13vw, 190px); font-weight: 400; letter-spacing: -0.05em; line-height: 0.9; color: var(--ink); }
.bigfig b small { font-size: 0.42em; font-weight: 400; letter-spacing: -0.03em; color: var(--dim); margin-left: 0.08em; }
.bigfig span { display: block; margin-top: 18px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); max-width: 60ch; line-height: 1.6; }
.bigfig.right { text-align: right; } .bigfig.right span { margin-left: auto; }
.hero .bigfig { margin: 0; padding-bottom: 6px; }
@media (max-width: 900px) { .bigfig.right { text-align: left; } .bigfig.right span { margin-left: 0; } }

/* mono facts: the four things a contracting officer looks up first */
.facts-mono { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r-panel); overflow: hidden; background: var(--surface); }
.facts-mono > div { padding: 20px 22px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); min-width: 0; }
.facts-mono > div:nth-child(-n+2) { border-top: 0; } .facts-mono > div:nth-child(odd) { border-left: 0; }
.facts-mono b { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); font-weight: 500; margin-bottom: 8px; }
.facts-mono span { display: block; font-family: var(--sans); font-size: 18px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); line-height: 1.3; }
.facts-mono em { display: block; font-style: normal; color: var(--dim); font-size: 14px; margin-top: 4px; }
@media (max-width: 560px) { .facts-mono { grid-template-columns: 1fr; } .facts-mono > div { border-left: 0 !important; border-top: 1px solid var(--line) !important; } .facts-mono > div:first-child { border-top: 0 !important; } }

/* the price rail: four figures in the hero, the Pilot marked */
.tier-rail { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.tier-rail li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.tier-rail .n { font-weight: 500; color: var(--ink); font-size: 16px; }
.tier-rail .n em { display: block; font-style: normal; font-weight: 400; color: var(--dim); font-size: 14px; margin-top: 2px; }
.tier-rail .p { font-family: var(--display); font-stretch: 105%; font-size: clamp(28px, 2.6vw, 38px); font-weight: 420; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tier-rail .p small { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); margin-left: 8px; }
.tier-rail li.featured .n::before { content: 'Purchase card'; display: inline-block; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-bright); border: 1px solid var(--accent-line); border-radius: 3px; padding: 2px 6px; margin-right: 10px; vertical-align: 2px; }

/* ── the live demo block ─────────────────────────────────────────────────── */
.demo { position: relative; }
.demo .frame > .inner { position: relative; aspect-ratio: 16 / 10; background: #000; }
.demo iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; opacity: 0; transition: opacity .5s var(--ease); }
.demo.ready iframe { opacity: 1; }
.demo .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: opacity .5s var(--ease), transform .8s var(--ease); }
.demo.ready .poster { opacity: 0; pointer-events: none; }
.demo .veil { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, rgba(7,8,9,0.2), rgba(7,8,9,0.6)); transition: opacity var(--t-state) var(--ease); padding: 16px; }
.demo.live .veil { opacity: 0; pointer-events: none; }
.demo .veil-card { text-align: center; max-width: 440px; padding: 28px; background: rgba(19,22,26,0.86); border: 1px solid var(--line-2); border-radius: var(--r-panel); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.demo .veil-card p { color: var(--dim); font-size: 15px; margin: 12px 0 18px; }
.demo-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 4px 0; color: var(--faint); font-size: 14px; flex-wrap: wrap; }
.demo-bar .status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12.5px; color: var(--dim); }
.demo-bar .status i { width: 7px; height: 7px; border-radius: 50%; background: var(--go); box-shadow: 0 0 0 3px rgba(95,211,154,0.18); }
.page-demo .demo .frame > .inner { aspect-ratio: auto; height: calc(100dvh - 64px - 160px); min-height: 560px; }
.page-demo .hero { padding-top: 28px; }
.page-demo .hero h1 { margin-bottom: 14px; }
@media (max-width: 640px) {
  .demo .frame > .inner { aspect-ratio: auto; min-height: 340px; }
  .demo .veil-card { padding: 20px 18px; max-width: none; }
  .demo .veil-card h3 { font-size: 19px; }
  .demo .veil-card p { font-size: 14px; margin: 8px 0 14px; }
}

/* depth on hover: frames lift, rows light */
.step .frame, .grid .frame { transition: transform var(--t-state) var(--ease), border-color var(--t-state) var(--ease); }
.step:hover .frame, .grid .frame:hover { transform: translateY(-3px); border-color: rgba(95,227,245,0.3); }
.compare .row { transition: background var(--t-hover) var(--ease); }
.compare .row:hover:not(:first-child) { background: rgba(255,255,255,0.03); }

/* ── the format marquee: one slow strip, legible ───────────────────────────── */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ground-2); padding: 16px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 0; width: max-content; animation: tick 46s linear infinite; }
.marquee-track span { font-family: var(--mono); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(238,241,244,0.8); padding: 0 28px; white-space: nowrap; position: relative; }
.marquee-track span::after { content: ''; position: absolute; right: -2px; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); transform: translateY(-50%); }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce), (max-width: 640px) { .marquee { mask-image: none; -webkit-mask-image: none; } .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; row-gap: 10px; padding: 0 12px; } .marquee-track span { padding: 0 12px; } .marquee-track span:last-child::after { display: none; } }

/* ── hairline grids ──────────────────────────────────────────────────────── */
.hgrid { display: grid; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: var(--r-panel); overflow: hidden; }
.hgrid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hgrid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hgrid > .panel { border: 0; border-radius: 0; background: var(--surface); box-shadow: none; transition: background var(--t-state) var(--ease); }
.hgrid > .panel:hover { background: var(--raised); }
@media (max-width: 900px) { .hgrid-3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .hgrid-2 { grid-template-columns: 1fr; } }

/* ── the steps: outlined numerals, alternating sides, and on wide screens a pinned stage ── */
.steps { display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 84px minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; padding: 44px 0; border-top: 1px solid var(--line); align-items: center; position: relative; }
.step:first-child { border-top: 0; padding-top: 0; }
.step .k { font-family: var(--mono); font-size: 11.5px; color: var(--accent-bright); letter-spacing: 0.12em; text-transform: uppercase; padding-top: 4px; align-self: start; position: relative; }
.step .k i { display: block; font-family: var(--display); font-stretch: 105%; font-style: normal; font-size: 76px; line-height: 0.9; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1px rgba(95,227,245,0.34); font-weight: 500; margin-bottom: 10px; transition: color var(--t-state) var(--ease); }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--dim); font-size: 16px; }
.step .frame { padding: 5px; }
.step .frame > .inner { border-radius: calc(var(--r-frame) - 5px); }
.steps.alt .step:nth-child(even) { grid-template-columns: minmax(0, 1.2fr) 84px minmax(0, 1fr); }
.steps.alt .step:nth-child(even) > .k { order: 2; } .steps.alt .step:nth-child(even) > .body { order: 3; } .steps.alt .step:nth-child(even) > .fig, .steps.alt .step:nth-child(even) > .frame { order: 1; }
.steps.plain .step { grid-template-columns: 160px minmax(0, 1fr); }
@media (max-width: 900px) {
  .step, .steps.alt .step:nth-child(even), .steps.plain .step { grid-template-columns: 1fr; gap: 16px; }
  .steps.alt .step:nth-child(even) > .k { order: 1; } .steps.alt .step:nth-child(even) > .body { order: 2; } .steps.alt .step:nth-child(even) > .fig, .steps.alt .step:nth-child(even) > .frame { order: 3; }
  .step .k { padding-top: 0; } .step .k i { font-size: 56px; }
}
/* the stage: text on the left dims and brightens by scroll position, the rail fills, the crops wipe in */
@media (min-width: 901px) {
  .steps.is-live { position: relative; height: calc(var(--n) * 78vh + 100vh); }
  .steps.is-live .stage { position: sticky; top: 64px; height: calc(100dvh - 64px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
  .steps.is-live .stage-list { position: relative; padding-left: 28px; display: grid; gap: 4px; }
  .steps.is-live .step, .steps.is-live.alt .step:nth-child(even) { display: grid; grid-template-columns: minmax(0, 1fr) !important; padding: 12px 0 12px; border: 0; opacity: .3; transition: opacity var(--t-state) var(--ease); gap: 8px; }
  .steps.is-live .step > * { order: 0 !important; min-width: 0; }
  .steps.is-live .step.on { opacity: 1; }
  .steps.is-live .step > .frame, .steps.is-live .step > .fig { display: none; }
  .steps.is-live .step .k { display: flex; align-items: baseline; gap: 12px; padding: 0; }
  .steps.is-live .step .k i { font-size: 30px; margin: 0; }
  .steps.is-live .step.on .k i { color: var(--accent-bright); -webkit-text-stroke-color: transparent; }
  .steps.is-live .step p { font-size: 15px; margin: 0; max-height: 0; overflow: hidden; opacity: 0; transition: max-height var(--t-enter) var(--ease), opacity var(--t-enter) var(--ease); }
  .steps.is-live .step.on p { max-height: 240px; opacity: 1; }
  .steps.is-live .step h3 { margin: 0; font-size: 20px; }
  .stage-rail { position: absolute; left: 0; top: 8px; bottom: 8px; width: 1px; background: var(--line-2); }
  .stage-rail i { position: absolute; inset: 0; background: var(--accent-bright); transform-origin: top; transform: scaleY(0); box-shadow: 0 0 10px rgba(95,227,245,0.5); }
  .stage-view .inner { position: relative; aspect-ratio: 2 / 1; overflow: hidden; }
  .stage-view .inner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(100% 0 0 0); transform: scale(1.05); transition: clip-path .8s var(--ease), transform .8s var(--ease); }
  .stage-view .inner img.on { clip-path: inset(0); transform: none; }
  .stage-view figcaption { min-height: 42px; }
  .stage-view figcaption > span { display: none; }
  .stage-view figcaption > span.on { display: flex; flex-wrap: wrap; gap: 6px 16px; width: 100%; }
}

/* ── comparison ──────────────────────────────────────────────────────────── */
.compare { border: 1px solid var(--line); border-radius: var(--r-panel); overflow: hidden; background: var(--surface); }
.compare .row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); border-top: 1px solid var(--line); }
.compare .row:first-child { border-top: 0; background: var(--raised); }
.compare .row > div { padding: 18px 22px; font-size: 15px; color: var(--dim); }
.compare .row > div:first-child { color: var(--ink); font-weight: 500; }
.compare .row:first-child > div { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); font-weight: 500; }
.compare .us { color: var(--ink) !important; background: var(--accent-soft); }
.compare .row:first-child .us { color: var(--accent-bright) !important; }
@media (max-width: 720px) { .compare .row { grid-template-columns: 1fr; } .compare .row > div { padding: 12px 16px; } .compare .row:first-child { display: none; } .compare .row > div:nth-child(2)::before { content: 'Tracepoint  '; font-family: var(--mono); font-size: 12px; color: var(--accent-bright); } .compare .row > div:nth-child(3)::before { content: 'Platforms  '; font-family: var(--mono); font-size: 12px; color: var(--faint); } }

/* ── the trail: rows append, the sealed row is brass, the digest resolves ──── */
.trail { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--surface); overflow: hidden; font-family: var(--mono); font-size: 13.5px; }
.trail li { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 18px; padding: 13px 18px; border-top: 1px solid var(--line); transition: opacity var(--t-state) var(--ease), transform var(--t-state) var(--ease), background .6s var(--ease); color: var(--dim); }
.trail li:first-child { border-top: 0; }
.trail li.pending { opacity: 0; transform: translateY(8px); }
.trail li b { color: var(--ink); font-weight: 500; }
.trail li .who { color: var(--accent-bright); }
.trail li .t { color: var(--faint); }
.trail li.sealed { background: var(--seal-soft); }
.trail li.sealed .who, .trail li.sealed b { color: var(--seal-bright); }
.trail li.fresh { background: rgba(95,227,245,0.08); }
@media (max-width: 640px) { .trail li { grid-template-columns: 1fr; gap: 4px; } }
.digest { font-family: var(--mono); font-size: 13px; color: var(--seal-bright); word-break: break-all; padding: 14px 18px; border: 1px dashed var(--seal-line); border-radius: var(--r-ui); background: var(--seal-soft); min-height: 48px; }
.digest .caret { display: inline-block; width: 7px; height: 1em; vertical-align: -2px; background: var(--seal-bright); margin-left: 2px; animation: caret 1.1s steps(1) infinite; }
.digest.done .caret { display: none; }
@keyframes caret { 50% { opacity: 0; } }

/* ── tables ──────────────────────────────────────────────────────────────── */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r-panel);
  background: linear-gradient(90deg, var(--surface) 30%, transparent) left / 32px 100% no-repeat, linear-gradient(-90deg, var(--surface) 30%, transparent) right / 32px 100% no-repeat,
    radial-gradient(farthest-side at 0 50%, rgba(0,0,0,0.55), transparent) left / 16px 100% no-repeat, radial-gradient(farthest-side at 100% 50%, rgba(0,0,0,0.55), transparent) right / 16px 100% no-repeat, var(--surface);
  background-attachment: local, local, scroll, scroll, scroll; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 14px 18px; border-top: 1px solid var(--line); vertical-align: top; }
thead th { border-top: 0; background: var(--raised); font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); font-weight: 500; }
td { color: var(--dim); }
td:first-child { color: var(--ink); }
th.r, td.r { text-align: right; }
th.c, td.c { text-align: center; }
td.r { font-family: var(--mono); font-size: 14px; }
td strong { color: var(--accent-bright); font-family: var(--mono); font-weight: 500; }

/* ── pricing ─────────────────────────────────────────────────────────────── */
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tier { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 26px 24px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 1px 0 rgba(255,255,255,0.09) inset; }
.tier.featured { border-color: var(--accent-line); background: linear-gradient(180deg, rgba(34,201,230,0.09), rgba(34,201,230,0.02)); }
.tier .name { font-weight: 600; font-size: 17px; }
.tier .price { font-family: var(--display); font-stretch: 105%; font-size: clamp(34px, 3vw, 44px); font-weight: 420; letter-spacing: -0.035em; margin: 8px 0 2px; }
.tier .per { color: var(--faint); font-size: 12px; font-family: var(--mono); letter-spacing: 0.04em; text-transform: uppercase; }
.tier .who { color: var(--dim); font-size: 15px; margin-top: 12px; line-height: 1.5; }
.tier .covers { color: var(--dim); font-size: 14.5px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.tier .badge { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-bright); }
@media (max-width: 1000px) { .tiers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tiers { grid-template-columns: 1fr; } }
.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 720px) { .paths { grid-template-columns: 1fr; } }
.path { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--surface); }
.path .n { font-family: var(--mono); font-size: 15px; color: var(--accent-bright); white-space: nowrap; }
.path b { display: block; margin-bottom: 4px; font-weight: 500; }
.path span { color: var(--dim); font-size: 14.5px; }

/* ── feature list without cards: hairline columns ────────────────────────── */
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.cols > div { padding: 8px 32px 8px 0; border-left: 1px solid var(--line); padding-left: 28px; }
.cols > div:first-child { border-left: 0; padding-left: 0; }
.cols h3 { margin-bottom: 10px; }
.cols p { color: var(--dim); font-size: 15.5px; }
@media (max-width: 1200px) { .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; } .cols > div:nth-child(2n+1) { border-left: 0; padding-left: 0; } }
@media (max-width: 720px) { .cols { grid-template-columns: 1fr; gap: 28px; } .cols > div { border-left: 0; padding: 0; } }

/* ── definition rows: the label column is proportional and stacks when narrow ─── */
.defs { display: grid; gap: 0; border-top: 1px solid var(--line); container-type: inline-size; }
.defs > div { display: grid; grid-template-columns: minmax(150px, 24%) minmax(0, 1fr); gap: 28px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.defs b { font-weight: 500; color: var(--ink); }
.defs p { color: var(--dim); font-size: 15.5px; margin: 0; }
@container (max-width: 560px) { .defs > div { grid-template-columns: 1fr; gap: 6px; } }
@media (max-width: 720px) { .defs > div { grid-template-columns: 1fr; gap: 6px; } }

/* ── documents index: a register, not a card wall ─────────────────────────── */
.doclist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.doclist a { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 24px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line); color: inherit; transition: background var(--t-hover) var(--ease); }
.doclist a:hover { text-decoration: none; background: rgba(255,255,255,0.03); }
.doclist .code { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--accent-bright); }
.doclist .t { display: block; font-family: var(--display); font-stretch: 105%; font-weight: 460; font-size: 24px; letter-spacing: -0.025em; margin-bottom: 8px; color: var(--ink); }
.doclist .d { display: block; color: var(--dim); font-size: 15px; line-height: 1.5; max-width: 70ch; }
.doclist .m { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); white-space: nowrap; }
@media (max-width: 720px) { .doclist a { grid-template-columns: 1fr; gap: 8px; } .doclist .m { white-space: normal; } }

/* ── long-form documents ─────────────────────────────────────────────────── */
.doc main { padding: 40px 0 80px; }
.prose { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }
.prose .crumb { font-family: var(--mono); font-size: 13px; margin-bottom: 28px; }
.prose h1 { font-size: clamp(34px, 4vw, 52px); margin-bottom: 20px; }
.prose h2 { font-size: 28px; margin: 56px 0 14px; padding-top: 28px; border-top: 1px solid var(--line); }
.prose h3 { font-size: 21px; margin: 34px 0 10px; }
.prose h4 { font-size: 16px; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--dim); font-size: 16.5px; }
.prose p strong, .prose li strong { color: var(--ink); }
.prose blockquote { margin: 20px 0; padding: 4px 22px; border-left: 2px solid var(--accent-line); color: var(--dim); }
.prose blockquote p { margin: 8px 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.prose pre { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-ui); padding: 16px 18px; overflow: auto; font-size: 13.5px; line-height: 1.5; }
.prose code { background: rgba(255,255,255,0.06); padding: 1px 6px; border-radius: 4px; font-size: 0.88em; }
.prose pre code { background: none; padding: 0; }
.prose .table-scroll { margin: 20px 0; }
.prose table { font-size: 14.5px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose em { color: var(--ink); font-style: italic; }

/* ── closing call ────────────────────────────────────────────────────────── */
.close { text-align: left; }
.close .panel { padding: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.close h2 { max-width: 16ch; }
.close .panel p { color: var(--dim); }
@media (max-width: 900px) { .close .panel { grid-template-columns: 1fr; } .close .actions { justify-content: flex-start !important; } }

/* ── the page-end: the trail again, one quiet lane ending in brass, then the verify strip ── */
.pageend { background: var(--ground-2); border-top: 1px solid var(--line); padding: 26px 0 0; line-height: 0; }
.frieze { width: 100%; height: 56px; display: block; }
.frieze .fz-path { fill: none; stroke: rgba(95,227,245,0.35); stroke-width: 1.5; }
.frieze .fz-dot { fill: rgba(95,227,245,0.55); }
.frieze .fz-seal { fill: none; stroke: var(--seal); stroke-width: 1.2; }
.frieze .fz-seal + .fz-dot, .frieze .fz-seal-dot { fill: var(--seal-bright); }
.verify { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-family: var(--mono); font-size: 12.5px; color: var(--dim); padding: 0 0 36px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.verify[hidden] { display: none; }
.verify-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 0 3px rgba(245,200,107,0.16); animation: verify-wait 1.2s ease-in-out infinite; flex: 0 0 auto; }
.verify[data-state="ok"] .verify-dot { background: var(--go); box-shadow: 0 0 0 3px rgba(95,211,154,0.18); animation: none; }
.verify[data-state="differs"] .verify-dot { background: var(--stop); box-shadow: 0 0 0 3px rgba(255,122,133,0.18); animation: none; }
.verify[data-state="off"] .verify-dot { background: var(--faint); box-shadow: none; animation: none; }
.verify-link { color: var(--accent-bright); padding: 6px 0; }
.motion-btn { margin-left: auto; font: inherit; color: var(--dim); background: none; border: 1px solid var(--line-2); border-radius: var(--r-ui); padding: 9px 12px; cursor: pointer; min-height: 40px; }
.motion-btn:hover { color: var(--ink); border-color: var(--accent-line); }
/* the same check, as an object in a page: the security hero verifies itself on the first screen */
.verify-card { border: 1px solid var(--line-2); border-radius: var(--r-panel); background: var(--surface); padding: 22px 24px; box-shadow: 0 1px 0 rgba(255,255,255,0.09) inset; }
.verify-card .verify { padding: 0; margin: 0; border: 0; font-size: 13px; line-height: 1.6; }
.verify-card .verify .motion-btn { display: none; }
.verify-card .vc-head { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; display: flex; justify-content: space-between; gap: 12px; }
.verify-card .vc-files { list-style: none; margin: 16px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--faint); display: grid; gap: 6px; }
.verify-card .vc-files li { display: flex; justify-content: space-between; gap: 12px; }
.verify-card .vc-files li b { color: var(--dim); font-weight: 400; }
.verify-card .vc-files li.ok::after { content: 'match'; color: var(--go); }
.verify-card .vc-files li.bad::after { content: 'differs'; color: var(--stop); }
.verify-card .vc-files li.wait::after { content: 'checking'; color: var(--warn); }
html.still .marquee-track, html.still .verify-dot, html.still .digest .caret { animation-play-state: paused; }
@keyframes verify-wait { 50% { opacity: 0.4; } }
@media (prefers-reduced-motion: reduce) { .verify-dot { animation: none; } .digest .caret { animation: none; } }

/* ── footer ──────────────────────────────────────────────────────────────── */
.foot { border-top: 1px solid var(--line); padding: 64px 0 40px; background: var(--ground-2); font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot-brand p { color: var(--dim); margin-top: 16px; max-width: 360px; }
.foot-co { color: var(--faint); font-size: 13.5px; line-height: 1.6; }
.foot h4 { color: var(--ink); margin-bottom: 14px; font-weight: 600; }
.foot a { display: block; color: var(--dim); padding: 8px 0; }
.foot a:hover { color: var(--ink); }
.foot .brand { color: var(--ink); display: inline-flex; }
.foot-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13.5px; max-width: 900px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ── motion: one curve, entrances at 550ms, a stagger that stops at 120ms ──── */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity var(--t-enter) var(--ease), transform var(--t-enter) var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 60ms; } .reveal.d2 { transition-delay: 90ms; } .reveal.d3 { transition-delay: 120ms; } .reveal.d4 { transition-delay: 120ms; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .trail li.pending { opacity: 1; transform: none; }
  .steps.is-live .step { opacity: 1; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ── print: the site is readable on paper, in ink, like the product's reports ── */
@media print {
  html, body { background: #fff; color: #000; }
  .top, .foot, .demo, .btn, .skip, .scan, .pageend, .film-ctl, .marquee, .tex-topo { display: none !important; }
  a { color: #000; text-decoration: underline; }
  a[href^="http"]::after { content: ' (' attr(href) ')'; font-size: 0.85em; }
  section, .band, .paper, .hero-band { background: #fff !important; color: #000 !important; padding: 24px 0; border: 0; }
  h1, h2, h3, h4, p, td, th, li, .stats b, .bigfig b { color: #000 !important; }
  .frame, .panel, .table-scroll, .compare, .trail, .stats, .defs { border: 1px solid #999 !important; background: #fff !important; box-shadow: none !important; }
  .frame::before { display: none; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .steps.is-live { height: auto !important; }
}

/* ══ 2026-09-26 additions: the drafting sheet, light, chips, figures, tabs, questions ══ */

/* ── the drafting sheet: two hairlines run the full height at the content edges, and the
      joins between sections are hatched strips rather than plain rules ─────────────── */
.sheet-rules { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.sheet-rules::before, .sheet-rules::after { content: ''; position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(255,255,255,0.07); left: max(var(--gutter), calc(50% - var(--wrap) / 2 + var(--gutter) - 1px)); }
.sheet-rules::after { left: auto; right: max(var(--gutter), calc(50% - var(--wrap) / 2 + var(--gutter) - 1px)); }
@media (max-width: 900px) { .sheet-rules { display: none; } }
main, .facts, .marquee, .pageend, .foot { position: relative; z-index: 1; }
section + section::before { border-top: 0; height: 14px; width: 100%; max-width: none; left: 0; transform: none;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.075) 0 1px, transparent 1px 7px); border-block: 1px solid var(--line); }
section + section { padding-top: calc(clamp(72px, 8vw, 128px) + 14px); }
section.tight + section, section + section.tight { padding-top: calc(clamp(48px, 6vw, 80px) + 14px); }
section + section.wide { padding-top: calc(clamp(96px, 12vw, 176px) + 14px); }
.paper section + section::before { background: repeating-linear-gradient(135deg, rgba(20,26,40,0.14) 0 1px, transparent 1px 7px); }
/* record codes read as index marks on a sheet */
.eyebrow .rec::before { content: '['; } .eyebrow .rec::after { content: ']'; }

/* ── one light, entering from the top left ─────────────────────────────────────── */
.hero-band::before { background: radial-gradient(40% 40% at 10% 60%, rgba(34,201,230,0.05), transparent 70%); }
.hero-light { position: absolute; inset: -30% -20% auto; height: 120%; pointer-events: none; z-index: 0;
  background: linear-gradient(112deg, transparent 18%, rgba(140,225,245,0.17) 36%, rgba(140,225,245,0.06) 50%, transparent 64%);
  filter: blur(42px); mix-blend-mode: screen; }
@media (max-width: 640px) { .hero-light { inset: -20% -40% auto; } }

/* ── a two-tone display line: the closing clause steps back ───────────────────── */
h1 .tone, .h2-major .tone { font-style: normal; color: var(--dim); }
.paper h1 .tone, .paper .h2-major .tone { color: var(--paper-dim); }

/* ── inline chips: the real objects named inside a sentence ────────────────────── */
.chip { display: inline-block; font-family: var(--mono); font-size: 0.66em; font-weight: 500; letter-spacing: 0.04em; line-height: 1; padding: 0.42em 0.6em 0.36em; border: 1px solid var(--line-2); border-radius: 4px; color: var(--ink); background: rgba(255,255,255,0.05); vertical-align: 0.12em; white-space: nowrap; }
.chip.seal { color: var(--seal-bright); border-color: var(--seal-line); background: var(--seal-soft); }
.chip.on { color: var(--accent-bright); border-color: var(--accent-line); background: var(--accent-soft); }

/* ── the audit calendar strip ──────────────────────────────────────────────────── */
.calendar { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.timeline { width: 100%; height: auto; display: block; overflow: visible; }
.timeline .tl-rule { stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 100; stroke-dashoffset: 100; }
.timeline .tl-tick { stroke: rgba(255,255,255,0.22); stroke-width: 1; }
.timeline .tl-year { font-family: var(--mono); font-size: 12px; fill: var(--faint); letter-spacing: 0.04em; }
.timeline .tl-label { font-family: var(--mono); font-size: 12px; fill: var(--dim); letter-spacing: 0.06em; text-transform: uppercase; }
.timeline .tl-label-seal { fill: var(--seal-bright); }
.timeline .tl-dot { fill: var(--accent-bright); opacity: 0; }
.timeline .tl-deadline circle { fill: none; stroke: var(--seal-bright); stroke-width: 1.5; opacity: 0; }
.timeline .tl-deadline .tl-dot-seal { fill: var(--seal-bright); stroke: none; }
.in .timeline .tl-rule { animation: tg-draw 1.6s var(--ease) forwards; }
.in .timeline .tl-dot { animation: tg-pop .45s var(--ease) forwards; animation-delay: calc(0.3s + var(--i) * 0.12s); }
.in .timeline .tl-deadline circle { animation: tg-pop .6s var(--ease) forwards; animation-delay: 1.5s; }
.calendar .cap { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--faint); margin: 8px 0 0; }
@media (max-width: 640px) { .timeline .tl-year { font-size: 22px; } .timeline .tl-label { font-size: 20px; } }
@media (prefers-reduced-motion: reduce) { .timeline .tl-rule { stroke-dashoffset: 0; animation: none; } .timeline .tl-dot, .timeline .tl-deadline circle { opacity: 1; animation: none; } }

/* ── in and out: the formats converging on the workspace and the exports leaving it ─ */
.inout { width: 100%; height: auto; display: block; overflow: visible; }
.inout text { font-family: var(--mono); font-size: 14px; fill: var(--dim); letter-spacing: 0.02em; }
.inout .io-head { font-size: 12px; fill: var(--faint); letter-spacing: 0.1em; text-transform: uppercase; }
.inout .io-path { fill: none; stroke: rgba(95,227,245,0.55); stroke-width: 1.4; stroke-dasharray: 100; stroke-dashoffset: 100; }
.inout .io-path.io-seal { stroke: var(--seal-bright); }
.inout .io-node circle { fill: var(--accent-bright); opacity: 0; }
.inout .io-node.io-seal circle { fill: var(--seal-bright); }
.inout .io-node.io-seal text { fill: var(--seal-bright); }
.inout .io-hub rect { fill: var(--surface); stroke: var(--line-2); stroke-width: 1; }
.inout .io-hub text { fill: var(--ink); font-family: var(--sans); font-size: 15px; font-weight: 500; letter-spacing: 0; }
.in .inout .io-in { animation: tg-draw 1.4s var(--ease) forwards; animation-delay: calc(var(--i) * 0.07s); }
.in .inout .io-out { animation: tg-draw 1.4s var(--ease) forwards; animation-delay: calc(0.9s + var(--i) * 0.07s); }
.in .inout .io-node circle { animation: tg-pop .4s var(--ease) forwards; animation-delay: calc(0.2s + var(--i) * 0.07s); }
@media (max-width: 720px) { .inout text { font-size: 22px; } .inout .io-head { font-size: 18px; } .inout .io-hub text { font-size: 24px; } .inout .io-path { stroke-width: 2; } }
@media (prefers-reduced-motion: reduce) { .inout .io-path { stroke-dashoffset: 0; animation: none; } .inout .io-node circle { opacity: 1; animation: none; } }

/* ── tabs over one panel: a mono tab bar at zero radius on a hatched strip ─────── */
.tabs-bar { display: flex; flex-wrap: wrap; gap: 0; padding: 8px 0; border-block: 1px solid var(--line); background: repeating-linear-gradient(135deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 7px); margin-bottom: clamp(24px, 3vw, 40px); }
.tabs-bar button { font: 500 12.5px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); background: var(--ground); border: 1px solid var(--line); border-radius: 0; padding: 14px 18px; cursor: pointer; margin-right: -1px; display: inline-flex; align-items: center; gap: 10px; transition: color var(--t-hover) var(--ease), border-color var(--t-hover) var(--ease); }
.tabs-bar button i { font-style: normal; color: var(--faint); }
.tabs-bar button:hover { color: var(--ink); }
.tabs-bar button[aria-selected="true"] { color: var(--ink); border-color: var(--accent-bright); position: relative; z-index: 1; }
.tabs-bar button[aria-selected="true"] i { color: var(--accent-bright); }
.paper .tabs-bar { background: repeating-linear-gradient(135deg, rgba(20,26,40,0.12) 0 1px, transparent 1px 7px); border-color: var(--paper-line); }
.paper .tabs-bar button { background: var(--paper); color: var(--paper-dim); border-color: var(--paper-line); }
.paper .tabs-bar button[aria-selected="true"] { color: var(--paper-ink); border-color: var(--paper-accent); }
.paper .tabs-bar button[aria-selected="true"] i { color: var(--paper-accent); }
.tab-panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.tab-panel[hidden] { display: none; }
.tab-panel h3 { margin-bottom: 10px; }
.tab-panel p { font-size: 16px; }
.tab-panel .k { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-bright); margin-bottom: 14px; display: block; }
.paper .tab-panel .k { color: var(--paper-accent); }
.no-js .tab-panel + .tab-panel { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .tab-panel { grid-template-columns: 1fr; } .tabs-bar button { padding: 12px 14px; } }

/* ── questions, as native details: no script, keyboard-reachable, and opened for print ─ */
.qa { border-top: 1px solid var(--line-2); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 84px minmax(0, 1fr) 24px; gap: 20px; align-items: baseline; padding: 20px 0; font-weight: 500; font-size: 18px; color: var(--ink); letter-spacing: -0.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .code { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--accent-bright); }
.qa summary::after { content: '+'; font-family: var(--mono); color: var(--faint); font-size: 18px; justify-self: end; transition: transform var(--t-state) var(--ease); }
.qa details[open] summary::after { content: '\2212'; }
.qa summary:hover { color: var(--accent-bright); }
.qa .a { padding: 0 0 24px 104px; color: var(--dim); font-size: 16px; max-width: 72ch; }
.qa .a p:last-child { margin-bottom: 0; }
.paper .qa { border-color: var(--paper-line); } .paper .qa details { border-color: var(--paper-line); }
.paper .qa summary { color: var(--paper-ink); } .paper .qa summary .code { color: var(--paper-accent); } .paper .qa summary:hover { color: var(--paper-accent); }
.paper .qa .a { color: var(--paper-dim); }
@media (max-width: 640px) { .qa summary { grid-template-columns: minmax(0, 1fr) 24px; } .qa summary .code { display: none; } .qa .a { padding-left: 0; } }
@media print { .qa summary::after { display: none; } }

/* ── line reveals: each line of a display heading rises out of a clipped box once ── */
.lines .line { display: block; overflow: hidden; }
.lines .line > span { display: block; transform: translateY(110%); transition: transform .7s var(--ease); }
.lines.in .line > span, .no-js .lines .line > span { transform: none; }
.lines.in .line:nth-child(2) > span { transition-delay: 70ms; } .lines.in .line:nth-child(3) > span { transition-delay: 140ms; } .lines.in .line:nth-child(4) > span { transition-delay: 210ms; } .lines.in .line:nth-child(n+5) > span { transition-delay: 280ms; }
@media (prefers-reduced-motion: reduce) { .lines .line > span { transform: none; transition: none; } }

.nb { white-space: nowrap; }
.inout-list { display: none; }
@media (max-width: 720px) {
  .inout { display: none; }
  .inout-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; font-family: var(--mono); font-size: 12.5px; color: var(--dim); }
  .inout-list b { display: block; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); font-weight: 500; margin-bottom: 8px; }
  .inout-list span { display: block; padding: 6px 0; border-top: 1px solid var(--line); }
  .inout-list span.seal { color: var(--seal-bright); }
}

/* the entitlement matrix: fixed columns, every value starting on the same left edge */
.matrix table { table-layout: fixed; }
.matrix th:first-child, .matrix td:first-child { width: 36%; }
.matrix th.r, .matrix td.r { text-align: left; }
.matrix td.r { font-size: 15px; }
@media (max-width: 900px) { .matrix table { table-layout: auto; min-width: 760px; } }

/* the seven-rung ladder */
.ladder td:first-child { font-family: var(--display); font-stretch: 105%; font-weight: 460; font-size: 19px; letter-spacing: -0.02em; white-space: nowrap; }
.ladder td:nth-child(3) { white-space: nowrap; }
.ladder td strong { font-family: var(--display); font-stretch: 105%; font-size: 20px; font-weight: 460; letter-spacing: -0.02em; color: var(--ink); }
.ladder th.r, .ladder td.r { text-align: right; }
.matrix th:first-child, .matrix td:first-child { width: 28%; }
.tier-rail li .n em { max-width: 34ch; }

/* paper bands: every label rule that comes later in the file is overridden here, so no
   white text can land on paper */
.paper .defs b, .paper .path b, .paper .qa summary, .paper .qa summary span, .paper .trail li b, .paper .tier-rail .n, .paper .tier-rail .p, .paper .stats b, .paper .facts-mono span, .paper .doclist .t, .paper .compare .row > div:first-child, .paper .tab-panel h3, .paper .step h3, .paper .cols h3 { color: var(--paper-ink); }
.paper .defs p, .paper .path span, .paper .qa .a, .paper .tier-rail .n em, .paper .facts-mono em, .paper .compare .row > div, .paper .doclist .d, .paper .tab-panel p, .paper figcaption { color: var(--paper-dim); }
.paper .qa summary .code, .paper .facts-mono b, .paper .doclist .code, .paper .tab-panel .k, .paper .chip.on { color: var(--paper-accent); }
.paper .chip { color: var(--paper-ink); border-color: rgba(20,26,40,0.3); background: rgba(255,255,255,0.4); }
.paper .chip.seal { color: #6B4F0F; border-color: rgba(107,79,15,0.45); background: rgba(201,162,75,0.18); }
.paper .frame { background: rgba(255,255,255,0.5); border-color: var(--paper-line); }
.paper .frame::before { display: none; }
.paper .textlink { color: var(--paper-accent); }

/* compared prices: every figure in the accent, the Tracepoint rows on the accent wash */
tr.us td { background: var(--accent-soft); }
tr.us td:first-child { color: var(--accent-bright); }

/* ── half screens, tablets, phones: the frame and its grids give way before the content does ── */
@media (max-width: 1100px) {
  .grid-2[style*="align-items:start"], .grid-2[style*="gap:48px"] { grid-template-columns: 1fr; }
  .compare .row > div { padding: 14px 16px; font-size: 14.5px; }
  .tab-panel { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
}
@media (max-width: 900px) {
  .sheet-rules { display: none; }
  section + section::before { height: 10px; }
  .hero-shot { margin-inline: calc(-1 * var(--gutter)); padding-inline: 0; }
  .hero-shot .frame { border-radius: 0; border-inline: 0; }
  .tier-rail li { grid-template-columns: minmax(0, 1fr) auto; }
  .tier-rail .p { font-size: clamp(22px, 3.6vw, 30px); }
  .bigfig b { font-size: clamp(64px, 14vw, 120px); }
  .close .panel { padding: 28px 22px; }
  .facts-mono span { font-size: 16px; }
  .doclist a { grid-template-columns: 1fr; gap: 8px; }
  .qa summary { font-size: 16px; }
}
/* tables never clip: the scroller carries its own shadows, and long word cells may wrap */
.table-scroll table { min-width: 560px; }
.table-scroll td { overflow-wrap: anywhere; }
.matrix table { min-width: 760px; }
.ladder table { min-width: 820px; }
@media (max-width: 720px) {
  .table-scroll table { min-width: 520px; }
  th, td { padding: 12px 12px; font-size: 14px; }
  .ladder td:first-child, .ladder td strong { font-size: 17px; }
  .paths { grid-template-columns: 1fr; }
  .path { grid-template-columns: 1fr; gap: 6px; }
  .path .n { white-space: normal; }
  .head { margin-bottom: 28px; }
  .stats-src, .calendar .cap, figure.fig figcaption { font-size: 11px; }
  .tabs-bar { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .tabs-bar button { flex: 0 0 auto; }
  .cols > div { padding: 0; }
}
@media (max-width: 480px) {
  h1 { font-size: clamp(34px, 10.5vw, 44px); }
  .h2-major { font-size: clamp(28px, 8.5vw, 36px); }
  h2 { font-size: clamp(25px, 7.4vw, 30px); }
  .lede { font-size: 17px; }
  .btn-lg { height: 48px; padding: 0 18px; font-size: 15px; }
  .actions { flex-direction: column; align-items: stretch; }
  .actions .btn { justify-content: center; }
  .tier-rail li.featured .n::before { display: block; width: max-content; margin: 0 0 6px; }
  .stats > div.lead b { font-size: 44px; }
  .verify-card .vc-files li { flex-direction: column; gap: 2px; }
  .demo-bar { flex-direction: column; align-items: flex-start; }
}
/* the drawn figures keep overflow visible for their labels, so the page itself clips sideways */
body, main { overflow-x: clip; }
@media (max-width: 900px) { .hero-grid, .hero-band .hero-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .tier-rail li { grid-template-columns: 1fr; gap: 4px; }
  .tier-rail .p { white-space: normal; font-size: 26px; }
  .tier-rail .p small { display: block; margin: 2px 0 0; }
  .trailgraph .tg-lane, .trailgraph .tg-seal-label { font-size: 22px; }
}
/* a single-column grid must still let a scrolling table shrink below its own content */
@media (max-width: 1100px) { .grid-2[style*="align-items:start"], .grid-2[style*="gap:48px"], .tab-panel { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .grid, .grid-2, .grid-3, .grid-4, .cols, .paths, .hgrid-2, .hgrid-3, .doclist, .stats { grid-template-columns: minmax(0, 1fr); } .hgrid-2, .hgrid-3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .stats { grid-template-columns: minmax(0, 1fr); } }
/* a figure never breaks inside itself */
td.r, td.r strong, .nb, .price, .tier-rail .p { overflow-wrap: normal; word-break: keep-all; white-space: nowrap; }
@media (max-width: 560px) { .tier-rail .p { white-space: normal; } }

.ar-logo { display: block; border-radius: 10px; margin: 0 0 12px; width: 120px; height: 120px; }
.cols .ar-logo { width: 140px; height: 140px; margin-bottom: 14px; }

.topnav a[data-nav="home"] { padding-inline: 12px; }

/* a label column never breaks inside a word */
td:first-child { overflow-wrap: normal; word-break: keep-all; white-space: nowrap; }
@media (max-width: 720px) { td:first-child { white-space: normal; } }

/* the Tradewinds film: a plain player in the machined frame, the poster from the title card */
.tradewinds .inner { position: relative; aspect-ratio: 16 / 9; background: #06080b; }
.tradewinds video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; background: #06080b; }
.tradewinds video::cue { background: rgba(7,8,9,0.82); color: #EEF1F4; font-family: var(--sans); font-size: 1.05em; }

/* the demonstration frame shows only when the application is mounted */
.demo-absent { display: none; }
body.app-absent .demo, body.app-absent .demo-bar { display: none; }
body.app-absent .demo-absent { display: block; }
.demo-absent .panel { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: clamp(28px, 4vw, 48px); }
.demo-absent .panel h3 { margin-bottom: 10px; }
.demo-absent .actions { justify-content: flex-end; }
@media (max-width: 900px) { .demo-absent .panel { grid-template-columns: 1fr; } .demo-absent .actions { justify-content: flex-start; } }

.demo-note { margin: 10px 4px 0; color: var(--dim); }

.matrix table { min-width: 1040px; }
.matrix th:first-child, .matrix td:first-child { width: 22%; }

/* nine columns fit the wrap at 1440 without a scroll */
.matrix th, .matrix td { padding: 12px 10px; }
.matrix td.r { font-size: 13px; }
.matrix th { font-size: 10.5px; letter-spacing: 0.05em; }
.matrix table { min-width: 980px; }
.matrix th:first-child, .matrix td:first-child { width: 20%; padding-left: 18px; }

.matrix td:first-child { white-space: normal; overflow-wrap: normal; }
