/* Hallmark · shape: Manifesto · genre: modern-minimal · theme: custom · idea: "a fabricator's template sheet laid on a honed limestone counter" · vibe: "honed stone, shop drawings, one copper signal" · paper: honed limestone #F2EFEA · accent: oxide copper #A4472A · faces: Fraunces, Figtree, IBM Plex Mono (codes and scores only) · hero: Poster (core standard, core:hero) · nav: core sticky bar, ink-ruled · footer: statement (core) · imagery: photographs, 1 (the user's hero image) · product sample in hero sheet · signature: the fabricator market ranked as a shop drawing, your row in copper · axes: light/roman-serif/warm · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R5 V4 · weakest: V, the section order follows the Watcher family on purpose; the stone palette, eased 2px edges and 3px drawing rules carry the difference */
/* Hallmark · answered terrazzo photo-under-type · the home hero is the core standard (watcher-site-core docs/hero.md), a full-bleed photo under the core's subtle scrim; its primary button is restyled to the on-dark copper so the site keeps one primary button */
/* Hallmark · answered F4 · the extra fills are the hamburger bars, the selected switcher tab and the copper button on ink, not second primaries */
/* Hallmark · core-owned: 58 (pricing words), 54, 38i and 38iii (eyebrows, and the em in the core pricing and get-started headings, set roman with the whole phrase in copper as the plan's design_notes require), 19 (footer line) come from watcher-site-core markup; eyebrows are set in sentence case, untracked, and every em is roman */

:root {
  color-scheme: light;

  /* Palette: honed stone and shop drawings */
  --paper: #F2EFEA;
  --paper-2: #E6E0D6;
  --paper-3: #DAD2C5;
  --card: #F8F6F2;
  --ink: #1C1F22;
  --ink-2: #3A3F44;
  --text: var(--ink);
  --muted: #5E646A;
  --rule: #CFC8BD;
  --line: var(--rule);
  --accent: #A4472A;
  --accent-press: color-mix(in oklab, #A4472A, black 14%);
  --accent-on-dark: #E39A6F;
  --accent-on-dark-press: color-mix(in oklab, #E39A6F, white 14%);
  --dark: var(--ink);
  --on-dark: #F2EFEA;
  --dark-muted: #B9BEC2;
  --dark-rule: #33383D;
  --focus: var(--accent);
  --focus-on-dark: var(--accent-on-dark);
  --sheet-bg: color-mix(in oklab, #F2EFEA 96%, transparent);
  --select: color-mix(in oklab, #A4472A 22%, transparent);
  --ghost-dark-hover: color-mix(in oklab, #F2EFEA 12%, transparent);
  --header-bg: color-mix(in oklab, #F2EFEA 96%, transparent);

  /* Faces */
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Figtree", ui-sans-serif, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Shape */
  --radius: 2px;
  --rule-hair: 1px;
  --rule-draw: 3px;

  /* Type scale */
  --text-xs: 0.8125rem;
  --text-sm: 0.875rem;
  --text-label: 0.9375rem;
  --text-md: 1.0625rem;
  --text-lg: 1.125rem;
  --text-lead: 1.25rem;
  --text-h3: 1.375rem;
  --text-h1: clamp(2.6rem, 1.6rem + 4vw, 4.75rem);
  --text-h2: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  --text-statement: clamp(2.1rem, 1.3rem + 3vw, 3.75rem);
  --text-sub: clamp(1.5rem, 1.2rem + 1vw, 2rem);

  /* Space (8px base) */
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px;
  --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px;
  --section: clamp(72px, 10vw, 136px);
  --section-s: clamp(56px, 7vw, 96px);
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --gap: 32px;
  --header-h: 74px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 160ms;
  --dur-long: 420ms;

  /* Layers */
  --z-raised: 10; --z-sticky: 200; --z-nav: 300; --z-skip: 500;

  /* Context (light surfaces); dark surfaces swap these below */
  --c-fg: var(--ink);
  --c-lead: var(--ink-2);
  --c-muted: var(--muted);
  --c-rule: var(--rule);
  --c-strong: var(--ink);
  --c-accent: var(--accent);
  --c-focus: var(--focus);
  --btn-bg: var(--accent);
  --btn-fg: var(--on-dark);
  --btn-bg-hover: var(--accent-press);
  --ghost-line: var(--ink);
  --ghost-fg: var(--ink);
  --ghost-hover: var(--paper-3);
}

/* Dark surfaces: basalt bands, the footer, the mobile sheet, the featured plan, get started, the hero */
.band--ink, .band-night, .site-footer, .on-night, .mobile-nav, .plan--feature, .core-start, .core-hero, .closing, main > .why {
  --c-fg: var(--on-dark);
  --c-lead: var(--dark-muted);
  --c-muted: var(--dark-muted);
  --c-rule: var(--dark-rule);
  --c-strong: var(--on-dark);
  --c-accent: var(--accent-on-dark);
  --c-focus: var(--focus-on-dark);
  --btn-bg: var(--accent-on-dark);
  --btn-fg: var(--ink);
  --btn-bg-hover: var(--accent-on-dark-press);
  --ghost-line: var(--on-dark);
  --ghost-fg: var(--on-dark);
  --ghost-hover: var(--ghost-dark-hover);
}
/* Light surfaces set inside dark ones */
.plate, .sheet, .core-start__card {
  --c-fg: var(--ink);
  --c-lead: var(--ink-2);
  --c-muted: var(--muted);
  --c-rule: var(--rule);
  --c-strong: var(--ink);
  --c-accent: var(--accent);
  --c-focus: var(--focus);
  --btn-bg: var(--accent);
  --btn-fg: var(--on-dark);
  --btn-bg-hover: var(--accent-press);
  --ghost-line: var(--ink);
  --ghost-fg: var(--ink);
  --ghost-hover: var(--paper-3);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + var(--space-lg)); scrollbar-color: var(--muted) var(--paper); }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--sans); font-size: var(--text-md); line-height: 1.6; -webkit-font-smoothing: antialiased; caret-color: var(--accent); }
::selection { background: var(--select); }
:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; color: inherit; font-family: var(--serif); font-weight: 500; font-style: normal; font-optical-sizing: auto; font-synthesis: none; letter-spacing: -0.01em; line-height: 1.06; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1 { max-width: 20ch; font-size: var(--text-h1); }
h2 { max-width: 28ch; font-size: var(--text-h2); }
h3 { max-width: 40ch; font-size: var(--text-h3); font-weight: 600; line-height: 1.2; }
h1 em, h2 em, h3 em, h1 i, h2 i, h3 i { font-style: normal; }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 65ch; }
ul, ol { margin: 0; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--c-accent); text-decoration-line: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; transition: color var(--dur) var(--ease-out), text-decoration-color var(--dur) var(--ease-out); }
a:hover { text-decoration-thickness: 2px; }
strong, b { font-weight: 600; }
sup { line-height: 0; }
sup a { padding-inline: 1px; font-family: var(--mono); font-size: 0.75em; font-weight: 500; text-decoration: none; }
sup a:hover { text-decoration: underline; }

.wrap, .container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.code { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.num { font-variant-numeric: tabular-nums; }
.r { text-align: right; }
.visually-hidden, .sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-skip); padding: var(--space-sm) var(--space-md); border-radius: var(--radius); background: var(--ink); color: var(--on-dark); font-weight: 600; text-decoration: none; }
.skip-link:focus-visible { top: var(--space-md); outline-color: var(--accent-on-dark); }

