.hp-field { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 26px;
  border-radius: var(--radius-control);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.2;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: filter 0.2s ease, box-shadow 0.2s ease;
}
.btn--sm { padding: 10px 20px; font-size: 14px; border-radius: 7px; }
.btn--block { display: flex; width: 100%; padding: 14px; font-size: 14.5px; white-space: normal; text-align: center; }
.btn--primary { background: var(--green-signal); color: var(--canvas-dark); }
.btn--primary:hover { filter: brightness(0.93); box-shadow: var(--glow-signal); }
.btn--outline { background: transparent; color: var(--text-on-dark); border: 1px solid var(--border-dark-strong); }
.btn--outline:hover { color: var(--text-on-dark); background: rgba(232, 239, 234, 0.06); }

/* ---------- Logo lockup ---------- */
/* Stacked-evidence icon (shared/_logo_icon) + lowercase
   wordmark in Plus Jakarta Sans Bold. --logo-surface fills the icon's
   front card so it occludes the cards behind it on any background. */
.logo-icon { display: block; flex-shrink: 0; }
.site-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--text-on-dark);
  transition: color 0.15s;
}
.site-logo:hover { color: var(--green-tint); }
.site-logo .logo-icon {
  width: 26px;
  height: 26px;
  color: var(--green-signal);
  --logo-surface: var(--canvas-dark);
}

/* ---------- Hero ---------- */
.hero {
  padding: 76px var(--section-pad-x) 64px;
  background-color: var(--canvas-dark);
  background-image:
    linear-gradient(var(--grid-line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-dark) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--text-on-dark);
  box-shadow: 0 0 0 100vmax var(--canvas-dark);
  clip-path: inset(0 -100vmax);
}
.hero-copy { max-width: var(--text-max); }

/* Homepage-only full-viewport, centered "statement" hero. */
.hero--statement {
  position: relative;
  overflow: hidden;
  min-height: 62vh;
  padding: 96px var(--section-pad-x);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 56px;
  text-align: center;
  background-image: none;
}
.hero-pipeline { width: 100%; max-width: 900px; position: relative; z-index: 1; }
.hero-pipeline .live-pipeline { margin-bottom: 0; text-align: start; }
.hero--statement::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-dark) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 35%, transparent 78%);
  mask-image: radial-gradient(ellipse at center, black 35%, transparent 78%);
}
/* Waves of colour along the top edge, fading out above the copy. The artwork
   stretches to its box rather than cropping, so the downward fade always
   finishes inside it however wide the screen is. */
.hero-aurora {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 100%;
  height: min(100%, 620px);
  pointer-events: none;
  filter: blur(6px);
}
/* Past --content-max .page stops growing but the dark canvas keeps going, so
   the waves follow it to the edges of the screen instead of ending in a box.
   The hero's own clip-path still trims them top and bottom; the body clip
   keeps 100vw (which counts a classic scrollbar) from adding a sideways
   scroll. */
@media (min-width: 1441px) {
  body:has(.hero-aurora) { overflow-x: clip; }
  .hero--statement { overflow: visible; }
  .hero-aurora { inset-inline-start: calc(50% - 50vw); width: 100vw; }
  .hero--statement::before { inset-inline-start: calc(50% - 50vw); inset-inline-end: calc(50% - 50vw); }
}
.hero--statement .hero-copy { position: relative; z-index: 1; max-width: 860px; }
.hero--statement .hero-headline {
  max-width: none;
  margin: 0 auto 28px;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.02;
}
.hero--statement .hero-headline--xs { font-size: clamp(22px, 3.2vw, 38px); line-height: 1.15; }
.hero--statement .hero-body { max-width: 620px; margin: 0 auto 32px; }
.hero--statement .hero-actions { justify-content: center; margin-bottom: 24px; }
.hero--statement .hero-connect-note { margin-inline-start: auto; margin-inline-end: auto; }
.hero-headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 46px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 26px;
  max-width: 640px;
  color: var(--text-on-dark);
}
.hero-headline--long { font-size: 58px; line-height: 1.03; }
.hero-headline--xs { font-size: 38px; line-height: 1.12; }
.hero-body {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-dark-body);
  max-width: 520px;
  margin: 0 0 20px;
}
.hero-platforms {
  font-size: 13px;
  color: var(--text-dark-muted);
  margin: -8px 0 20px;
}
.hero-pull-quote {
  font-family: var(--font-serif-accent);
  font-style: italic;
  font-size: 18px;
  color: var(--green-tint);
  margin: 0 0 36px;
  max-width: 520px;
}
.hero-callout {
  background: var(--panel-dark);
  border: 1px solid var(--border-dark);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 32px;
  max-width: 540px;
}
.hero-callout p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-dark-body);
  margin: 0;
}
.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.hero-connect-note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-dark-muted);
  max-width: 480px;
  margin: 0 0 20px;
}
.chip-row { display: flex; gap: 12px; flex-wrap: wrap; }
.chip {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 12px 16px;
  background: var(--panel-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-control);
}
.chip-value { font-family: var(--font-mono); font-weight: 600; font-size: 17px; color: var(--text-on-dark); }
.chip-label { font-size: 13px; color: var(--text-dark-muted); }
.pain-chip {
  padding: 12px 16px;
  background: var(--panel-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-control);
  max-width: 250px;
  font-size: 13px;
  color: var(--text-dark-body);
  line-height: 1.4;
}

/* ---------- Calculator section (full-width, immediately below the hero) ---------- */
.calc-section {
  padding: var(--section-pad-y) var(--section-pad-x);
  background: var(--canvas-dark);
  color: var(--text-on-dark);
  box-shadow: 0 0 0 100vmax var(--canvas-dark);
  clip-path: inset(0 -100vmax);
}
.calc-section-inner { max-width: 620px; margin: 0 auto; }
.calc-section-inner > .eyebrow { margin-bottom: 20px; }

/* ---------- Calculator section with cited problem-stats column (vertical pages) ---------- */
.calc-context-inner { max-width: 1080px; margin: 0 auto; }
.calc-context-inner > .eyebrow { margin-bottom: 20px; }
.calc-context-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }

.calc-context-heading { font-family: var(--font-display); font-size: 26px; color: var(--text-on-dark); margin: 0 0 28px; }
.calc-context-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 28px; }
.calc-context-stat { border-inline-start: 2px solid var(--border-dark-strong); padding-inline-start: 18px; }
.calc-context-value { font-family: var(--font-mono); font-size: 30px; font-weight: 600; color: var(--text-on-dark); }
.calc-context-text { font-size: 14px; line-height: 1.5; color: var(--text-dark-body); margin: 6px 0 4px; }
.calc-context-source { font-size: 12px; color: var(--text-dark-muted); text-decoration: underline; text-underline-offset: 3px; }
.calc-context-source:hover { color: var(--text-dark-body); }

