/* Hallmark v2.0.0 · theme: ink (dealt 1/3, paper) · shape: core standard + work-order sections · hero: Poster (core standard) · signature: the work-order market ranking · genre: modern-minimal · posture: restrained · job: try · axes: light/grotesk-sans/neutral · nav: core sticky bar, ink-ruled · footer: statement (core) · imagery: photographs, 1 (the user's appliance repair photo, pre-lightened) */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R5 V4 · weakest: P, the home page argues in short lines; the sourced figures ($280.00 ticket, $53.00 lead) carry the argument and the report holds the rest */
/* Hallmark · waive 22 · ink and greys at zero chroma · repair paperwork is printed in plain black */
/* Hallmark · answered F15 · only the header row runs to 1320px, so the long ApplianceRepairWatcher word, seven links and the demo button sit on one ruled line; every section keeps the 1200px wrap */
/* Hallmark · answered contrast · the hero photo is pre-lightened, so the hero lead and trust line sit in full on-dark paper over a 55% left scrim and a 45% bottom scrim, never the muted grey */
/* Hallmark · answered 1.4.11 · form fields carry a --field-line edge (3.3:1 on paper) instead of the --rule hairline so a field reads as a field */
/* Hallmark · answered F24 · the work-order card floats over the photo, so it keeps the theme's float shadow and its 1px ink top rule is the ticket edge, not a resting border */
/* Hallmark · dismissed F7 · pills here are state tags, the is-you marker, the weight track and the tab rail; boxes and photos take the 12px card radius */
/* Hallmark · answered dropcap · modern-minimal refuses drop caps, so the report's .dropcap paragraph opens at lead size instead */
/* Hallmark · core-owned: eyebrows, the em in core pricing and get-started heads and the footer word come from watcher-site-core markup; eyebrows are restyled as untracked sentence-case labels and the em is set roman */

/* =========================================================
   Tokens: every colour and font on the site is declared here
   ========================================================= */
:root {
  color-scheme: light;

  /* Paper and ink */
  --paper: #FCFCFA;
  --paper-2: #F3F3F0;
  --paper-3: #EAEAE6;
  --ink: #121212;
  --ink-2: #2B2B2B;
  --muted: #5C5C5C;
  --rule: #DCDCD8;
  --rule-2: #E8E8E4;
  --field-line: #8A8A8A;

  /* The one colour: a ready light */
  --accent: #0F766E;
  --accent-soft: #D3F0EB;
  --accent-soft-ink: #0B3B39;

  /* On ink */
  --on-dark: #FCFCFA;
  --on-dark-muted: #B9B9B4;
  --on-dark-accent: #5FC9BC;
  --on-dark-rule: #2E2E2E;
  --on-dark-line: rgba(252, 252, 250, 0.5);
  --on-dark-wash: rgba(252, 252, 250, 0.12);

  /* Floating things only */
  --shadow-float: 0 20px 40px rgba(18, 18, 18, 0.16);

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

  /* Fonts: Epilogue for everything you read, Plex Mono for figures in a column */
  --sans: "Epilogue", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: var(--sans); /* the theme has no serif; the core's display slot takes Epilogue 700 */
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* Radii */
  --radius: 12px;
  --radius-ctl: 10px;
  --radius-pill: 999px;

  /* 4px spacing scale */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 72px; --s-9: 112px;

  /* Type */
  --fs-hero: clamp(2.6rem, 5.4vw, 4.6rem);
  --fs-page: clamp(2.4rem, 4.8vw, 4rem);
  --fs-h2: clamp(2rem, 3.6vw, 3rem);
  --fs-h3: 1.25rem;
  --fs-figure: clamp(2.4rem, 4.4vw, 3.6rem);
  --fs-body: 1.0625rem;
  --fs-lead: 1.25rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.8125rem;

  /* Layout */
  --container: 1200px;
  --container-narrow: 820px;
  --container-header: 1320px;
  --gutter: clamp(20px, 5vw, 48px);
  --gap: 32px;
  --section: clamp(72px, 10vw, 128px);
  --section-tight: clamp(48px, 6vw, 72px);
  --header: 72px;

  /* Motion: state changes only */
  --dur: 160ms;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  /* Layers */
  --z-raised: 10;
  --z-menu: 200;
  --z-header: 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%;
  background: var(--paper);
  scroll-padding-top: calc(var(--header) + var(--s-5));
  scrollbar-color: var(--field-line) var(--paper);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--accent);
}
::selection { background: var(--accent-soft); color: var(--accent-soft-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--sans);
  font-weight: 700;
  font-synthesis: none;
  color: var(--ink);
  overflow-wrap: break-word;
  min-width: 0;
  text-wrap: balance;
}
h1 { max-width: 18ch; font-size: var(--fs-page); line-height: 1; letter-spacing: -0.04em; }
h2 { max-width: 24ch; font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -0.035em; }
h3 { max-width: 40ch; font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.01em; }
h4 { font-size: 1.0625rem; line-height: 1.3; }
em, i { font-style: normal; }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 65ch; }
strong, b { font-weight: 600; color: var(--ink); }

/* Heading classes for non-heading elements and heads that need another size */
.display {
  max-width: 16ch;
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-hero);
  font-weight: 700;
  font-synthesis: none;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
  overflow-wrap: break-word;
  min-width: 0;
  text-wrap: balance;
}
.h2 {
  max-width: 24ch;
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-h2);
  font-weight: 700;
  font-synthesis: none;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--ink);
  overflow-wrap: break-word;
  min-width: 0;
  text-wrap: balance;
}
.small { font-size: var(--fs-sm); line-height: 1.45; color: var(--muted); }

