/* Hallmark · theme: custom · idea: "a flooring market laid out like a finished floor and checked with a laser level" · vibe: "sanded oak, chalk line, exact, job-site plain" · genre: modern-minimal · job: try · hero: Poster (core standard, <!--core:hero-->) with a ranked sheet on ink · nav: core sticky bar, ink-ruled, 72px · footer: statement (core), plank stagger above · imagery: photographs, 1 (the user's hero image) · signature: the plank stagger, offset board ends drawn as hairlines, and your row in amber on the ranked sheet · paper: sanded maple #F2EEE6 · accent: rust #B5441C, amber #E8A33D on ink only · faces: Archivo wdth 78, Public Sans, JetBrains Mono for measurements · axes: light/grotesk-condensed/warm · posture: restrained · contrast: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: P, the home page argues in plain lines; the sourced numbers sit in the industry report it links to, so the page links there instead of restating them */
/* Hallmark · core-owned: 54 and 38i (eyebrows and the em in core pricing and get-started headings), 58 (pricing words), 19 (footer line) come from watcher-site-core markup; the eyebrow is restyled as a quiet sentence-case label and the em is set roman */
/* Hallmark · waive 24b · padding 14px 22px on the rust .btn · the plan sets the button at 14 by 22 so a 48px target holds the label on one line at 17px body type */
/* Hallmark · dismissed F7 · the shared recipe is one card role on paper (plan, panel, form card, figure) plus the inputs, a single milled-stock surface by design; the feature plan and the hero sheet break it on ink */
/* Hallmark · answered F4 · the extra fills are the selected tab, the hamburger bars, the amber badge on the feature plan and the light button on ink bands, not second primaries */

/* =========================================================
   Tokens
   ========================================================= */
:root {
  color-scheme: light;

  /* Palette: Sanded Oak & Chalk Line */
  --paper: #F2EEE6;
  --paper-2: #E8E1D5;
  --card: #FBF9F5;
  --ink: #1D1A17;
  --ink-2: #2A2521;
  --muted: #5E574F;
  --rule: #CFC6B8;
  --rule-dark: #3A332D;
  --accent: #B5441C;
  --accent-ink: #8F3414;
  --signal: #E8A33D;
  --dark-muted: #B9B0A4;
  --white: #FFFFFF;
  --error: #A3261B;
  --scrim: rgba(29, 26, 23, 0.72);
  --scrim-none: rgba(29, 26, 23, 0);

  /* Core theme names (site.json core_theme reads these) */
  --line: var(--rule);
  --text: var(--ink);
  --dark: var(--ink);
  --on-dark: var(--paper);
  --on-accent: var(--white);
  --focus: var(--accent);

  /* Type */
  --serif: "Archivo", "Arial Narrow", ui-sans-serif, system-ui, sans-serif;
  --sans: "Public Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --display: var(--serif);
  --wdth: "wdth" 78;

  --text-xs: 0.8125rem;
  --text-sm: 0.875rem;
  --text-md: 1.0625rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: 2rem;
  --text-h1: clamp(2.6rem, 5.2vw, 4.6rem);
  --text-h2: clamp(2rem, 3.6vw, 3.1rem);
  --text-h3: 1.25rem;
  --text-lead: 1.2rem;

  /* Space: 8px base */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 40px;
  --s-8: 56px;
  --s-9: 72px;
  --s-10: 96px;
  --section: clamp(72px, 10vw, 136px);
  --section-tight: clamp(48px, 6vw, 80px);
  --container: 1200px;
  --container-narrow: 760px;
  --gutter: 24px;
  --gap: 32px;
  --header-h: 72px;

  /* Shape */
  --radius: 4px;
  --radius-ctl: 2px;
  --hair: 1px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-micro: 120ms;
  --dur-short: 200ms;
  --dur-long: 480ms;

  --z-raised: 10;
  --z-sticky: 200;
  --z-nav: 300;
  --z-skip: 500;
}
@media (min-width: 60rem) { :root { --gutter: 40px; } }

/* =========================================================
   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(--s-5)); scrollbar-color: var(--muted) var(--paper); }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--sans); font-size: var(--text-md); font-weight: 400; line-height: 1.6; -webkit-font-smoothing: antialiased; caret-color: var(--accent); }
::selection { background: var(--signal); color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; overflow-wrap: break-word; min-width: 0; text-wrap: balance; color: inherit; }
h1, h2 { font-family: var(--display); font-weight: 700; font-variation-settings: var(--wdth); font-synthesis: none; }
h1 { max-width: 18ch; font-size: var(--text-h1); line-height: 1; letter-spacing: -0.01em; }
h2 { max-width: 26ch; font-size: var(--text-h2); line-height: 1.05; letter-spacing: -0.005em; }
h3 { font-family: var(--sans); font-size: var(--text-h3); font-weight: 600; line-height: 1.3; }
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(--accent); text-decoration-line: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; transition: color var(--dur-short) var(--ease-out), text-decoration-color var(--dur-short) var(--ease-out); }
a:hover { color: var(--accent-ink); text-decoration-thickness: 2px; }
.band--paper a:not(.btn) { color: var(--accent-ink); }
.band--paper a:not(.btn):hover { color: var(--ink); }
.visually-hidden, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: var(--s-4); top: -100px; z-index: var(--z-skip); padding: var(--s-2) var(--s-4); background: var(--ink); color: var(--paper); border-radius: var(--radius-ctl); }
.skip-link:focus-visible { top: calc(var(--s-4) + env(safe-area-inset-top, 0px)); outline-color: var(--signal); color: var(--paper); }
.code, .num, td.num { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; }
.r { text-align: right; }
[data-slot] > img { width: 100%; height: 100%; object-fit: cover; }

/* Dark surfaces carry their own tokens: amber focus, paper text */
.band--ink, .band-night, .on-night, .site-footer, .core-hero, .plan--feature, .sheet {
  --focus: var(--signal);
  --text: var(--on-dark);
}
.on-night { color-scheme: dark; background: var(--ink); color: var(--on-dark); }
.on-night a:not(.btn) { color: var(--paper); }
.on-night a:not(.btn):hover { color: var(--paper); text-decoration-color: var(--signal); }
.on-night a:focus-visible, .on-night button:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }

