/* Hallmark · shape: Manifesto · genre: modern-minimal · theme: Lap & Trim (by request, plan design_notes) · job: try · hero: Poster (core standard, <!--core:hero-->) · nav: core sticky bar, ink-ruled · footer: statement (core), clapboard reveal at the top edge · imagery: photographs, 1 (the user's hero image) · product sample in hero sheet · signature: the siding market ranked as a spec sheet, your row on a cedar fill · axes: light/geometric-sans/warm · posture: restrained · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: P, the home page argues in words; the sourced figures live in the report teaser and the industry report it links to */
/* Hallmark · answered terrazzo photo-under-type · the home hero is the core standard (watcher-site-core docs/hero.md), a full-bleed photo with the core scrim, kept as shipped because the photo is already lightened */
/* Hallmark · answered F4 · the extra fills are the hamburger bars, the selected switcher tab, the checked focus choice, the is-you row (all cedar-with-ink) and the light button on ink bands, not second primaries */
/* Hallmark · dismissed F7 · the shared recipe is the form-field recipe, every 52px input and textarea in the get-started and contact forms, not a card container */
/* Hallmark · core-owned: 58 (pricing words), 54 and 38i (eyebrows, em in core pricing and get-started headings), 19 (footer line) come from watcher-site-core markup; eyebrows are set quiet and em is set roman */

/* ==========================================================================
   Tokens. Every colour and face lives here; nothing literal past this block.
   ========================================================================== */
:root {
  color-scheme: light;

  /* Palette: Lap & Trim */
  --paper: #F2EFE9;
  --paper-2: #FBFAF7;
  --paper-3: #E6E1D8;
  --ink: #1B2127;
  --ink-2: #2A323A;
  --muted: #5A6168;
  --rule: #D6D1C7;
  --cedar: #D9683A;
  --cedar-deep: #A84A22;
  --slate: #3E5A6C;
  --on-dark: #F2EFE9;
  --dark-muted: #B4BAC0;
  --error: #B42318;

  /* Names the core reads through site.json core_theme */
  --card: var(--paper-2);
  --line: var(--rule);
  --text: var(--ink);
  --accent: var(--cedar);
  --dark: var(--ink);

  /* Derived tints, still token-based */
  --cedar-hover: color-mix(in oklab, var(--cedar) 86%, var(--paper-2));
  --cedar-on-dark: color-mix(in oklab, var(--cedar) 55%, var(--on-dark));
  --rule-dark: color-mix(in oklab, var(--on-dark) 15%, transparent);
  --reveal-line: rgba(242, 239, 233, 0.06);
  --lit-edge: rgba(255, 255, 255, 0.28);
  --shadow-lift: 0 1px 2px rgba(27, 33, 39, 0.08), 0 18px 36px -18px rgba(27, 33, 39, 0.35);
  --selection: color-mix(in oklab, var(--cedar) 30%, transparent);

  /* Faces */
  --serif: "Red Hat Display", ui-sans-serif, system-ui, sans-serif;
  --sans: "Red Hat Text", ui-sans-serif, system-ui, sans-serif;
  --mono: "Red Hat Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Radii */
  --radius: 10px;
  --radius-btn: 6px;
  --radius-sheet: 4px;

  /* Type scale */
  --text-xs: 0.8125rem;
  --text-sm: 0.875rem;
  --text-md: 1.0625rem;
  --text-lg: 1.125rem;
  --text-title: 1.25rem;
  --text-2xl: 1.625rem;
  --text-lead: 1.2rem;
  --text-h1: clamp(2.6rem, 5.2vw, 4.6rem);
  --text-statement: clamp(2rem, 3.8vw, 3.2rem);
  --text-h2: clamp(1.75rem, 3vw, 2.5rem);
  --tracking-display: -0.03em;

  /* 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, 128px);
  --section-tight: clamp(48px, 6vw, 80px);
  --gutter: clamp(20px, 4vw, 40px);
  --container: 1200px;
  --container-narrow: 820px;
  --gap: 32px;
  --header-h: 74px;
  --reveal: 28px;

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

  --z-raised: 10;
  --z-sticky: 200;
  --z-nav: 300;
  --z-toast: 500;
}

/* ==========================================================================
   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-4));
  scrollbar-color: var(--muted) var(--paper);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--text-md);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--cedar-deep);
}
::selection { background: var(--selection); color: var(--ink); }
:focus-visible { outline: 2px solid var(--cedar); outline-offset: 3px; transition: none; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-synthesis: none;
  letter-spacing: var(--tracking-display);
  line-height: 1;
  color: inherit;
  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); line-height: 1.04; }
h3 { max-width: 40ch; font-size: var(--text-title); line-height: 1.2; letter-spacing: -0.015em; }
h1 em, h2 em, h3 em { font-style: normal; color: inherit; }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 65ch; }
small { font-size: var(--text-sm); }
img, video, picture { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
table { font-variant-numeric: tabular-nums; }

a {
  color: var(--cedar-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  text-decoration-color: currentColor;
  transition: text-decoration-color var(--dur-short) var(--ease-out), opacity var(--dur-short) var(--ease-out);
}
a:hover { text-decoration-thickness: 2px; }

.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-toast);
  padding: var(--s-2) var(--s-4); border-radius: var(--radius-btn);
  background: var(--ink); color: var(--on-dark); text-decoration: none; font-weight: 500;
}
.skip-link:focus-visible { top: var(--s-4); }

/* Data figures: scores, ranks, codes, weights, $ and % */
.code, .num, .fig, .figure-num {
  font-family: var(--mono);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}
.r { text-align: right; }

/* Type utilities: display and h2 looks on any element, quiet labels, small print */
.display {
  margin: 0;
  max-width: 20ch;
  font-family: var(--serif);
  font-weight: 600;
  font-size: var(--text-h1);
  line-height: 1;
  letter-spacing: var(--tracking-display);
  font-synthesis: none;
  overflow-wrap: break-word;
  min-width: 0;
  text-wrap: balance;
}
.h2 {
  margin: 0;
  max-width: 28ch;
  font-family: var(--serif);
  font-weight: 600;
  font-size: var(--text-h2);
  line-height: 1.04;
  letter-spacing: var(--tracking-display);
  font-synthesis: none;
  overflow-wrap: break-word;
  min-width: 0;
  text-wrap: balance;
}
.display em, .h2 em { font-style: normal; color: inherit; }
.label {
  display: block;
  margin: 0;
  font-family: var(--sans);
  font-size: var(--text-sm);
  font-weight: 500;
  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);
}

