/* Hallmark · shape: Manifesto · genre: editorial · theme: custom, arborist's field kit (by request: plan design_notes) · job: try · hero: Poster (core standard, <!--core:hero-->) · nav: core sticky bar, ink-ruled · footer: statement (core) · imagery: photographs, 1 (the user's hero image) · product sample in hero sheet · signature: the tree market ranked as a spec sheet, your row barred in hi-vis orange · surface: sawdust paper, canopy bands · axes: light/slab/warm · posture: restrained, one hi-vis signal for actions · contrast: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V3 · weakest: V, the family keeps the GroutWatcher section order by rule; the slab display, pill controls, canopy bands and leaf weight bars carry the difference */
/* Hallmark · waive 65 · sawdust paper, slab display and hi-vis chainsaw orange are pinned by the plan's design notes for the tree trade · the orange is safety gear, the paper is sawdust, both named by the client brief */
/* Hallmark · answered F4 · the extra fills are the selected tab, the checked focus choice, the menu bars and the light button on night bands, not second primaries; one primary recipe (.btn, .btn--demo) runs the whole site, the hero included */
/* Hallmark · waive 24b · .btn padding 14px 26px is the plan's button spec for BranchWatcher, sized to a 48px pill · the design notes fix this pill, and every other step stays on the 8px base */
/* Hallmark · answered F7 · the pill radius sits on controls (.btn, .seg, tabs), the plan badge and the weight bar, the bar being a measurement mark */
/* Hallmark · core-owned: eyebrows, em in core pricing and get-started heads, the industry report eyebrow and the footer wordmark come from watcher-site-core markup and are styled, not removed */

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

  /* palette: arborist's field kit */
  --paper: #F3EFE6;
  --paper-2: #FBF9F4;
  --paper-3: #E7E1D3;
  --ink: #191E18;
  --ink-2: #2B3328;
  --muted: #5E6357;
  --rule: #D6CFBF;
  --canopy: #24301F;
  --canopy-2: #1A2317;
  --on-dark: #F3EFE6;
  --on-dark-muted: #B9C2A8;
  --accent: #E8692A;
  --accent-deep: #B04A16;
  --leaf: #6F8F3A;
  --error: #A3311B;
  --error-on-dark: #F2A48A;
  --success: #3F6B2A;

  /* names the core's own sections read (site.json core_theme) */
  --card: var(--paper-2);
  --line: var(--rule);
  --text: var(--ink);
  --dark: #191E18;
  --dark-muted: var(--on-dark-muted);

  --accent-soft: color-mix(in oklab, var(--accent) 14%, var(--paper-2));
  --line-on-dark: color-mix(in oklab, var(--on-dark) 18%, transparent);
  --shadow-aside: 0 18px 40px -20px rgb(0 0 0 / 0.45);

  /* type */
  --serif: "Zilla Slab", "Rockwell", "Roboto Slab", Georgia, serif;
  --sans: "Public Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: var(--sans);
  --text-xs: 0.8125rem;
  --text-sm: 0.9rem;
  --text-md: 1rem;
  --text-body: 1.0625rem;
  --text-lg: 1.2rem;
  --text-title: 1.3rem;
  --text-2xl: 1.75rem;
  --text-h1: clamp(2.6rem, 5.6vw, 4.6rem);
  --text-h2: clamp(2rem, 3.6vw, 3rem);
  --text-statement: clamp(2.2rem, 4.4vw, 3.6rem);
  --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: 48px; --s-9: 64px; --s-10: 96px;
  --section: clamp(72px, 10vw, 128px);
  --section-tight: clamp(48px, 6vw, 80px);
  --container: 1200px;
  --container-narrow: 52rem;
  --gutter: clamp(20px, 4vw, 40px);
  --gap: 40px;
  --header: 72px;

  /* shape */
  --radius: 2px;
  --pill: 999px;
  --rule-hair: 1px;
  --rule-bar: 2px;

  /* motion */
  --dur: 160ms;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --z-raised: 10; --z-sticky: 200; --z-nav: 300; --z-skip: 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) + var(--s-5));
  scrollbar-color: var(--muted) var(--paper);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--accent-deep);
}
::selection { background: color-mix(in oklab, var(--accent) 30%, transparent); color: var(--ink); }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-style: normal;
  font-synthesis: none;
  line-height: 1.05;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
  min-width: 0;
  text-wrap: balance;
  color: inherit;
}
h1 { max-width: 18ch; font-size: var(--text-h1); }
h2 { max-width: 26ch; font-size: var(--text-h2); }
h3 { max-width: 40ch; font-size: var(--text-title); line-height: 1.2; }
h1 em, h2 em, h3 em { font-style: normal; }

/* heading look on any element (core and report markup) */
.display {
  max-width: 18ch;
  margin: 0;
  font-family: var(--serif);
  font-size: var(--text-h1);
  font-weight: 600;
  font-style: normal;
  font-synthesis: none;
  line-height: 1.05;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
  min-width: 0;
  text-wrap: balance;
}
.display em { font-style: normal; }
.h2 {
  max-width: 26ch;
  margin: 0;
  font-family: var(--serif);
  font-size: var(--text-h2);
  font-weight: 600;
  font-style: normal;
  font-synthesis: none;
  line-height: 1.05;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
  min-width: 0;
  text-wrap: balance;
}
.h2 em { font-style: normal; }