/* =========================================================
   Layout primitives
   ========================================================= */
.wrap, .container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)); }
.wrap--narrow { max-width: calc(var(--container-narrow) + 2 * var(--gutter)); }
main > section, main > .core-start, main > .core-pricing { padding-block: var(--section); }
.section { padding-block: var(--section); }
.section--tight, main > .section--tight { padding-block: var(--section-tight); }
.band--ink { background: var(--ink); color: var(--on-dark); }
.band--paper { background: var(--paper-2); }
.lead, .lede { max-width: 52ch; font-size: var(--text-lead); line-height: 1.5; color: var(--muted); }
.band--ink .lead, .band--ink .lede, .on-night .lead, .on-night .lede { color: var(--dark-muted); }
.actions, .page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); }
.page-actions { margin-top: var(--s-7); }
.more { margin-top: var(--s-8); font-weight: 600; }

/* Type helpers: display and h2 sizes on any element, quiet labels, small and sub lines */
.display { margin: 0; max-width: 18ch; font-family: var(--display); font-weight: 700; font-variation-settings: var(--wdth); font-synthesis: none; font-size: var(--text-h1); line-height: 1; letter-spacing: -0.01em; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
.h2 { margin: 0; max-width: 26ch; font-family: var(--display); font-weight: 700; font-variation-settings: var(--wdth); font-synthesis: none; font-size: var(--text-h2); line-height: 1.05; letter-spacing: -0.005em; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
.label { display: block; margin: 0; font-family: var(--sans); font-size: var(--text-sm); font-weight: 600; line-height: 1.4; letter-spacing: 0; text-transform: none; color: var(--muted); }
.small { font-size: var(--text-sm); line-height: 1.5; color: var(--muted); }
.sub { display: block; margin-top: var(--s-2); font-family: var(--sans); font-size: var(--text-sm); font-weight: 400; line-height: 1.5; color: var(--muted); }
.band--ink .label, .band--ink .small, .band--ink .sub,
.band-night .label, .band-night .small, .band-night .sub,
.on-night .label, .on-night .small, .on-night .sub { color: var(--dark-muted); }
.fc { display: block; margin-top: var(--s-3); font-family: var(--sans); font-size: var(--text-sm); font-weight: 400; line-height: 1.5; color: var(--muted); }
.band--ink .fc, .band-night .fc, .on-night .fc { color: var(--dark-muted); }

/* The quiet label: core eyebrows, plan labels. Sentence case, untracked, a rust rule before it */
.eyebrow { display: inline-flex; align-items: center; gap: var(--s-3); margin: 0; font-family: var(--sans); font-size: var(--text-sm); font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--muted); }
.eyebrow::before { content: ""; flex: none; width: 24px; height: 2px; background: var(--accent); }
.band--ink .eyebrow, .band-night .eyebrow, .on-night .eyebrow { color: var(--dark-muted); }

/* Signature device: the plank stagger, offset board ends as hairlines */
.plank, .site-footer::before, .report::before, .why .claims::before {
  --pc: var(--rule);
  display: block;
  height: 9px;
  background-image:
    repeating-linear-gradient(90deg, var(--pc) 0 208px, transparent 208px 214px),
    repeating-linear-gradient(90deg, var(--pc) 0 142px, transparent 142px 148px),
    repeating-linear-gradient(90deg, var(--pc) 0 254px, transparent 254px 260px);
  background-size: 100% 1px;
  background-position: 0 0, -61px 4px, -131px 8px;
  background-repeat: no-repeat;
}
.site-footer::before, .why .claims::before { --pc: var(--rule-dark); }

/* =========================================================
   Controls
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 14px 22px;
  border: 1.5px solid var(--accent); border-radius: var(--radius-ctl);
  background: var(--accent); color: var(--on-accent);
  font: 600 var(--text-md)/1.1 var(--sans); letter-spacing: 0;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out);
}
.btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: var(--on-accent); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; transition: none; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn[aria-busy="true"] { cursor: progress; }
.btn--block { width: 100%; }
.btn--ghost, .btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover, .btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.band--ink .btn--ghost, .band-night .btn--ghost, .on-night .btn--ghost, .plan--feature .btn--ghost { border-color: var(--paper); color: var(--paper); }
.band--ink .btn--ghost:hover, .band-night .btn--ghost:hover, .on-night .btn--ghost:hover, .plan--feature .btn--ghost:hover { background: var(--paper); color: var(--ink); }
.btn--light, .band--ink .btn--light, .band-night .btn--light, .on-night .btn--light { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--light:hover, .band--ink .btn--light:hover, .band-night .btn--light:hover, .on-night .btn--light:hover { background: var(--paper-2); border-color: var(--paper-2); color: var(--ink); }
.btn--light:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.arr { display: inline-block; flex: none; width: 10px; height: 10px; position: relative; }
.arr::before { content: ""; position: absolute; top: 1.5px; left: 0; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.demo-trust { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin: var(--s-4) 0 0; font-size: var(--text-sm); color: var(--muted); }
.demo-trust span { display: inline-flex; align-items: center; gap: var(--s-2); }
.demo-trust span::before { content: ""; width: 10px; height: 2px; background: var(--accent); }
.band--ink .demo-trust, .band-night .demo-trust, .core-hero .demo-trust { color: var(--dark-muted); }
.band--ink .demo-trust span::before, .band-night .demo-trust span::before, .core-hero .demo-trust span::before { background: var(--signal); }
.demo-ps { margin-top: var(--s-4); font-size: var(--text-sm); color: var(--muted); }
.band--ink .demo-ps, .band-night .demo-ps { color: var(--dark-muted); }

/* =========================================================
   Header (core markup)
   ========================================================= */
.site-header { position: sticky; top: 0; z-index: var(--z-nav); padding-top: env(safe-area-inset-top, 0px); background: color-mix(in srgb, var(--paper) 94%, transparent); border-bottom: var(--hair) solid var(--ink); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.nav { display: flex; align-items: center; gap: var(--s-5); height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: var(--s-3); flex-shrink: 0; min-height: 44px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); text-decoration: none; }
.brand__mark { flex-shrink: 0; width: 26px; height: auto; }
.brand__word { display: block; font: 700 1.375rem/1 var(--display); font-variation-settings: var(--wdth); letter-spacing: -0.005em; }
.brand__word i { font-style: normal; color: var(--accent); }
.brand__by { display: block; margin-top: var(--s-1); font-size: var(--text-xs); color: var(--muted); }
.nav__links { display: flex; gap: var(--s-5); margin: 0 auto; padding: 0; list-style: none; }
.nav__links a, .nav__login { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--text-sm); font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav__links a:hover, .nav__login:hover, .nav__links a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 0.45em; }
.nav__cta { display: flex; align-items: center; gap: var(--s-4); margin-left: auto; }
.nav__links + .nav__cta { margin-left: 0; }
.nav__cta .btn { min-height: 44px; padding: var(--s-2) var(--s-4); }
.menu-btn { display: none; flex-direction: column; justify-content: center; gap: var(--s-2); width: 48px; height: 48px; padding: 0 var(--s-3); border: 1.5px solid var(--ink); border-radius: var(--radius-ctl); background: transparent; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.menu-btn span { display: block; height: 2px; background: var(--ink); transition: transform var(--dur-short) var(--ease-out); }
.menu-btn:hover { background: var(--paper-2); }
.menu-btn:active { transform: translateY(1px); }
.menu-btn:focus-visible { outline: 3px 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; }
  .menu-btn { display: inline-flex; }
  .nav__cta .nav__login { display: none; }
  .js .mobile-nav.is-open {
    display: grid; align-content: start; gap: var(--s-5);
    position: fixed; inset: calc(var(--header-h) + 1px + env(safe-area-inset-top, 0px)) 0 0; z-index: var(--z-sticky);
    padding: var(--s-6) max(var(--gutter), env(safe-area-inset-right, 0px)) calc(var(--s-7) + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px));
    background: var(--paper); overflow-y: auto; overscroll-behavior: contain;
  }
  .mobile-nav ol { display: grid; margin: 0; padding: 0; list-style: none; border-top: var(--hair) solid var(--ink); }
  .mobile-nav li { border-bottom: var(--hair) solid var(--rule); }
  .mobile-nav li a { display: flex; align-items: center; min-height: 56px; font: 700 var(--text-xl)/1.1 var(--display); font-variation-settings: var(--wdth); color: var(--ink); text-decoration: none; }
  .mobile-nav li a:hover, .mobile-nav li a[aria-current="page"] { color: var(--accent); }
  .mobile-nav .nav__login { display: inline-flex; justify-self: start; }
  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; } }