a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--field-line);
  text-underline-offset: 0.18em;
  transition: color var(--dur) var(--ease), text-decoration-color var(--dur) var(--ease);
}
a:hover { text-decoration-color: var(--accent); }

img, svg, video, picture { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
hr { height: 1px; margin: var(--s-7) 0; border: 0; background: var(--rule); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: var(--z-skip);
  padding: var(--s-3) var(--s-4); border-radius: var(--radius-ctl);
  background: var(--ink); color: var(--paper); text-decoration: none;
}
.skip-link:focus-visible { top: var(--s-4); }

/* Figures that compare in a column */
.code, .num, td.num {
  font-family: var(--mono);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}
.r { text-align: right; }

/* Photo slots (the hero photo keeps the core's own positioning) */
[data-slot]:not(.core-hero__photo) { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
[data-slot]:not(.core-hero__photo) > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   Layout primitives
   ========================================================= */
.wrap {
  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 { max-width: calc(var(--container-narrow) + 2 * var(--gutter)); }
main > section,
main > .core-start,
main > .core-pricing { padding-block: var(--section); }
.section { padding-block: var(--section); }
.section--tight { padding-block: var(--section-tight); }
.section + .section--tight, .section--tight + .section--tight { border-top: 1px solid var(--rule); }

.band--paper { background: var(--paper-2); }
.band--ink, .band-night { background: var(--ink); color: var(--on-dark-muted); }

/* Dark grounds: heads, links and focus rings */
:is(.band--ink, .band-night, .core-start, .on-night) :is(h1, h2, h3, .h2, .display) { color: var(--on-dark); }
:is(.band--ink, .band-night, .core-start, .on-night) a:not(.btn) { color: var(--on-dark); text-decoration-color: var(--on-dark-line); }
:is(.band--ink, .band-night, .core-start, .on-night) a:not(.btn):hover { text-decoration-color: var(--on-dark-accent); }
:is(.band--ink, .band-night, .core-start, .on-night, .core-hero) :focus-visible { outline-color: var(--on-dark-accent); }
:is(.band--ink, .band-night, .core-start, .on-night) .small { color: var(--on-dark-muted); }

/* Labels: Epilogue 400, a step smaller, sentence case, untracked */
.eyebrow, .plan__label {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-sm);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
  font-variant-caps: normal;
  color: var(--muted);
}
.eyebrow__no, .eyebrow .no { margin-right: var(--s-3); font-weight: 600; color: var(--ink); }
:is(.band--ink, .band-night, .core-start) .eyebrow { color: var(--on-dark-muted); }
:is(.band--ink, .band-night, .core-start) :is(.eyebrow__no, .eyebrow .no) { color: var(--on-dark-accent); }

.lead, .lede {
  max-width: 52ch;
  font-size: var(--fs-lead);
  line-height: 1.45;
  color: var(--ink-2);
}
:is(.band--ink, .band-night, .core-start) :is(.lead, .lede) { color: var(--on-dark-muted); }

/* Large figures: Epilogue 700, a step larger than the head beside them */
.figure, .stat, .big-figure {
  font-family: var(--sans);
  font-size: var(--fs-figure);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

/* Tags and pills carry state */
.tag, .pill {
  display: inline-flex; align-items: center;
  padding: 2px var(--s-3);
  border-radius: var(--radius-pill);
  background: var(--paper-3);
  color: var(--ink);
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}
.tag--in, .pill--in { background: var(--accent-soft); color: var(--accent-soft-ink); }
.tag--on, .pill--on { background: var(--ink); color: var(--paper); }
.tag--out { background: transparent; box-shadow: inset 0 0 0 1px var(--rule); color: var(--muted); }

/* =========================================================
   Controls
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 48px;
  padding: 14px 22px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-ctl);
  background: var(--ink);
  color: var(--paper);
  font: 600 1rem/1.15 var(--sans);
  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(--ink-2); border-color: var(--ink-2); color: var(--paper); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--accent); 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; line-height: 1; transition: transform var(--dur) var(--ease); }
.btn .arr::before { content: "\2192"; content: "\2192" / ""; }
.btn:hover .arr { transform: translateX(3px); }
.btn--block { width: 100%; white-space: normal; }

/* The core's demo button: always the primary on paper, inverted by the dark-ground rules below */
.btn--demo { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--demo:hover { background: var(--ink-2); border-color: var(--ink-2); color: var(--paper); }

/* Paper-filled button for ink grounds */
.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-color: var(--on-dark-accent); }

.btn--ghost, .btn-ghost { background: var(--paper-2); color: var(--ink); border-color: var(--rule); }
.btn--ghost:hover, .btn-ghost:hover { background: var(--paper-3); border-color: var(--field-line); color: var(--ink); }
.band--paper .btn--ghost { background: var(--paper); }
.band--paper .btn--ghost:hover { background: var(--paper-3); }

:is(.band--ink, .band-night) .btn { background: var(--on-dark); border-color: var(--on-dark); color: var(--ink); }
:is(.band--ink, .band-night) .btn:hover { background: var(--paper-3); border-color: var(--paper-3); color: var(--ink); }
:is(.band--ink, .band-night) .btn--ghost { background: transparent; border-color: var(--on-dark-line); color: var(--on-dark); }
:is(.band--ink, .band-night) .btn--ghost:hover { background: var(--on-dark-wash); border-color: var(--on-dark); color: var(--on-dark); }
:is(.band--ink, .band-night) .btn:focus-visible { outline-color: var(--on-dark-accent); }

.actions, .page-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.page-actions, .page-hero .actions { margin-top: var(--s-6); }

.demo-trust {
  display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5);
  margin: var(--s-4) 0 0;
  font-size: var(--fs-sm);
  color: var(--muted);
}
.demo-ps { margin-top: var(--s-4); font-size: var(--fs-sm); color: var(--muted); }
:is(.band--ink, .band-night) :is(.demo-trust, .demo-ps) { color: var(--on-dark-muted); }

/* =========================================================
   Header (core markup): sticky, 72px, ink-ruled
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
  padding-top: env(safe-area-inset-top, 0px);
}
.site-header .wrap { max-width: calc(var(--container-header) + 2 * var(--gutter)); }
.nav { display: flex; align-items: center; gap: var(--s-5); height: calc(var(--header) - 1px); }
.brand { display: inline-flex; align-items: center; gap: var(--s-3); 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: 700 1.1875rem/1 var(--sans);
  letter-spacing: -0.03em;
  color: var(--ink);
  white-space: nowrap;
}
.brand__word i { font-style: normal; font-weight: 700; color: var(--accent); }
.brand__by { display: block; margin-top: var(--s-1); font-size: var(--fs-xs); font-weight: 400; line-height: 1.2; color: var(--muted); }

.nav__links { display: flex; align-items: center; gap: 20px; min-width: 0; margin: 0 auto; padding: 0; list-style: none; }
.nav__links a, .nav__login {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.45em;
  white-space: nowrap;
}
.nav__links a:hover, .nav__login:hover { color: var(--ink); text-decoration-color: var(--accent); }
.nav__links a[aria-current="page"] { text-decoration-color: var(--ink); }
.nav__links a[aria-current="page"]:hover { text-decoration-color: var(--accent); }
.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-block: var(--s-2); }

.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: var(--s-2);
  width: 44px;
  height: 44px;
  padding: 0 var(--s-3);
  border: 1px solid var(--rule);
  border-radius: var(--radius-ctl);
  background: var(--paper-2);
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.menu-btn span { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: transform var(--dur) var(--ease); }
.menu-btn:hover { background: var(--paper-3); border-color: var(--field-line); }
.menu-btn:focus-visible { outline: 2px solid var(--accent); 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: 84rem) {
  .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: calc(var(--header) + env(safe-area-inset-top, 0px)) 0 0;
    z-index: var(--z-menu);
    padding: var(--s-6) var(--gutter) calc(var(--s-6) + env(safe-area-inset-bottom, 0px));
    background: var(--paper);
    box-shadow: var(--shadow-float);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .mobile-nav ol { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); counter-reset: mn; }
  .mobile-nav li { counter-increment: mn; display: flex; align-items: baseline; gap: var(--s-4); border-bottom: 1px solid var(--rule); }
  .mobile-nav li::before { content: counter(mn, decimal-leading-zero); min-width: 2ch; font-family: var(--mono); font-size: var(--fs-sm); font-weight: 500; color: var(--muted); }
  .mobile-nav li a {
    flex: 1;
    display: block;
    padding: var(--s-4) 0;
    font: 700 1.5rem/1.15 var(--sans);
    letter-spacing: -0.025em;
    color: var(--ink);
    text-decoration: none;
  }
  .mobile-nav li a:hover, .mobile-nav li a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
  .mobile-nav .nav__login { display: inline-flex; justify-self: start; }
  html:not(.js) .nav__links { display: flex; overflow-x: auto; margin: 0; }
  html:not(.js) .menu-btn { display: none; }
}
@media (max-width: 40rem) {
  .nav__cta .btn { display: none; }
  .brand__by { display: none; }
  .brand__word { font-size: 1.0625rem; }
  .nav { gap: var(--s-3); }
}

/* =========================================================
   Hero (core standard: <!--core:hero-->, partials/hero.css)
   ========================================================= */
.core-hero { --ch-header: 72px; }
main .core-hero {
  --ch-header: 72px;
  --ch-dark: var(--ink);
  --ch-on-dark: var(--on-dark);
  --ch-on-dark-muted: var(--on-dark-muted);
  --ch-accent: var(--on-dark-accent);
  --ch-display: var(--sans);
  --ch-sans: var(--sans);
}
main .core-hero__scrim {
  background:
    linear-gradient(90deg, color-mix(in oklab, var(--ink) 55%, transparent) 0%, color-mix(in oklab, var(--ink) 30%, transparent) 34%, transparent 60%),
    linear-gradient(0deg, color-mix(in oklab, var(--ink) 45%, transparent) 0%, transparent 42%);
}
main .core-hero h1 {
  max-width: 15ch;
  font-family: var(--sans);
  font-size: var(--fs-hero);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--on-dark);
}
main .core-hero__lead { max-width: 34ch; font-family: var(--sans); font-size: var(--fs-lead); line-height: 1.45; color: var(--on-dark); }
main .core-hero .btn { background: var(--on-dark); border-color: var(--on-dark); color: var(--ink); }
main .core-hero .btn:hover { background: var(--paper-3); border-color: var(--paper-3); color: var(--ink); }
main .core-hero .btn--ghost { background: transparent; border-color: var(--on-dark-line); color: var(--on-dark); }
main .core-hero .btn--ghost:hover { background: var(--on-dark-wash); border-color: var(--on-dark); color: var(--on-dark); }
main .core-hero .btn:focus-visible { outline: 2px solid var(--on-dark-accent); outline-offset: 3px; }
main .core-hero .demo-trust { color: var(--on-dark); }
@media (max-width: 60rem) {
  main .core-hero__scrim {
    background: linear-gradient(0deg, color-mix(in oklab, var(--ink) 80%, transparent) 0%, color-mix(in oklab, var(--ink) 50%, transparent) 55%, color-mix(in oklab, var(--ink) 10%, transparent) 100%);
  }
}

/* The work order: the hero aside card */
.plate { margin: 0; background: var(--paper-2); border: 1px solid var(--rule); border-radius: var(--radius); }
.sheet, .work-order {
  width: 100%;
  padding: var(--s-5) var(--s-5) var(--s-3);
  background: var(--paper);
  color: var(--ink-2);
  border: 0;
  border-top: 1px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-float);
}
.sheet__head, .sheet__meta, .work-order__head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--s-2) var(--s-4);
  margin-bottom: var(--s-3);
  font-size: var(--fs-sm);
  color: var(--muted);
}
.sheet__ticket, .ticket, .work-order__no { font-family: var(--mono); font-size: var(--fs-xs); font-weight: 500; font-variant-numeric: tabular-nums; color: var(--ink); }
.sheet__table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.sheet__table caption { padding-bottom: var(--s-3); text-align: left; font-size: var(--fs-sm); font-weight: 400; color: var(--muted); }
.sheet__table caption :is(.code, .sheet__ticket, .ticket) { float: right; margin-left: var(--s-3); }
.sheet__table thead th {
  padding: 0 var(--s-2) var(--s-2);
  border-bottom: 1px solid var(--ink);
  text-align: left;
  font-size: var(--fs-xs);
  font-weight: 400;
  color: var(--muted);
}
.sheet__table thead th:first-child { padding-left: var(--s-2); }
.sheet__table thead th.r { text-align: right; }
.sheet__table td, .sheet__table tbody th { padding: var(--s-3) var(--s-2); border-bottom: 1px solid var(--rule-2); text-align: left; vertical-align: middle; }
.sheet__table tbody th { font-weight: 600; color: var(--ink); }
.sheet__table td.code { color: var(--muted); }
.sheet__table td.r { text-align: right; color: var(--ink); }
.sheet__table tbody tr:last-child > * { border-bottom: 0; }
.sheet__table tr.is-you > * { background: var(--accent-soft); color: var(--accent-soft-ink); border-bottom-color: transparent; }
.sheet__table tr.is-you > :first-child { border-radius: var(--radius-ctl) 0 0 var(--radius-ctl); }
.sheet__table tr.is-you > :last-child { border-radius: 0 var(--radius-ctl) var(--radius-ctl) 0; }
.sheet__table tr.is-you td.code { color: var(--accent-soft-ink); }
span.is-you, .sheet .pill, .sheet .tag, .sheet__you {
  display: inline-flex; align-items: center;
  margin-left: var(--s-2);
  padding: 1px var(--s-2);
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.5;
  vertical-align: 1px;
  white-space: nowrap;
}
.sheet__note, .sheet figcaption { margin-top: var(--s-3); font-size: var(--fs-xs); color: var(--muted); }

