/* ============================================================================
   thedatalabs.ai design system
   File: templates/theme.css -> site/assets/theme.css
   One grid, one type scale, one component set, loaded by every page.
   Sections:
     01 tokens
     02 reset and base
     03 typography
     04 layout and grid
     05 backgrounds (aura, grid, constellation)
     06 nav
     07 buttons, links, labels
     08 hero
     09 range card
     10 content blocks (cards, chips, safety, timeline, buyers, related)
     11 article (long form)
     12 tables
     13 FAQ
     14 CTA band, proof strip, footer, sticky CTA
     15 wizard (calculator)
     16 motion
     17 responsive
   ========================================================================== */

/* ---------------------------------------------------------------- 01 tokens */
:root {
  /* surfaces */
  --paper: #05070d;
  --paper-2: #070b15;
  --panel: #0a1020;
  --panel-2: #0e1830;
  --glass: rgba(14, 22, 40, 0.62);
  --glass-2: rgba(8, 13, 26, 0.84);

  /* ink */
  --ink: #e9eefb;
  --ink-2: #c2cfe5;
  --muted: #93a4c3;
  --faint: #8694b0;

  /* accent */
  --blue: #2563eb;
  --blue-2: #60a5fa;
  --blue-3: #2a63d9;
  --cyan: #22d3ee;
  --blue-deep: #1d4ed8;

  /* resolved values that must not be invented at the call site */
  --ink-bright: #f4f7ff;
  --white: #ffffff;
  --check-in: #06111f;
  --band-a: #0a1730;
  --band-b: #060c18;
  --band-c: #08203a;

  /* lines and shadows */
  --line: rgba(96, 165, 250, 0.16);
  --line-2: rgba(96, 165, 250, 0.34);
  --glow: 0 18px 48px rgba(4, 10, 24, 0.65);
  --glow-blue: 0 12px 32px rgba(37, 99, 235, 0.32);

  /* type */
  --display: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --t-display: clamp(32px, 4.4vw, 56px);
  --t-h2: clamp(24px, 2.7vw, 34px);
  --t-h3: clamp(17px, 1.4vw, 20px);
  --t-lead: clamp(16.5px, 1.35vw, 19px);
  --t-body: 16.5px;
  --t-sub: 15px;    /* card and section copy, one step under body */
  --t-small: 14px;  /* notes with substance */
  --t-note: 13.5px; /* captions, source lines, table cells */
  --t-mono: 12.5px; /* mono facts, chips, proof strip */
  --t-label: 11px;  /* mono eyebrow and field label */
  --t-micro: 10.5px; /* table headers, counters, step numbers */
  --t-num: clamp(24px, 2.4vw, 28px); /* stat and money-band numbers */

  /* spacing scale: 4 8 12 16 24 32 48 64 88 */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 88px;
  --section-pad: clamp(52px, 6.6vw, 84px);

  /* layout */
  --container: 1120px;
  --reading: 720px;
  --gutter: 24px;
  --col-gap: 24px;

  /* shape */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-pill: 999px;

  /* motion: 150-250ms ease-out for anything the eye follows */
  --ease: cubic-bezier(0.22, 1, 0.36, 1); /* already an ease-out curve */
  --dur-1: 180ms; /* hover, colour, border */
  --dur-2: 220ms; /* reveal, step change */
  --fast: 180ms;
  --med: 320ms;
  --stagger: 40ms; /* per-item delay, capped in the script */
  --reveal-y: 12px; /* = --s-3, so the reveal offset stays on the scale */
}

/* --------------------------------------------------------- 02 reset and base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    radial-gradient(900px 520px at 50% -12%, rgba(37, 99, 235, 0.24), transparent 62%),
    radial-gradient(760px 420px at 100% 14%, rgba(34, 211, 238, 0.08), transparent 64%);
  background-repeat: no-repeat;
  color: var(--ink);
  font: var(--t-body) / 1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100%;
}

/* fine grain, one texture only */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg,
video {
  max-width: 100%;
  display: block;
}

p,
li {
  line-height: 1.65;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: var(--s-6) 0;
}

::selection {
  background: rgba(37, 99, 235, 0.4);
  color: #fff;
}

/* One focus ring everywhere: accent, 2px, 3px offset. Applied on :focus-visible
   only, so a mouse click never paints a ring, and forced on form controls,
   where Safari otherwise drops it. */
:focus-visible {
  outline: 2px solid var(--blue-2);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* The ring must sit outside the control's own border, so it is never clipped. */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline-offset: 3px;
}

.btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* ------------------------------------------------------------ 03 typography */
h1,
h2,
h3,
h4 {
  font-family: var(--display);
  color: var(--ink-bright);
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: var(--t-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

h1 em {
  font-style: normal;
  background: linear-gradient(104deg, var(--blue-2), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  font-size: var(--t-h2);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.028em;
}

h3 {
  font-size: var(--t-h3);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.012em;
}

.dek {
  font-size: var(--t-lead);
  line-height: 1.62;
  color: var(--muted);
  margin: 0 auto var(--s-5);
  max-width: 66ch;
  text-wrap: pretty;
}

.lede {
  font-size: var(--t-body);
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 var(--s-6);
  max-width: 68ch;
  text-wrap: pretty;
}

.small {
  font-size: var(--t-small);
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 var(--s-2);
}

/* mono label, the one eyebrow style on the whole site */
.eyebrow,
.kicker,
.label,
.range-label,
.next-label {
  font-family: var(--mono);
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-2);
  margin: 0 0 var(--s-4);
  display: block;
}

.kicker {
  color: var(--blue-2);
}

.label,
.range-label,
.next-label {
  color: var(--muted);
}

/* ------------------------------------------------------- 04 layout and grid */
.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 1;
}

.section,
section.block {
  padding-block: var(--section-pad);
  position: relative;
}

.section--tight {
  padding-block: calc(var(--section-pad) * 0.6);
}

/* one 12 column grid, used by every multi-column block on the site */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--col-gap);
}

.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

.stack > * + * {
  margin-top: var(--s-4);
}

.center {
  text-align: center;
}

.center .lede,
.center .dek {
  margin-inline: auto;
}

.section-head {
  max-width: 760px;
  margin: 0 auto var(--s-7);
  text-align: center;
}

.section-head .lede {
  margin-bottom: 0;
}

/* ----------------------------------------- 05 backgrounds (aura, grid, stars) */
.hero {
  position: relative;
  padding: 148px 0 var(--s-8);
  overflow: hidden;
}

.hero--center {
  text-align: center;
}

.hero--center .hero-copy {
  max-width: 820px;
  margin-inline: auto;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* single soft aura, not a blob field */
.aura {
  position: absolute;
  left: 50%;
  top: -320px;
  width: 980px;
  height: 620px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 50%, rgba(37, 99, 235, 0.28), rgba(34, 211, 238, 0.06) 52%, transparent 72%);
  filter: blur(48px);
}

.aura--side {
  left: auto;
  right: -260px;
  top: 40px;
  width: 560px;
  height: 460px;
  background: radial-gradient(ellipse at 50% 50%, rgba(34, 211, 238, 0.16), transparent 70%);
  filter: blur(60px);
}

/* 1px grid, fading at the edges, very quiet */
.gridlines {
  position: absolute;
  inset: -1px;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.32;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 32%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 32%, #000 0%, transparent 78%);
}

/* constellation: 15 points, one line weight, no animation except a slow drift */
.net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.42;
}

.net line {
  stroke: rgba(96, 165, 250, 0.2);
  stroke-width: 1;
}

.net circle {
  fill: var(--blue-2);
  opacity: 0.5;
}

.net circle.is-lit {
  fill: var(--cyan);
  opacity: 0.9;
}

/* ------------------------------------------------------------------ 06 nav */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background var(--med) var(--ease), border-color var(--med) var(--ease),
    backdrop-filter var(--med) var(--ease);
}

.nav.is-scrolled,
.nav.scrolled {
  background: rgba(5, 7, 13, 0.82);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  backdrop-filter: blur(16px) saturate(130%);
  border-bottom-color: var(--line);
}

.nav-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 15px var(--gutter);
  display: flex;
  align-items: center;
  gap: var(--s-5);
}

.brand {
  font: 700 19px/1 var(--display);
  letter-spacing: -0.03em;
  color: var(--ink-bright);
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
}

.brand span {
  color: var(--cyan);
}

.nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font: 500 var(--t-note)/1 var(--sans);
  color: var(--muted);
  transition: color var(--fast) var(--ease);
  padding: 6px 0;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav .btn {
  margin-left: 0;
}

/* --------------------------------------------- 07 buttons, links and labels */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  min-height: 46px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(96, 165, 250, 0.55);
  background: linear-gradient(135deg, var(--blue), var(--blue-3));
  color: #fff;
  font: 600 var(--t-sub)/1 var(--sans);
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.28);
  transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease),
    filter var(--fast) var(--ease);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.07);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4);
}

.btn:active {
  transform: translateY(0);
}

.btn[aria-disabled="true"],
.btn:disabled {
  opacity: 0.55;
  pointer-events: none;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line-2);
  color: var(--ink);
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(96, 165, 250, 0.1);
  border-color: rgba(96, 165, 250, 0.5);
  box-shadow: none;
  color: #fff;
}

.btn-sm {
  padding: 10px 15px;
  min-height: 40px;
  font-size: var(--t-small);
}

.btn-block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  justify-content: center;
}

.btn-row--start {
  justify-content: flex-start;
}

/* text link with a hairline underline, used in body copy */
.link {
  color: var(--blue-2);
  border-bottom: 1px solid rgba(96, 165, 250, 0.4);
  padding-bottom: 1px;
}

.link:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

/* trust row: three objection checks under a hero CTA */
.trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
  padding: 0;
  margin: 0;
  justify-content: center;
}

.trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 var(--t-note)/1.4 var(--sans);
  color: var(--muted);
}

.trust li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue-2);
  box-shadow: 0 0 10px rgba(96, 165, 250, 0.7);
  flex: 0 0 5px;
}

.trust--start {
  justify-content: flex-start;
}