/* ---------- Problem-stats band (homepage — same cited stats, standalone, no calculator) ---------- */
.problem-record-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.problem-record .calc-context-value { font-size: 34px; }

/* ---------- Merged industry-picker + calculator section (homepage only) — "Quiet data" ---------- */
.calc-split-inner { max-width: var(--content-max); margin: 0 auto; }
.calc-section--split .section-title { color: var(--text-on-dark); font-size: clamp(28px, 3.2vw, 46px); letter-spacing: -0.02em; }

.calc-split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.calc-split-head .section-header { margin-bottom: 0; }
.calc-split-sub { font-size: 15px; color: var(--text-dark-muted); max-width: 340px; line-height: 1.55; padding-bottom: 6px; }

.industry-tab-bar { display: flex; gap: 36px; border-bottom: 1px solid var(--border-dark-soft); margin-top: 48px; }
.industry-tab {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dark-muted);
  padding: 14px 2px;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
}
.industry-tab.is-active { color: var(--text-on-dark); }
.industry-tab.is-active::after { content: ""; position: absolute; inset-inline-start: 0; inset-inline-end: 0; bottom: -1px; height: 2px; background: var(--green-signal); }

.industry-tab-desc { position: relative; padding: 20px 2px 0; margin-bottom: 40px; min-height: 24px; }
.industry-tab-desc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; }
.industry-tab-desc-row[hidden] { display: none; }
.industry-tab-desc-row p { font-size: 15px; color: var(--text-dark-body); margin: 0; }
.industry-tab-link { font-size: 14px; font-weight: 600; color: var(--green-signal); white-space: nowrap; }

.calc-panel { transition: opacity 0.15s ease; }
.calc-panel.is-fading-out,
.calc-panel.is-fading-in { opacity: 0; }
.calc-panel[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  .calc-panel { transition: none; }
  .lp-node { animation: none; opacity: 1; }
  .lp-flow-path { animation: none; }
}

/* ---------- Calculator card (dark instrument panel, split left/right) ---------- */
.calc-card {
  border: 1px solid var(--border-dark-soft);
  border-radius: 14px;
  overflow: hidden;
  color: var(--text-on-dark);
}
.calc-panel-left,
.calc-panel-right {
  padding: 36px;
}
.calc-panel-left { background: var(--panel-dark); border-bottom: 1px solid var(--border-dark-soft); }
.calc-panel-right { background: var(--panel-dark); }
.calc-section--split .calc-card { display: grid; grid-template-columns: 0.9fr 1.1fr; }
.calc-section--split .calc-panel-left { border-bottom: 0; border-inline-end: 1px solid var(--border-dark-soft); }

.calc-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dark-muted);
  margin-bottom: 24px;
}
.calc-slider-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-dark-body); margin-bottom: 8px; }
.calc-slider-row span:last-child { font-family: var(--font-mono); color: var(--text-on-dark); }
.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--border-dark-soft);
  outline: none;
  margin: 0 0 22px;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--text-on-dark);
  cursor: pointer;
}
.calc-slider::-moz-range-thumb {
  width: 22px; height: 22px;
  border: none;
  border-radius: 50%;
  background: var(--text-on-dark);
  cursor: pointer;
}
.calc-slider::-webkit-slider-runnable-track { background: transparent; }
.calc-slider::-moz-range-track { background: transparent; }
.calc-slider:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(var(--green-signal-rgb), 0.25); }
.calc-slider:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px rgba(var(--green-signal-rgb), 0.25); }
.calc-divider { height: 1px; background: var(--border-dark); margin: 24px 0; }

/* Label/value rows separated by hairlines (platform, orders, disputes, AOV, dispute rate…) */
.calc-frow { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border-dark-soft); }
.calc-frow:last-child { border-bottom: 0; }
.calc-frow-label { font-size: 14px; color: var(--text-dark-body); }
.calc-frow-value { font-family: var(--font-mono); font-size: 16px; color: var(--text-on-dark); }
.calc-frow-value.is-strike { color: var(--text-dark-muted); text-decoration: line-through; }
.calc-frow-input {
  font-family: var(--font-mono);
  font-size: 16px;
  background: transparent;
  border: none;
  color: var(--text-on-dark);
  text-align: end;
  outline: none;
  width: 100px;
  padding: 0;
}
.calc-select-wrap { display: flex; align-items: center; gap: 6px; }
.calc-select {
  font-family: var(--font-mono);
  font-size: 16px;
  background: transparent;
  border: none;
  color: var(--text-on-dark);
  text-align: end;
  padding: 0;
  outline: none;
  appearance: none;
}
.calc-select option { color: var(--ink); }
.calc-select-arrow { font-size: 12px; color: var(--text-dark-muted); }

.calc-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  background: var(--green-signal);
  color: var(--canvas-dark);
  border-radius: var(--radius-control);
  font-size: 15px;
  font-weight: 600;
  width: 100%;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s ease;
}
.calc-cta:hover { opacity: 0.88; }

/* Big mono headline figure (ratio / keep amount) */
.calc-big-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dark-muted);
  margin-bottom: 8px;
}
.calc-big-value { font-family: var(--font-mono); font-weight: 600; font-size: 48px; letter-spacing: -0.02em; margin-bottom: 24px; }
.calc-big-value.is-keep { color: var(--green-signal); }

/* Ratio track (fill + threshold notch) */
.calc-track { position: relative; height: 4px; border-radius: 999px; background: var(--line-dark); margin-bottom: 8px; }
.calc-track-fill { position: absolute; inset-inline-start: 0; top: 0; bottom: 0; border-radius: 999px; background: var(--green-signal); transition: width 1.1s cubic-bezier(.2,.7,.3,1); }
/* The slice of the fill past the threshold notch — red marks the overage (the loss), never the whole bar. */
.calc-track-over { position: absolute; inset-inline-start: 62.5%; top: 0; bottom: 0; border-radius: 0 999px 999px 0; background: var(--red-dark); transition: width 1.1s cubic-bezier(.2,.7,.3,1); }
.calc-track-thresh { position: absolute; inset-inline-start: 62.5%; top: -4px; width: 2px; height: 12px; background: var(--text-on-dark); }
.calc-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-dark-muted); margin-bottom: 28px; }

/* Verdict as a sentence — red confined to the "N disputes" span, never a wash */
.calc-verdict { font-size: 15px; line-height: 1.65; color: var(--text-dark-body); margin: 4px 0 28px; }
.calc-verdict .mono { font-family: var(--font-mono); color: var(--text-on-dark); }
.calc-verdict .over { font-family: var(--font-mono); font-weight: 600; color: var(--red-dark); }
.calc-verdict .under { font-family: var(--font-mono); font-weight: 600; color: var(--green-signal); }
/* The assumption behind a calculator's math, stated on the card (mobile window calc) */
.calc-note { font-size: 12px; line-height: 1.6; color: var(--text-dark-muted); margin: -16px 0 24px; }