/* =========================================================
   Hero (core standard: <!--core:hero-->, partials/hero.css)
   ========================================================= */
.core-hero { --ch-header: 72px; }
main .core-hero { --ch-header: calc(72px + env(safe-area-inset-top, 0px)); --ch-display: var(--display); --ch-sans: var(--sans); }
.core-hero .core-hero__scrim { background: linear-gradient(90deg, var(--scrim) 0%, var(--scrim-none) 58%); }
.core-hero .core-hero__text h1 { max-width: 13ch; font-family: var(--display); font-weight: 700; font-variation-settings: var(--wdth); font-size: var(--text-h1); line-height: 1; letter-spacing: -0.01em; }
.core-hero .core-hero__actions .btn { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.core-hero .core-hero__actions .btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.core-hero .core-hero__actions .btn--ghost { background: transparent; border-color: var(--paper); color: var(--paper); }
.core-hero .core-hero__actions .btn--ghost:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.core-hero .core-hero__actions .btn:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
@media (max-width: 60rem) {
  .core-hero .core-hero__scrim { background: linear-gradient(0deg, var(--scrim) 0%, var(--scrim) 30%, var(--scrim-none) 78%); }
}

/* Hero aside: the ranked sheet */
.sheet, .plate.sheet { width: 100%; padding: var(--s-4) var(--s-5) var(--s-3); background: var(--ink-2); border: var(--hair) solid var(--rule-dark); border-radius: var(--radius); color: var(--on-dark); }
.sheet__table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.sheet__table caption { padding-bottom: var(--s-3); text-align: left; font-weight: 600; color: var(--dark-muted); }
.sheet__table thead th { padding: 0 0 var(--s-2); border-bottom: var(--hair) solid var(--dark-muted); text-align: left; font-weight: 600; color: var(--dark-muted); }
.sheet__table thead th.r { text-align: right; }
.sheet__table td, .sheet__table tbody th { padding: var(--s-2) 0; border-bottom: var(--hair) solid var(--rule-dark); text-align: left; }
.sheet__table td:first-child { width: 3.5rem; padding-left: var(--s-3); color: var(--dark-muted); }
.sheet__table tbody th { font-size: var(--text-md); font-weight: 600; color: var(--on-dark); }
.sheet__table td.r { text-align: right; font-size: var(--text-md); color: var(--on-dark); }
.sheet__table tr:last-child > * { border-bottom: 0; }
.sheet__table .is-you > :first-child { box-shadow: inset 3px 0 0 var(--signal); color: var(--signal); }
.sheet__table .is-you .code.r, .sheet__table .is-you td.r { color: var(--signal); }

/* =========================================================
   Why (statement on ink)
   ========================================================= */
.statement { max-width: none; width: min(100%, 75%); color: var(--paper); }
.claims { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin: var(--s-9) 0 0; padding: 0; list-style: none; counter-reset: claim; }
.why .claims::before { content: ""; grid-column: 1 / -1; margin-bottom: var(--s-2); }
.claims li { counter-increment: claim; display: grid; align-content: start; gap: var(--s-3); }
.claims li::before { content: counter(claim, decimal-leading-zero); font: 500 1.5rem/1 var(--mono); font-variant-numeric: tabular-nums; color: var(--accent); }
.claims h3 { color: var(--paper); }
.claims p { color: var(--dark-muted); }

/* =========================================================
   Signals (specification table)
   ========================================================= */
.signals { background: var(--paper); }
.signals .head-split .lead { justify-self: start; }
.head-split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--gap); align-items: end; margin-bottom: var(--s-8); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.spec { width: 100%; border-collapse: collapse; border-top: var(--hair) solid var(--ink); }
.spec thead th { padding: var(--s-3) var(--s-4) var(--s-3) 0; border-bottom: var(--hair) solid var(--ink); text-align: left; font-size: var(--text-sm); font-weight: 600; color: var(--muted); white-space: nowrap; }
.spec thead th.r { text-align: right; padding-right: var(--s-3); }
.spec td, .spec tbody th { padding: var(--s-4) var(--s-4) var(--s-4) 0; border-bottom: var(--hair) solid var(--rule); text-align: left; vertical-align: middle; transition: background-color var(--dur-short) var(--ease-out); }
.spec td:first-child { padding-left: var(--s-3); }
.spec tbody th { font-size: var(--text-md); font-weight: 600; line-height: 1.3; white-space: nowrap; }
.spec td { color: var(--muted); }
.spec td.code { color: var(--muted); white-space: nowrap; }
.spec td.r { padding-right: var(--s-3); color: var(--ink); white-space: nowrap; }
.spec td.r .w { margin-right: var(--s-3); }
.spec .w { display: inline-block; vertical-align: middle; position: relative; width: 6rem; height: 4px; background: var(--rule); }
.spec .w::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w, 0%); background: var(--accent); }
.spec tbody tr:hover > * { background: var(--paper-2); }
.spec tbody tr:hover td.code:first-child { color: var(--accent-ink); }