/* ==========================================================================
   Layout primitives
   ========================================================================== */
.wrap, .container {
  width: 100%;
  max-width: var(--container);
  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: var(--container-narrow); }
main > section, main > .core-start, main > .core-pricing { padding-block: var(--section); }
main > .core-hero { padding-block: clamp(56px, 7vw, 96px); }
.section { padding-block: var(--section); }
.section--tight, main > .section--tight { padding-block: var(--section-tight); }
.section + .section:not([class*="band"]) { border-top: 1px solid var(--rule); }

.band--ink, .band-night {
  background-color: var(--ink);
  background-image: repeating-linear-gradient(to bottom, var(--reveal-line) 0 1px, transparent 1px var(--reveal));
  color: var(--on-dark);
}
.band--ink a:not(.btn), .band-night a:not(.btn) { color: var(--on-dark); }
.band--paper { background: var(--paper-3); }
.band--paper a:not(.btn) { color: var(--ink); text-decoration-color: var(--cedar-deep); }

/* Any ink surface (the core footer carries .on-night): on-dark type, quiet secondary lines */
.on-night { color: var(--on-dark); }
.on-night :where(a:not(.btn)) { color: var(--on-dark); }
.on-night :where(.lead, .lede, .small, .label, .eyebrow) { color: var(--dark-muted); }
.on-night .btn--ghost { border-color: var(--on-dark); color: var(--on-dark); }
.on-night .btn--ghost:hover { background: var(--rule-dark); }
.on-night ::selection { background: var(--selection); color: var(--on-dark); }

.lead, .lede {
  max-width: 52ch;
  font-size: var(--text-lead);
  line-height: 1.5;
  color: var(--ink-2);
}
.band--ink .lead, .band--ink .lede, .band-night .lead, .band-night .lede { color: var(--dark-muted); }

/* Core-owned eyebrows, kept quiet: muted 500, sentence case, untracked */
.eyebrow, .plan__label {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}
.band--ink .eyebrow, .band-night .eyebrow, .core-start .eyebrow { color: var(--dark-muted); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); margin-top: var(--s-6); }

/* ==========================================================================
   Controls
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  min-height: 48px;
  padding: 0 var(--s-5);
  border: 1px solid var(--cedar);
  border-radius: var(--radius-btn);
  background: var(--cedar);
  color: var(--ink);
  box-shadow: inset 0 1px 0 var(--lit-edge);
  font: 600 1rem/1.1 var(--sans);
  letter-spacing: 0;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out);
}
.btn:hover { background: var(--cedar-hover); border-color: var(--cedar-hover); color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--cedar); outline-offset: 3px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn[aria-busy="true"] { cursor: progress; }

.btn--ghost, .btn-ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
  box-shadow: none;
}
.btn--ghost:hover, .btn-ghost:hover { background: color-mix(in oklab, var(--ink) 6%, transparent); border-color: var(--ink); color: var(--ink); }
.band--ink .btn--ghost, .band-night .btn--ghost, .plan--feature .btn--ghost { border-color: var(--on-dark); color: var(--on-dark); }
.band--ink .btn--ghost:hover, .band-night .btn--ghost:hover, .plan--feature .btn--ghost:hover { background: var(--rule-dark); }
.btn--block { width: 100%; }

/* Light button: a paper fill with ink text, for ink bands where a second action needs weight */
.btn--light {
  background: var(--on-dark);
  border-color: var(--on-dark);
  color: var(--ink);
  box-shadow: inset 0 1px 0 var(--lit-edge);
}
.btn--light:hover { background: var(--paper-3); border-color: var(--paper-3); color: var(--ink); }
.btn--light:focus-visible { outline-color: var(--cedar); }

/* The arrow: a CSS chevron, spaced from the label by the button gap */
.arr {
  display: inline-block;
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  margin-right: 2px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--dur-short) var(--ease-out);
}
.btn:hover .arr, a:hover > .arr { transform: translateX(2px) rotate(45deg); }
a:not(.btn) > .arr { margin-left: var(--s-2); vertical-align: 0.1em; }

