/* Hallmark · shape: Manifesto · genre: modern-minimal · theme: Galvanized (custom, 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 gutter market ranked as a spec sheet, your row on a rain-blue rule, every score set in mono like a measurement · axes: light/wide-grotesque/cool · posture: restrained · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R5 V4 · weakest: P, the home page argues in words; the sourced numbers carry it on the ink band (60%, $228.15, 5%) and the rest live in the industry report */
/* Hallmark · answered F4 · the extra fills are the hamburger bars, the selected switcher segment and the inverted button on ink bands, not second primaries */
/* Hallmark · answered terrazzo photo-under-type · the home hero is the core standard (watcher-site-core docs/hero.md): full-bleed photo, core scrim, no extra overlay because the photo is already lightened */
/* Hallmark · waive 24b · .btn padding 0 22px · the plan's design_notes fix the gutter button at 22px so the label and chevron fit the 48px folded-metal button in the header */
/* Hallmark · dismissed 3 · the 3px rain rule on the sample ranking's you row is the plan's marker for your gutter company, a row marker, not a card stripe */
/* Hallmark · answered F7 · the shared recipe covers only form fields (core-form and wl-form inputs), which should read as the same control on every page */
/* Hallmark · core-owned: 54 and 38i (eyebrows, em in core pricing and get-started headings), 58 (pricing words) and 19 (footer line) come from watcher-site-core markup; eyebrows are restyled untracked sentence case and em is set roman */

/* ==========================================================================
   Tokens. Every colour and font is declared once here; nothing below uses a literal.
   ========================================================================== */