/* =========================================================
   #why: statement on ink, three claims
   ========================================================= */
.why { background: var(--ink); color: var(--on-dark-muted); }
.why .statement { color: var(--on-dark); }
.statement { max-width: 75%; font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -0.035em; }
.claims {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  margin: var(--s-8) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: claim;
}
.claims li { counter-increment: claim; min-width: 0; }
.claims li::before {
  content: counter(claim, decimal-leading-zero);
  display: block;
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--on-dark-rule);
  font-family: var(--mono);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--on-dark-accent);
}
.claims li:has(> .code)::before { content: none; }
.claims li > .code { display: block; margin-bottom: var(--s-5); padding-bottom: var(--s-3); border-bottom: 1px solid var(--on-dark-rule); color: var(--on-dark-accent); }
.claims h3 { color: var(--on-dark); }
.claims p { margin-top: var(--s-2); color: var(--on-dark-muted); }
.claims .figure, .claims strong { color: var(--on-dark); }

/* =========================================================
   #signals: the parts list
   ========================================================= */
.signals { background: var(--paper); }
.signals .table-scroll { margin-top: var(--s-2); }
.head-split {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: var(--gap);
  align-items: end;
  margin-bottom: var(--s-7);
}
.table-scroll { overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.table-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.spec { width: 100%; min-width: 44rem; border-collapse: collapse; border-top: 1px solid var(--ink); }
.spec thead th {
  padding: var(--s-3) var(--s-4) var(--s-3) 0;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  font-size: var(--fs-sm);
  font-weight: 400;
  color: var(--muted);
  white-space: nowrap;
}
.spec thead th.r { padding-right: 0; text-align: right; }
.spec td, .spec tbody th {
  padding: var(--s-4) var(--s-4) var(--s-4) 0;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: middle;
}
.spec tbody th { font-size: var(--fs-body); font-weight: 600; line-height: 1.3; color: var(--ink); white-space: nowrap; }
.spec td { color: var(--ink-2); }
.spec td.code { width: 5.5rem; color: var(--muted); white-space: nowrap; }
.spec td.r { width: 11rem; padding-right: 0; text-align: right; color: var(--ink); white-space: nowrap; }
.spec .w {
  position: relative;
  display: inline-block;
  width: 5rem;
  height: 4px;
  margin-right: var(--s-3);
  vertical-align: middle;
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: var(--rule);
}
.spec .w::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w, 0%); border-radius: inherit; background: var(--accent); }