/* Core photo hero: primary keeps the site's one button recipe; the ghost is inverted by the core */
.core-hero .core-hero__actions .btn:not(.btn--ghost) {
  background: var(--cedar);
  border-color: var(--cedar);
  color: var(--ink);
}
.core-hero .core-hero__actions .btn:not(.btn--ghost):hover { background: var(--cedar-hover); border-color: var(--cedar-hover); }
.core-hero .btn:focus-visible { outline-color: var(--cedar); }
.core-hero h1 { font-family: var(--serif); font-weight: 600; letter-spacing: var(--tracking-display); line-height: 1; font-size: var(--text-h1); }

.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);
}
.band--ink .demo-trust, .band-night .demo-trust { color: var(--dark-muted); }
.demo-ps { margin-top: var(--s-4); font-size: var(--text-sm); color: var(--muted); max-width: 60ch; }
.band--ink .demo-ps, .band-night .demo-ps { color: var(--dark-muted); }

/* ==========================================================================
   Header (core markup): sticky, ink-ruled, 72px + 2px rule = 74px
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}
.nav { display: flex; align-items: center; gap: var(--s-5); min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: var(--s-3); flex-shrink: 0; color: var(--ink); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand__mark { flex-shrink: 0; width: 26px; height: 34px; }
.brand__word {
  display: block;
  font: 600 1.25rem/1 var(--serif);
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand__word i { font-style: normal; color: var(--cedar-deep); }
.brand__by { display: block; margin-top: var(--s-1); font-size: var(--text-xs); font-weight: 500; color: var(--muted); }

.nav__links { display: flex; align-items: center; 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: 500;
  color: var(--ink-2);
  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(--cedar);
  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; }

.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  width: 48px;
  height: 48px;
  padding: 0 var(--s-3);
  border: 1px solid var(--ink);
  border-radius: var(--radius-btn);
  background: var(--paper-2);
  cursor: pointer;
  transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) 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-3); }
.menu-btn:active { transform: translateY(1px); }
.menu-btn:focus-visible { outline: 2px solid var(--cedar); outline-offset: 3px; }
.menu-btn[aria-expanded="true"] { background: var(--cedar); border-color: var(--cedar); }
.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__login { display: none; }
  .js .mobile-nav.is-open {
    display: grid;
    align-content: start;
    gap: var(--s-5);
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: var(--z-sticky);
    padding: var(--s-7) 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: 2px solid var(--ink); }
  .mobile-nav li { border-bottom: 1px solid var(--rule); }
  .mobile-nav li a {
    display: flex;
    align-items: center;
    min-height: 56px;
    font: 600 1.5rem/1.1 var(--serif);
    letter-spacing: -0.02em;
    color: var(--ink);
    text-decoration: none;
  }
  .mobile-nav li a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--cedar); text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
  .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 aside: the sample market as a spec sheet
   ========================================================================== */
.plate { margin: 0; }
.sheet {
  position: relative;
  width: 100%;
  padding: var(--s-4) var(--s-5) var(--s-3) calc(var(--s-5) + 8px);
  background: var(--paper-2);
  color: var(--ink);
  border-top: 4px solid var(--cedar);
  border-radius: var(--radius-sheet);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}
/* The clapboard reveal along the card's left edge */
.sheet::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  background-color: var(--ink);
  background-image: repeating-linear-gradient(to bottom, transparent 0 calc(var(--reveal) - 1px), var(--reveal-line) calc(var(--reveal) - 1px) var(--reveal));
}
.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: 500; color: var(--muted); }
.sheet__table thead th {
  padding: 0 var(--s-2) var(--s-2) 0;
  border-bottom: 2px solid var(--ink);
  text-align: left;
  font-weight: 500;
  color: var(--muted);
}
.sheet__table thead th.r { text-align: right; padding-right: 0; }
.sheet__table td, .sheet__table tbody th {
  padding: var(--s-2) var(--s-2) var(--s-2) 0;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: middle;
}
.sheet__table tbody th { padding-left: var(--s-3); font-weight: 500; font-size: 1rem; }
.sheet__table td.r { text-align: right; padding-right: 0; }
.sheet__table td.code { font-size: 1rem; }
.sheet__table tr:last-child > * { border-bottom: 0; }
.sheet__table .is-you > * { background: var(--cedar); color: var(--ink); border-bottom-color: var(--cedar); }
.sheet__table tr > :first-child { padding-left: var(--s-2); }
.sheet__table tr > :last-child { padding-right: var(--s-2); }

/* ==========================================================================
   #why: statement on ink, three ruled claims
   ========================================================================== */
.why { color: var(--on-dark); }
.why .statement { color: var(--on-dark); }
.why .claims li { min-width: 0; }
.statement {
  max-width: calc((100% + var(--gap)) * 7 / 12 - var(--gap));
  font-size: var(--text-statement);
  line-height: 1;
}
.claims {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: var(--s-9) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule-dark);
}
.claims li { padding: var(--s-6) var(--s-6) 0; border-left: 1px solid var(--rule-dark); }
.claims li:first-child { padding-left: 0; border-left: 0; }
.claims li:last-child { padding-right: 0; }
.claims h3 { color: var(--on-dark); }
.claims p { margin-top: var(--s-3); color: var(--dark-muted); }

/* ==========================================================================
   #signals: specification table
   ========================================================================== */
.signals { background: var(--paper); }
.signals .table-scroll { border-radius: var(--radius-sheet); }
.head-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  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: 2px solid var(--cedar); outline-offset: 3px; }
.spec { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); border-radius: var(--radius-sheet); }
.spec thead th {
  padding: var(--s-3) var(--s-4) var(--s-3) 0;
  border-bottom: 1px solid var(--ink);
  text-align: left;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}