:root {
  color-scheme: light;

  /* Galvanized palette */
  --paper: #EEF1F2;          /* page, cool galvanized grey-white */
  --paper-2: #E2E7E9;        /* raised bands and cards */
  --paper-3: #F7F9F9;        /* form fields, table zebra, plans */
  --ink: #1B2024;            /* graphite: text, dark bands, footer */
  --ink-2: #2A3136;          /* cards on dark */
  --muted: #5B656B;          /* secondary text, 5.26:1 on paper */
  --rule: #C9D1D5;           /* hairlines on light */
  --rule-dark: #333C42;      /* hairlines on ink */
  --on-dark: #F3F5F5;
  --on-dark-muted: #B7C0C4;  /* 8.88:1 on ink */
  --copper: #9E4F1F;         /* primary buttons, links, current state on light, 5.15:1 on paper */
  --copper-deep: #86421A;    /* button hover */
  --copper-light: #D98A56;   /* accent on dark, 6.04:1 on ink */
  --on-copper: #FFFFFF;      /* text on copper, 5.85:1 */
  --rain: #2F6A92;           /* second signal: the you row, weight bars, focus on light, 5.14:1 */
  --error: #B3261E;
  --focus: var(--rain);

  /* Names the core's own sections read through site.json core_theme */
  --card: var(--paper-3);
  --line: var(--rule);
  --text: var(--ink);
  --accent: var(--copper);
  --dark: var(--ink);
  --dark-muted: var(--on-dark-muted);
  --radius: 0;

  /* Type */
  --serif: "Archivo", ui-sans-serif, system-ui, sans-serif;  /* display face, the core calls it serif */
  --sans: "Public Sans", ui-sans-serif, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace; /* measurements only */
  --wide: "wdth" 112;
  --text-xs: 0.8125rem;
  --text-sm: 0.875rem;
  --text-md: 1.0625rem;
  --text-lg: 1.25rem;
  --text-lead: 1.2rem;
  --text-h1: clamp(2.6rem, 5.2vw, 4.6rem);
  --text-h2: clamp(2rem, 3.6vw, 3.1rem);
  --text-statement: clamp(2.1rem, 4vw, 3.6rem);
  --text-h3: 1.25rem;
  --text-figure: 2.4rem;
  --tracking-display: -0.025em;

  /* Space and shape */
  --container: 1200px;
  --container-narrow: 880px;
  --gutter: clamp(20px, 5vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --section-tight: clamp(48px, 6vw, 80px);
  --gap: 32px;
  --s-2xs: 4px; --s-xs: 8px; --s-sm: 12px; --s-md: 16px; --s-lg: 24px; --s-xl: 40px; --s-2xl: 64px;
  --radius-control: 2px;
  --hair: 1px;
  --drip: 4px;
  --header-h: 74px;

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

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

/* Dark contexts take the copper-light focus ring */
.band--ink, .band-night, .site-footer, .on-night, .core-start, .sheet, .why { --focus: var(--copper-light); }
.core-start__card { --focus: var(--rain); }

/* The core hero is 74px under the header by default; the header below is 72px + a 2px ink rule */
.core-hero { --ch-header: 74px; }

/* ==========================================================================
   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-lg)); 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.6; -webkit-font-smoothing: antialiased; caret-color: var(--copper); }
::selection { background: color-mix(in oklab, var(--copper) 24%, transparent); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
a { color: var(--copper); text-decoration-thickness: 1px; text-underline-offset: 0.18em; transition: color var(--dur) var(--ease); }
a:hover { color: var(--copper-deep); }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 600; font-variation-settings: var(--wide); font-synthesis: none; letter-spacing: var(--tracking-display); line-height: 1.02; 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); }
h3 { max-width: 40ch; font-size: var(--text-h3); font-variation-settings: "wdth" 100; line-height: 1.2; letter-spacing: -0.01em; }
h1 em, h2 em, h3 em { font-style: normal; }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 65ch; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
small { font-size: var(--text-sm); }
table { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.code, .num, .figure, .mono { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.r { text-align: right; }

.skip-link { position: absolute; left: var(--s-md); top: -120px; z-index: var(--z-skip); padding: var(--s-xs) var(--s-md); background: var(--ink); color: var(--on-dark); font-weight: 600; text-decoration: none; }
.skip-link:focus-visible { top: var(--s-md); outline-color: var(--copper-light); }

/* ==========================================================================
   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); }
.band--ink { background: var(--ink); color: var(--on-dark); }
.band--paper { background: var(--paper-2); }
.lead, .lede { max-width: 52ch; font-size: var(--text-lead); line-height: 1.5; color: var(--ink); }
.band--ink .lead, .band--ink .lede, .band-night .lead, .band-night .lede { color: var(--on-dark-muted); }

/* Section shells used by our pages */
.section, .page-body { padding-block: var(--section); }
main > .section--tight, .section--tight { padding-block: var(--section-tight); }
.page-body { background: var(--paper); }
.page-body .prose > :first-child { margin-top: 0; }
.page-hero + .page-body { padding-top: clamp(48px, 6vw, 80px); }

/* Type helpers */
.display { max-width: 18ch; font-family: var(--serif); font-weight: 600; font-variation-settings: var(--wide); font-size: var(--text-h1); line-height: 1.02; letter-spacing: var(--tracking-display); overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
.h2 { max-width: 24ch; font-family: var(--serif); font-weight: 600; font-variation-settings: var(--wide); font-size: var(--text-h2); line-height: 1.02; letter-spacing: var(--tracking-display); overflow-wrap: break-word; min-width: 0; }
.small { font-size: var(--text-sm); line-height: 1.5; color: var(--muted); }
.band--ink .small, .band-night .small { color: var(--on-dark-muted); }
.label { display: inline-block; 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 .label, .band-night .label { color: var(--on-dark-muted); }
.no { margin-right: var(--s-xs); font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: 0; color: var(--copper); }
.band--ink .no, .band-night .no { color: var(--copper-light); }

/* Labels: Public Sans 500, a step smaller, sentence case, untracked (the core .eyebrow restyled) */
.eyebrow, .plan__label, .plan__badge { 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(--on-dark-muted); }
.core-start__card .eyebrow { color: var(--copper); }
.eyebrow__no { margin-right: var(--s-xs); font-weight: 600; color: var(--copper); }

/* A 1px hairline above every section head */
.head-split, .core-head, .sec-head, .report__grid, .faq__grid > h2, .solutions .wrap > h2, .core-start__grid > div:first-child { padding-top: var(--s-lg); border-top: var(--hair) solid var(--rule); }
.core-start__grid > div:first-child { border-top-color: var(--rule-dark); }

/* ==========================================================================
   Controls
   ========================================================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-sm); min-height: 48px; padding: 0 22px; border: var(--hair) solid var(--copper); border-radius: var(--radius-control); background: var(--copper); color: var(--on-copper); font: 600 1rem/1.1 var(--sans); letter-spacing: 0; text-align: center; text-decoration: none; white-space: nowrap; cursor: pointer; 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: var(--copper-deep); border-color: var(--copper-deep); color: var(--on-copper); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; transition: none; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn[aria-busy="true"] { cursor: progress; }
/* The chevron: a 10px mark drawn with borders, set apart by the gap */
.btn .arr { display: inline-block; flex: none; width: 7px; height: 7px; margin-right: 2px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.btn--ghost, .btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover, .btn-ghost:hover { background: var(--paper-2); border-color: var(--ink); color: var(--ink); }
.btn--block { display: flex; width: 100%; }
.band--ink .btn, .band-night .btn { background: var(--on-dark); border-color: var(--on-dark); color: var(--ink); }
.band--ink .btn:hover, .band-night .btn:hover { background: var(--on-dark-muted); border-color: var(--on-dark-muted); color: var(--ink); }
.band--ink .btn--ghost, .band-night .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(--ink-2); border-color: var(--on-dark); color: var(--on-dark); }
/* Light button: the inverted fill for any dark surface, wherever a page asks for it */
.btn--light, .band--ink .btn--light, .band-night .btn--light { background: var(--on-dark); border-color: var(--on-dark); color: var(--ink); }
.btn--light:hover, .band--ink .btn--light:hover, .band-night .btn--light:hover { background: var(--on-dark-muted); border-color: var(--on-dark-muted); color: var(--ink); }
.btn--light:focus-visible { outline-color: var(--copper-light); }
.actions { display: flex; flex-wrap: wrap; gap: var(--s-sm); margin-top: var(--s-xl); }
.demo-trust { display: flex; flex-wrap: wrap; gap: var(--s-xs) var(--s-lg); margin: var(--s-md) 0 0; font-size: var(--text-sm); font-weight: 500; color: var(--muted); }
.band--ink .demo-trust, .band-night .demo-trust { color: var(--on-dark-muted); }
.demo-ps { margin-top: var(--s-md); font-size: var(--text-sm); color: var(--muted); }
.band--ink .demo-ps, .band-night .demo-ps { color: var(--on-dark-muted); }

/* ==========================================================================
   Header (core markup): sticky, ink-ruled, 72px + 2px = 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-lg); min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: var(--s-sm); flex-shrink: 0; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand__mark { flex-shrink: 0; width: 26px; height: 34px; }
.brand__word { display: block; font: 600 var(--text-lg)/1 var(--serif); font-variation-settings: var(--wide); letter-spacing: var(--tracking-display); }
.brand__word i { font-family: var(--serif); font-weight: 600; font-style: normal; color: var(--copper); }
.brand__by { display: block; margin-top: var(--s-2xs); font-size: var(--text-xs); font-weight: 500; color: var(--muted); }
.nav__links { display: flex; gap: var(--s-lg); 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); text-decoration: none; white-space: nowrap; }
.nav__links a:hover, .nav__login:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--copper); text-decoration-thickness: 2px; text-underline-offset: 0.45em; }
.nav__links a[aria-current="page"] { color: var(--copper); text-decoration: underline; text-decoration-color: var(--copper); text-decoration-thickness: 2px; text-underline-offset: 0.45em; }
.nav__cta { display: flex; align-items: center; gap: var(--s-md); 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 12px; border: var(--hair) solid var(--ink); border-radius: var(--radius-control); background: var(--paper); cursor: pointer; transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.menu-btn span { display: block; height: 2px; background: var(--ink); transition: transform var(--dur) var(--ease); }
.menu-btn:hover { background: var(--paper-2); }
.menu-btn:active { transform: translateY(1px); }
.menu-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-5px) rotate(-45deg); }
.mobile-nav { display: none; }

@media (max-width: 75rem) {
  .nav__links { display: none; }
  .menu-btn { display: inline-flex; }
  .nav__login { display: none; }
  .js .mobile-nav.is-open { display: grid; align-content: start; gap: var(--s-lg); position: fixed; inset: var(--header-h) 0 0; z-index: var(--z-sticky); padding: var(--s-xl) max(var(--gutter), env(safe-area-inset-right, 0px)) calc(var(--s-xl) + 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: var(--hair) solid var(--rule); }
  .mobile-nav li a { display: flex; align-items: center; min-height: 56px; padding: var(--s-xs) 0; font: 600 1.5rem/1.1 var(--serif); font-variation-settings: var(--wide); letter-spacing: var(--tracking-display); color: var(--ink); text-decoration: none; }
  .mobile-nav li a:hover, .mobile-nav li a[aria-current="page"] { color: var(--copper); }
  .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): type and the sample ranking sheet
   ========================================================================== */
main .core-hero h1 { max-width: 13ch; font-family: var(--serif); font-weight: 600; font-variation-settings: var(--wide); font-size: var(--text-h1); line-height: 1.02; letter-spacing: var(--tracking-display); }
main .core-hero .core-hero__lead { font-family: var(--sans); }
main .core-hero .demo-trust { font-weight: 500; }

.plate { margin: 0; }
.sheet { width: 100%; padding: var(--s-md) var(--s-lg) var(--s-sm); background: var(--ink-2); border: var(--hair) solid var(--rule-dark); border-radius: 0; color: var(--on-dark); }
.sheet__table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.sheet__table caption { padding-bottom: var(--s-sm); text-align: left; font-weight: 500; color: var(--on-dark-muted); }
.sheet__table thead th { padding: 0 var(--s-xs) var(--s-xs) 0; border-bottom: var(--hair) solid var(--on-dark-muted); text-align: left; font-weight: 500; color: var(--on-dark-muted); }
.sheet__table thead th.r { padding-right: 0; text-align: right; }
.sheet__table td, .sheet__table tbody th { padding: var(--s-xs) var(--s-xs) var(--s-xs) 0; border-bottom: var(--hair) solid var(--rule-dark); text-align: left; }
.sheet__table tbody th { padding-left: var(--s-sm); font-size: 1rem; font-weight: 500; }
.sheet__table td.r { padding-right: 0; text-align: right; }
.sheet__table td.code { color: var(--on-dark-muted); }
.sheet__table td.code.r { color: var(--on-dark); }
.sheet__table tr:last-child > * { border-bottom: 0; }
.sheet__table .is-you > :first-child { padding-left: var(--s-sm); border-left: 3px solid var(--rain); }
.sheet__table .is-you th { font-weight: 600; color: var(--on-dark); }
.sheet__table .is-you .code { color: var(--copper-light); }

/* ==========================================================================
   #why: statement and three sourced claims on the ink band
   ========================================================================== */
.why { background: var(--ink); color: var(--on-dark); }
.why a:not(.btn) { color: var(--copper-light); }
.why a:not(.btn):hover { color: var(--on-dark); }
.statement { max-width: 22ch; padding-top: var(--s-lg); border-top: var(--hair) solid var(--rule-dark); font-size: var(--text-statement); line-height: 1.04; color: var(--on-dark); }
.claims { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: var(--s-2xl) 0 0; padding: 0; list-style: none; border-top: var(--hair) solid var(--rule-dark); }
.claims li { display: flex; flex-direction: column; gap: var(--s-sm); min-width: 0; padding: var(--s-xl) var(--gap) var(--s-xs); border-left: var(--hair) solid var(--rule-dark); }
.claims li:first-child { padding-left: 0; border-left: 0; }
.claims li:last-child { padding-right: 0; }
.claims .figure, .claims .claim__figure, .claims .fig { order: -1; margin: 0 0 var(--s-xs); font-family: var(--mono); font-weight: 500; font-size: var(--text-figure); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; color: var(--copper-light); }
.claims h3 { color: var(--on-dark); }
.claims p { max-width: 45ch; color: var(--on-dark-muted); }
.claims a { color: var(--copper-light); }
.claims .source, .claims cite { font-size: var(--text-sm); font-style: normal; color: var(--on-dark-muted); }

/* ==========================================================================
   #signals: specification table
   TODO: the S-01 to S-07 weights shown in this table are the shared Watcher engine defaults; the gutter report gives none. Confirm before launch.
   ========================================================================== */
.signals { background: var(--paper); }
.signals .table-scroll { margin-top: 0; }
.head-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap); align-items: end; margin-bottom: var(--s-2xl); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.spec { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.spec thead th { padding: var(--s-sm) var(--s-md) var(--s-sm) 0; border-bottom: var(--hair) solid var(--ink); text-align: left; font-family: var(--sans); font-size: var(--text-sm); font-weight: 500; color: var(--muted); white-space: nowrap; }
.spec thead th.r { padding-right: 0; text-align: right; }
.spec td, .spec tbody th { padding: var(--s-md) var(--s-md) var(--s-md) 0; border-bottom: var(--hair) solid var(--rule); text-align: left; vertical-align: middle; }
.spec tbody th { font: 600 var(--text-h3)/1.2 var(--serif); letter-spacing: -0.01em; white-space: nowrap; }
.spec td { color: var(--muted); }
.spec td.code { font-family: var(--mono); font-weight: 500; color: var(--ink); white-space: nowrap; }
.spec td.code:first-child { color: var(--copper); }
.spec td.r { padding-right: 0; }
.spec td.r > .w { margin-right: var(--s-sm); vertical-align: middle; }
.spec .w { display: inline-block; position: relative; width: 6rem; height: 6px; background: var(--rule); overflow: hidden; }
.spec .w::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w, 0%); background: var(--rain); }
.spec tbody tr { transition: background-color var(--dur) var(--ease); }
.spec tbody tr:hover { background: var(--paper-2); }

/* ==========================================================================
   #solutions: segmented switcher and panels
   ========================================================================== */
.solutions .wrap > h2 { margin-bottom: var(--s-2xl); }
.switch { display: block; min-width: 0; }
.seg { display: flex; flex-wrap: wrap; margin-bottom: var(--s-xl); }
.seg button, .seg [role="tab"] { min-height: 48px; margin-left: -1px; padding: 0 var(--s-lg); border: var(--hair) solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink); font: 500 1rem/1.1 var(--sans); white-space: nowrap; cursor: pointer; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.seg button:first-child { margin-left: 0; }
.seg button:hover { background: var(--paper-3); }
.seg button:active { transform: translateY(1px); }
.seg button:focus-visible { position: relative; z-index: var(--z-raised); outline: 2px solid var(--focus); outline-offset: 3px; }
.seg button:disabled { opacity: 0.5; cursor: not-allowed; }
.seg button[aria-selected="true"] { background: var(--ink); color: var(--on-dark); }
.panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap); padding: var(--s-xl); background: var(--paper); border: var(--hair) solid var(--rule); border-radius: 0; }
.panel + .panel { margin-top: var(--s-lg); }
.js .panel[hidden] { display: none; }
.panel h3 { font-size: clamp(1.5rem, 2vw, 1.9rem); font-variation-settings: var(--wide); line-height: 1.08; letter-spacing: var(--tracking-display); }
.panel p { margin-top: var(--s-md); font-size: var(--text-lead); line-height: 1.5; color: var(--muted); }
.ruled { margin: 0; padding: 0; list-style: none; border-top: var(--hair) solid var(--ink); }
.ruled li { padding-block: var(--s-md); border-bottom: var(--hair) solid var(--rule); font-size: 1.0625rem; font-weight: 500; }
.more { margin-top: var(--s-xl); font-weight: 600; }
.more a { display: inline-flex; align-items: center; min-height: 44px; }