/* ---------- Gauge ---------- */
.gauge-track {
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--green) 0%, var(--green) 55%, var(--amber) 70%, var(--red) 85%, var(--red) 100%);
  position: relative;
  transition: left 1.1s cubic-bezier(.2,.7,.3,1);
}
.gauge-track--dark {
  background: linear-gradient(90deg, var(--green) 0%, var(--green) 55%, var(--amber) 70%, var(--red-dark) 85%, var(--red-dark) 100%);
}
.gauge-tick {
  position: absolute;
  top: -3px;
  width: 2px;
  height: 14px;
  background: var(--ink);
  transition: left 1.1s cubic-bezier(.2,.7,.3,1), opacity .6s ease;
}
.gauge-tick--light { background: var(--text-on-dark); top: -4px; height: 16px; }
.gauge-scale { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-light-muted); margin-top: 6px; }

/* ---------- Sections shared ---------- */
.hero-tool-anchor { padding: var(--section-pad-y) var(--section-pad-x); }
.hero-tool-anchor--dark {
  background: var(--canvas-dark);
  box-shadow: 0 0 0 100vmax var(--canvas-dark);
  clip-path: inset(0 -100vmax);
}
.hero-tool-figure-label { font-size: 12px; color: var(--text-light-muted); margin-bottom: 6px; }
.hero-tool-figure-value { font-family: var(--font-mono); font-weight: 600; font-size: 36px; color: var(--ink); }

.ce30-panel {
  background: var(--panel-dark);
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  padding: 40px 44px;
  color: var(--text-on-dark);
}
.merged-recovery-panel { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 0; align-items: center; }
.merged-recovery-col { padding: 0 32px; }
.merged-recovery-col:first-child { padding-inline-start: 0; }
.merged-recovery-col--divided { border-inline-start: 1px solid var(--border-dark); }
.merged-recovery-col--figure { padding-inline-end: 0; text-align: end; }
.merged-recovery-copy { font-size: 15px; line-height: 1.6; color: var(--text-dark-body); margin: 0; }
.merged-recovery-quote { font-family: var(--font-serif-accent); font-style: italic; font-size: 16px; line-height: 1.5; color: var(--green-tint); margin: 0; }
.ce30-quote {
  font-family: var(--font-serif-accent);
  font-style: italic;
  font-size: 22px;
  line-height: 1.5;
  margin: 0;
  max-width: 760px;
  color: var(--green-tint);
}
.evidence-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.evidence-pill {
  padding: 9px 16px;
  background: rgba(var(--paper-rgb), 0.06);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  color: var(--text-on-dark);
}

.seo-copy { max-width: var(--text-max); }
.seo-copy-heading { font-family: var(--font-display); font-weight: 600; font-size: 28px; margin: 0 0 18px; letter-spacing: -0.01em; }
.seo-copy-paragraph { font-size: 15px; line-height: 1.75; color: var(--text-light-body); margin: 0 0 16px; }
.seo-copy-paragraph:last-child { margin-bottom: 0; }

.qualify-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--panel-dark);
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  padding: 44px 40px;
  color: var(--text-on-dark);
}
.qualify-title { font-family: var(--font-display); font-weight: 600; font-size: 26px; margin: 0 0 22px; letter-spacing: -0.01em; color: var(--text-on-dark); }
.qualify-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.qualify-field--wide { grid-column: span 2; }
.qualify-field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--text-dark-muted); margin-bottom: 6px; }
.qualify-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-dark);
  font-size: 14px;
  background: rgba(232, 239, 234, 0.04);
  color: var(--text-on-dark);
  outline: none;
}
.qualify-note { font-size: 12.5px; color: var(--text-dark-muted); text-align: center; line-height: 1.5; }
.qualify-success { text-align: center; }

/* ---------- Product grid ---------- */
.product-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.product-card {
  border-radius: var(--radius-card);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.product-card--flat { background: var(--card); }
.product-card--outlined { background: var(--canvas-light); border: 1.5px solid var(--green); }
.product-card--elevated {
  background: linear-gradient(160deg, rgba(14,107,74,0.55), var(--canvas-dark) 65%);
  border: 1px solid rgba(var(--green-signal-rgb), 0.35);
  color: var(--text-on-dark);
  box-shadow: var(--shadow-elevated);
}
.product-badge {
  position: absolute;
  top: -11px;
  inset-inline-end: 18px;
  background: var(--green);
  color: var(--canvas-dark);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border-radius: 5px;
}
.product-card--elevated .product-badge { background: var(--green-signal); color: var(--canvas-dark); }
.product-index { font-family: var(--font-mono); font-size: 12px; color: var(--text-light-muted); }
.product-card--elevated .product-index { color: var(--text-dark-muted); }
.product-title { font-family: var(--font-display); font-weight: 600; font-size: 18px; margin: 0; line-height: 1.25; min-height: 5em; }
.product-body { font-size: 13px; line-height: 1.5; color: var(--text-light-body); margin: 0; flex: 1; }
.product-card--elevated .product-body { color: var(--text-dark-body); }
.product-hook { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.01em; color: var(--green); margin: -6px 0 0; }
.product-card--elevated .product-hook { color: var(--green-tint); }
.product-footer { padding-top: 8px; border-top: 1px solid var(--border-light); display: flex; flex-direction: column; gap: 8px; }
.product-card--elevated .product-footer { border-top-color: var(--border-dark); }
.timeline-row { display: flex; justify-content: space-between; font-size: 12.5px; }
.timeline-row .label { color: var(--text-light-muted); }
.timeline-row .value { font-family: var(--font-mono); }
.timeline-row .value--highlight { color: var(--green); }

.verdict-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border-radius: 6px; }
.verdict-row--fight { background: rgba(14,107,74,0.12); }
.verdict-row--fold { background: rgba(var(--ink-rgb), 0.06); }
.verdict-row .label { font-size: 12.5px; font-weight: 600; }
.verdict-row--fight .label { color: var(--green); }
.verdict-row--fold .label { color: var(--text-light-muted); }
.verdict-row .detail { font-family: var(--font-mono); font-size: 12px; }
.verdict-row--fight .detail { color: var(--green); }
.verdict-row--fold .detail { color: var(--text-light-muted); }
.product-card--elevated .verdict-row--fight { background: rgba(var(--green-signal-rgb), 0.18); }
.product-card--elevated .verdict-row--fight .label,
.product-card--elevated .verdict-row--fight .detail { color: var(--green-tint); }
.product-card--elevated .verdict-row--fold { background: rgba(232, 239, 234, 0.08); }
.product-card--elevated .verdict-row--fold .label,
.product-card--elevated .verdict-row--fold .detail { color: var(--text-dark-body); }