.spec thead th.r { text-align: right; padding-right: 0; }
.spec td, .spec tbody th {
  padding: var(--s-4) var(--s-4) var(--s-4) 0;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: middle;
}
.spec tbody th { font: 600 var(--text-title)/1.2 var(--serif); letter-spacing: -0.015em; white-space: nowrap; }
.spec td { color: var(--muted); }
.spec td.code { color: var(--ink); white-space: nowrap; }
.spec td.r { padding-right: 0; text-align: right; white-space: nowrap; }
.spec .w {
  display: inline-block;
  position: relative;
  width: 6rem;
  height: 6px;
  margin-right: var(--s-3);
  vertical-align: middle;
  background: var(--paper-3);
  border-radius: 1px;
  overflow: hidden;
}
.spec .w::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--slate);
  transform-origin: left center;
  transform: scaleX(var(--w, 0));
}
.spec tbody tr { transition: background-color var(--dur-short) var(--ease-out); }
.spec tbody tr:hover { background: var(--paper-2); }

/* ==========================================================================
   #solutions: segmented switch, panels work without JS
   ========================================================================== */
.solutions h2 { margin-bottom: var(--s-8); }
.switch { min-width: 0; }
.seg {
  display: inline-flex;
  max-width: 100%;
  margin-bottom: var(--s-7);
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: var(--radius-btn);
  background: var(--paper-2);
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.seg button {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 var(--s-5);
  border: 0;
  border-left: 1px solid var(--rule);
  background: transparent;
  color: var(--ink);
  font: 500 var(--text-sm)/1 var(--sans);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out);
}
.seg button:first-child { border-left: 0; }
.seg button:hover { background: var(--paper); }
.seg button:active { transform: translateY(1px); }
.seg button:focus-visible { outline: 2px solid var(--cedar); outline-offset: -3px; position: relative; z-index: var(--z-raised); }
.seg button:disabled { opacity: 0.55; cursor: not-allowed; }
.seg button[aria-selected="true"] { background: var(--cedar); color: var(--ink); }
.seg button[aria-selected="true"]:focus-visible { outline-color: var(--ink); }
html:not(.js) .seg { display: none; }

.panel {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--gap);
  padding-top: var(--s-6);
  border-top: 2px solid var(--ink);
}
.panel + .panel { margin-top: var(--s-8); }
.js .panel + .panel { margin-top: 0; }
.js .panel[hidden] { display: none; }
.panel h3 { font-size: var(--text-2xl); line-height: 1.08; }
.panel p { margin-top: var(--s-4); color: var(--ink-2); font-size: var(--text-lead); line-height: 1.5; }
.ruled { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.ruled li { padding-block: var(--s-4); border-bottom: 1px solid var(--rule); font-weight: 500; }
.panel .ruled { border-top: 0; }
.panel .ruled li:first-child { padding-top: 0; }
.more { margin-top: var(--s-8); font-weight: 500; }

/* ==========================================================================
   Pricing (core markup)
   ========================================================================== */
.core-head { display: grid; gap: var(--s-4); margin-bottom: var(--s-8); }
.core-pricing em, .core-start em, .core-head h2 em { font-style: normal; color: inherit; }
.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(--paper-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}
.plan__badge {
  align-self: flex-start;
  padding: var(--s-1) var(--s-3);
  border-radius: var(--radius-btn);
  background: var(--cedar);
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.plan__name { font-size: var(--text-title); }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-2); }
.plan__price strong {
  font: 600 clamp(2.25rem, 3.4vw, 2.75rem)/1 var(--serif);
  letter-spacing: var(--tracking-display);
  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: 1px solid var(--rule); }
.plan li { padding-block: var(--s-2); border-bottom: 1px solid var(--rule); font-size: 1rem; color: var(--ink-2); }
.plan li.inherit { font-weight: 500; color: var(--ink); }
.plan__fine { font-size: var(--text-sm); color: var(--muted); text-align: center; }

.plan--feature { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.plan--feature .plan__label, .plan--feature .plan__price span, .plan--feature .plan__fine { color: var(--dark-muted); }
.plan--feature ul { border-top-color: var(--rule-dark); }
.plan--feature li { border-bottom-color: var(--rule-dark); color: var(--dark-muted); }
.plan--feature li.inherit { color: var(--on-dark); }
.plan--feature a:not(.btn) { color: var(--on-dark); }
.core-note { margin-top: var(--s-8); max-width: 52ch; font-size: var(--text-lead); color: var(--ink-2); }

/* ==========================================================================
   #faq
   ========================================================================== */
.faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap); align-items: start; }
.faq__head .lead, .faq__grid > div:first-child .lead { margin-top: var(--s-4); }
.faq__list { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: var(--s-4) var(--s-7) var(--s-4) 0;
  font: 500 var(--text-lg)/1.35 var(--sans);
  cursor: pointer;
  list-style: none;
  transition: color var(--dur-short) var(--ease-out);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 14px;
  height: 2px;
  margin-top: -1px;
  background: var(--ink);
  transition: transform var(--dur-short) var(--ease-out), opacity var(--dur-short) var(--ease-out);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(90deg) scaleX(0); opacity: 0; }