p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 65ch; }
ul, ol { margin: 0; }
img, video, picture { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden]:not(.panel) { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
table { font-variant-numeric: tabular-nums; }
strong, b { font-weight: 600; }

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-color: var(--rule);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color var(--dur) var(--ease), text-decoration-color var(--dur) var(--ease);
}
a:hover { color: var(--accent-deep); text-decoration-color: currentColor; }

:focus-visible { outline: 3px solid var(--accent-deep); outline-offset: 3px; transition: none; }
.band--ink :focus-visible, .core-start > .wrap > .core-start__grid > div:first-child :focus-visible,
.site-footer :focus-visible, .band-night :focus-visible, .on-night :focus-visible, .core-hero :focus-visible { outline-color: var(--accent); }

.num, .figure, .code, td.num { font-variant-numeric: tabular-nums; }
.visually-hidden, .sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* small print and labels: body face, a step down, sentence case, untracked */
.small {
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--muted);
}
.label {
  display: inline-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);
}
.band--ink .small, .band-night .small, .on-night .small,
.band--ink .label, .band-night .label, .on-night .label { color: var(--on-dark-muted); }

.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: var(--z-skip);
  padding: var(--s-3) var(--s-4); border-radius: var(--radius);
  background: var(--ink); color: var(--paper); font-weight: 600; text-decoration: none;
}
.skip-link:focus-visible { top: var(--s-4); color: var(--paper); outline-color: var(--accent); }

/* ==========================================================================
   Layout primitives
   ========================================================================== */
.wrap, .container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.wrap--narrow, .wrap.wrap--narrow { max-width: calc(var(--container-narrow) + 2 * var(--gutter)); }
main > section, main > .core-start, main > .core-pricing { padding-block: var(--section); }
main > .core-hero { padding-block: clamp(56px, 7vw, 96px); }
.section, main > .section { padding-block: var(--section); }
.section--tight, main > .section--tight, main > section.section--tight { padding-block: var(--section-tight); }
.section + .section:not([class*="band"]) { border-top: var(--rule-hair) solid var(--rule); }
.band--ink { background: var(--canopy); color: var(--on-dark); }
.band--paper { background: var(--paper-3); }
.band--ink + .band--ink, .band--paper + .band--paper { border-top: var(--rule-hair) solid var(--line-on-dark); }

/* dark context (the core footer carries .on-night) */
.on-night { background-color: var(--canopy-2); color: var(--on-dark); }
.on-night h2, .on-night h3 { color: var(--on-dark); }
.on-night p, .on-night .lead, .on-night .lede, .on-night .eyebrow { color: var(--on-dark-muted); }
.on-night a:not(.btn) { color: var(--on-dark-muted); }
.on-night a:not(.btn):hover { color: var(--on-dark); text-decoration-color: var(--accent); }
.on-night .btn--ghost { background: transparent; border-color: var(--on-dark); color: var(--on-dark); }
.on-night .btn--ghost:hover { background: var(--on-dark); color: var(--ink); }

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

.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 { color: var(--on-dark-muted); }
.r { text-align: right; }
.actions, .page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); }
.page-actions { margin-top: var(--s-7); }

/* ==========================================================================
   Controls
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 48px;
  padding: 14px 26px;
  border: 1.5px solid var(--accent);
  border-radius: var(--pill);
  background: var(--accent);
  color: var(--ink);
  font: 600 var(--text-md)/1.1 var(--sans);
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:hover { background: color-mix(in oklab, var(--accent) 86%, var(--ink)); border-color: color-mix(in oklab, var(--accent) 86%, var(--ink)); color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--accent-deep); outline-offset: 3px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn[aria-busy="true"] { cursor: progress; }

.btn .arr {
  display: inline-block;
  flex-shrink: 0;
  width: 0.5em;
  height: 0.5em;
  margin-left: 2px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--dur) var(--ease);
}
.btn:hover .arr { transform: translateX(3px) rotate(45deg); }

/* the shared demo button (<!--core:demo-button-->): always the primary recipe */
.btn--demo,
.band--ink .btn--demo, .band-night .btn--demo, .on-night .btn--demo, .band--paper .btn--demo {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}
.btn--demo:hover,
.band--ink .btn--demo:hover, .band-night .btn--demo:hover, .on-night .btn--demo:hover, .band--paper .btn--demo:hover {
  background: color-mix(in oklab, var(--accent) 86%, var(--ink));
  border-color: color-mix(in oklab, var(--accent) 86%, var(--ink));
  color: var(--ink);
}
.band--ink .btn--demo:focus-visible, .band-night .btn--demo:focus-visible, .on-night .btn--demo:focus-visible { outline-color: var(--accent); }

.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); }
.btn--block { width: 100%; white-space: normal; }

/* light button for dark bands (report closing, use cases) */
.btn--light { background: var(--on-dark); border-color: var(--on-dark); color: var(--ink); }
.btn--light:hover { background: var(--paper-3); border-color: var(--paper-3); color: var(--ink); }
.btn--light:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ghost inverted on dark */
.band--ink .btn--ghost, .band-night .btn--ghost, .core-start__grid > div:first-child .btn--ghost {
  background: transparent; border-color: var(--on-dark); color: var(--on-dark);
}
.band--ink .btn--ghost:hover, .band-night .btn--ghost:hover { background: var(--on-dark); color: var(--ink); }
.band--ink .btn:focus-visible, .band-night .btn:focus-visible { outline-color: var(--accent); }