/* ==========================================================================
   Pricing (core markup)
   ========================================================================== */
.core-head { display: grid; gap: var(--s-md); margin-bottom: var(--s-2xl); }
.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 { display: flex; flex-direction: column; gap: var(--s-md); min-width: 0; padding: var(--s-xl) var(--s-lg); background: var(--paper-3); border: var(--hair) solid var(--rule); border-radius: 0; }
.plan--feature { border-top: var(--drip) solid var(--copper); }
.plan__badge { order: -1; color: var(--copper); font-weight: 600; }
.plan__name { font-size: var(--text-h3); }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-xs); }
.plan__price strong { font: 500 2.6rem/1 var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; color: var(--ink); }
.plan__price span { font-size: var(--text-sm); color: var(--muted); }
.plan ul { flex: 1; margin: 0; padding: 0; list-style: none; border-top: var(--hair) solid var(--rule); }
.plan li { padding-block: var(--s-xs); border-bottom: var(--hair) solid var(--rule); font-size: var(--text-sm); color: var(--ink); }
.plan li.inherit { font-weight: 600; }
.plan__fine { font-size: var(--text-xs); color: var(--muted); text-align: center; }
.core-note { max-width: 52ch; margin-top: var(--s-xl); font-size: 1rem; color: var(--muted); }