.faq summary:hover { color: var(--ink-2); }
.faq summary:focus-visible { outline: 2px solid var(--cedar); outline-offset: 3px; }
.faq details p { max-width: 62ch; padding: 0 var(--s-7) var(--s-5) 0; color: var(--ink-2); }

/* ==========================================================================
   #report teaser
   ========================================================================== */
.report { position: relative; }
.report .report__grid h2 { max-width: 20ch; }
.report .report__parts li { min-width: 0; }
.report__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap); align-items: end; }
.report__grid .lead { margin-top: var(--s-4); }
.report__when, .report__cta { margin-top: var(--s-4); color: var(--muted); }
.report__grid > :last-child:not(:first-child) { justify-self: end; }
.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 li { counter-increment: rp; padding-top: var(--s-4); border-top: 2px 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);
  color: var(--muted);
}
.report__parts h3 { font-size: var(--text-title); }
.report__parts p { margin-top: var(--s-2); color: var(--ink-2); }
.report__parts .code, .report__parts .fig, .report__parts strong, .report__parts data {
  font-family: var(--mono);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

/* ==========================================================================
   Get started (core markup): ink band, form card on paper
   ========================================================================== */
.core-start {
  background-color: var(--ink);
  background-image: repeating-linear-gradient(to bottom, var(--reveal-line) 0 1px, transparent 1px var(--reveal));
  color: var(--on-dark);
}
.core-start__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-10); align-items: start; }
.core-start h2 { color: var(--on-dark); margin-top: var(--s-3); }
.core-start .lede { margin-top: var(--s-4); color: var(--dark-muted); }
.core-start__list {
  display: grid;
  margin: var(--s-7) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: s;
  border-top: 1px solid var(--rule-dark);
}
.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: 1px solid var(--rule-dark);
  color: var(--on-dark);
}
.core-start__list li::before { content: counter(s, decimal-leading-zero); font-family: var(--mono); font-weight: 500; color: var(--dark-muted); }

.core-start__card {
  padding: var(--s-7);
  background: var(--paper-2);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
}
.core-start__card a { color: var(--cedar-deep); }
.core-start__card .eyebrow { color: var(--muted); }
.core-form, .core-form__done { display: grid; gap: var(--s-4); }
.core-form h3, .core-form__done h3 { font-size: var(--text-2xl); }
.core-form__sub { margin-top: calc(-1 * var(--s-2)); color: var(--muted); }
.core-form label { display: grid; gap: var(--s-2); font-size: 1rem; font-weight: 500; color: var(--ink); }
.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"]):not([type="radio"]):not([type="checkbox"]),
.wl-form textarea,
.wl-form select {
  width: 100%;
  min-height: 52px;
  padding: 0 var(--s-4);
  border: 1px solid var(--muted);
  border-radius: var(--radius-btn);
  background: var(--paper-2);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  outline: 2px solid transparent;
  outline-offset: 2px;
  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(--ink); }
.core-form input:focus-visible, .wl-form input:focus-visible, .wl-form textarea:focus-visible, .wl-form select:focus-visible {
  border-color: var(--ink);
  outline: 2px solid var(--cedar);
  outline-offset: 2px;
}
.core-form input[aria-invalid="true"], .wl-form input[aria-invalid="true"], .wl-form textarea[aria-invalid="true"] {
  border-color: var(--error);
  box-shadow: inset 0 0 0 1px var(--error);
  background: color-mix(in oklab, var(--error) 5%, var(--paper-2));
}
.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: var(--s-2); margin: 0; padding: 0; border: 0; min-width: 0; }
.core-form__choice legend { width: 100%; margin-bottom: var(--s-2); padding: 0; font-size: 1rem; font-weight: 500; }
.core-form .core-form__choice label {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 var(--s-5);
  border: 1px solid var(--muted);
  border-radius: var(--radius-btn);
  background: var(--paper-2);
  font-weight: 500;
  cursor: pointer;
  transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out);
}
.core-form__choice label:hover { border-color: var(--ink); }
.core-form__choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.core-form .core-form__choice label:has(input:checked) { background: var(--cedar); border-color: var(--cedar); color: var(--ink); }
.core-form__choice label:has(input:focus-visible) { outline: 2px solid var(--cedar); outline-offset: 3px; z-index: var(--z-raised); }
.core-form .btn { margin-top: var(--s-2); }
.core-form__hp, .wl-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.core-form__status, .wl-status { min-height: 1lh; font-size: var(--text-sm); color: var(--muted); }
.core-form__legal, .wl-fine { font-size: var(--text-sm); color: var(--muted); }
.core-form__done > a { font-weight: 500; }

/* ==========================================================================
   Footer (core markup): ink, clapboard reveal in the top 56px
   ========================================================================== */
.site-footer {
  padding-block: var(--s-10) calc(var(--s-7) + env(safe-area-inset-bottom, 0px));
  background-color: var(--ink);
  background-image: repeating-linear-gradient(to bottom, var(--reveal-line) 0 1px, transparent 1px var(--reveal));
  background-size: 100% 56px;
  background-repeat: no-repeat;
  color: var(--on-dark);
}
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--cedar); text-decoration-thickness: 2px; }
.site-footer .brand, .site-footer .brand__word { color: var(--on-dark); }
.site-footer .brand__word i, .footer__word i { font-style: normal; font-weight: inherit; color: var(--cedar-on-dark); }
.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: 500 var(--text-sm)/1.4 var(--sans);
  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: 0.9375rem; }