/* =========================================================
   Solutions (switcher)
   ========================================================= */
.solutions h2 { margin-bottom: var(--s-5); }
.solutions h2 + .lead { margin-bottom: var(--s-7); }
.switch { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; }
.switch > * { min-width: 0; }
.seg { display: flex; margin-bottom: var(--s-6); }
.seg button, .seg [role="tab"] {
  min-height: 48px; padding: 0 var(--s-5); margin-left: -1px;
  border: var(--hair) solid var(--ink); border-radius: 0; background: var(--card); color: var(--ink);
  font: 600 var(--text-sm)/1.2 var(--sans); white-space: nowrap; cursor: pointer;
  transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out);
}
.seg button:first-child { margin-left: 0; border-radius: var(--radius-ctl) 0 0 var(--radius-ctl); }
.seg button:last-child { border-radius: 0 var(--radius-ctl) var(--radius-ctl) 0; }
.seg button:hover { background: var(--paper); }
.seg button:active { transform: translateY(1px); }
.seg button:focus-visible { position: relative; z-index: var(--z-raised); outline: 3px solid var(--focus); outline-offset: 3px; }
.seg button:disabled { opacity: 0.55; cursor: not-allowed; }
.seg button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap); padding: var(--s-7); background: var(--card); border: var(--hair) solid var(--rule); border-radius: var(--radius); }
.panel + .panel { margin-top: var(--s-5); }
.js .panel[hidden] { display: none; }
.panel h3 { font-size: var(--text-xl); line-height: 1.2; }
.panel p { margin-top: var(--s-3); color: var(--muted); }
.ruled { margin: 0; padding: 0; list-style: none; border-top: var(--hair) solid var(--ink); }
.ruled li { padding-block: var(--s-4); border-bottom: var(--hair) solid var(--rule); }

/* =========================================================
   Cards (shared plate; hover rule in rust, transform only)
   ========================================================= */
.plate, .card { position: relative; margin: 0; background: var(--card); border: var(--hair) solid var(--rule); border-radius: var(--radius); }
.plate.sheet { background: var(--ink-2); border-color: var(--rule-dark); }
.plan::after, .card::after {
  content: ""; position: absolute; left: -1px; right: -1px; bottom: -1px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-short) var(--ease-out);
}
.plan:hover::after, .plan:focus-within::after, .card:hover::after, .card:focus-within::after { transform: scaleX(1); }

/* =========================================================
   Pricing (core markup)
   ========================================================= */