/* ==========================================================================
   #faq
   ========================================================================== */
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap); align-items: start; }
.faq__grid > h2, .faq__grid > div:first-child { position: sticky; top: calc(var(--header-h) + var(--s-lg)); }
.faq__intro, .faq__grid .lead { margin-top: var(--s-md); }
.faq__list { border-top: var(--hair) solid var(--ink); }
.faq details { border-bottom: var(--hair) solid var(--rule); }
.faq summary { position: relative; display: flex; align-items: center; min-height: 44px; padding: var(--s-lg) 40px var(--s-lg) 0; font: 600 1.15rem/1.3 var(--serif); letter-spacing: -0.01em; 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: 6px; top: 50%; width: 14px; height: 2px; margin-top: -1px; background: var(--copper); }
.faq summary::after { transform: rotate(90deg); transition: transform var(--dur) var(--ease); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq summary:hover { color: var(--copper); }
.faq summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.faq details p { max-width: 62ch; padding-bottom: var(--s-lg); color: var(--muted); }

/* ==========================================================================
   #report band
   ========================================================================== */
.report { background: var(--paper-2); }
.report .report__when .btn { margin-top: 0; }
.report__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--gap); align-items: start; }
.report__when { margin-top: var(--s-lg); }
.report__parts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin: var(--s-2xl) 0 0; padding: 0; list-style: none; counter-reset: rp; }
.report__parts li { min-width: 0; padding-top: var(--s-md); border-top: var(--hair) solid var(--rule); counter-increment: rp; }
.report__parts li::before { content: counter(rp, decimal-leading-zero); display: block; margin-bottom: var(--s-sm); font: 500 1rem/1 var(--mono); font-variant-numeric: tabular-nums; color: var(--copper); }
.report__parts h3 { font-size: var(--text-h3); }
.report__parts p { margin-top: var(--s-xs); color: var(--muted); }