/* ---------- Sections and bands ---------- */
main > section, main > .core-start, main > .core-pricing { padding-block: var(--section); }
.band--ink, .band-night { background: var(--ink); color: var(--on-dark); }
.band--paper { background: var(--paper-2); }
.lead, .lede { max-width: 52ch; color: var(--c-lead); font-size: var(--text-lead); line-height: 1.5; }
.eyebrow { margin: 0; color: var(--c-accent); font-family: var(--sans); font-size: var(--text-label); font-weight: 500; line-height: 1.4; letter-spacing: 0; text-transform: none; }
.actions, .page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm); }
.page-actions { margin-top: var(--space-xl); }
.demo-trust { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); margin: var(--space-md) 0 0; padding: 0; color: var(--c-muted); font-size: var(--text-sm); }
.demo-ps { margin-top: var(--space-md); color: var(--c-muted); font-size: var(--text-sm); max-width: 60ch; }

/* Shared section and type vocabulary (our pages, and the core-built /use-cases/ and /industry-report/) */
.section { padding-block: var(--section); }
.section--tight, main > .section--tight { padding-block: var(--section-s); }
.band { position: relative; padding-block: var(--section-s); }
.on-night { color: var(--on-dark); }
main > .why { background: var(--ink); color: var(--on-dark); }
main > .signals { background: var(--paper); }
main > .report { background: var(--paper-2); }
main > .contact { padding-block: var(--section-s) var(--section); }
.wrap--narrow { max-width: calc(52rem + 2 * var(--gutter)); }
.switch { position: relative; min-width: 0; }
.display { margin: 0; max-width: 18ch; color: var(--c-fg); font: 500 var(--text-h1)/1.04 var(--serif); letter-spacing: -0.01em; font-synthesis: none; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
.h2 { margin: 0; max-width: 28ch; color: var(--c-fg); font: 500 var(--text-h2)/1.06 var(--serif); letter-spacing: -0.01em; font-synthesis: none; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
.label { display: block; margin: 0; color: var(--c-muted); font: 500 var(--text-sm)/1.4 var(--sans); letter-spacing: 0; text-transform: none; }
.small, small { color: var(--c-muted); font-size: var(--text-sm); line-height: 1.5; }
.no { display: inline-block; color: var(--c-accent); font: 500 var(--text-label)/1.2 var(--mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.fc { min-width: 0; color: var(--c-fg); overflow-wrap: break-word; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: var(--space-sm) var(--space-lg); border: 1px solid var(--btn-bg); border-radius: var(--radius); background: var(--btn-bg); color: var(--btn-fg); font: 600 1rem/1.2 var(--sans); text-align: center; text-decoration: none; white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); }
.btn:hover { background: var(--btn-bg-hover); border-color: var(--btn-bg-hover); color: var(--btn-fg); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 3px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn[aria-busy="true"] { cursor: progress; }
.btn--demo { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-fg); }
.btn--demo:hover { background: var(--btn-bg-hover); border-color: var(--btn-bg-hover); color: var(--btn-fg); }
.btn--ghost, .btn-ghost { background: transparent; border-color: var(--ghost-line); color: var(--ghost-fg); }
.btn--ghost:hover, .btn-ghost:hover { background: var(--ghost-hover); border-color: var(--ghost-line); color: var(--ghost-fg); }
.btn--light { background: var(--on-dark); border-color: var(--on-dark); color: var(--ink); }
.btn--light:hover { background: var(--paper-3); border-color: var(--paper-3); color: var(--ink); }
.btn--light:focus-visible { outline: 2px solid var(--focus-on-dark); outline-offset: 3px; }
.btn--block { display: flex; width: 100%; }
.arr { position: relative; display: inline-block; flex: none; width: 14px; height: 10px; transition: transform var(--dur) var(--ease-out); }
.arr::before { content: ""; position: absolute; left: 0; right: 1px; top: 50%; height: 2px; margin-top: -1px; background: currentColor; }
.arr::after { content: ""; position: absolute; right: 1px; top: 50%; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: translateY(-50%) rotate(45deg); }
.btn:hover .arr, a:hover > .arr { transform: translateX(3px); }

/* The core hero keeps its scrim; its primary takes the on-dark copper so the site has one primary button */
.core-hero { --ch-header: 74px; }
.core-hero .btn:not(.btn--ghost) { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-fg); }
.core-hero .btn:not(.btn--ghost):hover { background: var(--btn-bg-hover); border-color: var(--btn-bg-hover); }
.core-hero .btn:focus-visible { outline: 2px solid var(--focus-on-dark); outline-offset: 3px; }

/* ---------- Header (core markup) ---------- */
.site-header { position: sticky; top: 0; z-index: var(--z-nav); background: var(--header-bg); border-bottom: var(--rule-hair) solid var(--ink); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.nav { display: flex; align-items: center; gap: var(--space-lg); height: calc(var(--header-h) - 1px); }
.brand { display: inline-flex; align-items: center; gap: var(--space-sm); min-height: 44px; flex-shrink: 0; color: inherit; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand__mark { flex-shrink: 0; width: 26px; height: 34px; }
.brand__word { display: block; color: var(--c-fg); font: 600 1.25rem/1 var(--serif); letter-spacing: -0.01em; font-synthesis: none; }
.brand__word i { font-style: normal; font-weight: 500; color: var(--c-accent); }
.brand__by { display: block; margin-top: var(--space-2xs); color: var(--c-muted); font-size: var(--text-xs); line-height: 1.2; }
.nav__links { display: flex; align-items: center; gap: var(--space-md); margin: 0 auto; padding: 0; list-style: none; }
.nav__links a, .nav__login { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); font-size: var(--text-label); font-weight: 500; text-decoration: none; white-space: nowrap; }
.nav__links a:hover, .nav__login:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav__links a[aria-current="page"], .nav__links a[aria-current="true"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav__cta { display: flex; align-items: center; gap: var(--space-md); margin-left: auto; }
.nav__links + .nav__cta { margin-left: 0; }
.nav__cta .btn { min-height: 44px; padding: var(--space-xs) var(--space-md); }
.menu-btn { display: none; flex-direction: column; justify-content: center; gap: var(--space-xs); width: 48px; height: 48px; padding: 0 var(--space-sm); border: 1px solid var(--ink); border-radius: var(--radius); background: transparent; cursor: pointer; transition: background-color var(--dur) var(--ease-out); }
.menu-btn span { display: block; height: 2px; background: var(--ink); transition: transform var(--dur) var(--ease-out); }
.menu-btn:hover { background: var(--paper-3); }
.menu-btn:active { transform: translateY(1px); }
.menu-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-5px) rotate(-45deg); }
.mobile-nav { display: none; }

@media (max-width: 75rem) {
  .nav__links { display: none; }
  .nav__login { display: none; }
  .menu-btn { display: inline-flex; }
  .js .mobile-nav.is-open { display: grid; align-content: start; gap: var(--space-lg); position: fixed; inset: var(--header-h) 0 0; z-index: var(--z-sticky); padding: var(--space-xl) var(--gutter) calc(var(--space-xl) + env(safe-area-inset-bottom, 0px)); background: var(--ink); color: var(--on-dark); overflow-y: auto; overscroll-behavior: contain; }
  .mobile-nav ol { display: grid; margin: 0; padding: 0; list-style: none; border-top: var(--rule-hair) solid var(--dark-rule); }
  .mobile-nav li { border-bottom: var(--rule-hair) solid var(--dark-rule); }
  .mobile-nav li a { display: flex; align-items: center; min-height: 56px; padding-block: var(--space-sm); color: var(--on-dark); font: 500 1.5rem/1.15 var(--serif); letter-spacing: -0.01em; text-decoration: none; }
  .mobile-nav li a:hover, .mobile-nav li a[aria-current="page"] { color: var(--accent-on-dark); }
  .mobile-nav .nav__login { display: inline-flex; justify-self: start; color: var(--dark-muted); }
  .mobile-nav .nav__login:hover { color: var(--on-dark); text-decoration-color: var(--accent-on-dark); }
  html:not(.js) .nav__links { display: flex; overflow-x: auto; margin: 0; }
}
@media (max-width: 40rem) { .nav__cta .btn { display: none; } .brand__by { display: none; } .nav { gap: var(--space-sm); } }

/* ---------- Plates and the hero sheet ---------- */
.plate { margin: 0; background: var(--card); color: var(--ink); border: var(--rule-hair) solid var(--rule); border-top: var(--rule-draw) solid var(--ink); border-radius: var(--radius); }
.sheet { width: 100%; padding: var(--space-md) 20px var(--space-xs); background: var(--sheet-bg); border: 0; border-top: var(--rule-draw) solid var(--ink); border-radius: var(--radius); color: var(--ink); }
.sheet__table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.sheet__table caption { padding-bottom: var(--space-sm); color: var(--muted); font-size: var(--text-sm); font-weight: 500; text-align: left; }
.sheet__table thead th { padding: 0 0 var(--space-xs); border-bottom: var(--rule-hair) solid var(--ink); color: var(--muted); font-size: var(--text-xs); font-weight: 500; text-align: left; }
.sheet__table thead th:first-child { padding-left: var(--space-sm); border-left: 3px solid transparent; }
.sheet__table thead th.r { text-align: right; }
.sheet__table td, .sheet__table tbody th { padding: var(--space-sm) 0; border-bottom: var(--rule-hair) solid var(--rule); text-align: left; vertical-align: baseline; }
.sheet__table tbody tr > :first-child { padding-left: var(--space-sm); border-left: 3px solid transparent; width: 3.25rem; }
.sheet__table tbody th { padding-inline: var(--space-sm); color: var(--ink); font-size: 1rem; font-weight: 500; }
.sheet__table td.code { color: var(--ink-2); font-size: var(--text-label); }
.sheet__table td.r { text-align: right; font-size: 1.0625rem; color: var(--ink); }
.sheet__table tr:last-child > * { border-bottom: 0; }
.sheet__table .is-you > *, .sheet__table .is-you td.code, .sheet__table .is-you td.r { color: var(--accent); }
.sheet__table .is-you th { font-weight: 600; }
.sheet__table .is-you > :first-child { border-left-color: var(--accent); }

/* ---------- Why (statement on basalt) ---------- */
.statement { max-width: 20ch; color: var(--on-dark); font-size: var(--text-statement); line-height: 1.04; }
.claims { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: clamp(48px, 6vw, 80px) 0 0; padding: 0; list-style: none; counter-reset: claim; }
.claims li { counter-increment: claim; padding: var(--space-xs) var(--gap) var(--space-xs); }
.claims li:first-child { padding-left: 0; }
.claims li:last-child { padding-right: 0; }
.claims li + li { border-left: var(--rule-hair) solid var(--dark-rule); }
.claims li::before { content: counter(claim, decimal-leading-zero); display: block; margin-bottom: var(--space-md); color: var(--accent-on-dark); font: 500 var(--text-label)/1 var(--mono); font-variant-numeric: tabular-nums; }
.claims li:has(> .code)::before, .claims li:has(> .no)::before { content: none; }
.claims .code, .claims .no { display: block; margin-bottom: var(--space-md); color: var(--accent-on-dark); font-size: var(--text-label); }
.claims h3 { color: var(--on-dark); font-size: var(--text-h3); }
.claims p { margin-top: var(--space-sm); max-width: 48ch; color: var(--dark-muted); }
.band--ink .lead, .band--ink .lede, .band--ink p:not([class]), main > .why .lead { color: var(--dark-muted); }
.band--ink h2, .band--ink h3, .band-night h2, .band-night h3, main > .why h2 { color: var(--on-dark); }

/* ---------- Signals (shop-drawing table) ---------- */
.head-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap); align-items: end; margin-bottom: clamp(var(--space-xl), 5vw, var(--space-2xl)); }
.head-split .lead { justify-self: start; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 4px; }
/* Signal weights in the markup are the shared Watcher engine defaults (TODO in home.html until confirmed for countertops) */
.spec { width: 100%; border-collapse: collapse; border-top: var(--rule-draw) solid var(--ink); }
.spec thead th { padding: var(--space-sm) var(--space-md) var(--space-sm) 0; border-bottom: var(--rule-hair) solid var(--ink); color: var(--muted); font-size: var(--text-sm); font-weight: 500; text-align: left; white-space: nowrap; }
.spec thead th.r { padding-right: 0; text-align: right; }
.spec td, .spec tbody th { padding: var(--space-md) var(--space-md) var(--space-md) 0; border-bottom: var(--rule-hair) solid var(--rule); text-align: left; vertical-align: middle; }
.spec tbody th { color: var(--ink); font: 500 1.25rem/1.2 var(--serif); letter-spacing: -0.01em; font-synthesis: none; white-space: nowrap; }
.spec td { color: var(--muted); }
.spec td.code { color: var(--ink); font-size: var(--text-label); white-space: nowrap; }
.spec td.r { padding-right: 0; color: var(--ink); text-align: right; white-space: nowrap; }
.spec .w { position: relative; display: inline-block; width: 6rem; height: 4px; margin-right: var(--space-sm); vertical-align: middle; background: var(--paper-3); overflow: hidden; }
.spec .w::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w, 0%); background: var(--accent); }
.spec tbody tr { transition: background-color var(--dur) var(--ease-out); }
.spec tbody tr:hover { background: var(--paper-2); }
.spec tbody tr:hover td.code:first-child { color: var(--accent); }