.footer__col span { color: var(--dark-muted); }
.footer__word {
  margin: var(--s-10) 0 var(--s-7);
  font: 600 clamp(3rem, 12vw, 10rem)/0.9 var(--serif);
  letter-spacing: -0.04em;
  color: var(--on-dark);
  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: 1px solid var(--rule-dark);
  font-size: var(--text-sm);
  color: var(--dark-muted);
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: var(--s-5); }
.footer__bottom a { color: var(--dark-muted); font-size: var(--text-sm); }
.footer__bottom a:hover { color: var(--on-dark); }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero { padding-block: var(--s-10) var(--s-8); border-bottom: 2px solid var(--ink); }
main > .page-hero { padding-block: var(--s-10) var(--s-8); }
.page-hero .eyebrow { margin-bottom: var(--s-4); }
.page-hero .lead { margin-top: var(--s-5); }
.page-hero .actions { margin-top: var(--s-6); }
.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 > * { margin: 0; }
.eyebrow__no, .eyebrow .no { font-weight: 500; color: var(--ink); margin-right: var(--s-2); }

.prose { max-width: 68ch; }
.prose h2 { font-size: var(--text-2xl); margin: var(--s-8) 0 var(--s-3); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: var(--s-6) 0 var(--s-2); }
.prose p + p, .prose p + ul, .prose p + ol, .prose ul + p, .prose ol + p { margin-top: var(--s-4); }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { margin-top: var(--s-2); }
.prose li::marker { color: var(--muted); }
.prose strong { font-weight: 600; }
.prose sup, .article sup { line-height: 0; font-size: 0.7em; }
.prose sup a, .article sup a { font-family: var(--mono); font-weight: 500; text-decoration: none; padding-inline: 2px; }
.prose sup a:hover, .article sup a:hover { text-decoration: underline; }
.dropcap::first-letter {
  float: left;
  margin: 0.06em var(--s-2) 0 0;
  font: 600 3.4em/0.85 var(--serif);
  color: var(--ink);
}
.callout {
  margin-block: var(--s-6);
  padding: var(--s-5);
  border: 1px solid var(--rule);
  border-top: 2px solid var(--ink);
  border-radius: var(--radius-sheet);
  background: var(--paper-2);
  font-size: var(--text-lg);
  color: var(--ink);
}
.sec-head { display: grid; gap: var(--s-3); margin-bottom: var(--s-7); }
.sec-head .lead, .sec-head .lede { margin-top: var(--s-2); }

/* Legal, thank-you and 404 pages */
.legal .prose h2, .prose--legal h2 { font-size: var(--text-title); letter-spacing: -0.015em; }
.notfound .actions, .thanks .actions { margin-top: var(--s-6); }

/* Contact (shared watcher-leads Worker) */
.contact { background: var(--paper); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-10); align-items: start; }
.contact__h { font-size: var(--text-h2); margin-bottom: var(--s-6); }
.contact__next { counter-reset: cn; border-top: 2px solid var(--ink); }
.contact__next li {
  counter-increment: cn;
  display: grid;
  grid-template-columns: var(--s-8) minmax(0, 1fr);
  align-items: baseline;
  color: var(--ink-2);
}
.contact__next li::before {
  content: counter(cn, decimal-leading-zero);
  font: 500 var(--text-sm)/1 var(--mono);
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.contact__card { padding: var(--s-7); background: var(--paper-2); border-radius: var(--radius); box-shadow: var(--shadow-lift); }
.page-actions { margin-top: var(--s-7); }
.wl-form { display: grid; gap: var(--s-4); }
.wl-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
.wl-form label { display: grid; gap: var(--s-2); font-size: 1rem; font-weight: 500; color: var(--ink); }
.wl-form textarea { min-height: 136px; padding-block: var(--s-3); resize: vertical; }
.wl-form .btn { justify-self: start; }
.wl-status.is-error { color: var(--error); }
.wl-done {
  display: grid;
  gap: var(--s-2);
  padding: var(--s-5);
  border-top: 4px solid var(--cedar);
  border-radius: var(--radius-sheet);
  background: var(--paper);
}
.wl-done h3 { font-size: var(--text-title); }

/* ==========================================================================
   Industry report (core-built /industry-report/)
   ========================================================================== */
.article { padding-block: var(--s-9) var(--section); }
.article__grid, .article > .wrap { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--gap); align-items: start; }
.article > .wrap > :not(.toc) { grid-column: 2; }
.article > .wrap > .toc { grid-column: 1; grid-row: 1 / span 999; }
.toc {
  position: sticky;
  top: calc(var(--header-h) + var(--s-5));
  padding-top: var(--s-3);
  border-top: 2px solid var(--ink);
  font-size: var(--text-sm);
}
.toc h2, .toc p:first-child, .toc__title { max-width: none; margin-bottom: var(--s-3); font: 500 var(--text-sm)/1.4 var(--sans); letter-spacing: 0; color: var(--muted); }
.toc ol, .toc ul { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; border-bottom: 1px solid var(--rule); }
.toc a {
  display: flex;
  gap: var(--s-3);
  align-items: baseline;
  min-height: 40px;
  padding-block: var(--s-2);
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 500;
}
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--mono); color: var(--muted); }
.toc a:hover, .toc a[aria-current="true"], .toc a[aria-current="location"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--cedar); text-decoration-thickness: 2px; }