/* ==========================================================================
   Get started (core markup): ink band, paper card with the copper drip edge
   ========================================================================== */
.core-start { background: var(--ink); color: var(--on-dark); }
.core-start__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-2xl); align-items: start; }
.core-start h2 { color: var(--on-dark); }
.core-start .lede { margin-top: var(--s-md); color: var(--on-dark-muted); }
.core-start__list { display: grid; margin: var(--s-xl) 0 0; padding: 0; list-style: none; counter-reset: s; border-top: var(--hair) solid var(--rule-dark); }
.core-start__list li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); padding-block: var(--s-sm); border-bottom: var(--hair) solid var(--rule-dark); counter-increment: s; color: var(--on-dark); }
.core-start__list li::before { content: counter(s, decimal-leading-zero); font-family: var(--mono); font-weight: 500; color: var(--copper-light); }
.core-start__card { padding: var(--s-xl); background: var(--paper); color: var(--ink); border-top: var(--drip) solid var(--copper); border-radius: 0; }
.core-start__card a { color: var(--copper); }

.core-form { display: grid; gap: var(--s-md); }
.core-form h3 { font-size: clamp(1.5rem, 2vw, 1.9rem); font-variation-settings: var(--wide); letter-spacing: var(--tracking-display); }
.core-form__sub { margin-top: calc(-1 * var(--s-xs)); font-size: var(--text-sm); font-weight: 500; color: var(--muted); }
.core-form label { display: grid; gap: var(--s-xs); font-size: var(--text-sm); font-weight: 500; }
.core-form__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"] { width: 100%; min-height: 48px; padding: 0 var(--s-md); border: var(--hair) solid var(--muted); border-radius: var(--radius-control); background: var(--paper-3); color: var(--ink); font-size: 1rem; font-weight: 400; line-height: 1.5; outline: 2px solid transparent; outline-offset: 1px; transition: border-color var(--dur) var(--ease); }
.core-form input::placeholder { color: var(--muted); opacity: 1; }
.core-form input:hover { border-color: var(--ink); }
.core-form input:focus-visible { outline-color: var(--rain); border-color: var(--rain); }
.core-form input[aria-invalid="true"] { border-color: var(--error); }
.core-form input:disabled { opacity: 0.5; cursor: not-allowed; }
.core-form__choice { display: flex; flex-wrap: wrap; gap: 0 var(--s-lg); margin: 0; padding: 0; border: 0; }
.core-form__choice legend { margin-bottom: var(--s-2xs); padding: 0; font-size: var(--text-sm); font-weight: 500; }
.core-form__choice label { display: inline-flex; align-items: center; gap: var(--s-xs); min-height: 44px; font-size: 1rem; font-weight: 400; cursor: pointer; }
.core-form__choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--copper); cursor: pointer; }
.core-form__choice input:focus-visible { outline: 2px solid var(--rain); outline-offset: 3px; }
.core-form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.core-form__status { min-height: 1lh; font-size: var(--text-sm); color: var(--muted); }
.core-form:has([aria-invalid="true"]) .core-form__status { color: var(--error); }
.core-form__legal { font-size: var(--text-xs); color: var(--muted); }
.core-form__done { display: grid; gap: var(--s-md); }
.core-form__done h3 { font-size: clamp(1.5rem, 2vw, 1.9rem); }

/* ==========================================================================
   Footer (core markup): dark, statement word
   ========================================================================== */
.site-footer { padding-block: var(--s-2xl) calc(var(--s-xl) + env(safe-area-inset-bottom, 0px)); background: var(--ink); color: var(--on-dark); }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; transition: color var(--dur) var(--ease); }
.site-footer a:hover { color: var(--on-dark); text-decoration: underline; text-decoration-color: var(--copper-light); text-underline-offset: 0.2em; }
.site-footer .brand, .site-footer .brand:hover { color: var(--on-dark); text-decoration: none; }
.site-footer .brand__word i { color: var(--copper-light); }
.site-footer .brand__by { color: var(--on-dark-muted); }
.site-footer svg { color: var(--on-dark); }
.footer__top { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: var(--gap); }
.footer__blurb { max-width: 36ch; margin-top: var(--s-md); color: var(--on-dark-muted); }
.footer__col h2, .footer__col h3 { max-width: none; font: 600 var(--text-sm)/1.4 var(--sans); font-variation-settings: normal; letter-spacing: 0; color: var(--on-dark); }
.footer__col ul { display: grid; gap: var(--s-2xs); margin: var(--s-sm) 0 0; 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 { min-width: 0; margin: var(--s-2xl) 0 var(--s-xl); font: 600 clamp(3rem, 12vw, 10.5rem)/0.9 var(--serif); font-variation-settings: var(--wide); letter-spacing: -0.04em; color: var(--on-dark); overflow-wrap: break-word; }
.footer__word i { font-style: normal; color: var(--copper-light); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-md); padding-top: var(--s-lg); border-top: var(--hair) solid var(--rule-dark); font-size: var(--text-sm); color: var(--on-dark-muted); }
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: var(--s-lg); }
.footer__bottom nav a { display: inline-flex; align-items: center; min-height: 44px; }
.credits { padding-block: var(--s-lg); font-size: var(--text-sm); color: var(--on-dark-muted); }