.core-head { display: grid; gap: var(--s-4); margin-bottom: var(--s-8); }
.core-head h2 em, .core-start h2 em, .closing h2 em, .page-hero h1 em { font-style: normal; }
.core-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: var(--s-4); padding: var(--s-6); background: var(--card); border: var(--hair) solid var(--rule); border-radius: var(--radius); }
.plan__label { font-size: var(--text-sm); font-weight: 600; color: var(--muted); }
.plan__badge { align-self: flex-start; padding: var(--s-1) var(--s-2); border-radius: var(--radius-ctl); background: var(--signal); color: var(--ink); font-size: var(--text-xs); font-weight: 600; }
.plan__name { font-size: var(--text-h3); }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-2); }
.plan__price strong { font: 700 2.5rem/1 var(--display); font-variation-settings: var(--wdth); font-variant-numeric: tabular-nums; }
.plan__price span { font-size: var(--text-sm); color: var(--muted); }
.plan ul { flex: 1; margin: 0; padding: 0; list-style: none; border-top: var(--hair) solid var(--rule); }
.plan li { padding-block: var(--s-2); border-bottom: var(--hair) solid var(--rule); font-size: var(--text-sm); color: var(--muted); }
.plan li.inherit { font-weight: 600; color: var(--ink); }
.plan__fine { font-size: var(--text-xs); color: var(--muted); text-align: center; }
.plan--feature { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.plan--feature::after { background: var(--signal); }
.plan--feature .plan__label, .plan--feature .plan__price span, .plan--feature li, .plan--feature .plan__fine { color: var(--dark-muted); }
.plan--feature li.inherit { color: var(--paper); }
.plan--feature ul, .plan--feature li { border-color: var(--rule-dark); }
.core-note { margin-top: var(--s-8); max-width: 52ch; font-size: var(--text-lead); }

/* =========================================================
   FAQ
   ========================================================= */
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap); align-items: start; }
.faq__grid > div:first-child .lead, .faq__grid > h2 + .lead { margin-top: var(--s-4); }
.faq__list { border-top: var(--hair) solid var(--ink); }
.faq details { border-bottom: var(--hair) solid var(--rule); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 48px; padding-block: var(--s-5); font: 600 var(--text-lg)/1.3 var(--sans); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border: var(--hair) solid var(--rule); border-radius: var(--radius-ctl);
  background-image: linear-gradient(var(--ink), var(--ink)), linear-gradient(var(--ink), var(--ink));
  background-size: 12px 1.5px, 1.5px 12px; background-position: center; background-repeat: no-repeat;
  transition: border-color var(--dur-short) var(--ease-out);
}
.faq details[open] summary::after { background-size: 12px 1.5px, 0 0; border-color: var(--ink); }
.faq summary:hover { color: var(--accent-ink); }
.faq summary:hover::after { border-color: var(--accent); }
.faq summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.faq details p { max-width: 62ch; padding-bottom: var(--s-5); color: var(--muted); }

/* =========================================================
   Report band (home)
   ========================================================= */
.report { position: relative; }
.report::before { content: ""; position: absolute; top: 0; left: 0; right: 0; }
.report__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--gap); align-items: start; }
.report__when { margin-top: var(--s-5); color: var(--muted); }
.report__parts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin: var(--s-8) 0 0; padding: 0; list-style: none; counter-reset: rp; }
.report__parts:has(> li:nth-child(5)) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.report__parts li { counter-increment: rp; padding-top: var(--s-4); border-top: var(--hair) solid var(--ink); }
.report__parts li::before { content: counter(rp, decimal-leading-zero); display: block; margin-bottom: var(--s-3); font: 500 var(--text-sm)/1 var(--mono); font-variant-numeric: tabular-nums; color: var(--accent-ink); }
.report__parts h3 { font-size: var(--text-md); }
.report__parts p { margin-top: var(--s-2); font-size: var(--text-sm); color: var(--muted); }

/* =========================================================
   Get started (core markup)
   ========================================================= */
.core-start { background: var(--paper); border-top: var(--hair) solid var(--ink); }
.core-start__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap); align-items: start; }
.core-start h2 { margin-top: var(--s-4); }
.core-start .lede { margin-top: var(--s-4); }
.core-start__list { display: grid; margin: var(--s-7) 0 0; padding: 0; list-style: none; counter-reset: s; border-top: var(--hair) solid var(--ink); }
.core-start__list li { counter-increment: s; display: grid; grid-template-columns: var(--s-8) minmax(0, 1fr); padding-block: var(--s-3); border-bottom: var(--hair) solid var(--rule); }
.core-start__list li::before { content: counter(s, decimal-leading-zero); font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; color: var(--accent); }
.core-start__card { padding: var(--s-7); background: var(--card); border: var(--hair) solid var(--rule); border-radius: var(--radius); }
.core-form, .wl-form { display: grid; gap: var(--s-4); }
.core-form h3 { font-family: var(--display); font-weight: 700; font-variation-settings: var(--wdth); font-size: var(--text-2xl); line-height: 1.05; }
.core-form__sub { margin-top: calc(-1 * var(--s-2)); color: var(--muted); }
.core-form label, .wl-form label { display: grid; gap: var(--s-2); font-size: var(--text-sm); font-weight: 600; }
.core-form__opt, .wl-opt { font-weight: 400; color: var(--muted); }
.core-form input[type="text"], .core-form input[type="email"], .core-form input[type="url"], .core-form input[type="tel"],
.wl-form input:not([type="hidden"]), .wl-form textarea, .wl-form select {
  width: 100%; min-height: 48px; padding: var(--s-3) var(--s-4);
  border: 1.5px solid var(--rule); border-radius: var(--radius-ctl);
  background: var(--card); color: var(--ink); font-family: var(--sans); font-size: 16px; font-weight: 400; line-height: 1.4;
  transition: border-color var(--dur-short) var(--ease-out);
}
.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(--muted); }
.core-form input:focus, .wl-form input:focus, .wl-form textarea:focus { border-color: var(--ink); outline: none; }
.core-form input:focus-visible, .wl-form input:focus-visible, .wl-form textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; transition: none; }
.core-form input[aria-invalid="true"], .wl-form input[aria-invalid="true"], .wl-form textarea[aria-invalid="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, var(--card)); }
.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; margin: 0; padding: 0; border: 0; min-width: 0; }
.core-form__choice legend { margin-bottom: var(--s-2); padding: 0; font-size: var(--text-sm); font-weight: 600; }
.core-form__choice label { position: relative; display: inline-flex; align-items: center; min-height: 48px; padding: 0 var(--s-5); margin-left: -1px; border: var(--hair) solid var(--ink); font-size: var(--text-sm); font-weight: 600; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.core-form__choice label:first-of-type { margin-left: 0; border-radius: var(--radius-ctl) 0 0 var(--radius-ctl); }
.core-form__choice label:last-of-type { border-radius: 0 var(--radius-ctl) var(--radius-ctl) 0; }
.core-form__choice label:hover { background: var(--paper); }
.core-form__choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.core-form__choice label:has(input:checked) { background: var(--ink); color: var(--paper); }
.core-form__choice label:has(input:focus-visible) { z-index: var(--z-raised); outline: 3px solid var(--focus); outline-offset: 3px; }
.core-form__hp, .wl-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.core-form__status, .wl-status { min-height: 1.6em; font-size: var(--text-sm); color: var(--muted); }
.wl-status.is-error { color: var(--error); }
.core-form__legal, .wl-fine { font-size: var(--text-xs); color: var(--muted); }
.core-form__done { display: grid; gap: var(--s-4); }
.core-form__done h3 { font-family: var(--display); font-weight: 700; font-variation-settings: var(--wdth); font-size: var(--text-2xl); line-height: 1.05; }

/* =========================================================
   Footer (core markup: .site-footer.on-night)
   ========================================================= */
.site-footer { position: relative; padding-block: var(--s-10) calc(var(--s-7) + env(safe-area-inset-bottom, 0px)); background: var(--ink); color: var(--dark-muted); }
.site-footer::before { content: ""; position: absolute; top: var(--s-5); left: 0; right: 0; }
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer a:hover { color: var(--paper); text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 1px; }
.site-footer .brand, .site-footer .brand:hover { color: var(--paper); text-decoration: none; }
.site-footer .brand__word i, .footer__word i { font-style: normal; color: var(--signal); }
.site-footer .brand__by { color: var(--dark-muted); }
.footer__top { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: var(--gap); }
.footer__blurb { margin-top: var(--s-4); max-width: 36ch; color: var(--dark-muted); }
.footer__col h2, .footer__col h3 { max-width: none; font: 600 var(--text-sm)/1.4 var(--sans); font-variation-settings: normal; letter-spacing: 0; color: var(--dark-muted); }
.footer__col ul { display: grid; gap: var(--s-1); margin: var(--s-3) 0 var(--s-5); padding: 0; list-style: none; }
.footer__col li a { display: inline-flex; align-items: center; min-height: 32px; font-size: var(--text-sm); }
.footer__col span { color: var(--dark-muted); }
.footer__word { margin: var(--s-10) 0 var(--s-6); font: 700 clamp(3rem, 11vw, 9.5rem)/0.9 var(--display); font-variation-settings: var(--wdth); letter-spacing: -0.02em; color: var(--paper); overflow-wrap: break-word; min-width: 0; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-4); padding-top: var(--s-5); border-top: var(--hair) solid var(--rule-dark); font-size: var(--text-sm); color: var(--dark-muted); }
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); }
.footer__bottom nav a { display: inline-flex; align-items: center; min-height: 44px; }