/* ---------- Solutions (segmented switcher) ---------- */
.solutions > .wrap > h2 { margin-bottom: clamp(32px, 4vw, 48px); }
.seg { display: flex; flex-wrap: wrap; margin-bottom: var(--space-xl); }
.seg button, .seg [role="tab"] { position: relative; min-height: 48px; margin-left: -1px; padding: var(--space-sm) var(--space-lg); border: 1px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); font: 500 var(--text-label)/1.2 var(--sans); text-align: left; cursor: pointer; transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out); }
.seg button:first-child, .seg [role="tab"]:first-child { margin-left: 0; }
.seg button:hover { background: var(--paper-3); }
.seg button:active { transform: translateY(1px); }
.seg button:focus-visible { z-index: var(--z-raised); outline: 2px solid var(--focus); outline-offset: 3px; }
.seg button:disabled { opacity: 0.55; cursor: not-allowed; }
.seg button[aria-selected="true"] { z-index: 1; background: var(--ink); color: var(--on-dark); }
.panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap); padding: var(--space-xl); background: var(--paper); border: var(--rule-hair) solid var(--rule); border-top: var(--rule-draw) solid var(--ink); border-radius: var(--radius); }
.panel + .panel { margin-top: var(--space-lg); }
.js .panel[hidden] { display: none; }
.panel h3 { font-size: var(--text-sub); font-weight: 500; line-height: 1.1; }
.panel p { margin-top: var(--space-md); max-width: 48ch; color: var(--ink-2); font-size: var(--text-lg); line-height: 1.5; }
.ruled { margin: 0; padding: 0; list-style: none; border-top: var(--rule-hair) solid var(--c-strong); }
.ruled li { padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--c-rule); font-weight: 500; }
.more { margin-top: var(--space-xl); font-weight: 600; }
.more a { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; }