/* ==========================================================================
   Inner pages: contact, thank-you, privacy-policy, terms, 404
   ========================================================================== */
.page-hero { padding-block: clamp(56px, 8vw, 96px) clamp(40px, 5vw, 64px); border-bottom: 2px solid var(--ink); }
.page-hero h1 { max-width: 22ch; font-size: var(--text-h2); }
.page-hero .eyebrow { margin-bottom: var(--s-md); }
.page-hero .lead, .page-hero .lede { margin-top: var(--s-lg); }
.page-hero .actions { margin-top: var(--s-xl); }
.meta-row { display: flex; flex-wrap: wrap; gap: var(--s-xs) var(--s-lg); margin: var(--s-lg) 0 0; padding: 0; list-style: none; font-size: var(--text-sm); font-weight: 500; color: var(--muted); }
.meta-row > * { margin: 0; }
.prose { max-width: 68ch; }
.prose h2 { margin: var(--s-2xl) 0 var(--s-sm); padding-top: var(--s-lg); border-top: var(--hair) solid var(--rule); font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: var(--s-xl) 0 var(--s-xs); }
.prose p + p, .prose ul, .prose ol, .prose p + .btn, .prose .btn--demo { margin-top: var(--s-md); }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { margin-top: var(--s-xs); }
.prose li::marker { color: var(--copper); }
.prose strong { font-weight: 600; }
.prose hr { margin: var(--s-xl) 0; border: 0; border-top: var(--hair) solid var(--rule); }
.page-actions { display: flex; flex-wrap: wrap; gap: var(--s-sm); margin-top: var(--s-xl); }
.notfound .code, .error-code { display: block; margin-bottom: var(--s-md); font-size: 1rem; color: var(--copper); }

/* Contact form (shared watcher-leads Worker) */
.contact { padding-block: var(--section); background: var(--paper); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-2xl); align-items: start; }
.contact__h { margin-bottom: var(--s-xl); font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.contact__next { counter-reset: nx; }
.contact__next li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); align-items: baseline; counter-increment: nx; }
.contact__next li::before { content: counter(nx, decimal-leading-zero); font-family: var(--mono); font-weight: 500; font-size: var(--text-sm); font-variant-numeric: tabular-nums; color: var(--copper); }
.contact__card { padding: var(--s-xl); background: var(--paper-2); border-top: var(--drip) solid var(--copper); }
.wl-form { display: grid; gap: var(--s-md); }
.wl-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-md); }
.wl-form label { display: grid; gap: var(--s-xs); font-size: var(--text-sm); font-weight: 500; }
.wl-opt { font-weight: 400; color: var(--muted); }
.wl-form input, .wl-form textarea, .wl-form select { width: 100%; min-height: 48px; padding: var(--s-sm) var(--s-md); border: var(--hair) solid var(--muted); border-radius: var(--radius-control); background: var(--paper-3); color: var(--ink); font-size: 1rem; font-weight: 400; line-height: 1.5; outline: 2px solid transparent; outline-offset: 1px; transition: border-color var(--dur) var(--ease); }
.wl-form input::placeholder, .wl-form textarea::placeholder { color: var(--muted); opacity: 1; }
.wl-form input:hover, .wl-form textarea:hover { border-color: var(--ink); }
.wl-form textarea { min-height: 128px; resize: vertical; }
.wl-form input:focus-visible, .wl-form textarea:focus-visible, .wl-form select:focus-visible { outline-color: var(--rain); border-color: var(--rain); }
.wl-form input[aria-invalid="true"], .wl-form textarea[aria-invalid="true"] { border-color: var(--error); }
.wl-form input:disabled, .wl-form textarea:disabled { opacity: 0.5; cursor: not-allowed; }
.wl-form .btn { justify-self: start; }
.wl-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.wl-status { min-height: 1lh; font-size: var(--text-sm); color: var(--muted); }
.wl-status.is-error { color: var(--error); }
.wl-fine { font-size: var(--text-xs); color: var(--muted); }
.wl-done { display: grid; gap: var(--s-xs); padding: var(--s-lg); background: var(--paper-3); border: var(--hair) solid var(--rain); }
.wl-done h3 { font-size: var(--text-h3); }

/* ==========================================================================
   Industry report (/industry-report/): article, charts, tables, sources
   ========================================================================== */