/* =========================================================
   #solutions: segmented tabs and panels
   ========================================================= */
.solutions h2 { margin-bottom: var(--s-7); }
.switch { position: relative; min-width: 0; }
.seg {
  display: inline-flex;
  flex-wrap: wrap;
  gap: var(--s-1);
  max-width: 100%;
  margin-bottom: var(--s-7);
  padding: var(--s-1);
  border: 1px solid var(--rule);
  border-radius: var(--radius-pill);
  background: var(--paper);
}
.seg button, .seg [role="tab"] {
  min-height: 44px;
  padding: 0 var(--s-5);
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink);
  font: 600 0.9375rem/1.2 var(--sans);
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.seg button:hover, .seg [role="tab"]:hover { background: var(--paper-3); }
.seg button:focus-visible, .seg [role="tab"]:focus-visible { position: relative; z-index: var(--z-raised); outline: 2px solid var(--accent); outline-offset: 2px; }
.seg button:disabled { opacity: 0.55; cursor: not-allowed; }
.seg [aria-selected="true"], .seg [aria-selected="true"]:hover { background: var(--ink); color: var(--paper); }

.panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap); align-items: start; }
.panel + .panel { margin-top: var(--s-7); }
.panel h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.1; letter-spacing: -0.025em; }
.panel p { margin-top: var(--s-4); font-size: 1.125rem; line-height: 1.5; color: var(--ink-2); }