/* ---------- Pricing (core markup) ---------- */
.core-pricing { background: var(--paper); }
.core-head { display: grid; gap: var(--space-md); margin-bottom: clamp(var(--space-xl), 5vw, var(--space-2xl)); }
.core-head h2 em, .core-start h2 em { font-style: normal; color: var(--c-accent); }
.core-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: var(--space-md); padding: var(--space-xl) 32px; background: var(--paper); color: var(--c-fg); border: var(--rule-hair) solid var(--rule); border-top: var(--rule-draw) solid var(--ink); border-radius: var(--radius); }
.plan--feature { background: var(--ink); border-color: var(--ink); }
.plan__label { margin: 0; color: var(--c-muted); font-size: var(--text-label); font-weight: 500; }
.plan__badge { align-self: flex-start; padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius); background: var(--btn-bg); color: var(--btn-fg); font-size: var(--text-sm); font-weight: 600; letter-spacing: 0; text-transform: none; }
.plan__name { font-size: var(--text-h3); font-weight: 600; }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-xs) var(--space-sm); margin: var(--space-xs) 0; }
.plan__price strong { font: 500 3rem/1 var(--serif); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; font-synthesis: none; }
.plan__price span { color: var(--c-muted); font-size: var(--text-sm); }
.plan ul { flex: 1; margin: 0; padding: 0; list-style: none; border-top: var(--rule-hair) solid var(--c-rule); }
.plan li { padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--c-rule); color: var(--c-lead); font-size: var(--text-label); }
.plan li.inherit { color: var(--c-fg); font-weight: 600; }
.plan .btn { margin-top: var(--space-xs); }
.plan__fine { color: var(--c-muted); font-size: var(--text-xs); text-align: center; }
.core-note { max-width: 52ch; margin-top: clamp(var(--space-xl), 5vw, var(--space-2xl)); color: var(--ink-2); font-size: var(--text-lead); line-height: 1.5; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap); align-items: start; }
.faq__grid > h2, .faq__head { position: sticky; top: calc(var(--header-h) + var(--space-lg)); }
.faq__head .lead { margin-top: var(--space-md); }
.faq__list { border-bottom: var(--rule-hair) solid var(--rule); }
.faq details { border-top: var(--rule-hair) solid var(--rule); }
.faq details:first-child { border-top-color: var(--ink); }
.faq summary { position: relative; display: block; min-height: 44px; padding: 20px 48px 20px 0; color: var(--ink); font: 600 var(--text-lg)/1.35 var(--sans); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 2px; margin-top: -1px; background: var(--ink); transition: transform var(--dur) var(--ease-out); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq summary:hover { color: var(--ink-2); }
.faq summary:hover::before, .faq summary:hover::after { background: var(--accent); }
.faq summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.faq details p { max-width: 62ch; padding-bottom: var(--space-lg); color: var(--ink-2); }

/* ---------- Report band ---------- */
.report__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--gap); align-items: start; }
.report__grid .lead + * { margin-top: var(--space-lg); }
main > .report .report__grid h2 { max-width: 18ch; }
.report__when { margin-top: var(--space-lg); color: var(--muted); }
.report__parts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin: clamp(var(--space-xl), 5vw, var(--space-2xl)) 0 0; padding: 0; list-style: none; counter-reset: rp; }
.report__parts li { counter-increment: rp; padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--ink); }
.report__parts li::before { content: counter(rp, decimal-leading-zero); display: block; margin-bottom: var(--space-md); color: var(--accent); font: 500 var(--text-label)/1 var(--mono); }
.report__parts li:has(> .code)::before, .report__parts li:has(> .no)::before { content: none; }
.report__parts .code, .report__parts .no { display: block; margin-bottom: var(--space-md); color: var(--accent); font-size: var(--text-label); }
.report__parts h3 { font-size: var(--text-h3); }
.report__parts p { margin-top: var(--space-xs); color: var(--ink-2); }