.article { padding-block: var(--section); }
.article > * + *, .article .wrap > * + * { margin-top: var(--s-2xl); }
.article [data-gap="0"], .article .gap-0 { margin-top: 0; }
.toc { max-width: 68ch; padding: var(--s-lg) 0; border-block: var(--hair) solid var(--rule); }
.toc h2, .toc p, .toc .toc__title { margin: 0 0 var(--s-sm); font: 600 var(--text-sm)/1.4 var(--sans); font-variation-settings: normal; letter-spacing: 0; color: var(--muted); }
.toc ol, .toc ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap); margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; border-bottom: var(--hair) solid var(--rule); }
.toc a { display: flex; align-items: center; gap: var(--s-sm); min-height: 44px; color: var(--ink); font-weight: 500; text-decoration: none; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--mono); font-weight: 500; font-size: var(--text-sm); color: var(--copper); }
.toc a:hover { color: var(--copper); }
.prose .dropcap::first-letter, .dropcap::first-letter { float: left; margin: 0.08em 0.1em 0 0; font: 600 4.1em/0.82 var(--serif); font-variation-settings: var(--wide); color: var(--copper); }
.callout { max-width: 62ch; margin-block: var(--s-lg); padding: var(--s-md) var(--s-lg); background: var(--paper-2); border-top: var(--hair) solid var(--copper); font-size: var(--text-lead); line-height: 1.5; }
sup a, .prose sup a { margin-left: 1px; font-family: var(--mono); font-weight: 500; font-size: 0.75rem; color: var(--copper); text-decoration: none; }
sup a:hover { text-decoration: underline; }

.figure-block { margin: var(--s-2xl) 0 0; padding-top: var(--s-md); border-top: var(--hair) solid var(--ink); }
.figure-block h3, .figure-block .figure-block__title { font-size: var(--text-h3); }
.figure-block figcaption, .figure-block .sub, .figure-block .figure-block__sub { margin-top: var(--s-2xs); font-size: var(--text-sm); color: var(--muted); }

/* growth: vertical bars; bar height comes from the build (inline height or --h) */
.growth, .growth__bars { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--s-sm); align-items: end; height: 260px; margin-top: var(--s-lg); padding: 0; list-style: none; border-bottom: var(--hair) solid var(--ink); }
.growth:has(> .growth__bars) { display: block; height: auto; border-bottom: 0; }
.growth__item, .growth__col, .growth__bars > li { display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; height: 100%; min-width: 0; }
.growth__bar { display: block; height: var(--h, auto); min-height: 4px; background: var(--rain); }
/* forecast bars: .fc on the bar or on its column */
.fc { position: relative; }
.growth__bar.is-forecast, .growth__bar--forecast, .growth__item.is-forecast .growth__bar, [data-forecast="true"] .growth__bar, .growth__bar.fc, .fc .growth__bar, .fc > .growth__bar { background: var(--paper-2); border: var(--hair) dashed var(--rain); }
.growth__value, .growth__val { margin-bottom: var(--s-2xs); font-family: var(--mono); font-weight: 500; font-size: var(--text-sm); font-variant-numeric: tabular-nums; color: var(--ink); text-align: center; }
.fc .growth__val, .fc .growth__value { color: var(--muted); }
.growth__label, .growth__yr, .growth__labels > * { margin-top: var(--s-xs); font-size: var(--text-xs); font-weight: 500; font-variant-numeric: tabular-nums; color: var(--muted); text-align: center; }
.growth__labels { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--s-sm); }
.growth__legend { display: flex; flex-wrap: wrap; gap: var(--s-xs) var(--s-lg); margin-top: var(--s-md); font-size: var(--text-sm); color: var(--muted); }

/* range: a bar from min to max on a shared axis */
.range { margin-top: var(--s-lg); }
.range__axis { display: flex; justify-content: space-between; margin-left: calc(12rem + var(--s-md)); padding-bottom: var(--s-xs); border-bottom: var(--hair) solid var(--ink); font: 500 var(--text-xs)/1 var(--mono); color: var(--muted); }
.range__row { display: grid; grid-template-columns: 12rem minmax(0, 1fr) minmax(0, 7rem); gap: var(--s-md); align-items: center; padding-block: var(--s-sm); border-bottom: var(--hair) solid var(--rule); }
.range__label { font-size: var(--text-sm); font-weight: 500; }
.range__track { position: relative; height: 10px; background: var(--paper-2); }
.range__bar { position: absolute; top: 0; bottom: 0; min-width: 4px; background: var(--copper); }
.range__value, .range__display { font-family: var(--mono); font-weight: 500; font-size: var(--text-sm); text-align: right; white-space: nowrap; }

/* pullstat: three figures in a strip */
.pullstat { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: var(--gap); margin-top: var(--s-2xl); padding: 0; list-style: none; }
.pullstat > * { min-width: 0; margin: 0; padding-top: var(--s-md); border-top: var(--hair) solid var(--ink); }
.pullstat__value, .pullstat strong, .pullstat dt { display: block; font: 500 var(--text-figure)/1 var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; color: var(--copper); }
.pullstat__label, .pullstat span, .pullstat dd { display: block; margin: var(--s-xs) 0 0; font-size: var(--text-sm); color: var(--muted); }

/* dtable: data tables */
.dtable-wrap, .dtable__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.dtable { width: 100%; margin-top: var(--s-lg); border-collapse: collapse; font-size: var(--text-sm); font-variant-numeric: tabular-nums; }
.dtable caption { padding-bottom: var(--s-sm); text-align: left; font-weight: 500; color: var(--muted); }
.dtable thead th { padding: var(--s-sm) var(--s-md) var(--s-sm) 0; border-bottom: var(--hair) solid var(--ink); text-align: left; font-weight: 500; color: var(--muted); white-space: nowrap; }
.dtable td, .dtable tbody th { padding: var(--s-sm) var(--s-md) var(--s-sm) 0; border-bottom: var(--hair) solid var(--rule); text-align: left; vertical-align: top; }
.dtable tbody th { font-weight: 600; }
.dtable tbody tr:nth-child(even) { background: var(--paper-3); }