.demo-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
  margin: var(--s-4) 0 0;
  padding: 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: 0.55em; height: 0.3em;
  border-left: 2px solid var(--leaf);
  border-bottom: 2px solid var(--leaf);
  transform: translateY(-0.12em) rotate(-45deg);
}
.band--ink .demo-trust, .band-night .demo-trust, .on-night .demo-trust { color: var(--on-dark-muted); }
.demo-ps { margin-top: var(--s-4); max-width: 60ch; font-size: var(--text-sm); color: var(--muted); }
.band--ink .demo-ps, .band-night .demo-ps, .on-night .demo-ps { color: var(--on-dark-muted); }

/* ==========================================================================
   Header (core markup)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: var(--paper);
  border-bottom: var(--rule-bar) solid var(--ink);
}
.nav { display: flex; align-items: center; gap: var(--s-5); height: calc(var(--header) - var(--rule-bar)); }
.brand { display: inline-flex; align-items: center; gap: var(--s-3); flex-shrink: 0; min-height: 44px; color: inherit; text-decoration: none; }
.brand:hover { color: inherit; }
.brand__mark { flex-shrink: 0; width: 26px; height: 34px; }
.brand__word {
  display: block;
  font: 600 1.375rem/1 var(--serif);
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand__word i { font-style: italic; font-weight: 500; color: var(--accent-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; 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(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}
.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-5); }

.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  width: 48px;
  height: 48px;
  padding: 0 var(--s-3);
  border: 1.5px solid var(--ink);
  border-radius: var(--pill);
  background: var(--paper);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color var(--dur) var(--ease);
}
.menu-btn span { display: block; height: 2px; border-radius: 1px; background: var(--ink); transition: transform var(--dur) var(--ease); }
.menu-btn:hover { background: var(--paper-3); }
.menu-btn:active { transform: translateY(1px); }
.menu-btn:focus-visible { outline: 3px solid var(--accent-deep); outline-offset: 3px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-5px) rotate(-45deg); }

.mobile-nav { display: none; }

@media (max-width: 75rem) {
  .nav__links { display: none; }
  .nav__login { display: none; }
  .menu-btn { display: inline-flex; }
  .js .mobile-nav.is-open {
    display: grid;
    align-content: start;
    gap: var(--s-5);
    position: fixed;
    inset: var(--header) 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(--rule-bar) solid var(--ink); }
  .mobile-nav li { border-bottom: var(--rule-hair) solid var(--rule); }
  .mobile-nav li a {
    display: flex;
    align-items: center;
    min-height: 56px;
    padding: var(--s-3) 0;
    font: 600 var(--text-2xl)/1.1 var(--serif);
    color: var(--ink);
    text-decoration: none;
  }
  .mobile-nav li a:hover, .mobile-nav li a[aria-current="page"] { color: var(--accent-deep); }
  .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: partials/hero.css, coloured by core_theme)
   ========================================================================== */
.core-hero { --ch-header: 72px; }
.core-hero h1 { font-weight: 600; letter-spacing: -0.01em; line-height: 1.05; }
.core-hero .btn:not(.btn--ghost) { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.core-hero .btn:not(.btn--ghost):hover { background: color-mix(in oklab, var(--accent) 86%, var(--ink)); border-color: color-mix(in oklab, var(--accent) 86%, var(--ink)); }
.core-hero .btn--ghost { border-width: 1.5px; }
.core-hero .btn.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.core-hero .demo-trust span::before { border-color: var(--on-dark-muted); }

/* hero aside: the sample ranking sheet */
.plate { margin: 0; background: var(--paper-2); border: var(--rule-hair) solid var(--rule); border-radius: var(--radius); }
.sheet { width: 100%; padding: var(--s-4) var(--s-5) var(--s-3); color: var(--ink); box-shadow: var(--shadow-aside); }
.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 0 var(--s-2);
  border-bottom: var(--rule-bar) solid var(--ink);
  text-align: left;
  font-weight: 500;
  color: var(--muted);
}
.sheet__table thead th:first-child, .sheet__table td:first-child { padding-left: var(--s-3); }
.sheet__table thead th.r { text-align: right; }
.sheet__table td, .sheet__table tbody th { padding: var(--s-2) 0; border-bottom: var(--rule-hair) solid var(--rule); text-align: left; }
.sheet__table tbody th { padding-left: var(--s-3); font-weight: 500; font-size: var(--text-md); }
.sheet__table td.r { padding-right: var(--s-3); text-align: right; }
.sheet__table .code { font-weight: 600; color: var(--muted); }
.sheet__table td.r.code { color: var(--ink); }
.sheet__table tr:last-child > * { border-bottom: 0; }
.sheet__table .is-you { background: var(--accent-soft); }
.sheet__table .is-you > :first-child { box-shadow: inset 4px 0 0 var(--accent); }
.sheet__table .is-you th { font-weight: 600; }
.sheet__table .is-you .code { color: var(--accent-deep); }

/* ==========================================================================
   Why (statement on the canopy band)
   ========================================================================== */