.ruled { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.ruled > li { padding-block: var(--s-4); border-bottom: 1px solid var(--rule); font-size: var(--fs-body); font-weight: 600; color: var(--ink); }
.band--paper .ruled > li { border-bottom-color: var(--rule); }
.more { margin-top: var(--s-7); }
.more a { font-weight: 600; }

/* =========================================================
   #pricing (core markup)
   ========================================================= */
.core-head { display: grid; gap: var(--s-4); margin-bottom: var(--s-7); }
.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-6);
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}
.plan--feature { padding: calc(var(--s-6) - 1px); border: 2px solid var(--ink); }
.plan__badge {
  align-self: flex-start;
  padding: 2px var(--s-3);
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent-soft-ink);
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1.5;
}
.plan__name { font-size: var(--fs-h3); }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-2); margin: 0; }
.plan__price strong {
  font: 700 clamp(2.25rem, 3.6vw, 3rem)/1 var(--sans);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.plan__price span { font-size: var(--fs-sm); color: var(--muted); }
.plan ul { flex: 1; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.plan li { padding-block: var(--s-3); border-bottom: 1px solid var(--rule-2); font-size: 0.9375rem; color: var(--ink-2); }
.plan li.inherit { font-weight: 600; color: var(--ink); }
.plan__fine { font-size: var(--fs-xs); text-align: center; color: var(--muted); }
.core-note { max-width: 52ch; margin-top: var(--s-7); font-size: var(--fs-lead); line-height: 1.45; color: var(--ink-2); }

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

/* =========================================================
   #report band
   ========================================================= */
.report { background: var(--paper-2); }
.report .lead { color: var(--ink-2); }
.report__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--gap); align-items: start; }
.report__when { margin-top: var(--s-5); color: var(--muted); }
.report__parts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--gap);
  margin: var(--s-7) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: rp;
}
.report__parts li { counter-increment: rp; min-width: 0; }
.report__parts li::before {
  content: counter(rp, decimal-leading-zero);
  display: block;
  margin-bottom: var(--s-4);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
}
.report__parts li:has(> .code)::before { content: none; }
.report__parts li > .code { display: block; margin-bottom: var(--s-4); padding-bottom: var(--s-3); border-bottom: 1px solid var(--ink); }
.report__parts h3 { font-size: 1.0625rem; line-height: 1.3; }
.report__parts p { margin-top: var(--s-2); font-size: 0.9375rem; color: var(--ink-2); }
.fill {
  padding: 0 0.25em;
  border: 1px dashed var(--field-line);
  border-radius: 4px;
  color: var(--muted);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* =========================================================
   #get-started (core markup): ink band, paper well
   ========================================================= */
.core-start { background: var(--ink); color: var(--on-dark-muted); }
.core-start__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(var(--s-7), 6vw, var(--s-9)); align-items: start; }
.core-start h2 { margin-top: var(--s-3); }
.core-start .lede { margin-top: var(--s-4); }
.core-start__list {
  display: grid;
  margin: var(--s-6) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: s;
  border-top: 1px solid var(--on-dark);
}
.core-start__list li {
  counter-increment: s;
  display: grid;
  grid-template-columns: var(--s-7) minmax(0, 1fr);
  padding-block: var(--s-3);
  border-bottom: 1px solid var(--on-dark-rule);
  color: var(--on-dark);
}
.core-start__list li::before { content: counter(s, decimal-leading-zero); font-family: var(--mono); font-weight: 500; color: var(--on-dark-accent); }

.core-start__card {
  padding: var(--s-6);
  background: var(--paper);
  color: var(--ink-2);
  border-radius: var(--radius);
}
.core-start__card :is(h2, h3) { color: var(--ink); }
.core-start__card a:not(.btn) { color: var(--ink); text-decoration-color: var(--field-line); }
.core-start__card a:not(.btn):hover { text-decoration-color: var(--accent); }
.core-start__card :focus-visible { outline-color: var(--accent); }
.core-start__card .eyebrow { color: var(--muted); }