/* =========================================================
   Inner pages
   ========================================================= */
.page-hero { padding-block: var(--s-10) var(--s-8); border-bottom: var(--hair) solid var(--ink); }
.page-hero .eyebrow { margin-bottom: var(--s-5); }
.page-hero .lead, .page-hero .lede { margin-top: var(--s-5); }
.page-hero .actions { margin-top: var(--s-6); }
.prose { max-width: 68ch; }
.prose > * + * { margin-top: var(--s-4); }
.prose h2 { max-width: none; margin-top: var(--s-8); font-size: var(--text-2xl); line-height: 1.1; }
.prose h3 { margin-top: var(--s-6); }
.prose h2 + *, .prose h3 + * { margin-top: var(--s-3); }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: var(--s-2); }
.prose li::marker { color: var(--accent); }
.prose strong { font-weight: 600; }
.prose a { color: var(--accent); }
.legal-meta, .updated { font-size: var(--text-sm); color: var(--muted); }

/* Contact */
.contact { background: var(--paper); }
.contact .ruled { margin-top: 0; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap); align-items: start; }
.contact__h { max-width: 16ch; margin-bottom: var(--s-7); }
.contact__next { counter-reset: cn; }
.contact__next li { counter-increment: cn; display: grid; grid-template-columns: var(--s-8) minmax(0, 1fr); }
.contact__next li::before { content: counter(cn, decimal-leading-zero); font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; color: var(--accent); }
.contact__card { padding: var(--s-7); }
.wl-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
.wl-form textarea { min-height: 128px; resize: vertical; }
.wl-form .btn { justify-self: start; }
.wl-done { display: grid; gap: var(--s-2); padding: var(--s-5); border: var(--hair) solid var(--ink); border-radius: var(--radius); background: var(--paper-2); }
.wl-done h3 { font-size: var(--text-h3); }
.wl-done:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

/* =========================================================
   Industry report (/industry-report/, core-built)
   ========================================================= */
.meta-row { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin: var(--s-6) 0 0; padding: 0; list-style: none; font-size: var(--text-sm); color: var(--muted); }
.meta-row > * { display: inline-flex; align-items: center; gap: var(--s-2); }
.meta-row > * + *::before { content: ""; width: 10px; height: 1px; background: var(--rule); }
.eyebrow__no, .eyebrow .no, .eyebrow b { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--accent-ink); }
.article { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--gap); align-items: start; padding-block: var(--section); }
.article > .wrap, .article .wrap { grid-column: 1 / -1; }
.toc { position: sticky; top: calc(var(--header-h) + var(--s-5)); align-self: start; font-size: var(--text-sm); }
.toc h2, .toc p:first-child { max-width: none; margin-bottom: var(--s-3); font: 600 var(--text-sm)/1.4 var(--sans); font-variation-settings: normal; color: var(--muted); }
.toc ol, .toc ul { margin: 0; padding: 0; list-style: none; border-top: var(--hair) solid var(--ink); counter-reset: toc; }
.toc li { counter-increment: toc; border-bottom: var(--hair) solid var(--rule); }
.toc a { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); align-items: center; min-height: 44px; padding-block: var(--s-1); color: var(--ink); text-decoration: none; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--mono); font-weight: 500; font-size: var(--text-xs); color: var(--muted); }
.toc a:hover, .toc a[aria-current="true"], .toc a[aria-current="location"] { color: var(--accent-ink); }
.toc a:hover::before { color: var(--accent); }
.article .prose h2 { scroll-margin-top: calc(var(--header-h) + var(--s-5)); }
.dropcap::first-letter { float: left; margin: 0.06em 0.1em 0 0; font: 700 3.6em/0.8 var(--display); font-variation-settings: var(--wdth); color: var(--accent); }
.callout { padding: var(--s-5); border: var(--hair) solid var(--rule); background: var(--paper-2); border-radius: var(--radius); color: var(--ink); font-weight: 600; }
.prose .callout { max-width: none; }
sup a, .prose sup a { font-family: var(--mono); font-size: 0.72em; font-weight: 500; color: var(--accent-ink); text-decoration: none; padding: 0 1px; }
sup a:hover { text-decoration: underline; }