.why { position: relative; }
.why .statement { color: var(--on-dark); }
.why .statement + .lead { margin-top: var(--s-5); }
.statement { max-width: 22ch; font-size: var(--text-statement); line-height: 1.05; }
.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;
}
.claims li {
  counter-increment: claim;
  padding-top: var(--s-5);
  border-top: var(--rule-hair) solid var(--on-dark-muted);
}
.claims li::before {
  content: counter(claim, decimal-leading-zero);
  display: block;
  margin-bottom: var(--s-4);
  font: 600 2.25rem/1 var(--serif);
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}
.claims h3 { font-size: var(--text-title); color: var(--on-dark); }
.claims p { margin-top: var(--s-3); max-width: 46ch; line-height: 1.55; color: var(--on-dark-muted); }

/* ==========================================================================
   Signals (specification table)
   ========================================================================== */
.signals { background: var(--paper); }
.signals .head-split h2 { max-width: 16ch; }
.signals .table-scroll { border-bottom: var(--rule-hair) solid var(--ink); }
.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; border-radius: var(--radius); }
.table-scroll:focus-visible { outline: 3px solid var(--accent-deep); outline-offset: 4px; }
.spec { width: 100%; border-collapse: collapse; border-top: var(--rule-bar) solid var(--ink); }
.spec thead th {
  padding: var(--s-3) var(--s-4) var(--s-3) 0;
  border-bottom: var(--rule-hair) solid var(--ink);
  text-align: left;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}
.spec thead th:first-child { padding-left: var(--s-3); }
.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(--rule-hair) solid var(--rule);
  text-align: left;
  vertical-align: middle;
  transition: background-color var(--dur) var(--ease);
}
.spec tbody tr:last-child > * { border-bottom: 0; }
.spec td:first-child { padding-left: var(--s-3); }
.spec tbody th { font: 600 var(--text-title)/1.2 var(--serif); white-space: nowrap; }
.spec td { color: var(--muted); }
.spec td.code { font-weight: 600; white-space: nowrap; }
.spec td.r { padding-right: var(--s-3); text-align: right; white-space: nowrap; color: var(--ink); }
.spec .w {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  width: 5.5rem;
  height: 4px;
  margin-right: var(--s-3);
  border-radius: var(--pill);
  background: var(--rule);
  overflow: hidden;
}
.spec .w::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w, 0%);
  border-radius: var(--pill);
  background: var(--leaf);
}
.spec tbody tr:hover > * { background: var(--paper-2); }
.spec tbody tr:hover td.code:first-child { color: var(--accent-deep); }

/* ==========================================================================
   Solutions (switcher)
   ========================================================================== */
.solutions h2 { margin-bottom: var(--s-8); }
.switch { position: relative; min-width: 0; }
.switch [role="tabpanel"]:focus-visible { outline: 3px solid var(--accent-deep); outline-offset: 3px; }
.seg {
  display: inline-flex;
  flex-wrap: wrap;
  gap: var(--s-1);
  max-width: 100%;
  margin-bottom: var(--s-6);
  padding: var(--s-1);
  border: var(--rule-hair) solid var(--rule);
  border-radius: var(--pill);
  background: var(--paper-2);
}
.seg button {
  min-height: 44px;
  padding: 0 var(--s-5);
  border: 0;
  border-radius: var(--pill);
  background: transparent;
  color: var(--ink-2);
  font: 500 var(--text-md)/1.2 var(--sans);
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.seg button:hover { background: var(--paper-3); color: var(--ink); }
.seg button:active { transform: translateY(1px); }
.seg button:focus-visible { outline: 3px solid var(--accent-deep); outline-offset: 2px; position: relative; z-index: var(--z-raised); }
.seg button:disabled { opacity: 0.55; cursor: not-allowed; }
.seg button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
html:not(.js) .seg { display: none; }

.panel {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--gap);
  padding: var(--s-7);
  background: var(--paper-2);
  border: var(--rule-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-2xl); line-height: 1.1; }
.panel p { margin-top: var(--s-4); max-width: 48ch; font-size: var(--text-lead); line-height: 1.5; color: var(--ink-2); }
.ruled { margin: 0; padding: 0; list-style: none; border-top: var(--rule-hair) solid var(--ink); }
.ruled li {
  padding-block: var(--s-4);
  border-bottom: var(--rule-hair) solid var(--rule);
  font-size: var(--text-lg);
  font-weight: 500;
  line-height: 1.4;
}
.more { margin-top: var(--s-8); font-weight: 600; }
.more a { text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.more a:hover { color: var(--accent-deep); }

/* ==========================================================================
   Pricing (core markup)
   ========================================================================== */
.core-head { display: grid; gap: var(--s-4); margin-bottom: var(--s-8); }
.core-head h2 em, .core-start h2 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-7) var(--s-6);
  background: var(--paper-2);
  border: var(--rule-hair) solid var(--rule);
  border-radius: var(--radius);
}
.plan--feature { border: var(--rule-bar) solid var(--ink); }
.plan__badge {
  align-self: flex-start;
  padding: var(--s-1) var(--s-3);
  border-radius: var(--pill);
  background: var(--accent);
  color: var(--ink);
  font-size: var(--text-xs);
  font-weight: 600;
  line-height: 1.4;
}
.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.2rem, 3vw, 2.75rem)/1 var(--serif);
  letter-spacing: -0.01em;
  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(--rule-hair) solid var(--rule); }