/* pill row, same shape as trust but boxed */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin: var(--s-5) 0 0;
  padding: 0;
  list-style: none;
  justify-content: center;
}

.pills li {
  font: 500 var(--t-mono)/1 var(--mono);
  letter-spacing: 0.04em;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--glass);
  color: var(--ink-2);
}

/* ----------------------------------------------------------------- 08 hero */
.hero .wrap {
  position: relative;
  z-index: 1;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  justify-content: center;
  margin-bottom: var(--s-5);
}

.hero-copy .dek {
  margin-bottom: var(--s-6);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 0 0 var(--s-4);
  font: 500 var(--t-mono)/1.4 var(--mono);
  letter-spacing: 0.04em;
  color: var(--faint);
  justify-content: center;
}

.crumbs a {
  color: var(--muted);
}

.crumbs a:hover {
  color: var(--ink);
}

/* hero split: copy above, range card below, both centered */
.hero-stack {
  display: grid;
  justify-items: center;
  gap: var(--s-7);
}

/* ------------------------------------------------------------ 09 range card */
.range-card {
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  text-align: left;
  padding: var(--s-5);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    linear-gradient(180deg, rgba(20, 31, 55, 0.72), rgba(7, 11, 21, 0.92));
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  backdrop-filter: blur(12px) saturate(120%);
  box-shadow: var(--glow);
  position: relative;
  overflow: hidden;
}

.range-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.55), transparent);
}

.range-num {
  font: 700 clamp(28px, 3.4vw, 40px) / 1.05 var(--display);
  letter-spacing: -0.03em;
  color: var(--blue-2);
  margin: var(--s-3) 0 var(--s-2);
  font-variant-numeric: tabular-nums;
}

.range-source {
  font: var(--t-mono)/1.5 var(--sans);
  color: var(--muted);
  margin: 0 0 var(--s-4);
}

.range-source span {
  color: var(--ink-2);
  font-weight: 600;
}

.range-row,
.row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s-4);
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font: var(--t-small)/1.45 var(--sans);
}

.range-row span,
.row span {
  color: var(--muted);
  flex: 0 0 auto;
}

.range-row b,
.row b {
  text-align: right;
  font-weight: 600;
  color: var(--ink);
  min-width: 0;
}

.range-note {
  margin: var(--s-4) 0 0;
  font: var(--t-mono)/1.55 var(--sans);
  color: var(--faint);
}

/* range bar: where you sit inside the published band */
.range-bar {
  position: relative;
  height: 6px;
  margin: var(--s-4) 0 var(--s-2);
  border-radius: var(--r-pill);
  background: rgba(96, 165, 250, 0.1);
  overflow: hidden;
}

.range-bar i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transition: left 0.6s var(--ease), width 0.6s var(--ease);
}

/* ------------------------ 10 content blocks (cards, chips, lists, timeline) */
/* base card: glass, hairline, one radius */
.card {
  padding: var(--s-5);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(18, 28, 50, 0.66), rgba(8, 13, 26, 0.88));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.card h3 {
  margin-bottom: var(--s-2);
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: var(--t-sub);
  line-height: 1.6;
}

/* industry cards on the home page: 3 across, one data point each */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-4);
}

.ind {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  padding: var(--s-5);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(18, 28, 50, 0.62), rgba(8, 13, 26, 0.86));
}

.ind b {
  font: 600 var(--t-body)/1.3 var(--display);
  color: var(--ink-bright);
}

.ind span {
  font: var(--t-note)/1.55 var(--sans);
  color: var(--muted);
}

.ind em {
  font: 600 var(--t-note)/1 var(--mono);
  font-style: normal;
  letter-spacing: 0.02em;
  color: var(--blue-2);
  margin-top: auto;
  padding-top: var(--s-3);
}

/* numbered steps, used on the home page and inside articles */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-4);
  counter-reset: step;
}

.step {
  padding: var(--s-5);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(18, 28, 50, 0.62), rgba(8, 13, 26, 0.86));
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font: 500 var(--t-label)/1 var(--mono);
  letter-spacing: 0.18em;
  color: var(--blue-2);
  margin-bottom: var(--s-3);
}

.step h3 {
  font-size: var(--t-h3);
  margin-bottom: var(--s-2);
}

.step p {
  margin: 0;
  font: var(--t-small)/1.6 var(--sans);
  color: var(--muted);
}

/* reason cards: three short reasons, inline SVG icon only */
.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-4);
}

.reason {
  padding: var(--s-5);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(18, 28, 50, 0.62), rgba(8, 13, 26, 0.86));
}

.reason strong {
  display: block;
  font: 600 var(--t-sub)/1.35 var(--display);
  color: var(--ink);
  margin-bottom: 6px;
}

.reason p {
  margin: 0;
  font: var(--t-sub)/1.6 var(--sans);
  color: var(--muted);
}

.reason svg {
  width: 18px;
  height: 18px;
  margin-bottom: var(--s-3);
  color: var(--blue-2);
}

/* objections: one column, tight */
.objection-grid {
  display: grid;
  gap: var(--s-3);
}

.objection {
  padding: var(--s-4) var(--s-5);
  border: 1px solid var(--line);
  border-left: 2px solid var(--line-2);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: rgba(10, 16, 32, 0.55);
}