/* ---------- Get started (core markup, on basalt) ---------- */
.core-start { background: var(--ink); color: var(--on-dark); }
.core-start__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(var(--space-xl), 6vw, var(--space-3xl)); align-items: start; }
.core-start h2 { margin-top: var(--space-sm); color: var(--on-dark); }
.core-start .lede { margin-top: var(--space-md); color: var(--dark-muted); }
.core-start__list { display: grid; margin: var(--space-xl) 0 0; padding: 0; list-style: none; counter-reset: s; border-top: var(--rule-hair) solid var(--dark-rule); }
.core-start__list li { counter-increment: s; display: grid; grid-template-columns: 3rem minmax(0, 1fr); padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--dark-rule); color: var(--on-dark); }
.core-start__list li::before { content: counter(s, decimal-leading-zero); color: var(--accent-on-dark); font: 500 var(--text-label)/1.6 var(--mono); }
.core-start__card { padding: var(--space-xl); background: var(--paper); color: var(--ink); border-top: var(--rule-draw) solid var(--accent); border-radius: var(--radius); }
.core-form, .wl-form { position: relative; display: grid; gap: 20px; }
.core-form h3 { font-size: 1.75rem; font-weight: 500; }
.core-form__sub { margin-top: calc(-1 * var(--space-sm)); color: var(--muted); }
.core-form label, .wl-form label { display: grid; gap: var(--space-xs); color: var(--ink); font-size: var(--text-label); font-weight: 600; }
.core-form__opt, .wl-opt { color: var(--muted); font-weight: 400; }
.core-form input[type="text"], .core-form input[type="email"], .core-form input[type="url"], .core-form input[type="tel"], .core-form textarea, .core-form select,
.wl-form input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]), .wl-form textarea, .wl-form select { width: 100%; min-height: 48px; padding: var(--space-sm) var(--space-md); border: 1px solid var(--muted); border-radius: var(--radius); background: var(--card); color: var(--ink); font-size: 1rem; font-weight: 400; line-height: 1.5; transition: border-color var(--dur) var(--ease-out); }
.wl-form textarea, .core-form textarea { min-height: 128px; resize: vertical; }
.core-form input::placeholder, .wl-form input::placeholder, .wl-form textarea::placeholder { color: var(--muted); opacity: 1; }
.core-form input:hover, .wl-form input:hover, .wl-form textarea:hover { border-color: var(--ink-2); }
.core-form input:focus-visible, .core-form textarea:focus-visible, .wl-form input:focus-visible, .wl-form textarea:focus-visible { border-color: var(--ink); outline: 2px solid var(--focus); outline-offset: 1px; }
.core-form input[aria-invalid="true"], .wl-form input[aria-invalid="true"], .wl-form textarea[aria-invalid="true"] { border-color: var(--accent); border-width: 2px; padding: calc(var(--space-sm) - 1px) calc(var(--space-md) - 1px); }
.core-form input:disabled, .wl-form input:disabled, .wl-form textarea:disabled { opacity: 0.55; cursor: not-allowed; }
.core-form__choice { display: flex; flex-wrap: wrap; gap: 0 var(--space-lg); margin: 0; padding: 0; border: 0; min-width: 0; }
.core-form__choice legend { margin-bottom: var(--space-xs); padding: 0; color: var(--ink); font-size: var(--text-label); font-weight: 600; }
.core-form__choice label { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; font-size: 1rem; font-weight: 500; cursor: pointer; }
.core-form__choice input[type="radio"] { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.core-form__choice input[type="radio"]:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.core-form__hp, .wl-hp { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.core-form__status, .wl-status { min-height: 1lh; color: var(--muted); font-size: var(--text-label); }
.core-form:has([aria-invalid="true"]) .core-form__status, .wl-status.is-error { color: var(--accent); font-weight: 600; }
.core-form__legal, .wl-fine { color: var(--muted); font-size: var(--text-xs); }
.core-form__done { display: grid; gap: var(--space-md); }
.core-form__done h3 { font-size: 1.75rem; font-weight: 500; }
.core-form__done a { font-weight: 600; }

/* ---------- Footer (core markup) ---------- */
.site-footer { padding-block: var(--space-3xl) calc(var(--space-xl) + env(safe-area-inset-bottom, 0px)); background: var(--ink); color: var(--on-dark); }
.site-footer a { color: var(--dark-muted); text-decoration: none; }
.site-footer a:hover { color: var(--on-dark); text-decoration: underline; text-decoration-color: var(--accent-on-dark); }
.site-footer .brand, .site-footer .brand:hover { color: var(--on-dark); text-decoration: none; }
.site-footer .brand svg, .site-footer .brand img { flex-shrink: 0; width: 26px; height: 34px; }
.footer__top { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); gap: var(--space-xl) var(--gap); }
.footer__brand { grid-column: 1 / -1; display: grid; gap: var(--space-md); padding-bottom: var(--space-xl); border-bottom: var(--rule-hair) solid var(--dark-rule); }
.footer__brand .brand__word { font-size: 1.5rem; }
.footer__blurb { max-width: 48ch; color: var(--dark-muted); }
.footer__col h2, .footer__col h3 { max-width: none; color: var(--on-dark); font: 600 var(--text-label)/1.4 var(--sans); letter-spacing: 0; text-transform: none; }
.footer__col ul { display: grid; gap: var(--space-3xs); margin: var(--space-sm) 0 0; padding: 0; list-style: none; }
.footer__col li a, .footer__col li > span { display: inline-flex; align-items: center; min-height: 32px; font-size: var(--text-label); }
.footer__col span, .site-footer .brand__by { color: var(--dark-muted); }
.footer__col h2 + h2, .footer__col ul + h2, .footer__col ul + h3 { margin-top: var(--space-xl); }
.footer__word { margin: var(--space-3xl) 0 var(--space-xl); color: var(--on-dark); font: 500 clamp(2rem, 8.4vw, 7.25rem)/0.95 var(--serif); letter-spacing: -0.02em; font-synthesis: none; overflow-wrap: break-word; min-width: 0; }
.footer__word i { font-style: normal; color: var(--accent-on-dark); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-sm) var(--space-lg); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--dark-rule); color: var(--dark-muted); font-size: var(--text-sm); }
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); }
.footer__bottom nav a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Inner pages ---------- */
.page-hero { padding-block: clamp(var(--space-2xl), 9vw, 120px) clamp(var(--space-xl), 6vw, 72px); background: var(--paper); border-bottom: var(--rule-hair) solid var(--ink); }
main > section.page-hero { padding-block: clamp(var(--space-2xl), 9vw, 120px) clamp(var(--space-xl), 6vw, 72px); }
.page-hero .eyebrow { margin-bottom: var(--space-md); }
.page-hero .lead { margin-top: var(--space-lg); }
.page-hero .actions, .page-hero .page-actions { margin-top: var(--space-xl); }
.page-hero .demo-trust { margin-top: var(--space-md); }
.prose { max-width: 64ch; }
.prose > * + * { margin-top: var(--space-md); }
.prose h2 { margin-top: clamp(var(--space-xl), 5vw, 56px); font-size: var(--text-sub); }
.prose h3 { margin-top: var(--space-xl); }
.prose h2 + *, .prose h3 + * { margin-top: var(--space-sm); }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: var(--space-xs); }
.prose li::marker { color: var(--accent); }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); }
.prose hr { margin-block: var(--space-xl); border: 0; border-top: var(--rule-hair) solid var(--rule); }
.prose table { width: 100%; border-collapse: collapse; border-top: var(--rule-draw) solid var(--ink); font-size: var(--text-label); }
.prose th, .prose td { padding: var(--space-sm) var(--space-sm) var(--space-sm) 0; border-bottom: var(--rule-hair) solid var(--rule); text-align: left; vertical-align: top; }
.prose a { overflow-wrap: anywhere; }
.cta-strip .wrap, .band--ink.cta .wrap { display: grid; gap: var(--space-lg); justify-items: start; }
.cta-strip h2, .band--ink.cta h2 { max-width: 24ch; }
.band--ink .demo-trust, .band--ink .demo-ps { color: var(--dark-muted); }
.link-list { display: grid; margin: var(--space-xl) 0 0; padding: 0; list-style: none; border-top: var(--rule-hair) solid var(--ink); max-width: 40rem; }
.link-list li { border-bottom: var(--rule-hair) solid var(--rule); }
.link-list a { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 52px; color: var(--ink); font-weight: 600; text-decoration: none; }
.link-list a:hover { color: var(--accent); }