.rows-row { display: flex; justify-content: space-between; font-size: 12.5px; }
.rows-row .label { color: var(--text-light-muted); }
.rows-row .value { font-family: var(--font-mono); color: var(--text-light-muted); }
.rows-row--highlight .label { color: var(--green-tint); }
.rows-row--highlight .value { color: var(--green-tint); }
.product-card--elevated .rows-row .label,
.product-card--elevated .rows-row .value { color: var(--text-dark-muted); }

.card-gauge-row { display: flex; justify-content: space-between; font-size: 12.5px; margin-bottom: 8px; }
.card-gauge-row .label { color: var(--text-light-muted); }
.product-card--elevated .card-gauge-row .label { color: var(--text-dark-muted); }
.card-gauge-row .value.tone-green { color: var(--green); }
.card-gauge-row .value.tone-amber { color: var(--amber); }
.card-gauge-row .value.tone-red { color: var(--red); }
.card-gauge-row .value { font-family: var(--font-mono); }

/* ---------- Readiness score card (the /readiness-score page and /admin) ---------- */
.readiness-card { background: var(--panel-dark); border: 1px solid var(--border-dark); border-radius: 16px; padding: 36px; color: var(--text-on-dark); }
.readiness-card-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 26px; }
.readiness-score-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dark-muted); margin-bottom: 10px; }
.readiness-score-value { font-family: var(--font-mono); font-weight: 600; font-size: 42px; color: var(--text-on-dark); text-shadow: var(--glow-signal); }
.readiness-score-value .denom { font-size: 20px; color: var(--text-dark-muted); text-shadow: none; }
.readiness-fixes-note { font-size: 13px; color: var(--text-dark-muted); text-align: end; }
.readiness-checklist { display: flex; flex-direction: column; gap: 14px; }
.readiness-check-row { display: flex; justify-content: space-between; align-items: flex-start; padding: 12px 14px; border-radius: 8px; }
.readiness-check-row .status { font-family: var(--font-mono); font-size: 13px; white-space: nowrap; min-width: 84px; }
.readiness-check-row .text { font-size: 13.5px; flex: 1; padding: 0 0 0 14px; min-width: 0; overflow-wrap: anywhere; }
/* What the scan found, or what to change — the line that makes a row actionable. */
.readiness-check-row .detail { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.5; color: var(--text-dark-muted); }
.readiness-check-row--na { background: rgba(var(--paper-rgb), 0.04); }
.readiness-check-row--na .status,
.readiness-check-row--na .text { color: var(--text-dark-muted); }
.readiness-unchecked { margin: 20px 0 0; font-size: 12px; line-height: 1.55; color: var(--text-dark-muted); }
.readiness-check-row--high { background: rgba(226,96,74,0.16); }
.readiness-check-row--high .status { color: var(--red-dark); }
.readiness-check-row--medium { background: rgba(217,161,59,0.16); }
.readiness-check-row--medium .status { color: var(--amber); }
.readiness-check-row--ok { background: rgba(var(--green-signal-rgb),0.14); }
.readiness-check-row--ok .status { color: var(--green-tint); }

/* ---------- Scan replay (readiness-score page) ---------- */
/* The sample card plays as a live scan: rows resolve in sequence while the
   score ticks down (scan_replay_controller). All states are classes the
   controller adds to concrete nodes at connect — with JS disabled, reduced
   motion preferred, or a real result swapped into the turbo frame, the card
   renders complete and static. */
.readiness-check-row.is-pending { background: rgba(var(--paper-rgb), 0.05); }
.readiness-check-row.is-pending .status,
.readiness-check-row.is-pending .text { color: var(--text-dark-muted); }
.readiness-check-row.is-pending .status { animation: srPulse 1.1s ease-in-out infinite; }
@keyframes srPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.readiness-check-row.is-resolved { animation: srResolve 0.4s ease; }
@keyframes srResolve { from { transform: translateY(4px); opacity: 0.4; } to { transform: none; opacity: 1; } }
.readiness-fixes-note { transition: opacity 0.5s ease; }
.readiness-fixes-note.sr-waiting { opacity: 0; transition: none; }
.readiness-card { transition: border-color 0.6s ease; }
.readiness-card.sr-done { border-color: var(--border-dark-strong); }

/* ---------- Price comparison (split panel) ---------- */
/* Same shape as the industry calculator's "quiet data" split card: stepper +
   fee terms left, the big "you keep" figure and competitor comparison right.
   Dark-surface tokens throughout — the section always sits on the dark canvas
   via the .page-refresh #pricing token remap. */
.pricing-layout { max-width: 1300px; display: grid; grid-template-columns: 3fr 1fr; align-items: stretch; gap: 20px; }
.price-split { display: grid; grid-template-columns: 0.9fr 1.1fr; border: 1px solid var(--border-dark-soft); border-radius: 16px; overflow: hidden; }
.price-panel { background: var(--panel-dark); padding: 36px 40px; }
.price-panel--left { border-inline-end: 1px solid var(--border-dark-soft); }
.price-panel-label,
.price-keep-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dark-muted); }
.price-panel-label { margin-bottom: 24px; }
.price-keep-label { margin-bottom: 10px; }
.price-keep-value { font-family: var(--font-mono); font-weight: 600; font-size: 48px; letter-spacing: -0.02em; color: var(--green-signal); margin-bottom: 24px; }
.price-stepper-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border-dark-soft); }
.price-stepper-row > span:first-child { font-size: 14px; color: var(--text-dark-body); }
.price-stepper { display: inline-flex; align-items: center; gap: 8px; }
.stepper-btn {
  width: 26px; height: 26px;
  border-radius: 6px;
  border: 1px solid var(--border-dark-strong);
  background: transparent;
  color: var(--text-on-dark);
  font-family: var(--font-mono);
  font-size: 16px;
  cursor: pointer;
  line-height: 1;
}
.stepper-value { font-family: var(--font-mono); font-size: 16px; font-weight: 600; color: var(--text-on-dark); min-width: 96px; display: inline-block; text-align: center; }
.price-panel .calc-frow-value.is-strike { font-size: 15px; }
.price-footnote { font-size: 11.5px; color: var(--text-dark-muted); margin-top: 16px; }
/* Rows are sized from the plan count, not pinned at three: the column has to
   fill the split panel's height whatever the page lists. */