.objection strong {
  display: block;
  font: 600 var(--t-sub)/1.4 var(--sans);
  color: var(--ink);
  margin-bottom: 4px;
}

.objection p {
  margin: 0;
  font: var(--t-small)/1.6 var(--sans);
  color: var(--muted);
}

/* chips: record types, mono, one line each */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin: var(--s-4) 0;
  padding: 0;
  list-style: none;
}

.chip {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(96, 165, 250, 0.06);
  font: 500 var(--t-mono)/1 var(--mono);
  letter-spacing: 0.02em;
  color: var(--ink-2);
}

/* safety panel: six checks, one column, dot markers */
.safety {
  padding: var(--s-6);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(18, 28, 50, 0.66), rgba(8, 13, 26, 0.9));
}

.safety h3 {
  margin-bottom: var(--s-4);
}

.safety ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}

.safety li {
  display: flex;
  gap: 10px;
  font: var(--t-small)/1.6 var(--sans);
  color: var(--ink-2);
}

.safety li::before {
  content: "";
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--blue-2);
  box-shadow: 0 0 10px rgba(96, 165, 250, 0.55);
}

/* safety grid: 6 short cards, 3 across */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-4);
}

.safety-grid .card {
  padding: var(--s-5);
}

.safety-grid .card b {
  display: block;
  font: 600 var(--t-sub)/1.4 var(--sans);
  color: var(--ink);
  margin-bottom: 5px;
}

/* callout: the honesty note, cyan hairline, never a filled blob */
.callout {
  margin: var(--s-5) 0 0;
  padding: var(--s-4) var(--s-5);
  border-left: 2px solid var(--cyan);
  background: rgba(34, 211, 238, 0.05);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.callout b {
  display: block;
  font: 600 var(--t-sub)/1.4 var(--sans);
  color: var(--ink);
  margin-bottom: 5px;
}

.callout p {
  margin: 0;
  font: var(--t-small)/1.62 var(--sans);
  color: var(--muted);
}

/* process timeline: horizontal, five stops, one hairline */
.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--s-4);
  margin: var(--s-6) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: tl;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: 7px;
  height: 1px;
  background: linear-gradient(90deg, var(--line-2), var(--line));
}

.timeline li {
  counter-increment: tl;
  position: relative;
  padding-top: var(--s-6);
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--paper);
  box-shadow: 0 0 0 4px var(--paper);
}

.timeline li::after {
  content: "0" counter(tl);
  position: absolute;
  left: 24px;
  top: 0;
  font: 500 var(--t-micro)/1 var(--mono);
  letter-spacing: 0.16em;
  color: var(--blue-2);
}

.timeline b {
  display: block;
  font: 600 var(--t-sub)/1.35 var(--sans);
  color: var(--ink);
  margin-bottom: 5px;
}

.timeline span {
  font: var(--t-note)/1.55 var(--sans);
  color: var(--muted);
}

/* buyer cards: anonymized, two data points each */
.buyers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-3);
  margin: var(--s-5) 0 var(--s-6);
  padding: 0;
  list-style: none;
}

.buyer {
  padding: var(--s-4) var(--s-5);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(18, 28, 50, 0.62), rgba(8, 13, 26, 0.86));
}

.buyer b {
  display: block;
  font: 600 var(--t-sub)/1.3 var(--sans);
  color: var(--ink);
  margin-bottom: 4px;
}

.buyer span {
  display: block;
  font: var(--t-note)/1.5 var(--sans);
  color: var(--muted);
}

.buyer .tag {
  display: inline-block;
  font: 500 var(--t-micro)/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-2);
  margin-left: 8px;
  vertical-align: 2px;
}

.buyer .tag--muted {
  color: var(--faint);
}

/* related pages: three across, same card as industry */
.related {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-3);
  margin: var(--s-5) 0 var(--s-6);
}

.rel {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: var(--s-4) var(--s-5);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(18, 28, 50, 0.62), rgba(8, 13, 26, 0.86));
}

.rel b {
  font: 600 var(--t-sub)/1.3 var(--display);
  color: var(--ink);
}

.rel span {
  font: var(--t-mono)/1.4 var(--mono);
  color: var(--blue-2);
}

/* --------------------------------------------------------- 11 article body */
.article {
  max-width: var(--reading);
  margin-inline: auto;
  padding-top: var(--s-6);
  padding-bottom: var(--s-7);
  counter-reset: section;
  position: relative;
  z-index: 1;
}

.article > h2 {
  counter-increment: section;
  margin: var(--s-8) 0 var(--s-4);
  scroll-margin-top: 96px;
}

.article > h2::before {
  content: "0" counter(section);
  display: block;
  font: 500 var(--t-micro)/1 var(--mono);
  letter-spacing: 0.18em;
  color: var(--blue-2);
  margin-bottom: var(--s-3);
}

.article > h2:first-child {
  margin-top: 0;
}

.article h3 {
  margin: var(--s-6) 0 var(--s-2);
}

.article p {
  margin: 0 0 var(--s-4);
  color: var(--ink-2);
}