/* Figures */
.figure-block { margin: var(--s-8) 0; padding: var(--s-6); background: var(--card); border: var(--hair) solid var(--rule); border-radius: var(--radius); }
.figure-block figcaption, .figure-block__title { font-family: var(--sans); font-weight: 600; font-size: var(--text-lg); color: var(--ink); }
.figure-block__sub, .figure-block figcaption span, .figure-block figcaption p, .figure-block .sub { display: block; margin-top: var(--s-1); font-size: var(--text-sm); font-weight: 400; color: var(--muted); }
.figure-block figcaption + * { margin-top: var(--s-6); }

/* Growth bars */
.growth { display: flex; align-items: flex-end; gap: var(--s-3); height: 260px; margin-top: var(--s-6); padding: 0; list-style: none; border-bottom: var(--hair) solid var(--ink); }
.growth__bars { display: flex; align-items: flex-end; gap: var(--s-3); height: 100%; width: 100%; margin: 0; padding: 0; list-style: none; }
.growth__bar, .growth__col, .growth li { position: relative; display: flex; flex: 1 1 0; min-width: 0; flex-direction: column; justify-content: flex-end; align-items: stretch; height: 100%; }
.growth__fill, .growth__bar > span:not([class]), .growth__bar i { display: block; height: var(--h, 100%); min-height: 4px; background: var(--accent); border-radius: var(--radius-ctl) var(--radius-ctl) 0 0; }
.growth__bar.is-forecast .growth__fill, .growth__bar--forecast .growth__fill, .growth .is-forecast .growth__fill, .growth [data-forecast="true"] .growth__fill {
  background: repeating-linear-gradient(135deg, var(--accent) 0 3px, transparent 3px 7px); border: 1.5px solid var(--accent); border-bottom: 0;
}
.growth__value, .growth__val { order: -1; margin-bottom: var(--s-2); font: 500 var(--text-sm)/1.2 var(--mono); font-variant-numeric: tabular-nums; text-align: center; color: var(--ink); }
.growth__label, .growth__year, .growth__yr { position: absolute; top: calc(100% + var(--s-2)); left: 0; right: 0; font: 400 var(--text-xs)/1.2 var(--sans); font-variant-numeric: tabular-nums; text-align: center; color: var(--muted); }
.growth + *, .growth__legend { margin-top: var(--s-7); }
.growth__legend { display: flex; flex-wrap: wrap; gap: var(--s-4); font-size: var(--text-sm); color: var(--muted); }

/* Range chart */
.range { display: grid; gap: var(--s-3); margin-top: var(--s-6); }
.range__axis { display: flex; justify-content: space-between; position: relative; margin-left: var(--range-label, 34%); padding-bottom: var(--s-2); border-bottom: var(--hair) solid var(--ink); font: 500 var(--text-xs)/1.2 var(--mono); font-variant-numeric: tabular-nums; color: var(--muted); }
.range__row { display: grid; grid-template-columns: var(--range-label, 34%) minmax(0, 1fr) auto; gap: var(--s-4); align-items: center; min-height: 44px; border-bottom: var(--hair) solid var(--rule); }
.range__label { font-weight: 600; font-size: var(--text-sm); }
.range__track { position: relative; height: 10px; background: var(--paper-2); border-radius: var(--radius-ctl); }
.range__bar, .range__fill { position: absolute; top: 0; bottom: 0; left: var(--min, 0%); right: calc(100% - var(--max, 100%)); background: var(--accent); border-radius: var(--radius-ctl); }
.range__value, .range__display { font: 500 var(--text-sm)/1.2 var(--mono); font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }

/* Pull stats */
.pullstat { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: var(--gap); margin: var(--s-8) 0; padding: var(--s-6) 0; list-style: none; border-top: var(--hair) solid var(--ink); border-bottom: var(--hair) solid var(--rule); }
.pullstat > * { display: grid; gap: var(--s-2); align-content: start; min-width: 0; }
.pullstat strong, .pullstat__value, .pullstat b { display: block; font: 700 clamp(2.25rem, 4vw, 3.25rem)/1 var(--display); font-variation-settings: var(--wdth); font-variant-numeric: tabular-nums; color: var(--accent-ink); overflow-wrap: break-word; }
.pullstat span, .pullstat__label, .pullstat p { font-size: var(--text-sm); color: var(--muted); }