/* 404 links */
.nf-links { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); margin: var(--space-xl) 0 0; padding: var(--space-md) 0 0; list-style: none; border-top: var(--rule-hair) solid var(--ink); max-width: 48rem; }
.nf-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 600; }
.nf-links a:hover { color: var(--accent); }

/* Contact page */
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(var(--space-xl), 6vw, var(--space-3xl)); align-items: start; }
.contact__h { margin-bottom: var(--space-xl); font-size: var(--text-h2); }
.contact__card { padding: var(--space-xl); }
.contact__next li { color: var(--ink-2); }
.wl-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.wl-form .btn { justify-self: start; }
.wl-done { display: grid; gap: var(--space-xs); padding: var(--space-lg); background: var(--paper-2); border-top: var(--rule-draw) solid var(--accent); border-radius: var(--radius); }
.wl-done h3 { font-size: var(--text-h3); }

/* ---------- Industry report (core-built from content/industry-report.json) ---------- */
.meta-row { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); margin: var(--space-lg) 0 0; padding: 0; list-style: none; color: var(--c-muted); font-size: var(--text-sm); }
.meta-row > * { margin: 0; }
.page-hero .eyebrow span, .closing .eyebrow span { margin-right: var(--space-xs); font-weight: 600; }
.article { padding-block: clamp(48px, 6vw, 88px); }
.article > * + * { margin-top: clamp(var(--space-xl), 5vw, var(--space-2xl)); }
.toc { max-width: 64ch; padding-top: var(--space-md); border-top: var(--rule-draw) solid var(--ink); }
.toc h2, .toc p:first-child { max-width: none; margin-bottom: var(--space-sm); color: var(--muted); font: 500 var(--text-label)/1.4 var(--sans); letter-spacing: 0; }
.toc ol, .toc ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap); margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); align-items: baseline; border-bottom: var(--rule-hair) solid var(--rule); }
.toc li::before { content: counter(toc, decimal-leading-zero); color: var(--accent); font: 500 var(--text-sm)/1 var(--mono); }
.toc a { display: flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 500; text-decoration: none; }
.toc a:hover { color: var(--accent); text-decoration: underline; }
.prose h2[id] { scroll-margin-top: calc(var(--header-h) + var(--space-lg)); }
.dropcap::first-letter { float: left; margin: 0.06em 0.1em 0 0; color: var(--accent); font: 500 3.6em/0.85 var(--serif); font-synthesis: none; }
.callout { max-width: 64ch; padding: var(--space-lg); background: var(--paper-2); border-left: var(--rule-draw) solid var(--accent); color: var(--ink); font-size: var(--text-lg); line-height: 1.5; }
.figure-block { margin: 0; padding-top: var(--space-md); border-top: var(--rule-draw) solid var(--ink); }
.figure-block h3, .figure-block figcaption, .figure-block > header h3 { font-size: var(--text-h3); }
.figure-block p, .figure-block .sub, .figure-block [class$="__sub"] { margin-top: var(--space-2xs); color: var(--muted); font-size: var(--text-label); }