.plan li {
  padding: var(--s-2) 0 var(--s-2) var(--s-5);
  border-bottom: var(--rule-hair) solid var(--rule);
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--ink-2);
  position: relative;
}
.plan li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: calc(var(--s-2) + 0.45em);
  width: 0.6em; height: 0.32em;
  border-left: 2px solid var(--leaf);
  border-bottom: 2px solid var(--leaf);
  transform: rotate(-45deg);
}
.plan li.inherit { padding-left: 0; font-weight: 600; color: var(--ink); }
.plan li.inherit::before { content: none; }
.plan__fine { font-size: var(--text-xs); color: var(--muted); text-align: center; }
.core-note { margin-top: var(--s-8); max-width: 52ch; font-size: var(--text-lead); line-height: 1.5; color: var(--ink-2); }

/* ==========================================================================
   FAQ (ruled rows)
   ========================================================================== */
.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__intro { margin-top: var(--s-4); }
.faq__list { border-top: var(--rule-bar) solid var(--ink); }
.faq details { border-bottom: var(--rule-hair) solid var(--rule); }
.faq summary {
  position: relative;
  display: block;
  min-height: 44px;
  padding: var(--s-5) var(--s-8) var(--s-5) 0;
  font: 600 var(--text-lg)/1.35 var(--sans);
  cursor: pointer;
  list-style: none;
  transition: color var(--dur) var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: "";
  position: absolute;
  right: var(--s-2);
  top: 50%;
  width: 16px;
  height: 2px;
  margin-top: -1px;
  border-radius: 1px;
  background: var(--ink);
  transition: transform var(--dur) var(--ease);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details[open] summary::before { transform: rotate(180deg); }
.faq summary:hover { color: var(--accent-deep); }
.faq summary:focus-visible { outline: 3px solid var(--accent-deep); outline-offset: 3px; }
.faq details p { max-width: 60ch; padding-bottom: var(--s-5); color: var(--ink-2); }

/* ==========================================================================
   Report band
   ========================================================================== */
.report { position: relative; }
.report .report__grid h2 { max-width: 18ch; }
.report .lead { color: var(--ink-2); }
.report__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); 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 li {
  counter-increment: rp;
  padding: var(--s-5);
  background: var(--paper-2);
  border: var(--rule-hair) solid var(--rule);
  border-radius: var(--radius);
}
.report__parts li::before {
  content: counter(rp, decimal-leading-zero);
  display: block;
  margin-bottom: var(--s-4);
  font: 600 var(--text-2xl)/1 var(--serif);
  font-variant-numeric: tabular-nums;
  color: var(--accent-deep);
}
.report__parts h3 { font-size: var(--text-title); }
.report__parts p { margin-top: var(--s-2); color: var(--ink-2); }

/* ==========================================================================
   Get started (core markup) on canopy
   ========================================================================== */
.core-start { background: var(--canopy); color: var(--on-dark); }
.core-start__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap); align-items: start; }
.core-start .eyebrow { color: var(--on-dark-muted); }
.core-start h2 { margin-top: var(--s-3); color: var(--on-dark); }
.core-start .lede { margin-top: var(--s-4); color: var(--on-dark-muted); }
.core-start__list {
  display: grid;
  margin: var(--s-7) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: s;
  border-top: var(--rule-hair) solid var(--on-dark-muted);
}
.core-start__list li {
  counter-increment: s;
  display: grid;
  grid-template-columns: var(--s-8) minmax(0, 1fr);
  align-items: baseline;
  padding-block: var(--s-3);
  border-bottom: var(--rule-hair) solid var(--line-on-dark);
  color: var(--on-dark);
}
.core-start__list li::before {
  content: counter(s, decimal-leading-zero);
  font: 600 var(--text-lg)/1 var(--serif);
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}
.core-start__card {
  padding: var(--s-7);
  background: var(--paper-2);
  color: var(--ink);
  border-radius: var(--radius);
}
.core-start__card .eyebrow { color: var(--muted); }
.core-start__card :focus-visible { outline-color: var(--accent-deep); }

/* shared form fields (core form and contact form) */
.core-form, .wl-form { display: grid; gap: var(--s-4); }
.core-form h3 { font-size: var(--text-2xl); }
.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; 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="tel"], .core-form input[type="url"],
.wl-form input, .wl-form textarea, .wl-form select {
  width: 100%;
  min-height: 48px;
  padding: var(--s-3) var(--s-4);
  border: var(--rule-hair) solid var(--muted);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  outline: 3px solid transparent;
  outline-offset: 0;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.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);
  background: var(--paper-2);
  outline: 3px solid var(--accent-deep);
  outline-offset: 0;
}
.core-form input[aria-invalid="true"], .wl-form input[aria-invalid="true"], .wl-form textarea[aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.core-form input:disabled, .wl-form input:disabled, .wl-form textarea:disabled { opacity: 0.55; cursor: not-allowed; }
.wl-form textarea { min-height: 128px; resize: vertical; }

.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 { 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);
  border: var(--rule-hair) solid var(--muted);
  border-radius: var(--radius);
  background: var(--paper);
  font-size: var(--text-md);
  font-weight: 500;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.core-form__choice label:hover { border-color: var(--ink); }
.core-form__choice input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.core-form__choice label:has(input:checked) { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.core-form__choice label:has(input:focus-visible) { outline: 3px solid var(--accent-deep); outline-offset: 2px; z-index: var(--z-raised); }
.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); }
.wl-status.is-error { color: var(--error); font-weight: 600; }
.core-form__legal, .wl-fine { font-size: var(--text-xs); line-height: 1.5; color: var(--muted); }
.core-form__legal a { color: var(--ink); text-decoration-color: var(--muted); }
.core-form__done { display: grid; gap: var(--s-4); }
.core-form__done h3 { font-size: var(--text-2xl); }
.core-form__done a { font-weight: 600; text-decoration-color: var(--accent); }