.plans-grid { display: grid; grid-template-columns: 1fr; grid-auto-rows: 1fr; gap: 16px; height: 100%; }
.plan-card { display: flex; flex-direction: column; justify-content: center; border-radius: var(--radius-card); padding: 32px 28px; }
.plan-card--light { background: var(--canvas-light); border: 1px solid var(--border-light); }
.plan-card--dark { background: var(--canvas-dark); color: var(--text-on-dark); }
.plan-name { font-size: 14px; font-weight: 600; color: var(--text-light-muted); margin-bottom: 8px; }
.plan-card--dark .plan-name { color: var(--text-dark-muted); }
.plan-price { font-family: var(--font-mono); font-size: 34px; font-weight: 600; margin-bottom: 6px; }
.plan-body { font-size: 13.5px; color: rgba(var(--ink-rgb), 0.6); }
.plan-card--dark .plan-body { color: var(--text-dark-body); }

/* ---------- Stripe comparison table ---------- */
.compare-table { background: var(--panel-dark); border: 1px solid var(--border-dark); border-radius: 16px; padding: 40px 44px; color: var(--text-on-dark); }
.compare-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 0; }
.compare-head { font-family: var(--font-display); font-weight: 600; font-size: 17px; text-align: center; padding-bottom: 14px; border-bottom: 2px solid var(--border-dark); color: var(--text-on-dark); }
.compare-head--us { border-bottom-color: var(--green-signal); color: var(--green-signal); }
.compare-row-label { padding: 16px 0; font-size: 14px; color: var(--text-dark-body); border-bottom: 1px solid var(--border-dark); }
.compare-cell { padding: 16px 0; font-size: 13.5px; text-align: center; color: var(--text-dark-muted); border-bottom: 1px solid var(--border-dark); }
.compare-cell--mono { font-family: var(--font-mono); font-size: 15px; }
.compare-cell--us { color: var(--green-signal); font-weight: 600; }
.compare-grid > :nth-last-child(-n+3) { border-bottom: none; }

/* ---------- Integrations ---------- */
.integrations-row { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.integrations-label { font-size: 13px; color: var(--text-dark-muted); margin-inline-end: 8px; }
.integration-chip { padding: 9px 18px; background: var(--card); border-radius: 20px; font-size: 14px; font-weight: 600; color: var(--ink); }
.integrations-row--secondary { margin-top: 12px; }
.integration-chip--soon {
  padding: 6px 14px;
  background: rgba(232, 239, 234, 0.06);
  border: 1px dashed var(--border-dark-strong);
  border-radius: 16px;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--text-dark-muted);
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.faq-card { background: var(--card); border-radius: var(--radius-card); padding: 28px 26px; }
.faq-card-q { font-family: var(--font-display); font-weight: 600; font-size: 17px; margin: 0 0 10px; color: var(--ink); }
.faq-card-a { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--text-light-body); }

/* ---------- Footer ---------- */

.site-footer {
  margin-top: auto;
  padding: 96px var(--section-pad-x) 44px;
  background: var(--canvas-dark);
  color: rgba(232, 239, 234, 0.82);
  font-size: 15px;
  box-shadow: 0 0 0 100vmax var(--canvas-dark);
  clip-path: inset(0 -100vmax);
}
/* The sitemap footer (SiteFooter) is a page of its own at the bottom of
   every page — the bottom half of the screen — so the whole site can be
   read at a glance: the brand on top, the columns in one row at large type
   (a long label wraps rather than shrinking), the legal row under them. */
.site-footer-top { display: grid; gap: 64px; }
.site-footer-row { display: flex; justify-content: space-between; }
.site-footer-row--legal { margin-top: 72px; padding-top: 28px; border-top: 1px solid rgba(232, 239, 234, 0.16); font-size: 15px; gap: 16px 32px; flex-wrap: wrap; }
.footer-brand { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 24px; }
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-on-dark);
  font-size: 30px;
}
.footer-logo .logo-icon {
  width: 34px;
  height: 34px;
  color: var(--green-signal);
  --logo-surface: var(--canvas-dark);
}
/* "Hey AI, learn about us" (/llm-info): a quiet line beside the wordmark,
   the sparkle in our green so it reads as ours, not as a badge. */
.footer-llm { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: rgba(232, 239, 234, 0.82); }
.footer-llm-icon { width: 16px; height: 16px; flex: none; color: var(--green-signal); }
.footer-llm:hover { color: #fff; }
.footer-llm:hover span { text-decoration: underline; text-underline-offset: 4px; }
.footer-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 56px 40px; }
/* Each column is a title row and a links row on the parent grid, so a title
   that wraps onto two lines pushes its whole row down rather than leaving its
   own links out of line with their neighbours'. */
.footer-column { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
.footer-column-title {
  margin: 0 0 24px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(232, 239, 234, 0.72);
}
.footer-column-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; align-content: start; }
/* Bright enough to read at a glance on the dark ground, every link alike.
   The page being read (`is-open`) is the one exception: white, bold, with a
   green dot, so the footer is a map with a "you are here" on it. */
.footer-column-links a { font-size: 20px; line-height: 1.3; color: rgba(244, 247, 245, 0.92); }
.footer-column-links a:hover,
.footer-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-column-links a.is-open { color: #fff; font-weight: 600; }
.footer-column-links a.is-open::before {
  content: ""; display: inline-block; width: 8px; height: 8px; margin: 0 10px 2px 0;
  border-radius: 50%; background: var(--green-signal); vertical-align: middle;
}
.footer-links { display: flex; gap: 12px 28px; flex-wrap: wrap; }
.footer-links a { color: rgba(232, 239, 234, 0.82); }
/* The "Cookies" reopen control is a button, but reads as one more footer link. */
.footer-links button {
  padding: 0; border: 0; background: none; font: inherit;
  color: rgba(232, 239, 234, 0.82); cursor: pointer;
}
.footer-links button:hover { color: #fff; }
/* Our numbers, as the header's phone menu draws them: a round flag, the
   country in mono, then the number. */
.footer-phone { display: inline-flex; align-items: center; gap: 8px; }
.footer-phone .hn-flag { width: 18px; height: 18px; flex: none; border-radius: 50%; box-shadow: 0 0 0 1px rgba(232, 239, 234, 0.2); }
.footer-phone-country { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: 0.08em; color: rgba(232, 239, 234, 0.6); }
.footer-phone-digits { font-family: "IBM Plex Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; }

/* ---------- Lead capture modal ---------- */
.modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(10, 15, 13, 0.6);
  align-items: center; justify-content: center;
  padding: 20px;
  z-index: 100;
}
.modal-overlay.is-open { display: flex; }
.modal {
  background: var(--canvas-light);
  border-radius: 16px;
  padding: 36px;
  max-width: 420px;
  width: 100%;
}
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.modal-title { font-family: var(--font-display); font-weight: 500; font-size: 22px; margin: 0; }
.modal-close { background: none; border: none; font-size: 20px; color: var(--text-light-muted); cursor: pointer; line-height: 1; padding: 4px; }
.modal-subtitle { font-size: 14px; color: var(--text-light-body); margin: 0 0 24px; }
.modal-field { margin-bottom: 16px; }
.modal-field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--text-light-muted); margin-bottom: 6px; }
.modal-field input,
.modal-field select {
  width: 100%;
  padding: 13px 14px;
  background: var(--card);
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 14.5px;
  color: var(--ink);
  outline: none;
}
.modal-error { color: var(--red); font-size: 12.5px; margin: -8px 0 16px; }
.modal-success { text-align: center; padding: 12px 0; }
.modal-success-title { font-family: var(--font-display); font-weight: 500; font-size: 20px; margin: 0 0 10px; }
.modal-success-body { font-size: 14px; color: var(--text-light-body); }
.qualify-card .modal-success-body { color: var(--text-dark-body); }