.article strong {
  color: var(--ink);
  font-weight: 600;
}

.article a {
  color: var(--blue-2);
  border-bottom: 1px solid rgba(96, 165, 250, 0.35);
}

.article a:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

/* unordered list = checklist cards, two columns */
.article ul {
  list-style: none;
  margin: 0 0 var(--s-5);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-2);
}

.article ul li {
  position: relative;
  margin: 0;
  padding: 11px 13px 11px 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(10, 16, 32, 0.55);
  font: var(--t-small)/1.55 var(--sans);
  color: var(--ink-2);
}

.article ul li::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 17px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue-2);
}

/* ordered list = timeline steps, one column */
.article ol {
  list-style: none;
  counter-reset: step;
  margin: 0 0 var(--s-5);
  padding: 0;
  display: grid;
  gap: var(--s-2);
}

.article ol li {
  counter-increment: step;
  position: relative;
  margin: 0;
  padding: 14px 16px 14px 52px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(10, 16, 32, 0.55);
  font: var(--t-sub)/1.6 var(--sans);
  color: var(--ink-2);
}

.article ol li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 16px;
  top: 15px;
  font: 500 var(--t-micro)/1 var(--mono);
  letter-spacing: 0.12em;
  color: var(--blue-2);
}

.article blockquote {
  margin: var(--s-5) 0;
  padding: var(--s-4) var(--s-5);
  border-left: 2px solid var(--blue-2);
  background: rgba(96, 165, 250, 0.05);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.article blockquote p {
  margin: 0;
  color: var(--muted);
}

.article .dek {
  margin: 0 0 var(--s-5);
  max-width: none;
}

/* ---------------------------------------------------------------- 12 tables */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: var(--s-5) 0 var(--s-6);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(8, 13, 26, 0.7);
}

table {
  width: 100%;
  border-collapse: collapse;
  font: var(--t-note)/1.5 var(--sans);
  color: var(--ink-2);
}

.table-wrap table {
  margin: 0;
  border: 0;
  border-radius: 0;
  min-width: 520px;
}

th,
td {
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  font: 500 var(--t-micro)/1.3 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(14, 24, 48, 0.9);
  white-space: nowrap;
}

tr:last-child td {
  border-bottom: 0;
}

td b {
  color: var(--ink);
  font-weight: 600;
}

/* ------------------------------------------------------------------- 13 FAQ */
.faq {
  max-width: 780px;
  margin-inline: auto;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: var(--s-4) 0;
}

.faq details:first-of-type {
  border-top: 1px solid var(--line);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--s-4);
  cursor: pointer;
  list-style: none;
  font: 600 var(--t-body)/1.45 var(--sans);
  color: var(--ink);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  font: 400 20px/1 var(--sans);
  color: var(--cyan);
  transition: transform var(--fast) var(--ease);
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq details > p,
.faq details > ul {
  margin: var(--s-3) 0 0;
  color: var(--muted);
  font-size: var(--t-sub);
  line-height: 1.66;
  max-width: 68ch;
}

.article details {
  border-bottom: 1px solid var(--line);
  padding: var(--s-4) 0;
}

.article details summary {
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
  cursor: pointer;
  list-style: none;
  font: 600 var(--t-sub)/1.45 var(--sans);
  color: var(--ink);
}

.article details summary::-webkit-details-marker {
  display: none;
}

.article details summary::after {
  content: "+";
  font: 400 20px/1 var(--sans);
  color: var(--cyan);
}

.article details[open] summary::after {
  content: "\2212";
}

.article details p {
  margin: var(--s-3) 0 0;
  color: var(--muted);
}

/* ------------------------ 14 CTA band, proof strip, footer, sticky mobile CTA */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: var(--s-8) 0;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(700px 320px at 78% -30%, rgba(37, 99, 235, 0.32), transparent 70%),
    linear-gradient(135deg, var(--band-a), var(--band-b) 62%, var(--band-c));
}

.cta-band .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: var(--s-6);
  align-items: center;
}

.cta-band h2 {
  margin-bottom: var(--s-3);
}

.cta-band p {
  margin: 0;
  color: var(--ink-2);
  max-width: 54ch;
  font-size: var(--t-sub);
  line-height: 1.6;
}

.cta-band .btn-col {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  align-items: stretch;
}

.cta-band .btn {
  width: 100%;
}

.proof-strip,
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(10, 16, 32, 0.55);
}

.proof-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-6);
  padding-block: var(--s-4);
  font: 500 var(--t-mono)/1.5 var(--mono);
  letter-spacing: 0.02em;
  color: var(--muted);
}

.proof-strip b {
  color: var(--ink-2);
  font-weight: 500;
}

.stats .wrap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-4);
  padding-block: var(--s-5);
}

.stat b {
  display: block;
  font: 700 var(--t-num)/1 var(--display);
  letter-spacing: -0.03em;
  color: var(--blue-2);
  font-variant-numeric: tabular-nums;
}