.growth { margin-top: var(--space-xl); }
.growth__bars, .growth > ol, .growth > ul { display: flex; align-items: flex-end; gap: clamp(var(--space-xs), 2vw, var(--space-lg)); height: clamp(220px, 30vw, 320px); margin: var(--space-xl) 0 0; padding: 0; list-style: none; border-bottom: var(--rule-hair) solid var(--ink); }
.growth__bar, .growth__col, .growth__bars > li, .growth > ol > li { position: relative; display: flex; flex: 1 1 0; flex-direction: column; justify-content: flex-end; align-items: stretch; min-width: 0; height: 100%; }
.growth__fill, .growth__col > span:not([class*="label"]):not([class*="value"]):not([class*="val"]):not([class*="yr"]), .growth__bar > i { display: block; min-height: 2px; background: var(--ink); color: var(--on-dark); border-radius: var(--radius) var(--radius) 0 0; }
.growth__bar.is-forecast .growth__fill, .growth__bar--forecast .growth__fill, [data-forecast="true"] .growth__fill, .growth .is-forecast > .growth__fill { background: var(--paper-3); outline: 1px dashed var(--ink-2); outline-offset: -1px; }
.growth__value, .growth__val { display: block; margin-bottom: var(--space-xs); color: var(--ink); font: 500 var(--text-sm)/1.2 var(--mono); text-align: center; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.growth__label, .growth__yr { position: absolute; top: calc(100% + var(--space-xs)); left: 0; right: 0; color: var(--muted); font-size: var(--text-xs); text-align: center; }
.growth__yr { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.growth + *, .growth__legend { margin-top: calc(var(--space-xl) + var(--space-md)); }
.growth__legend { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); color: var(--muted); font-size: var(--text-sm); }

.range { margin-top: var(--space-xl); }
.range__axis { display: flex; justify-content: space-between; margin-left: var(--range-label, 12rem); padding-bottom: var(--space-xs); border-bottom: var(--rule-hair) solid var(--ink); color: var(--muted); font: 400 var(--text-xs)/1.2 var(--mono); font-variant-numeric: tabular-nums; }
.range__rows, .range > ol, .range > ul { margin: 0; padding: 0; list-style: none; }
.range__row { display: grid; grid-template-columns: var(--range-label, 12rem) minmax(0, 1fr); align-items: center; min-height: 52px; border-bottom: var(--rule-hair) solid var(--rule); }
.range__label { padding-right: var(--space-md); color: var(--ink); font-size: var(--text-label); font-weight: 500; }
.range__track { position: relative; height: 10px; background: var(--paper-2); }
.range__bar, .range__fill { position: absolute; top: 0; bottom: 0; background: var(--accent); border-radius: var(--radius); }
.range__display, .range__value { position: absolute; top: calc(100% + 4px); color: var(--ink); font: 500 var(--text-xs)/1.2 var(--mono); white-space: nowrap; }

.pullstat { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); margin: 0; padding: 0; list-style: none; border-top: var(--rule-draw) solid var(--ink); }
.pullstat > * { margin: 0; padding: var(--space-lg) var(--gap) var(--space-md) 0; }
.pullstat > * + * { padding-left: var(--gap); border-left: var(--rule-hair) solid var(--rule); }
.pullstat strong, .pullstat b, .pullstat__value, .pullstat dt { display: block; color: var(--ink); font: 500 clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem)/1 var(--serif); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; font-synthesis: none; }
.pullstat span, .pullstat__label, .pullstat dd { display: block; margin: var(--space-sm) 0 0; max-width: 32ch; color: var(--ink-2); font-size: var(--text-label); }
.band-night .pullstat, .band--ink .pullstat { border-top-color: var(--on-dark); }
.band-night .pullstat strong, .band--ink .pullstat strong, .band-night .pullstat__value { color: var(--on-dark); }
.band-night .pullstat span, .band-night .pullstat__label, .band--ink .pullstat span { color: var(--dark-muted); }
.band-night .pullstat > * + *, .band--ink .pullstat > * + * { border-left-color: var(--dark-rule); }