.figure-block {
  margin: var(--s-7) 0;
  padding: var(--s-5);
  background: var(--paper-2);
  border-top: 2px solid var(--ink);
  border-radius: var(--radius-sheet);
}
.figure-block figcaption, .figure-block__title, .figure-block h3 { font: 600 var(--text-title)/1.2 var(--serif); letter-spacing: -0.015em; }
.figure-block__sub, .figure-block .sub, .figure-block figcaption p { margin-top: var(--s-1); font: 400 var(--text-sm)/1.5 var(--sans); letter-spacing: 0; color: var(--muted); }
.figure-block + .figure-block { margin-top: 0; }

/* Growth chart: vertical bars, forecast bars outlined in slate */
.growth { margin-top: var(--s-5); }
.growth__bars, .growth__chart {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: var(--s-3);
  align-items: end;
  height: 240px;
  padding-bottom: 0;
  border-bottom: 2px solid var(--ink);
}
.growth__bar, .growth__col { display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; height: 100%; min-width: 0; text-align: center; }
.growth__fill, .growth__bar > i, .growth__bar > span:not([class]) {
  display: block;
  width: 100%;
  min-height: 2px;
  background: var(--slate);
  border-radius: 2px 2px 0 0;
}
.growth__bar.is-forecast .growth__fill, .growth__bar--forecast .growth__fill, .growth__fill.is-forecast, .growth__fill--forecast, .is-forecast > .growth__fill {
  background: transparent;
  border: 1px dashed var(--slate);
  border-bottom: 0;
}
/* Forecast marker from the core (.fc): on an empty fill it is the fill; on a column it outlines the column's fill */
.fc:empty, .fc > :empty, .fc > .growth__fill, .fc > i {
  display: block;
  min-height: 2px;
  background: transparent;
  border: 1px dashed var(--slate);
  border-bottom: 0;
  border-radius: 2px 2px 0 0;
}
.fc .growth__value, .fc .growth__val, .fc .growth__yr { color: var(--muted); }
.growth__legend .fc:not(:empty)::before, .range__legend .fc:not(:empty)::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: var(--s-2);
  vertical-align: -1px;
  border: 1px dashed var(--slate);
}
.growth__value, .growth__val {
  margin-bottom: var(--s-1);
  font: 500 var(--text-sm)/1.2 var(--mono);
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.growth__labels { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--s-3); }
.growth__label { margin-top: var(--s-2); font: 500 var(--text-sm)/1.3 var(--sans); color: var(--muted); text-align: center; }
.growth__yr {
  display: block;
  margin-top: var(--s-2);
  font: 500 var(--text-sm)/1.3 var(--mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  color: var(--ink-2);
  text-align: center;
}
.growth__legend, .range__legend { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin-top: var(--s-4); font-size: var(--text-sm); color: var(--muted); }

/* Range chart: a horizontal bar per row on a shared axis */
.range { margin-top: var(--s-5); display: grid; gap: var(--s-3); }
.range__row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) minmax(0, 2fr); gap: var(--s-4); align-items: center; padding-block: var(--s-2); border-bottom: 1px solid var(--rule); }
.range__label { font-weight: 500; }
.range__track { position: relative; height: 10px; background: var(--paper-3); border-radius: 2px; overflow: hidden; }
.range__bar, .range__fill { position: absolute; top: 0; bottom: 0; background: var(--slate); border-radius: 2px; }
.range__value, .range__val, .range__display { font: 500 var(--text-sm)/1.2 var(--mono); font-variant-numeric: tabular-nums; text-align: right; color: var(--ink); }
.range__axis { position: relative; display: flex; justify-content: space-between; margin-left: calc((100% - var(--s-4) * 2) * 4 / 12 + var(--s-4)); margin-right: calc((100% - var(--s-4) * 2) * 2 / 12 + var(--s-4)); font: 400 var(--text-xs)/1 var(--mono); color: var(--muted); }