.core-form { display: grid; gap: var(--s-4); }
.core-form h3 { font-size: 1.5rem; letter-spacing: -0.02em; }
.core-form__sub { margin-top: calc(-1 * var(--s-2)); color: var(--muted); }
.core-form label { display: grid; gap: var(--s-2); font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.core-form__opt { font-weight: 400; color: var(--muted); }

/* Shared field styling: core form and contact form */
:is(.core-form, .wl-form) :is(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select, textarea) {
  width: 100%;
  min-height: 48px;
  padding: var(--s-3) var(--s-4);
  border: 1px solid var(--field-line);
  border-radius: var(--radius-ctl);
  background: var(--card);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  transition: border-color var(--dur) var(--ease);
}
:is(.core-form, .wl-form) ::placeholder { color: var(--muted); opacity: 1; }
:is(.core-form, .wl-form) :is(input, select, textarea):hover { border-color: var(--ink-2); }
:is(.core-form, .wl-form) :is(input, select, textarea):focus-visible { border-color: var(--ink); outline: 2px solid var(--accent); outline-offset: 2px; }
:is(.core-form, .wl-form) :is(input, textarea)[aria-invalid="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
:is(.core-form, .wl-form) :is(input, textarea):disabled { opacity: 0.55; cursor: not-allowed; }

.core-form__choice { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0; padding: 0; border: 0; }
.core-form__choice legend { margin-bottom: var(--s-2); padding: 0; font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.core-form__choice label {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--field-line);
  border-radius: var(--radius-pill);
  background: var(--card);
  font-size: 0.9375rem;
  font-weight: 600;
  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 { background: var(--paper-3); }
.core-form__choice input { position: absolute; width: 1px; height: 1px; opacity: 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) { z-index: var(--z-raised); outline: 2px solid var(--accent); outline-offset: 2px; }
.core-form__hp, .wl-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.core-form__status { min-height: 1lh; font-size: var(--fs-sm); color: var(--muted); }
.core-form__status:not(:empty) { font-weight: 600; color: var(--ink); }
.core-form__legal { font-size: var(--fs-xs); color: var(--muted); }
.core-form__done { display: grid; gap: var(--s-4); }

/* =========================================================
   Footer (core markup): dark, statement
   ========================================================= */
.site-footer {
  padding-block: var(--s-9) calc(var(--s-6) + env(safe-area-inset-bottom, 0px));
  background: var(--ink);
  color: var(--on-dark-muted);
}
.site-footer a { color: var(--on-dark); font-weight: 400; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--on-dark-accent); text-decoration-thickness: 1px; }
.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(--on-dark-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 { max-width: 36ch; margin-top: var(--s-4); color: var(--on-dark-muted); }
.footer__col :is(h2, h3, h4) {
  max-width: none;
  margin: 0;
  font: 600 var(--fs-sm)/1.4 var(--sans);
  letter-spacing: 0;
  text-transform: none;
  color: var(--on-dark-muted);
}
.footer__col :is(h2, h3, h4) + ul { margin-top: var(--s-3); }
.footer__col ul { display: grid; gap: var(--s-1); margin: 0 0 var(--s-5); padding: 0; list-style: none; }
.footer__col li a, .footer__col li > span { display: inline-flex; align-items: center; min-height: 32px; }
.footer__col span, .footer__col p { color: var(--on-dark-muted); }
.footer__word {
  margin: var(--s-9) 0 var(--s-6);
  font: 700 clamp(2rem, 7vw, 5.25rem)/0.95 var(--sans);
  letter-spacing: -0.045em;
  color: var(--on-dark);
  overflow-wrap: anywhere;
  min-width: 0;
}
@supports (font-size: 1cqi) {
  .site-footer .wrap { container-type: inline-size; }
  .footer__word { font-size: 7.4cqi; }
}
.footer__word i { font-style: normal; color: var(--on-dark-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: 1px solid var(--on-dark-rule);
  font-size: var(--fs-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: 32px; }
.credits { padding-block: var(--s-5); font-size: var(--fs-sm); color: var(--muted); }

/* =========================================================
   Inner pages: page hero, prose, contact
   ========================================================= */
.page-hero { padding-block: clamp(56px, 8vw, 112px) clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--ink); }
.page-hero h1 { font-size: var(--fs-page); }
.page-hero .eyebrow { margin-bottom: var(--s-4); }
.page-hero .lead, .page-hero .lede { margin-top: var(--s-5); }
.page-hero .demo-trust { margin-top: var(--s-4); }
.page-hero .small { margin-top: var(--s-4); }

.prose { max-width: 68ch; color: var(--ink-2); }
.prose > * + * { margin-top: var(--s-4); }
.prose h2 { max-width: 30ch; margin-top: var(--s-7); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.1; letter-spacing: -0.025em; }
.prose h3 { margin-top: var(--s-6); }
.prose h2 + *, .prose h3 + * { margin-top: var(--s-3); }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: var(--s-2); }
.prose li::marker { color: var(--muted); }
.prose a { overflow-wrap: anywhere; }
.prose .callout {
  padding: var(--s-5);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper-2);
  color: var(--ink);
}
.prose .dropcap, .dropcap { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); }
.prose th, .prose td { padding: var(--s-3) var(--s-3) var(--s-3) 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }

.contact { background: var(--paper); }
.contact .ruled { margin-top: 0; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(var(--s-7), 6vw, var(--s-9)); align-items: start; }
.contact__h { margin-bottom: var(--s-6); font-size: var(--fs-h2); }
.contact__next { counter-reset: cn; }
.contact__next > li { counter-increment: cn; display: grid; grid-template-columns: var(--s-7) minmax(0, 1fr); font-weight: 400; color: var(--ink-2); }
.contact__next > li::before { content: counter(cn, decimal-leading-zero); font-family: var(--mono); font-weight: 500; color: var(--muted); }
.contact__card { padding: var(--s-6); }

.wl-form { display: grid; gap: var(--s-4); }
.wl-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
.wl-form label { display: grid; gap: var(--s-2); font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.wl-opt { font-weight: 400; color: var(--muted); }
.wl-form textarea { min-height: 128px; resize: vertical; }
.wl-form .btn { justify-self: start; }
.wl-status { min-height: 1lh; font-size: var(--fs-sm); color: var(--muted); }
.wl-status.is-error { font-weight: 600; color: var(--ink); }
.wl-fine { font-size: var(--fs-xs); color: var(--muted); }
.wl-done {
  display: grid;
  gap: var(--s-2);
  padding: var(--s-5);
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent-soft-ink);
}
.wl-done h3 { font-size: var(--fs-h3); color: var(--accent-soft-ink); }

/* =========================================================
   Industry report (/industry-report/, built by the core)
   ========================================================= */
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
  margin: var(--s-5) 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-sm);
  color: var(--muted);
}
.meta-row > * { margin: 0; }