/* ---------- Live pipeline panel — signals-in / engine / evidence-out flow ---------- */
.live-pipeline {
  position: relative;
  background: var(--panel-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-panel);
  overflow: hidden;
  padding: 40px 28px 28px;
  margin-bottom: 28px;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.live-pipeline-label {
  position: absolute;
  top: 12px; inset-inline-start: 20px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(232, 239, 234, 0.4);
}

.lp-flow { display: flex; align-items: stretch; gap: 0; }
.lp-flow-col { flex: 0 0 auto; width: 300px; display: flex; flex-direction: column; gap: 14px; }
.lp-flow-col--out { align-items: stretch; }
.lp-flow-col-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dark-muted);
  margin-bottom: 2px;
}

.lp-flow-card {
  padding: 12px 14px;
  background: var(--canvas-dark);
  border: 1px solid var(--border-dark-soft);
  border-radius: 10px;
  opacity: 0;
  animation: lpFlowCardIn .6s ease both;
  will-change: opacity, transform;
}
.lp-flow-card--out { border-color: rgba(var(--green-signal-rgb), 0.25); }
.lp-flow-card--won { border-color: var(--green-signal); }
.lp-flow-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.lp-flow-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-dark-muted);
}
.lp-flow-status {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border-radius: 10px;
  background: rgba(232, 239, 234, 0.1);
  color: var(--text-dark-label);
}
.lp-flow-status--won { background: rgba(var(--green-signal-rgb), 0.18); color: var(--green-signal); }
.lp-flow-card-title { font-size: 13.5px; font-weight: 600; color: var(--text-on-dark); line-height: 1.35; }
.lp-flow-card-title--won { font-family: var(--font-mono); font-size: 18px; color: var(--green-signal); text-shadow: 0 0 16px rgba(var(--green-signal-rgb), 0.4); }
.lp-flow-card-sub { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-dark-muted); margin-top: 3px; }

.lp-flow-center { flex: 1 1 auto; position: relative; min-width: 140px; display: flex; align-items: center; justify-content: center; }
.lp-flow-svg { position: absolute; top: 0; width: 50%; height: 100%; }
.lp-flow-svg--in { inset-inline-start: 0; }
.lp-flow-svg--out { inset-inline-end: 0; }
.lp-flow-path {
  fill: none;
  stroke: rgba(var(--green-signal-rgb), 0.4);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 3 7;
  animation: lpFlowDash 2.4s linear infinite;
}

.lp-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 152px;
  height: 152px;
  justify-content: center;
  background: var(--panel-dark);
  border: 1px solid var(--green-signal);
  border-radius: var(--radius-card);
  box-shadow: var(--glow-signal);
  opacity: 0;
  animation: lpFlowCardIn .6s ease both, lpNodePulse 3.2s ease-in-out infinite 1s;
}
.lp-node-mark { width: 13px; height: 13px; border-radius: 50%; background: var(--green-signal); box-shadow: 0 0 12px rgba(var(--green-signal-rgb), 0.7); }
.lp-node-name { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; color: var(--text-on-dark); }

.lp-flow-footer {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dark-muted);
  text-align: center;
}

@keyframes lpFlowCardIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes lpFlowDash { to { stroke-dashoffset: -20; } }
@keyframes lpNodePulse { 0%, 100% { box-shadow: var(--glow-signal); } 50% { box-shadow: 0 0 34px rgba(var(--green-signal-rgb), 0.55); } }

@media (max-width: 1120px) {
  .lp-flow { flex-direction: column; gap: 20px; }
  .lp-flow-col { width: 100%; }
  .lp-flow-center { flex-direction: row; min-height: 108px; }
  .lp-flow-svg { display: none; }
}

/* ---------- The Engine — 4-step grid ---------- */
/* Static progression, not animated: one continuous dark-to-green gradient
   stretched across all 4 cards (background-size: 400%), each card windowed
   onto its own quarter — so a card's left edge always matches the shade of
   the previous card's right edge, and only the grid gap breaks it up. */
.engine-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.engine-card {
  background-image: linear-gradient(90deg, var(--panel-dark), var(--green));
  background-size: 400% 100%;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-panel);
  padding: 22px 20px;
}
.engine-card:nth-child(1) { background-position: 0% 0; }
.engine-card:nth-child(2) { background-position: 33.3333% 0; }
.engine-card:nth-child(3) { background-position: 66.6667% 0; border-color: rgba(var(--green-signal-rgb), 0.25); }
.engine-card:nth-child(4) { background-position: 100% 0; border-color: rgba(var(--green-signal-rgb), 0.5); }
.engine-index { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--green-signal); margin-bottom: 10px; }
.engine-title { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--text-on-dark); margin: 0 0 10px; }
.engine-body { font-size: 13px; line-height: 1.55; color: var(--text-dark-body); margin: 0; }

/* ---------- Glass Box — control section ---------- */
.glass-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px; }
.glass-card {
  background: var(--panel-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-panel);
  padding: 22px 20px;
}
.glass-card-title { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--text-on-dark); margin: 0 0 10px; }
.glass-card-body { font-size: 13px; line-height: 1.55; color: var(--text-dark-body); margin: 0; }
.glass-footnote { font-size: 14px; line-height: 1.6; color: var(--text-dark-body); max-width: 640px; margin: 0; }

.integration-chip--dark { background: var(--panel-dark); border: 1px solid var(--border-dark); color: var(--text-on-dark); }

/* ---------- Landing pages (/, /ecommerce, /saas, /digital, /crypto): single
   dark canvas, no light sections ----------
   Recolors the previously-light sections (product grid, readiness, pricing,
   faq, and crypto's evidence/seo/qualify blocks) to the dark
   canvas by redefining the light-surface tokens within their scope — every
   rule elsewhere still reads var(--card), var(--text-light-body) etc.
   unchanged, so pages outside its scope are unaffected. Brand green and Space Grotesk stay the sitewide
   default everywhere except the font swap below. */