/* funnel: stepped stages */
.funnel { display: grid; gap: var(--s-sm); margin: var(--s-lg) 0 0; padding: 0; list-style: none; counter-reset: fn; }
.funnel__stage, .funnel > li { counter-increment: fn; display: grid; gap: var(--s-xs); padding: var(--s-lg); background: var(--paper-2); border-top: var(--hair) solid var(--ink); }
.funnel__stage:nth-child(2), .funnel > li:nth-child(2) { margin-inline: 3%; }
.funnel__stage:nth-child(3), .funnel > li:nth-child(3) { margin-inline: 6%; }
.funnel__stage:nth-child(4), .funnel > li:nth-child(4) { margin-inline: 9%; }
.funnel__stage:nth-child(n+5), .funnel > li:nth-child(n+5) { margin-inline: 12%; }
.funnel__title, .funnel h3 { font-size: var(--text-h3); }
.funnel__title::before, .funnel h3::before { content: counter(fn, decimal-leading-zero); margin-right: var(--s-sm); font-family: var(--mono); font-weight: 500; font-size: 1rem; color: var(--copper); }
.funnel__text, .funnel p { color: var(--muted); }
.funnel__tags { display: flex; flex-wrap: wrap; gap: var(--s-xs); margin: var(--s-2xs) 0 0; padding: 0; list-style: none; }
.funnel__tags > *, .funnel__tag { padding: 2px var(--s-xs); border: var(--hair) solid var(--rule); background: var(--paper-3); font-size: var(--text-xs); font-weight: 500; color: var(--ink); }

/* sources */
.sources { max-width: 80ch; margin-top: var(--s-2xl); padding-top: var(--s-lg); border-top: var(--hair) solid var(--ink); }
.sources h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.sources ol { margin: var(--s-md) 0 0; padding: 0; list-style: none; counter-reset: src; }
.sources li { counter-increment: src; display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); padding-block: var(--s-xs); border-bottom: var(--hair) solid var(--rule); font-size: var(--text-sm); scroll-margin-top: calc(var(--header-h) + var(--s-lg)); }
.sources li::before { content: counter(src); font-family: var(--mono); font-weight: 500; color: var(--copper); }
.sources li:target { background: var(--paper-2); }
.sources a { overflow-wrap: anywhere; }

/* dark band and closing */
.band-night { background: var(--ink); color: var(--on-dark); }
.band-night a:not(.btn) { color: var(--copper-light); }
.band-night h2, .band-night h3 { color: var(--on-dark); }
.band-night .sec-head, .band--ink .sec-head, .band--ink .head-split { border-top-color: var(--rule-dark); }
.closing { padding-block: var(--section); }
.closing h2 { max-width: 22ch; }
.closing .lede, .closing .lead { margin-top: var(--s-lg); }
.closing .btn, .closing .actions { margin-top: var(--s-xl); }
.sec-head { display: grid; gap: var(--s-md); margin-bottom: var(--s-xl); }

/* ==========================================================================
   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 { grid-template-columns: minmax(0, 1fr); }
  .core-start__grid, .contact__grid { gap: var(--s-xl); }
  .faq__grid > h2, .faq__grid > div:first-child { position: static; }
  .claims { grid-template-columns: minmax(0, 1fr); }
  .claims li, .claims li:first-child, .claims li:last-child { padding: var(--s-lg) 0; border-left: 0; border-top: var(--hair) solid var(--rule-dark); }
  .claims li:first-child { border-top: 0; }
  .report__parts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .range__axis { margin-left: 0; }
  .range__row { grid-template-columns: minmax(0, 1fr) auto; }
  .range__label { grid-column: 1 / -1; }
}
@media (max-width: 56.25rem) {
  .core-plans { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 40rem) {
  .seg { flex-direction: column; }
  .seg button, .seg [role="tab"] { margin-left: 0; margin-top: -1px; text-align: left; white-space: normal; }
  .seg button:first-child { margin-top: 0; }
  .spec thead { display: none; }
  .spec, .spec tbody, .spec tr, .spec td, .spec tbody th { display: block; }
  .spec tr { padding-block: var(--s-sm); border-bottom: var(--hair) solid var(--rule); }
  .spec td, .spec tbody th { padding: var(--s-2xs) 0; border: 0; white-space: normal; text-align: left; }
  .spec td.r { text-align: left; }
  .footer__top { grid-template-columns: minmax(0, 1fr); }
  .report__parts { grid-template-columns: minmax(0, 1fr); }
  .toc ol, .toc ul { grid-template-columns: minmax(0, 1fr); }
  .wl-row { grid-template-columns: minmax(0, 1fr); }
  .panel, .core-start__card, .contact__card { padding: var(--s-lg); }
  .plan { padding: var(--s-lg); }
  .funnel__stage, .funnel > li { margin-inline: 0 !important; }
  .wl-form .btn { justify-self: stretch; }
  .contact__next li { grid-template-columns: 2.5rem minmax(0, 1fr); }
}

/* ==========================================================================
   Reduced motion: no transforms on press, no transitions
   ========================================================================== */
@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; }
}

/* Forced colours: keep the bars and rules visible */
@media (forced-colors: active) {
  .spec .w::after, .growth__bar, .range__bar { background: CanvasText; }
  .btn { border-color: ButtonText; }
}