.stat span {
  display: block;
  margin-top: 6px;
  font: 500 var(--t-micro)/1.4 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

footer {
  border-top: 1px solid var(--line);
  padding: var(--s-6) 0 var(--s-7);
  color: var(--faint);
  font: var(--t-note)/1.65 var(--sans);
}

footer p {
  margin: 0 0 var(--s-3);
  max-width: 88ch;
}

footer strong {
  color: var(--ink-2);
}

footer a {
  display: inline-block;
  padding: 4px 0;
  min-height: 26px;
  color: var(--muted);
  border-bottom: 1px solid transparent;
}

footer a:hover {
  color: var(--ink);
  border-bottom-color: var(--line-2);
}

/* sticky mobile CTA: one bar, glass, below 860px */
.mobile-cta {
  display: none;
  position: fixed;
  left: var(--s-3);
  right: var(--s-3);
  bottom: var(--s-3);
  z-index: 60;
  gap: var(--s-2);
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  background: rgba(6, 10, 20, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}

.mobile-cta span {
  font: 500 var(--t-mono)/1.3 var(--mono);
  letter-spacing: 0.02em;
  color: var(--muted);
  flex: 1 1 auto;
  min-width: 0;
}

.mobile-cta .btn {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 10px 14px;
  font-size: var(--t-note);
}

/* ---------------------------------------------------------------- 15 wizard */
.wizard {
  max-width: 720px;
  margin-inline: auto;
  position: relative;
}

/* progress: five hairline segments with mono counters */
.wizard-progress {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--s-2);
  margin: 0 0 var(--s-6);
}

.wizard-progress span {
  display: block;
  height: 2px;
  background: rgba(96, 165, 250, 0.18);
  border-radius: var(--r-pill);
  position: relative;
  transition: background var(--med) var(--ease);
}

.wizard-progress span::after {
  content: attr(data-step);
  position: absolute;
  left: 0;
  top: 10px;
  font: 500 var(--t-micro)/1 var(--mono);
  letter-spacing: 0.16em;
  color: var(--faint);
  transition: color var(--med) var(--ease);
}

.wizard-progress span.is-done {
  background: var(--blue-2);
}

.wizard-progress span.is-active {
  background: var(--cyan);
}

.wizard-progress span.is-active::after,
.wizard-progress span.is-done::after {
  color: var(--cyan);
}

.wizard-step {
  display: none;
}

.wizard-step.is-active {
  display: block;
}

.wizard-panel {
  padding: clamp(20px, 3.4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(18, 29, 52, 0.7), rgba(7, 11, 21, 0.92));
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
  box-shadow: var(--glow);
  position: relative;
  overflow: hidden;
}

.wizard-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.5), transparent);
}

.wizard-head {
  margin-bottom: var(--s-5);
}

.wizard-head .label {
  margin-bottom: var(--s-2);
}

.wizard-head h2 {
  font-size: clamp(21px, 2.4vw, 27px);
  margin-bottom: var(--s-2);
}

.wizard-head p {
  margin: 0;
  font: var(--t-sub)/1.6 var(--sans);
  color: var(--muted);
  max-width: 56ch;
}

/* fields */
.field {
  display: block;
  margin-bottom: var(--s-4);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-4);
}

.field > span,
.field label {
  display: block;
  font: 500 var(--t-micro)/1.3 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}

.field-hint {
  display: block;
  margin-top: 6px;
  font: var(--t-mono)/1.5 var(--sans);
  color: var(--faint);
}

select,
input[type="text"],
input[type="email"],
input[type="number"],
textarea {
  width: 100%;
  padding: 12px 13px;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(4, 8, 16, 0.85);
  color: var(--ink);
  font: 500 var(--t-sub)/1.3 var(--sans);
  -webkit-appearance: none;
  appearance: none;
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}

select {
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

textarea {
  min-height: 82px;
  resize: vertical;
  line-height: 1.55;
}

select:focus,
input:focus,
textarea:focus {
  border-color: rgba(96, 165, 250, 0.6);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

/* The border tint is the hover affordance; keyboard focus keeps the ring. */
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--blue-2);
  outline-offset: 2px;
}

input::placeholder,
textarea::placeholder {
  color: var(--faint);
}

/* checkbox rows, used by the manifest step */
.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-2);
  margin: 0 0 var(--s-5);
  padding: 0;
  border: 0;
}

.check-grid legend {
  font: 500 var(--t-micro)/1.3 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s-3);
  padding: 0;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(4, 8, 16, 0.6);
  font: var(--t-note)/1.45 var(--sans);
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color var(--fast) var(--ease), background var(--fast) var(--ease);
}

.check:hover {
  border-color: var(--line-2);
}

.check:has(input:checked) {
  border-color: rgba(34, 211, 238, 0.55);
  background: rgba(34, 211, 238, 0.07);
  color: var(--ink);
}

.check input {
  -webkit-appearance: none;
  appearance: none;
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  margin: 1px 0 0;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
}

.check input:checked {
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: inset 0 0 0 2px var(--check-in);
}

.check input:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

/* wizard action row */
.wizard-actions {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
}

.wizard-actions .btn {
  flex: 0 0 auto;
}

.wizard-actions .spacer {
  flex: 1 1 auto;
}