.page-refresh {
  --font-display: "Geist", "Space Grotesk", sans-serif;
  --font-body: "Geist", "Inter", sans-serif;
  font-family: var(--font-body);
  /* Backstop for the per-section full-bleed box-shadow/clip-path trick:
     every section on a page-refresh page paints its own background over
     this, but any subpixel gap at a section boundary now shows dark
     instead of the light .page background showing through as a hairline.
     .page itself is max-width and centered, so the backstop needs the same
     box-shadow/clip-path bleed the sections use — otherwise on viewports
     wider than --content-max the hairline is backstopped inside the
     content column but still shows in the side gutters. */
  background: var(--canvas-dark);
  box-shadow: 0 0 0 100vmax var(--canvas-dark);
  clip-path: inset(0 -100vmax);
}

.page-refresh #products,
.page-refresh #pricing,
.page-refresh #faq,
.page-refresh #evidence-block,
.page-refresh #seo-copy,
.page-refresh #qualify {
  --canvas-light: var(--canvas-dark);
  --card: var(--panel-dark);
  --ink: var(--text-on-dark);
  --ink-rgb: var(--paper-rgb);
  --text-light-primary: var(--text-on-dark);
  --text-light-body: var(--text-dark-body);
  --text-light-muted: var(--text-dark-muted);
  --border-light: var(--border-dark);
  --green: var(--green-signal);
  --red: var(--red-dark);
  background: var(--canvas-dark);
  color: var(--text-on-dark);
  box-shadow: 0 0 0 100vmax var(--canvas-dark);
  clip-path: inset(0 -100vmax);
}

/* Larger, tighter headline and section titles across all landing pages. */
.page-refresh .hero--statement .hero-headline {
  font-size: clamp(32px, 4.4vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.page-refresh .hero--statement .hero-headline--xs {
  font-size: clamp(34px, 5.5vw, 54px);
  line-height: 1.15;
}
.page-refresh .section-title { font-size: clamp(28px, 5vw, 46px); letter-spacing: -0.02em; }
.page-refresh .section-sub { font-size: 17px; }

/* ---------- Case replay (engine section) ---------- */
/* One dispute played through the engine steps as timed scenes; the engine
   step cards below double as the progress rail (.is-active/.is-done set by
   the case-replay controller). Hide-then-reveal styles are scoped under
   .cr-armed, added by the controller on connect — with JS disabled or
   reduced motion preferred, the fight case renders complete and static. */
.case-replay { max-width: 720px; margin: 0 auto 56px; }
.cr-armed .cr-stage { min-height: 420px; }
.cr-card {
  background: var(--panel-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-panel);
  padding: 22px 24px;
  transition: border-color 0.6s ease, box-shadow 0.6s ease;
}
.cr-card[data-scene="outcome"] { border-color: rgba(var(--green-signal-rgb), 0.55); box-shadow: var(--glow-signal); }
.cr-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.cr-tag { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; color: var(--text-dark-muted); display: block; margin-bottom: 6px; }
.cr-title { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--text-on-dark); margin: 0; }
.cr-amount { font-family: var(--font-mono); font-size: 15px; color: var(--green-tint); margin-inline-start: 8px; }
.cr-deadline {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; white-space: nowrap;
  color: var(--text-dark-label); border: 1px solid var(--border-dark-soft);
  border-radius: var(--radius-pill); padding: 5px 11px;
  transition: color 0.4s ease, border-color 0.4s ease;
}
.cr-deadline--met { color: var(--green-signal); border-color: rgba(var(--green-signal-rgb), 0.45); }
.cr-rows { display: flex; flex-direction: column; gap: 9px; }
.cr-row { display: flex; align-items: baseline; gap: 10px; transition: opacity 0.45s ease, transform 0.45s ease; }
.cr-armed .cr-row { opacity: 0; transform: translateY(7px); }
.cr-armed .cr-row.is-on { opacity: 1; transform: translateY(0); }
.cr-row-tag {
  flex: 0 0 auto; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em;
  color: var(--text-dark-muted); border: 1px solid var(--border-dark-soft);
  border-radius: 5px; padding: 2px 7px;
}
.cr-row-tag--ok { color: var(--green-signal); border-color: rgba(var(--green-signal-rgb), 0.35); }
.cr-row-text { font-size: 13.5px; color: var(--text-dark-body); }
.cr-row--verdict { align-items: center; gap: 12px; padding: 8px 0 4px; }
.cr-verdict-badge {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em;
  border-radius: 6px; padding: 4px 10px;
}
.cr-verdict-badge--fight { color: var(--green-signal); background: rgba(var(--green-signal-rgb), 0.14); border: 1px solid rgba(var(--green-signal-rgb), 0.4); }
.cr-verdict-badge--fold { color: var(--text-on-dark); background: rgba(232, 239, 234, 0.08); border: 1px solid var(--border-dark-strong); }
.cr-meter { flex: 1 1 auto; height: 5px; border-radius: 3px; background: rgba(232, 239, 234, 0.1); overflow: hidden; }
.cr-meter-fill {
  display: block; height: 100%; width: var(--cr-meter); border-radius: 3px;
  background: var(--green-signal);
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}
.cr-meter-fill--low { background: var(--text-dark-muted); }
.cr-armed .cr-meter-fill { width: 0; }
.cr-armed .cr-row--verdict.is-on .cr-meter-fill { width: var(--cr-meter); }
.cr-verdict-est { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-dark-label); white-space: nowrap; }
.cr-row--file .cr-row-tag { color: var(--green-signal); border-color: rgba(var(--green-signal-rgb), 0.45); }
.cr-row--outcome { flex-direction: column; align-items: flex-start; gap: 3px; padding-top: 10px; border-top: 1px solid var(--border-dark-soft); margin-top: 6px; }
.cr-outcome-amount { font-family: var(--font-mono); font-size: 19px; font-weight: 600; color: var(--green-signal); text-shadow: 0 0 16px rgba(var(--green-signal-rgb), 0.4); }
.cr-outcome-sub { font-size: 12.5px; color: var(--text-dark-muted); }

/* Loop controls: per-case progress segments (stories-style, clickable) +
   replay button. Only shown once the controller arms the animation. */
.cr-progress { display: none; align-items: flex-end; gap: 16px; margin-top: 14px; padding: 0 2px; }
.cr-armed .cr-progress { display: flex; }
.cr-progress-seg { flex: 1 1 auto; background: none; border: 0; padding: 4px 0; cursor: pointer; text-align: start; }
.cr-progress-label {
  display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em;
  color: var(--text-dark-muted); margin-bottom: 7px; transition: color 0.3s ease;
}
.cr-progress-seg:hover .cr-progress-label { color: var(--green-tint); }
.cr-progress-seg.is-active .cr-progress-label { color: var(--green-signal); }
.cr-progress-track { display: block; height: 2px; border-radius: 1px; background: rgba(232, 239, 234, 0.12); overflow: hidden; }
.cr-progress-fill { display: block; height: 100%; width: 0; background: var(--green-signal); transition: width 0ms linear; }
.cr-replay-btn {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%; background: none;
  border: 1px solid var(--border-dark-soft); color: var(--text-dark-muted);
  cursor: pointer; transition: color 0.2s ease, border-color 0.2s ease;
}
.cr-replay-btn:hover { color: var(--green-signal); border-color: rgba(var(--green-signal-rgb), 0.45); }
.cr-replay-btn svg { display: block; }
.cr-progress-seg:focus-visible, .cr-replay-btn:focus-visible { outline: 2px solid var(--green-signal); outline-offset: 2px; }