.article:has(> .toc) { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); column-gap: var(--s-7); row-gap: 0; align-items: start; }
.article:has(> .toc) > .toc { grid-column: 1; grid-row: 1 / span 60; position: sticky; top: calc(var(--header) + var(--s-6)); }
.article:has(> .toc) > :not(.toc) { grid-column: 2; }
.article > * + :not(.toc) { margin-top: var(--s-7); }
.article > .gap-0, .article > [data-gap="0"], .gap-0 { margin-top: 0; }

.toc { padding-top: var(--s-4); border-top: 1px solid var(--ink); font-size: 0.9375rem; }
.toc :is(h2, h3, p, .toc__title) { max-width: none; margin: 0 0 var(--s-3); font: 400 var(--fs-sm)/1.4 var(--sans); letter-spacing: 0; color: var(--muted); }
.toc :is(ol, ul) { display: grid; margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); border-bottom: 1px solid var(--rule-2); }
.toc li::before { content: counter(toc, decimal-leading-zero); padding-block: var(--s-2); font-family: var(--mono); font-size: var(--fs-xs); font-weight: 500; line-height: 1.9; color: var(--muted); }
.toc a { display: block; padding-block: var(--s-2); font-weight: 600; text-decoration: underline; text-decoration-color: transparent; }
.toc a:hover, .toc a[aria-current] { text-decoration-color: var(--accent); }

.sec-head { display: grid; gap: var(--s-4); margin-bottom: var(--s-7); }

sup { line-height: 0; }
sup a { padding-inline: 1px; font-size: 0.75em; font-weight: 600; text-decoration-color: var(--field-line); }
sup a:hover { text-decoration-color: var(--accent); }

.figure-block { margin: 0; padding-top: var(--s-4); border-top: 1px solid var(--ink); }
.figure-block :is(h3, .figure-block__title, figcaption > strong) { display: block; font-size: var(--fs-h3); color: var(--ink); }
.figure-block :is(.figure-block__sub, figcaption, .sub) { margin-top: var(--s-1); font-size: var(--fs-sm); color: var(--muted); }
.figure-block > * + * { margin-top: var(--s-5); }

/* growth: vertical bars */
.growth { display: grid; gap: var(--s-4); }
.growth__bars, .growth__chart {
  display: flex;
  align-items: flex-end;
  gap: clamp(8px, 1.4vw, 16px);
  height: clamp(200px, 26vw, 280px);
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--ink);
}
.growth__col, .growth__item { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; height: 100%; gap: var(--s-2); text-align: center; }
.growth__bar, .growth__fill {
  display: block;
  height: var(--h, auto);
  min-height: 2px;
  border-radius: 6px 6px 0 0;
  background: var(--ink);
}
.growth__bars > .growth__bar, .growth__chart > .growth__bar { flex: 1 1 0; min-width: 0; }
:is(.growth__col, .growth__item, .growth__bar).is-forecast .growth__fill,
.growth__bar.is-forecast, .growth__bar--forecast, .growth__bar[data-forecast="true"], .is-forecast > .growth__bar,
.growth__bar.fc, .growth__fill.fc, .fc > .growth__bar, .fc > .growth__fill {
  background: repeating-linear-gradient(135deg, var(--ink-2) 0 2px, var(--paper-3) 2px 7px);
  box-shadow: inset 0 0 0 1px var(--ink-2);
}
.fc :is(.growth__val, .growth__yr) { color: var(--muted); }
.growth__legend .fc::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: var(--s-2);
  vertical-align: -1px;
  border-radius: 2px;
  background: repeating-linear-gradient(135deg, var(--ink-2) 0 2px, var(--paper-3) 2px 7px);
  box-shadow: inset 0 0 0 1px var(--ink-2);
}
.growth__value, .growth__val {
  display: block;
  font-family: var(--mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  white-space: nowrap;
}
.growth__yr {
  display: block;
  order: 3;
  padding-top: var(--s-1);
  font-family: var(--mono);
  font-size: var(--fs-xs);
  font-weight: 400;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.growth__label, .growth__labels > * { font-size: var(--fs-xs); color: var(--muted); }
.growth__labels { display: flex; gap: clamp(8px, 1.4vw, 16px); }
.growth__labels > * { flex: 1 1 0; min-width: 0; text-align: center; }
.growth__legend, .range__legend { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); font-size: var(--fs-xs); color: var(--muted); }

/* range: low-to-high bars */
.range { display: grid; gap: var(--s-3); }
.range__axis {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin-left: var(--range-label, 34%);
  margin-right: var(--range-value, 7rem);
  padding-bottom: var(--s-2);
  border-bottom: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--muted);
}
.range__row {
  display: grid;
  grid-template-columns: minmax(0, var(--range-label, 34%)) minmax(0, 1fr) var(--range-value, 7rem);
  align-items: center;
  min-height: 44px;
  border-bottom: 1px solid var(--rule-2);
}
.range__label { padding-right: var(--s-4); font-size: 0.9375rem; font-weight: 600; color: var(--ink); }
.range__track { position: relative; height: 12px; border-radius: var(--radius-pill); background: var(--rule-2); }
.range__bar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--from, var(--min, 0%));
  width: calc(var(--to, var(--max, 100%)) - var(--from, var(--min, 0%)));
  min-width: 6px;
  border-radius: var(--radius-pill);
  background: var(--ink);
}
.range__value, .range__display { padding-left: var(--s-4); text-align: right; font-family: var(--mono); font-size: var(--fs-sm); font-weight: 500; font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }

/* pullstat: figures in plain black */
.pullstat {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: var(--gap);
  margin: 0;
  padding: var(--s-6);
  list-style: none;
  border-radius: var(--radius);
  background: var(--paper-2);
}
.pullstat > * { min-width: 0; margin: 0; padding-top: var(--s-4); border-top: 1px solid var(--ink); }
.pullstat :is(.pullstat__value, strong, dt, .value) {
  display: block;
  font: 700 var(--fs-figure)/1 var(--sans);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  overflow-wrap: break-word;
}
.pullstat :is(.pullstat__label, span, dd, p, .label) { display: block; margin: var(--s-3) 0 0; font-size: 0.9375rem; color: var(--ink-2); }

/* dtable: data table */
.dtable-wrap, .dtable__wrap, .dtable__scroll { overflow-x: auto; overscroll-behavior-x: contain; }
.dtable-wrap:focus-visible, .dtable__wrap:focus-visible, .dtable__scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.dtable { width: 100%; min-width: 36rem; border-collapse: collapse; border-top: 1px solid var(--ink); font-size: 0.9375rem; }
.dtable caption { padding-bottom: var(--s-3); caption-side: top; text-align: left; font-size: var(--fs-sm); color: var(--muted); }
.dtable thead th { padding: var(--s-3) var(--s-4) var(--s-3) 0; border-bottom: 1px solid var(--rule); text-align: left; font-size: var(--fs-sm); font-weight: 400; color: var(--muted); vertical-align: bottom; }
.dtable td, .dtable tbody th { padding: var(--s-3) var(--s-4) var(--s-3) 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.dtable tbody th { font-weight: 600; color: var(--ink); }
.dtable :is(td, th):last-child { padding-right: 0; }

/* funnel: stepped stages */
.funnel { display: grid; gap: var(--s-3); margin: 0; padding: 0; list-style: none; counter-reset: fn; }
.funnel__stage {
  counter-increment: fn;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  column-gap: var(--s-4);
  padding: var(--s-5);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper);
}
.funnel__stage::before { content: counter(fn, decimal-leading-zero); grid-row: 1 / span 3; font-family: var(--mono); font-weight: 500; color: var(--muted); }
.funnel__stage:nth-child(2) { margin-left: 4%; }
.funnel__stage:nth-child(3) { margin-left: 8%; }
.funnel__stage:nth-child(4) { margin-left: 12%; }
.funnel__stage:nth-child(5) { margin-left: 16%; }
.funnel__stage:nth-child(n+6) { margin-left: 20%; }
.funnel__stage :is(h3, .funnel__title) { font-size: var(--fs-h3); color: var(--ink); }
.funnel__stage :is(p, .funnel__text) { margin-top: var(--s-2); color: var(--ink-2); }
.funnel__tags { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: var(--s-3) 0 0; padding: 0; list-style: none; }
.funnel__tags > *, .funnel__tag {
  display: inline-flex;
  padding: 2px var(--s-3);
  border-radius: var(--radius-pill);
  background: var(--paper-3);
  color: var(--ink);
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1.5;
}

/* sources */
.sources { font-size: 0.9375rem; color: var(--ink-2); }
.sources :is(h2, h3) { margin-bottom: var(--s-4); }
.sources ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.sources li { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: 0; padding-block: var(--s-3); border-bottom: 1px solid var(--rule-2); scroll-margin-top: calc(var(--header) + var(--s-5)); }
.sources li > :first-child:is(.code, .n, span:first-child) { font-family: var(--mono); font-weight: 500; color: var(--muted); }
.sources ol:not(:has(li > .n, li > .code)) { counter-reset: src; }
.sources ol:not(:has(li > .n, li > .code)) li { counter-increment: src; }
.sources ol:not(:has(li > .n, li > .code)) li::before { content: counter(src); font-family: var(--mono); font-weight: 500; color: var(--muted); }
.sources a { overflow-wrap: anywhere; }
.sources li:target { background: var(--accent-soft); color: var(--accent-soft-ink); }

/* closing band */
.closing { display: grid; gap: var(--s-4); }
.closing h2 { max-width: 24ch; }
.closing .actions, .closing .btn { margin-top: var(--s-4); }
.band-night .closing .actions .btn { margin-top: 0; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 75rem) {
  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .report__parts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 60rem) {
  .statement { max-width: none; }
  .claims { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); margin-top: var(--s-7); }
  .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-7); }
  .faq__grid > h2, .faq__head { position: static; }
  .core-plans { grid-template-columns: minmax(0, 1fr); }
  .report__parts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article:has(> .toc) { display: block; }
  .article:has(> .toc) > .toc { position: static; margin-bottom: var(--s-7); }
  .funnel__stage:nth-child(n) { margin-left: 0; }
  .range__row { grid-template-columns: minmax(0, 1fr) auto; row-gap: var(--s-2); padding-block: var(--s-3); }
  .range__label { grid-column: 1 / -1; }
  .range__axis { margin-left: 0; margin-right: 5rem; }
}
@media (max-width: 40rem) {
  .seg { display: flex; border-radius: var(--radius); }
  .seg button, .seg [role="tab"] { flex: 1 1 auto; border-radius: var(--radius-ctl); }
  .footer__top { grid-template-columns: minmax(0, 1fr); }
  .report__parts { grid-template-columns: minmax(0, 1fr); }
  .wl-row { grid-template-columns: minmax(0, 1fr); }
  .plan, .core-start__card, .contact__card { padding: var(--s-5); }
  .plan--feature { padding: calc(var(--s-5) - 1px); }
  .pullstat { padding: var(--s-5); }
  .wl-form .btn { justify-self: stretch; }
  .core-form__choice label { flex: 1 1 auto; justify-content: center; }
  .growth__val, .growth__value { font-size: 0.6875rem; }
}

/* =========================================================
   Motion: only state changes move, and not at all when asked
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0s !important;
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  .btn:hover .arr { transform: none; }
}