/* Data tables */
.dtable-wrap, .dtable__wrap, .dtable-scroll { margin: var(--s-8) 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.dtable-wrap:focus-visible, .dtable__wrap:focus-visible, .dtable-scroll:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.dtable { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: var(--text-sm); border-top: var(--hair) solid var(--ink); }
.dtable caption, .dtable__caption { padding-bottom: var(--s-3); text-align: left; font-weight: 600; font-size: var(--text-md); color: var(--ink); caption-side: top; }
.dtable th, .dtable td { padding: var(--s-3) var(--s-4) var(--s-3) 0; border-bottom: var(--hair) solid var(--rule); text-align: left; vertical-align: top; }
.dtable thead th { border-bottom-color: var(--ink); font-weight: 600; color: var(--muted); white-space: nowrap; }
.dtable tbody th { font-weight: 600; color: var(--ink); }
.dtable td { color: var(--muted); font-variant-numeric: tabular-nums; }
.dtable tbody tr:hover > * { background: var(--paper-2); }

/* Funnel */
.funnel { display: grid; gap: var(--s-2); margin: var(--s-8) 0; padding: 0; list-style: none; counter-reset: fn; }
.funnel__stage, .funnel > li { counter-increment: fn; position: relative; display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: var(--s-1) var(--s-4); padding: var(--s-5); background: var(--card); border: var(--hair) solid var(--rule); border-radius: var(--radius); }
.funnel__stage:nth-child(2), .funnel > li:nth-child(2) { margin-left: 4%; }
.funnel__stage:nth-child(3), .funnel > li:nth-child(3) { margin-left: 8%; }
.funnel__stage:nth-child(4), .funnel > li:nth-child(4) { margin-left: 12%; }
.funnel__stage:nth-child(n+5), .funnel > li:nth-child(n+5) { margin-left: 16%; }
.funnel__stage::before, .funnel > li::before { content: counter(fn, decimal-leading-zero); grid-row: 1 / span 3; font: 500 var(--text-lg)/1.2 var(--mono); color: var(--accent); }
.funnel__stage h3, .funnel h3 { font-size: var(--text-h3); }
.funnel__stage p, .funnel p { color: var(--muted); }
.funnel__tags { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: var(--s-2) 0 0; padding: 0; list-style: none; }
.funnel__tags > * { padding: 2px var(--s-2); border: var(--hair) solid var(--rule); border-radius: var(--radius-ctl); font-size: var(--text-xs); font-weight: 600; color: var(--muted); }

/* Sources */
.sources { padding-block: var(--s-8); border-top: var(--hair) solid var(--ink); font-size: var(--text-sm); }
.sources h2 { max-width: none; margin-bottom: var(--s-5); font-size: var(--text-2xl); }
.sources ol { display: grid; gap: var(--s-3); margin: 0; padding-left: 2.25rem; }
.sources li { color: var(--muted); scroll-margin-top: calc(var(--header-h) + var(--s-5)); }
.sources li::marker { font-family: var(--mono); font-weight: 500; color: var(--accent-ink); }
.sources li:target { background: var(--paper-2); outline: 3px solid var(--signal); outline-offset: 3px; }
.sources a { overflow-wrap: anywhere; }

/* Section heads and the night closing band */
.sec-head { display: grid; gap: var(--s-4); margin-bottom: var(--s-8); }
.band-night { background: var(--ink); color: var(--on-dark); }
.band-night a:not(.btn) { color: var(--paper); text-decoration-color: var(--signal); }
.band-night .lede, .band-night .lead, .band-night p { color: var(--dark-muted); }
.band-night h2, .band-night .h2, .band-night .display, .on-night h2, .on-night .h2, .on-night .display { color: var(--paper); }
.closing { padding-block: var(--section); }
.closing h2 { margin-top: var(--s-4); }
.closing .lede, .closing .lead { margin-top: var(--s-5); }
.closing .actions, .closing .btn--demo { margin-top: var(--s-6); }

/* =========================================================
   Motion: one fade-up reveal, scroll-driven where supported, visible everywhere else
   ========================================================= */
@keyframes fw-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .claims li, .report__parts li { animation: fw-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* =========================================================
   Responsive: 1200 / 960 / 640
   ========================================================= */
@media (max-width: 75rem) {
  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .report__parts, .report__parts:has(> li:nth-child(5)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 60rem) {
  .head-split, .panel, .faq__grid, .report__grid, .core-start__grid, .contact__grid, .article { grid-template-columns: minmax(0, 1fr); }
  .core-plans { grid-template-columns: minmax(0, 1fr); max-width: 36rem; }
  .statement { width: 100%; }
  .claims { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); margin-top: var(--s-8); }
  .report__parts, .report__parts:has(> li:nth-child(5)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toc { position: static; }
  .head-split { gap: var(--s-4); margin-bottom: var(--s-7); }
}
@media (max-width: 40rem) {
  .seg { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .seg::-webkit-scrollbar { display: none; }
  .seg button { flex: none; min-height: 44px; scroll-snap-align: start; }
  .spec thead { display: none; }
  .spec, .spec tbody, .spec tr, .spec td, .spec tbody th { display: block; }
  .spec tr { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-1) var(--s-3); padding-block: var(--s-4); border-bottom: var(--hair) solid var(--rule); }
  .spec td, .spec tbody th { padding: 0; border: 0; white-space: normal; }
  .spec td:first-child { padding-left: 0; }
  .spec td:nth-child(3), .spec td.r { grid-column: 1 / -1; }
  .spec td.r { padding-right: 0; text-align: left; }
  .footer__top { grid-template-columns: minmax(0, 1fr); }
  .report__parts, .report__parts:has(> li:nth-child(5)) { grid-template-columns: minmax(0, 1fr); }
  .panel, .core-start__card, .plan, .contact__card, .figure-block { padding: var(--s-5); }
  .wl-row { grid-template-columns: minmax(0, 1fr); }
  .core-form__choice label { flex: 1 1 auto; justify-content: center; padding: 0 var(--s-3); }
  .funnel__stage, .funnel > li { margin-left: 0 !important; }
  .range__row { grid-template-columns: minmax(0, 1fr) auto; }
  .range__row .range__track { grid-column: 1 / -1; grid-row: 2; }
  .range__axis { margin-left: 0; }
  .sheet, .plate.sheet { padding-inline: var(--s-4); }
}
@media (hover: none) { .spec tbody tr:hover > *, .dtable tbody tr:hover > * { background: transparent; } }