/* Engine step cards as the replay's progress rail */
.engine-card { transition: border-color 0.4s ease, box-shadow 0.4s ease; }
.engine-card.is-done { border-color: var(--border-dark-strong); }
.engine-card.is-active { border-color: rgba(var(--green-signal-rgb), 0.65); box-shadow: var(--glow-signal); }

@media (prefers-reduced-motion: reduce) {
  .cr-row, .cr-meter-fill, .cr-card, .cr-deadline, .engine-card { transition: none; }
}

/* ---------- Cookie consent banner ----------
   Fixed bottom-left so it never covers the hero CTA or the sticky header, and
   below the lead modal (z-index 100) so an open modal always wins. Stays in the
   DOM once dismissed — the footer's "Cookies" button reopens it. */
.cookie-banner {
  position: fixed;
  inset-inline-start: 24px;
  bottom: 24px;
  z-index: 60;
  width: min(360px, calc(100vw - 48px));
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: var(--panel-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-elevated);
  animation: cookieBannerIn 0.4s ease 0.6s backwards;
}
/* Author `display: flex` above beats the UA sheet's [hidden] rule, so restate it. */
.cookie-banner[hidden] { display: none; }
.cookie-banner-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-on-dark);
}
.cookie-banner-body { margin: 0; font-size: 13px; line-height: 1.6; color: var(--text-dark-body); }
.cookie-banner-body a { color: var(--green-tint); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner-body a:hover { color: var(--green-signal); }
.cookie-banner-actions { display: flex; gap: 10px; }
.cookie-banner-actions .btn { flex: 1; }

@keyframes cookieBannerIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-banner { animation: none; }
}

/* ---------- Connections map (homepage) ---------- */
/* One ring of native connections around the engine, a spoke each, and a
   ribbon of the tools reached through Zapier. Geometry comes from the
   partial as --x/--y per node; everything here is look and motion. The
   spokes are drawn in viewBox units on purpose (no non-scaling-stroke), so
   the dash rhythm scales with the map instead of racing on a phone. */
.cx-map {
  position: relative;
  width: min(760px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
}
.cx-spokes { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cx-orbit { fill: none; stroke: var(--border-dark-soft); stroke-width: 0.12; }
.cx-spoke {
  stroke: rgba(var(--green-signal-rgb), 0.5);
  stroke-width: 0.18;
  stroke-linecap: round;
  stroke-dasharray: 0.4 1.4;
  animation: cxFlow 1.6s linear infinite;
  animation-delay: calc(var(--i) * -0.21s);
}

.cx-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 148px;
  height: 148px;
  background: var(--panel-dark);
  border: 1px solid var(--green-signal);
  border-radius: var(--radius-card);
  box-shadow: var(--glow-signal);
  animation: lpNodePulse 3.2s ease-in-out infinite 1s;
}
.cx-hub .logo-icon { width: 32px; height: 32px; color: var(--green-signal); --logo-surface: var(--panel-dark); }
.cx-hub-name { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; color: var(--text-on-dark); }

.cx-nodes { list-style: none; margin: 0; padding: 0; }
.cx-node {
  position: absolute;
  inset-inline-start: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: max-content;
}
.cx-node-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--panel-dark);
  border: 1px solid var(--border-dark-strong);
  color: var(--text-on-dark);
  box-shadow: 0 10px 22px -12px rgba(0, 0, 0, 0.7);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.cx-node:hover .cx-node-mark { border-color: rgba(var(--green-signal-rgb), 0.7); box-shadow: var(--glow-signal); }
.cx-node-mark svg { width: 21px; height: 21px; }
.cx-node-mark svg.app-console-provider-icon--wide { width: 27px; height: 27px; }
/* Our own tracker wears the Chargewood mark: outlined, so a couple more px to
   hold the same weight, and its front card filled with the tile so it occludes
   the stack — the same treatment the console gives it. */
.cx-node-mark .logo-icon { width: 24px; height: 24px; --logo-surface: var(--panel-dark); }
.cx-node-mark .app-console-provider-initial { font-family: var(--font-display); font-size: 16px; font-weight: 600; }
.cx-node-name {
  font-size: clamp(10.5px, 1.5vw, 12px);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-dark-label);
  white-space: nowrap;
}

/* The ring settles in node by node, but only once the reveal controller has
   said the section is on screen — without it (no JS, reduced motion) every
   node is simply there, like the rest of the section. */
.reveal-init .cx-node { opacity: 0; }
.reveal-init.reveal-in .cx-node {
  animation: cxNodeIn 0.5s ease both;
  animation-delay: calc(0.25s + var(--i) * 0.045s);
}

.cx-ribbon { display: flex; align-items: center; gap: 18px; margin-top: 44px; }
.cx-ribbon-label {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dark-muted);
}
.cx-marquee {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.cx-marquee-track { display: flex; width: max-content; animation: cxMarquee 56s linear infinite; }
.cx-marquee:hover .cx-marquee-track { animation-play-state: paused; }
/* Half the chip gap on each end of a copy, so the seam between the two copies
   reads as one more gap and not a stutter. */
.cx-marquee-list { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0 5px; }
.cx-chip {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(232, 239, 234, 0.06);
  border: 1px solid var(--border-dark-soft);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark-label);
  white-space: nowrap;
}
.cx-note { max-width: 560px; margin: 18px auto 0; text-align: center; font-size: 13px; line-height: 1.5; color: var(--text-dark-muted); }

@keyframes cxFlow { to { stroke-dashoffset: -1.8; } }
@keyframes cxNodeIn { from { opacity: 0; transform: translate(-50%, -50%) scale(0.72); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes cxMarquee { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .cx-spoke, .cx-hub, .cx-node, .cx-marquee-track,
  .reveal-init.reveal-in .cx-node { animation: none; }
  .cx-node, .reveal-init .cx-node { opacity: 1; }
  .cx-marquee { -webkit-mask-image: none; mask-image: none; }
  .cx-marquee-track { width: auto; }
  .cx-marquee-list { flex-wrap: wrap; justify-content: center; }
  .cx-marquee-list[aria-hidden] { display: none; }
}