/* Pull stats: three figures in mono over ruled tops */
.pullstat {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: var(--gap);
  margin: var(--s-7) 0;
  padding: 0;
  list-style: none;
}
.pullstat > * { margin: 0; padding-top: var(--s-4); border-top: 2px solid var(--ink); }
.pullstat__value, .pullstat strong, .pullstat dt {
  display: block;
  font: 500 clamp(1.75rem, 3vw, 2.5rem)/1 var(--mono);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.pullstat__label, .pullstat span:not([class]), .pullstat dd { display: block; margin: var(--s-2) 0 0; font-size: 1rem; color: var(--ink-2); }
.band--ink .pullstat > *, .band-night .pullstat > * { border-top-color: var(--rule-dark); }
.band--ink .pullstat__value, .band-night .pullstat__value, .band-night .pullstat strong { color: var(--on-dark); }
.band--ink .pullstat__label, .band-night .pullstat__label { color: var(--dark-muted); }

/* Data tables */
.dtable-wrap, .dtable__scroll, .dtable__wrap { overflow-x: auto; margin: var(--s-7) 0; -webkit-overflow-scrolling: touch; }
.dtable-wrap:focus-visible, .dtable__scroll:focus-visible, .dtable__wrap:focus-visible { outline: 2px solid var(--cedar); outline-offset: 3px; }
.dtable { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); font-size: 1rem; }
.dtable caption, .dtable__caption { padding-bottom: var(--s-3); text-align: left; font: 600 var(--text-title)/1.2 var(--serif); letter-spacing: -0.015em; caption-side: top; }
.dtable th, .dtable td { padding: var(--s-3) var(--s-4) var(--s-3) 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.dtable thead th { font-size: var(--text-sm); font-weight: 500; color: var(--muted); border-bottom-color: var(--ink); white-space: nowrap; }
.dtable tbody th { font-weight: 500; color: var(--ink); }
.dtable td { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.dtable td.num, .dtable td.code { font-family: var(--mono); }

/* Funnel: stepped stages, each indented a step further */
.funnel { display: grid; gap: var(--s-2); margin: var(--s-7) 0; padding: 0; list-style: none; counter-reset: fn; }
.funnel__stage {
  counter-increment: fn;
  display: grid;
  grid-template-columns: var(--s-8) minmax(0, 1fr);
  gap: var(--s-2) var(--s-4);
  padding: var(--s-4) var(--s-5);
  background: var(--paper-2);
  border-top: 2px solid var(--slate);
  border-radius: var(--radius-sheet);
}
.funnel__stage::before { content: counter(fn, decimal-leading-zero); grid-row: 1 / span 3; font: 500 var(--text-sm)/1.6 var(--mono); color: var(--muted); }
.funnel__stage:nth-child(2) { margin-left: 4%; }
.funnel__stage:nth-child(3) { margin-left: 8%; }
.funnel__stage:nth-child(4) { margin-left: 12%; }
.funnel__stage:nth-child(n+5) { margin-left: 16%; }
.funnel__stage h3, .funnel__title { font-size: var(--text-title); }
.funnel__stage p, .funnel__text { color: var(--ink-2); }
.funnel__tags { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: var(--s-1) 0 0; padding: 0; list-style: none; }
.funnel__tags > *, .funnel__tag {
  padding: 2px var(--s-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sheet);
  background: var(--paper);
  font-size: var(--text-sm);
  color: var(--ink-2);
}

/* Sources */
.sources { margin-top: var(--s-8); padding-top: var(--s-5); border-top: 2px solid var(--ink); font-size: var(--text-sm); color: var(--ink-2); }
.sources h2 { font-size: var(--text-2xl); margin-bottom: var(--s-4); }
.sources ol { margin: 0; padding-left: 2.25em; }
.sources li { padding-block: var(--s-2); border-bottom: 1px solid var(--rule); scroll-margin-top: calc(var(--header-h) + var(--s-5)); }
.sources li::marker { font-family: var(--mono); color: var(--muted); }
.sources li:target { background: var(--paper-2); }
.sources a { overflow-wrap: anywhere; }

/* Closing band */
.closing { padding-block: var(--section); }
.closing h2 { font-size: var(--text-statement); line-height: 1; max-width: 22ch; }
.closing .lead, .closing .lede { margin-top: var(--s-5); }
.closing .actions, .closing .btn--demo { margin-top: var(--s-6); }
.band-night .eyebrow__no, .band-night .eyebrow .no { color: var(--on-dark); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 75rem) {
  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 60rem) {
  .head-split, .panel, .faq__grid, .report__grid, .core-start__grid, .contact__grid,
  .article__grid, .article > .wrap { grid-template-columns: minmax(0, 1fr); }
  .article > .wrap > :not(.toc), .article > .wrap > .toc { grid-column: 1; grid-row: auto; }
  .toc { position: static; }
  .core-start__grid, .contact__grid { gap: var(--s-8); }
  .statement { max-width: 22ch; }
  .claims { grid-template-columns: minmax(0, 1fr); border-top: 0; margin-top: var(--s-8); }
  .claims li, .claims li:first-child { padding: var(--s-5) 0; border-left: 0; border-top: 1px solid var(--rule-dark); }
  .core-plans { grid-template-columns: minmax(0, 1fr); }
  .report__parts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report__grid > :last-child:not(:first-child) { justify-self: start; }
}
@media (max-width: 40rem) {
  .seg { display: flex; }
  .spec thead { display: none; }
  .spec, .spec tbody, .spec tr, .spec td, .spec tbody th { display: block; }
  .spec tr { padding-block: var(--s-3); border-bottom: 1px solid var(--rule); }
  .spec td, .spec tbody th { padding: 2px 0; border: 0; white-space: normal; }
  .spec td.r { text-align: left; }
  .footer__top { grid-template-columns: minmax(0, 1fr); }
  .report__parts { grid-template-columns: minmax(0, 1fr); }
  .core-start__card, .plan, .contact__card { padding: var(--s-5); }
  .wl-row { grid-template-columns: minmax(0, 1fr); }
  .range__row { grid-template-columns: minmax(0, 1fr) auto; }
  .range__track { grid-column: 1 / -1; grid-row: 2; }
  .range__axis { margin-inline: 0; }
  .funnel__stage:nth-child(n) { margin-left: 0; }
  .growth__bars, .growth__chart { height: 200px; gap: var(--s-2); }
  .growth__yr { font-size: var(--text-xs); }
  .faq details p { padding-right: 0; }
}

/* ==========================================================================
   Motion and print
   ========================================================================== */
@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;
  }
  .btn:active, .seg button:active, .menu-btn:active { transform: none; }
}
@media print {
  .site-header, .mobile-nav, .site-footer, .core-start, .skip-link { display: none !important; }
  body { background: none; color: var(--ink); }
  .band--ink, .band-night, .on-night, .why { background: none; color: var(--ink); }
}