/* ==========================================================================
   Footer (core markup, statement)
   ========================================================================== */
.site-footer {
  padding-block: var(--s-10) calc(var(--s-7) + env(safe-area-inset-bottom, 0px));
  background: var(--canopy-2);
  color: var(--on-dark);
}
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: var(--on-dark); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 0.22em; }
.site-footer .brand { color: var(--on-dark); }
.site-footer .brand:hover { text-decoration: none; }
.site-footer .brand__word { color: var(--on-dark); }
.site-footer .brand__word i { color: var(--accent); }
.site-footer .brand__by { color: var(--on-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(--on-dark-muted); }
.footer__col h2, .footer__col h3 {
  max-width: none;
  font: 600 var(--text-sm)/1.4 var(--sans);
  letter-spacing: 0;
  color: var(--on-dark);
}
.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; }
.footer__col span { color: var(--on-dark-muted); }
.footer__word {
  margin: var(--s-10) 0 var(--s-6);
  font: 600 clamp(3rem, 12vw, 10rem)/0.95 var(--serif);
  letter-spacing: -0.02em;
  color: var(--on-dark);
  overflow-wrap: break-word;
  min-width: 0;
}
.footer__word i { font-style: italic; font-weight: 500; color: var(--accent); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
  padding-top: var(--s-5);
  border-top: var(--rule-hair) solid var(--line-on-dark);
  font-size: var(--text-sm);
  color: var(--on-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; }
.credits { padding-block: var(--s-5); font-size: var(--text-sm); color: var(--on-dark-muted); }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero { padding-block: var(--s-10) var(--s-9); border-bottom: var(--rule-bar) solid var(--ink); }
main > .page-hero { padding-block: var(--s-10) var(--s-9); }
.page-hero .eyebrow { margin-bottom: var(--s-4); }
.page-hero .lead { margin-top: var(--s-5); }
.page-hero .actions { margin-top: var(--s-7); }
.prose { max-width: 68ch; }
.prose > * + * { margin-top: var(--s-4); }
.prose h2 { max-width: none; margin: var(--s-8) 0 var(--s-3); font-size: var(--text-2xl); line-height: 1.15; }
.prose h3 { margin: var(--s-6) 0 var(--s-2); font-size: var(--text-title); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { margin-top: var(--s-2); }
.prose li::marker { color: var(--accent-deep); }
.prose a { text-decoration-color: var(--accent-deep); }
.prose strong { color: var(--ink); }
.prose .updated, .prose .meta { font-size: var(--text-sm); color: var(--muted); }

/* contact */
.contact { background: var(--paper); }
.contact .ruled { margin-top: 0; }
.contact .ruled li { color: var(--ink-2); }
.contact .plate { border-color: var(--rule); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap); align-items: start; }
.contact__h { max-width: 18ch; margin-bottom: var(--s-6); font-size: var(--text-h2); }
.contact__card { padding: 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); align-items: baseline; }
.contact__next li::before { content: counter(cn, decimal-leading-zero); font: 600 var(--text-lg)/1 var(--serif); font-variant-numeric: tabular-nums; color: var(--accent-deep); }
.wl-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
.wl-form .btn { justify-self: start; }
.wl-done {
  display: grid;
  gap: var(--s-2);
  padding: var(--s-5);
  border: var(--rule-hair) solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent-soft);
}
.wl-done h3 { font-size: var(--text-title); }

/* ==========================================================================
   Industry report (core-built /industry-report/)
   ========================================================================== */
.page-hero .eyebrow span + span, .eyebrow__no + span { margin-left: var(--s-3); }
.eyebrow__no, .page-hero .eyebrow .no { font-weight: 600; color: var(--accent-deep); font-variant-numeric: tabular-nums; }
.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; }

.article {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: var(--gap);
  align-items: start;
}
.article > :only-child { grid-column: 1 / -1; }
.toc {
  position: sticky;
  top: calc(var(--header) + var(--s-5));
  max-height: calc(100dvh - var(--header) - var(--s-7));
  overflow-y: auto;
  padding-top: var(--s-4);
  border-top: var(--rule-bar) solid var(--ink);
  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); color: var(--muted); }
.toc ol, .toc ul { display: grid; margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; border-bottom: var(--rule-hair) solid var(--rule); }
.toc a {
  display: grid;
  grid-template-columns: 2.25em minmax(0, 1fr);
  align-items: baseline;
  min-height: 44px;
  padding: var(--s-2) 0;
  color: var(--ink-2);
  text-decoration: none;
}
.toc a::before { content: counter(toc, decimal-leading-zero); font-weight: 600; font-variant-numeric: tabular-nums; color: var(--muted); }
.toc a:hover, .toc a[aria-current="true"], .toc a[aria-current="location"] { color: var(--accent-deep); }