.wizard-actions .back {
  background: none;
  border: 0;
  padding: 6px 0;
  min-height: auto;
  color: var(--muted);
  font: 500 var(--t-note)/1 var(--mono);
  letter-spacing: 0.06em;
  cursor: pointer;
  box-shadow: none;
}

.wizard-actions .back:hover {
  color: var(--ink);
  transform: none;
  filter: none;
}

.wizard-note {
  margin: var(--s-4) 0 0;
  font: var(--t-mono)/1.55 var(--sans);
  color: var(--faint);
  text-align: center;
}

/* step 2: the calculation scan */
.scan {
  display: grid;
  place-items: center;
  padding: var(--s-7) 0 var(--s-6);
}

.scan-frame {
  position: relative;
  width: min(340px, 100%);
  height: 156px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background:
    repeating-linear-gradient(180deg, rgba(96, 165, 250, 0.09) 0 1px, transparent 1px 26px),
    rgba(4, 8, 16, 0.7);
  overflow: hidden;
}

.scan-frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 44%;
  background: linear-gradient(180deg, transparent, rgba(34, 211, 238, 0.16) 70%, rgba(34, 211, 238, 0.5));
  border-bottom: 1px solid rgba(34, 211, 238, 0.7);
  animation: scan 1.35s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.scan-rows {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: space-around;
  padding: 10px 16px;
}

.scan-rows span {
  display: block;
  height: 1px;
  background: linear-gradient(90deg, rgba(96, 165, 250, 0.5), rgba(96, 165, 250, 0.05));
}

.scan-rows span:nth-child(2) { width: 74%; }
.scan-rows span:nth-child(3) { width: 88%; }
.scan-rows span:nth-child(4) { width: 61%; }
.scan-rows span:nth-child(5) { width: 92%; }

.scan-log {
  margin: var(--s-5) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font: 500 var(--t-mono)/1.5 var(--mono);
  letter-spacing: 0.06em;
  color: var(--faint);
  min-height: 74px;
}

.scan-log li {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}

.scan-log li.is-on {
  opacity: 1;
  transform: none;
  color: var(--muted);
}

.scan-log li.is-on::before {
  content: "> ";
  color: var(--cyan);
}

/* step 3: the estimate */
.estimate {
  text-align: center;
}

.estimate .label {
  margin-bottom: var(--s-3);
}

.estimate-num {
  font: 700 clamp(40px, 7vw, 64px) / 1 var(--display);
  letter-spacing: -0.04em;
  color: var(--ink-bright);
  font-variant-numeric: tabular-nums;
  margin: 0 0 var(--s-3);
  background: linear-gradient(104deg, var(--white) 20%, var(--blue-2) 70%, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.estimate-band {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--s-2);
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(4, 8, 16, 0.6);
  font: 500 var(--t-label)/1.4 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s-5);
}

.estimate-band b {
  color: var(--blue-2);
  font-weight: 500;
}

.estimate-lines {
  list-style: none;
  margin: var(--s-5) 0 0;
  padding: 0;
  display: grid;
  gap: var(--s-2);
  text-align: left;
}

.estimate-lines li {
  display: flex;
  gap: 10px;
  font: var(--t-small)/1.6 var(--sans);
  color: var(--ink-2);
}

.estimate-lines li::before {
  content: "";
  flex: 0 0 5px;
  width: 5px;
  height: 5px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--blue-2);
}

.estimate-figure {
  margin-top: var(--s-5);
  padding: var(--s-4);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(4, 8, 16, 0.55);
  text-align: left;
  font: var(--t-note)/1.6 var(--sans);
  color: var(--muted);
}

.estimate-figure b {
  color: var(--ink-2);
  font-weight: 600;
}

/* step 5: booking */
.book {
  text-align: center;
}

.book-mark {
  width: 42px;
  height: 42px;
  margin: 0 auto var(--s-4);
  border-radius: 50%;
  border: 1px solid rgba(34, 211, 238, 0.55);
  display: grid;
  place-items: center;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.08);
}

.book h2 {
  margin-bottom: var(--s-3);
}

.book > p {
  margin: 0 auto var(--s-5);
  color: var(--muted);
  font: var(--t-sub)/1.62 var(--sans);
  max-width: 46ch;
}

.summary {
  margin: var(--s-5) 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(4, 8, 16, 0.55);
  text-align: left;
  overflow: hidden;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
  padding: 11px 16px;
  border-top: 1px solid var(--line);
  font: var(--t-note)/1.5 var(--sans);
}

.summary-row:first-child {
  border-top: 0;
}

.summary-row span {
  color: var(--faint);
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-top: 2px;
  flex: 0 0 auto;
}

.summary-row b {
  color: var(--ink-2);
  font-weight: 500;
  text-align: right;
  min-width: 0;
  word-break: break-word;
}

.book-actions {
  display: grid;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
}

.book-note {
  font: var(--t-mono)/1.6 var(--sans);
  color: var(--faint);
  margin: 0;
}

/* ----------------------------------------------------------------- 16 motion */
/* One reveal system, CSS first.

   The element's own markup and text are final. `[data-reveal]` only decides
   whether the entry transition runs. Because the gate is the `.js` class that
   the head script sets before first paint, three things hold at once: no flash
   of content that then jumps to invisible, no layout shift, and no dependency
   on JavaScript for visibility. With JS off the attribute never gets `.is-in`
   or the hidden state, so the block simply renders.

   Budget: opacity and transform only. Nothing here touches layout. */