.dtable-wrap, .dtable__wrap, .dtable__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.dtable { width: 100%; border-collapse: collapse; border-top: var(--rule-draw) solid var(--ink); font-size: var(--text-label); }
.dtable caption, .dtable__caption { padding-bottom: var(--space-sm); color: var(--ink); font: 600 var(--text-h3)/1.2 var(--serif); text-align: left; font-synthesis: none; }
.dtable thead th { padding: var(--space-sm) var(--space-md) var(--space-sm) 0; border-bottom: var(--rule-hair) solid var(--ink); color: var(--muted); font-size: var(--text-sm); font-weight: 500; text-align: left; white-space: nowrap; }
.dtable td, .dtable tbody th { padding: var(--space-sm) var(--space-md) var(--space-sm) 0; border-bottom: var(--rule-hair) solid var(--rule); color: var(--ink-2); text-align: left; vertical-align: top; }
.dtable tbody th { min-width: 10rem; color: var(--ink); font-weight: 600; }
.dtable tbody tr:hover { background: var(--paper-2); }

.funnel { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: fn; border-top: var(--rule-draw) solid var(--ink); }
.funnel__stage, .funnel > li { counter-increment: fn; display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: var(--space-xs) var(--space-md); padding: var(--space-lg) 0 var(--space-lg) var(--step, 0); border-bottom: var(--rule-hair) solid var(--rule); }
.funnel > li:nth-child(2) { --step: 4%; } .funnel > li:nth-child(3) { --step: 8%; } .funnel > li:nth-child(4) { --step: 12%; } .funnel > li:nth-child(n+5) { --step: 16%; }
.funnel__stage::before, .funnel > li::before { content: counter(fn, decimal-leading-zero); grid-row: span 3; color: var(--accent); font: 500 var(--text-label)/1.5 var(--mono); }
.funnel__title, .funnel h3 { font-size: var(--text-h3); }
.funnel__text, .funnel p { color: var(--ink-2); max-width: 60ch; }
.funnel__tags { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin: var(--space-xs) 0 0; padding: 0; list-style: none; }
.funnel__tags > *, .funnel__tag { display: inline-block; padding: var(--space-3xs) var(--space-xs); border: 1px solid var(--rule); border-radius: var(--radius); color: var(--ink-2); font-size: var(--text-sm); }

.sources { padding-top: var(--space-md); border-top: var(--rule-draw) solid var(--ink); }
.sources h2 { margin-bottom: var(--space-lg); font-size: var(--text-sub); }
.sources ol { display: grid; gap: var(--space-sm); margin: 0; padding: 0; list-style: none; counter-reset: src; }
.sources li { counter-increment: src; display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); color: var(--ink-2); font-size: var(--text-label); scroll-margin-top: calc(var(--header-h) + var(--space-lg)); }
.sources li::before { content: counter(src); color: var(--accent); font: 500 var(--text-sm)/1.7 var(--mono); }
.sources li:target { background: var(--paper-2); }
.sources a { overflow-wrap: anywhere; }
.sources .site, .sources small { color: var(--muted); }

.band-night, .closing { background: var(--ink); color: var(--on-dark); }
main > .band-night, main > .closing { padding-block: var(--section-s); }
.closing .wrap { display: grid; gap: var(--space-lg); justify-items: start; }
.closing h2 { max-width: 24ch; color: var(--on-dark); }
.closing .lede, .closing .lead { color: var(--dark-muted); }
.sec-head { display: grid; gap: var(--space-md); margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head h2 { max-width: 28ch; }

/* ---------- Motion: one reveal, the why claims, CSS-only ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .claims li { animation: claim-in linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
  }
}
@keyframes claim-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .claims li { animation: none !important; opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 60rem) {
  .head-split, .panel, .faq__grid, .report__grid, .core-start__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .faq__grid > h2, .faq__head { position: static; }
  .core-plans { grid-template-columns: minmax(0, 1fr); max-width: 36rem; }
  .report__parts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel { gap: var(--space-lg); }
}
@media (max-width: 50rem) {
  .claims { grid-template-columns: minmax(0, 1fr); }
  .claims li, .claims li:first-child, .claims li:last-child { padding: var(--space-lg) 0; }
  .claims li + li { border-left: 0; border-top: var(--rule-hair) solid var(--dark-rule); }
  .spec { min-width: 46rem; }
  .toc ol, .toc ul { grid-template-columns: minmax(0, 1fr); }
  .range__axis { margin-left: 0; }
  .range__row { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); padding-block: var(--space-sm) var(--space-lg); }
  .pullstat > * + * { padding-left: 0; border-left: 0; border-top: var(--rule-hair) solid var(--rule); }
  .funnel > li:nth-child(n) { --step: 0; }
}
@media (max-width: 40rem) {
  .seg { flex-direction: column; }
  .seg button, .seg [role="tab"] { margin-left: 0; margin-top: -1px; }
  .seg button:first-child { margin-top: 0; }
  .report__parts { grid-template-columns: minmax(0, 1fr); }
  .panel, .core-start__card, .plan, .contact__card { padding: var(--space-lg) 20px; }
  .wl-row { grid-template-columns: minmax(0, 1fr); }
  .wl-form .btn { justify-self: stretch; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .sheet { padding-inline: var(--space-md); }
  .nf-links { flex-direction: column; gap: 0; }
}