.article .prose, .article-body { min-width: 0; }
.article-body > * + *, .article > div > * + * { margin-top: var(--s-7); }
.prose h2[id] { padding-top: var(--s-4); border-top: var(--rule-hair) solid var(--rule); font-size: var(--text-h2); line-height: 1.08; }
.prose sup, .dtable sup, .pullstat sup, .funnel sup { font-size: 0.7em; line-height: 0; vertical-align: super; }
.prose sup a, .dtable sup a, .pullstat sup a, .funnel sup a, .figure-block sup a {
  padding: 0 2px;
  font-weight: 600;
  color: var(--accent-deep);
  text-decoration: none;
}
.prose sup a:hover, .dtable sup a:hover { text-decoration: underline; }
.dropcap::first-letter {
  float: left;
  margin: 0.06em 0.1em 0 0;
  font: 600 3.6em/0.8 var(--serif);
  color: var(--accent-deep);
}
.callout {
  padding: var(--s-5) var(--s-6);
  border: var(--rule-hair) solid var(--rule);
  border-top: var(--rule-bar) solid var(--leaf);
  border-radius: var(--radius);
  background: var(--paper-2);
  font-size: var(--text-lead);
  line-height: 1.5;
  color: var(--ink);
}

.figure-block {
  margin: var(--s-7) 0 0;
  padding: var(--s-6);
  background: var(--paper-2);
  border: var(--rule-hair) solid var(--rule);
  border-radius: var(--radius);
}
.figure-block h3, .figure-block figcaption h3, .figure-block__title { font-size: var(--text-title); }
.figure-block figcaption, .figure-block__sub, .figure-block .sub { margin-top: var(--s-2); font-size: var(--text-sm); color: var(--muted); }
.figure-block figcaption + * { margin-top: var(--s-6); }

/* growth: vertical bars, heights set inline as a percent of the tallest */
.growth {
  display: flex;
  align-items: flex-end;
  gap: clamp(8px, 2vw, 24px);
  height: 260px;
  margin-top: var(--s-6);
  padding-top: var(--s-6);
  border-bottom: var(--rule-bar) solid var(--ink);
}
.growth__col, .growth > li, .growth > div {
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  list-style: none;
}
.growth__bar {
  position: relative;
  min-height: 2px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--canopy);
}
/* projected bars (.fc on the bar or its column) */
.growth__bar.is-forecast, .growth__bar--forecast, .is-forecast > .growth__bar, .growth__col--forecast .growth__bar,
.growth__bar.fc, .fc > .growth__bar, .fc .growth__bar {
  background: repeating-linear-gradient(135deg, var(--leaf) 0 6px, color-mix(in oklab, var(--leaf) 55%, var(--paper-2)) 6px 12px);
}
.fc .growth__val, .fc .growth__value { color: var(--muted); }
.growth__legend .fc { display: inline-flex; align-items: center; gap: var(--s-2); }
.growth__legend .fc::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, var(--leaf) 0 3px, color-mix(in oklab, var(--leaf) 55%, var(--paper-2)) 3px 6px);
}
.growth__value, .growth__val {
  display: block;
  margin-bottom: var(--s-2);
  font-size: var(--text-sm);
  font-weight: 600;
  text-align: center;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--ink);
}
.growth__label, .growth__yr, .growth-labels > * {
  display: block;
  padding-top: var(--s-2);
  font-size: var(--text-xs);
  text-align: center;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.growth-labels { display: flex; gap: clamp(8px, 2vw, 24px); }
.growth-labels > * { flex: 1 1 0; min-width: 0; }
.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-xs); color: var(--muted); }