@keyframes scan {
  0% { transform: translateY(-46%); }
  100% { transform: translateY(160%); }
}

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-10px, 8px, 0); }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.75; }
}

.reveal,
[data-reveal] {
  transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

/* Only the JS-gated state hides anything. */
.js .reveal:not(.is-in),
.js [data-reveal]:not(.is-in) {
  opacity: 0;
  transform: translateY(var(--reveal-y));
}

/* Article prose reveals at a tighter offset so long pages do not swim. */
.js .article [data-reveal]:not(.is-in) {
  transform: translateY(var(--s-2));
}

.js .reveal.is-in,
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* stagger: set per sibling group by the inline script, capped at 240ms */
.js [data-reveal][data-stagger] {
  transition-delay: var(--reveal-delay, 0ms);
}

.aura {
  animation: drift 26s ease-in-out infinite;
}

.net circle.is-lit {
  animation: glowPulse 5.5s ease-in-out infinite;
}

/* A number that counts up keeps its final string in an attribute so a failed
   or reduced-motion run restores the exact server-rendered text. */
[data-count] {
  font-variant-numeric: tabular-nums;
}

/* Hover and focus: one duration, one curve, one lift. */
.card,
.step,
.reason,
.objection,
.rel,
.buyer,
.ind,
.check-row,
.money-row .card {
  transition: transform var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease),
    box-shadow var(--dur-1) var(--ease), background-color var(--dur-1) var(--ease);
}

.ind:hover,
.rel:hover,
.buyer:hover,
.card:hover {
  transform: translateY(-2px);
  border-color: var(--line-2);
  box-shadow: 0 14px 32px rgba(4, 10, 24, 0.5);
}

.buyer:hover {
  transform: translateY(-1px);
  box-shadow: none;
}

/* ------------------------------------------------------------- 17 responsive */
@media (max-width: 1024px) {
  :root {
    --gutter: 22px;
    --col-gap: 20px;
  }

  .industry-grid,
  .reason-grid,
  .steps,
  .safety-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: var(--s-5);
  }

  .timeline::before {
    display: none;
  }
}

@media (max-width: 900px) {
  .cta-band .wrap {
    grid-template-columns: 1fr;
    gap: var(--s-5);
  }

  .hero {
    padding-top: 124px;
  }

  .stats .wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .nav .btn {
    margin-left: auto;
  }
}

@media (max-width: 860px) {
  .mobile-cta {
    display: flex;
  }

  footer {
    padding-bottom: 96px;
  }

  .nav-links {
    display: none;
  }

  .nav .btn {
    margin-left: auto;
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 18px;
    --col-gap: 16px;
    --t-body: 16px;
  }

  .hero {
    padding: 118px 0 var(--s-7);
  }

  .industry-grid,
  .reason-grid,
  .steps,
  .safety-grid,
  .related,
  .buyers,
  .field-grid,
  .check-grid,
  .article ul {
    grid-template-columns: 1fr;
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .article ol li {
    padding-left: 48px;
  }

  .wizard-actions {
    flex-wrap: wrap;
  }

  .wizard-actions .btn {
    flex: 1 1 100%;
    order: 2;
  }

  .wizard-actions .back {
    order: 1;
  }

  .wizard-actions .spacer {
    display: none;
  }

  .wizard-progress span::after {
    font-size: var(--t-micro);
  }

  .estimate-band {
    font-size: var(--t-micro);
  }

  .summary-row {
    flex-direction: column;
    gap: 4px;
  }

  .summary-row b {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .btn-row,
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-row .btn,
  .hero-cta .btn {
    width: 100%;
  }

  .stats .wrap {
    grid-template-columns: 1fr;
  }

  .proof-strip .wrap {
    flex-direction: column;
    gap: var(--s-2);
  }
}

/* motion off: everything is already visible, transitions collapse.
   Two gates, because a user can turn reduced motion on after load: the media
   query, and an `.reduced` class the script mirrors onto <html>. The number
   runs in the script also write their final string, so a counter can never
   freeze mid-count for this user. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }

  .js .reveal,
  .js .reveal:not(.is-in),
  .js [data-reveal],
  .js [data-reveal]:not(.is-in) {
    opacity: 1;
    transform: none;
  }

  .scan-frame::after {
    animation: none;
    transform: translateY(58%);
  }

  .scan-log li {
    opacity: 1;
    transform: none;
  }
}

/* the same collapse when the script detects the preference at runtime */
.reduced .js .reveal,
.reduced .js [data-reveal] {
  opacity: 1;
  transform: none;
}

@media print {
  body {
    background: #fff;
    color: #000;
  }

  .nav,
  .mobile-cta,
  .hero-bg,
  .cta-band {
    display: none;
  }
}

/* wordmark must inherit the text colour, not the old cyan dot */
.brand .letterhead{color:var(--ink,#e7e8ec)}
.brand .letterhead span{color:inherit}