/* range: rows of min to max spans on a shared axis */
.range { display: grid; gap: var(--s-3); margin-top: var(--s-6); }
.range__row {
  display: grid;
  grid-template-columns: minmax(0, 11rem) minmax(0, 1fr) minmax(0, 7rem);
  gap: var(--s-4);
  align-items: center;
  padding-block: var(--s-2);
  border-bottom: var(--rule-hair) solid var(--rule);
}
.range__label { font-size: var(--text-sm); font-weight: 600; }
.range__track { position: relative; height: 12px; border-radius: var(--pill); background: var(--paper-3); }
.range__fill, .range__bar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--min, 0%);
  right: calc(100% - var(--max, 100%));
  min-width: 6px;
  border-radius: var(--pill);
  background: var(--accent);
}
.range__display, .range__value { font-size: var(--text-sm); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.range__axis {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin-left: calc(11rem + var(--s-4));
  margin-right: calc(7rem + var(--s-4));
  padding-top: var(--s-2);
  font-size: var(--text-xs);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* pullstat: the three-figure strip */
.pullstat {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: var(--s-5);
  margin-top: var(--s-7);
  padding: var(--s-6) 0;
  border-top: var(--rule-bar) solid var(--ink);
  border-bottom: var(--rule-hair) solid var(--rule);
  list-style: none;
}
.pullstat > * { min-width: 0; }
.pullstat strong, .pullstat__value, .pullstat dt {
  display: block;
  font: 600 clamp(2.25rem, 4vw, 3.25rem)/1 var(--serif);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  overflow-wrap: break-word;
}
.pullstat span, .pullstat__label, .pullstat dd, .pullstat p { display: block; margin: var(--s-2) 0 0; font-size: var(--text-sm); color: var(--muted); }

/* dtable: report data tables */
.dtable-wrap, .dtable__scroll { overflow-x: auto; margin-top: var(--s-7); -webkit-overflow-scrolling: touch; }
.dtable-wrap:focus-visible, .dtable__scroll:focus-visible { outline: 3px solid var(--accent-deep); outline-offset: 4px; }
.dtable { width: 100%; min-width: 34rem; border-collapse: collapse; border-top: var(--rule-bar) solid var(--ink); font-size: var(--text-md); }
.dtable caption { padding-bottom: var(--s-3); text-align: left; font: 600 var(--text-title)/1.2 var(--serif); caption-side: top; }
.dtable th, .dtable td { padding: var(--s-3) var(--s-4) var(--s-3) 0; border-bottom: var(--rule-hair) 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: 600; }
.dtable tbody tr:hover > * { background: var(--paper-2); }
.dtable td { font-variant-numeric: tabular-nums; color: var(--ink-2); }

/* funnel: stepped stages */
.funnel { display: grid; gap: var(--s-2); margin: var(--s-7) 0 0; padding: 0; list-style: none; counter-reset: fn; }
.funnel__stage, .funnel > li {
  counter-increment: fn;
  display: grid;
  grid-template-columns: var(--s-8) minmax(0, 1fr);
  gap: var(--s-1) var(--s-4);
  padding: var(--s-5);
  background: var(--paper-2);
  border: var(--rule-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: span 3;
  font: 600 var(--text-2xl)/1 var(--serif);
  font-variant-numeric: tabular-nums;
  color: var(--accent-deep);
}
.funnel h3, .funnel__title { font-size: var(--text-title); }
.funnel p, .funnel__text { color: var(--ink-2); }
.funnel__tags { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: var(--s-2) 0 0; padding: 0; list-style: none; }
.funnel__tags > *, .tag {
  padding: var(--s-1) var(--s-3);
  border: var(--rule-hair) solid var(--rule);
  border-radius: var(--pill);
  background: var(--paper);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--ink-2);
}

/* section heads, night band, closing, sources */
.sec-head { display: grid; gap: var(--s-4); margin-bottom: var(--s-8); }
.sec-head .eyebrow span:first-child { color: var(--accent-deep); font-weight: 600; }
.band-night { background: var(--canopy); color: var(--on-dark); }
main > .band-night { padding-block: var(--section); }
.band-night .eyebrow, .band-night .lead, .band-night .lede, .band-night p { color: var(--on-dark-muted); }
.band-night .eyebrow span:first-child, .band-night .eyebrow__no { color: var(--accent); }
.band-night h2, .band-night h3 { color: var(--on-dark); }
.band-night a:not(.btn) { color: var(--on-dark); text-decoration-color: var(--accent); }
.closing .wrap > * + *, .closing > * + * { margin-top: var(--s-5); }
.closing h2 { max-width: 22ch; font-size: var(--text-statement); }
.closing .actions, .closing .btn { margin-top: var(--s-7); }

.sources { margin-top: var(--s-9); padding-top: var(--s-5); border-top: var(--rule-bar) solid var(--ink); font-size: var(--text-sm); color: var(--ink-2); }
.sources h2 { max-width: none; margin-bottom: var(--s-4); font-size: var(--text-2xl); }
.sources ol { display: grid; gap: var(--s-3); padding-left: 2em; }
.sources li { scroll-margin-top: calc(var(--header) + var(--s-5)); overflow-wrap: anywhere; }
.sources li::marker { font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.sources li:target { background: var(--accent-soft); outline: 1px solid var(--accent); outline-offset: 4px; }
.sources a { color: var(--ink); text-decoration-color: var(--accent-deep); }
.sources .site, .sources small { color: var(--muted); }

/* ==========================================================================
   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) {
  .core-plans { grid-template-columns: minmax(0, 1fr); max-width: 36rem; }
  .report__parts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article { grid-template-columns: minmax(0, 1fr); gap: var(--s-7); }
  .toc { position: static; max-height: none; }
}
@media (max-width: 47.5rem) {
  .head-split, .panel, .faq__grid, .report__grid, .core-start__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .claims { grid-template-columns: minmax(0, 1fr); gap: var(--s-7); margin-top: var(--s-8); }
  .head-split { gap: var(--s-4); }
  .seg { display: flex; border-radius: var(--radius); }
  .seg button { flex: 1 1 auto; min-height: 44px; white-space: normal; }
  .panel { padding: var(--s-5); }
  .spec { min-width: 40rem; }
  .footer__top { grid-template-columns: repeat(2, 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, .funnel > li { margin-left: 0 !important; }
  .growth { height: 220px; }
}
@media (max-width: 40rem) {
  .report__parts { grid-template-columns: minmax(0, 1fr); }
  .footer__top { grid-template-columns: minmax(0, 1fr); }
  .wl-row { grid-template-columns: minmax(0, 1fr); }
  .core-start__card, .contact__card, .plan { padding: var(--s-5); }
  .figure-block { padding: var(--s-4); }
  .page-hero, main > .page-hero { padding-block: var(--s-9) var(--s-8); }
  .actions .btn, .page-actions .btn { flex: 1 1 100%; white-space: normal; }
  .wl-form .btn { justify-self: stretch; }
  .growth__value, .growth__val { font-size: var(--text-xs); }
}

@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:hover .arr { transform: rotate(45deg); }
  .btn:active, .seg button:active, .menu-btn:active { transform: none; }
}

@media (forced-colors: active) {
  .btn, .seg button, .menu-btn, .core-form__choice label { border: 1px solid ButtonText; }
  .spec .w::after, .range__fill, .growth__bar { background: CanvasText; }
}
