/* ══════════════════════════════════════════════════════════════
   Zerion — Zero Chasing. More Closing.
   Sales systems for U.S. residential roofing companies.
   Single-page marketing site. No build step, no dependencies.

   Contrast note: body copy on navy uses --text or --text-dim,
   never --gray. #4A5B73 on #081428 is 2.7:1 and fails WCAG AA, so
   --gray is limited to disabled states. Muted-but-legible copy uses
   --text-dim (8.3:1 on --navy-900, 8.9:1 on --navy-950).

   Colour discipline:
     green  = forward motion and conversion (CTAs, live states,
              go-live boundary, the 30-day window)
     amber  = revenue leaks and problems only
     dim    = neutral structure, terms, conditions, eligibility

   Terms blocks are never hidden behind a disclosure control —
   see REBUILD_PLAN §0.6 / §0.7 / §6.
   ══════════════════════════════════════════════════════════════ */

:root {
  /* Navy field */
  --navy-950: #060F1F;        /* leak band, footer — heaviest ground */
  --navy-900: #081428;        /* hero, default */
  --navy-800: #0B1D3A;        /* alternating section band */
  --navy-700: #12294B;        /* cards, inputs */
  --line: #1E3A63;            /* decorative hairlines, card borders */
  --line-soft: #16304F;       /* quieter internal dividers */
  --line-input: #5A80B8;      /* form control boundaries — 4.2:1 on --navy-800,
                                 3.6:1 on --navy-700. WCAG 1.4.11 needs 3:1 for
                                 boundaries that identify a control, which --line
                                 (1.6:1) does not meet. Decorative borders may
                                 keep --line; anything a user must perceive as an
                                 input must use this. */

  /* Electric green accent — conversion and forward motion */
  --green: #00F5A0;
  --green-2: #00C2A0;

  /* Amber — leaks and problems only, never CTAs */
  --amber: #FFB84D;           /* 9.4:1 on --navy-950 */

  /* Text */
  --text: #E8EEF7;
  --text-dim: #9FB0C7;
  --text-placeholder: #93A5BE; /* 5.6:1 on --navy-700 — --gray is only 2.1:1
                                  there, so placeholders never use --gray */
  --gray: #4A5B73;            /* disabled states only */
  --red: #FF6B6B;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --maxw: 1180px;
  --maxw-text: 68ch;
  --section-y: clamp(64px, 9vw, 120px);
  --section-y-tight: clamp(44px, 6vw, 76px);  /* where two bands read as one unit */
  --nav-h: 72px;

  --font: Inter, 'Segoe UI', system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow-card: 0 18px 40px rgba(0, 0, 0, .35);
  --shadow-green: 0 16px 38px rgba(0, 245, 160, .16);
}

/* ─── Reset / base ─────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--navy-900);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  line-height: 1.14;
  letter-spacing: -.02em;
  font-weight: 800;
}

h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); letter-spacing: -.025em; }
h3 { font-size: 1.1875rem; letter-spacing: -.01em; }
h4 { font-size: 1.0625rem; letter-spacing: -.01em; }
p  { margin: 0 0 1rem; }

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-2); }

ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px; left: 12px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--green);
  color: var(--navy-900);
  font-weight: 700;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top .18s var(--ease);
}
.skip-link:focus { top: 0; color: var(--navy-900); }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.section { padding-block: var(--section-y); }

.accent { color: var(--green); }

.display {
  font-size: clamp(1.85rem, 4vw, 3rem);
  letter-spacing: -.03em;
}

.eyebrow {
  margin: 0 0 .85rem;
  color: var(--green);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.sec-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head__sub { color: var(--text-dim); margin: 0; font-size: 1.0625rem; max-width: var(--maxw-text); }

.sec-head--center {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}
.sec-head__sub--center { margin-inline: auto; }

/* ─── Buttons ──────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: 15px 28px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease),
              background-color .2s var(--ease), border-color .2s var(--ease),
              color .2s var(--ease);
}

/* Green buttons take navy label text, never white. */
.btn--primary {
  background: linear-gradient(135deg, var(--green), var(--green-2));
  color: var(--navy-900);
  box-shadow: 0 10px 26px rgba(0, 245, 160, .2);
}
.btn--primary:hover {
  color: var(--navy-900);
  transform: translateY(-3px);
  box-shadow: var(--shadow-green);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn--ghost:hover {
  color: var(--green);
  border-color: var(--green);
  transform: translateY(-3px);
}

.btn--sm { min-height: 44px; padding: 11px 20px; font-size: .9375rem; }
.btn--block { width: 100%; }

/* The submit button carries "Sending…" while disabled, so the label has to
   stay readable — --text-dim (6.6:1 on --navy-700), not --gray (2.1:1). */
.btn:disabled,
.btn[aria-disabled="true"] {
  background: var(--navy-700);
  color: var(--text-dim);
  border-color: var(--line-input);
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
}

/* ─── 1. Nav ───────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 20, 40, .72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background-color .25s var(--ease), border-color .25s var(--ease),
              box-shadow .25s var(--ease);
}

/* .is-stuck is toggled by script.js past ~10px of scroll */
.nav.is-stuck {
  background: var(--navy-900);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--nav-h);
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.nav__brand { display: block; flex-shrink: 0; }
.nav__logo { width: clamp(126px, 15vw, 148px); height: auto; }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  padding: 0 10px;
  background: transparent;
  /* Control boundary, so it takes --line-input rather than --line (1.4.11) */
  border: 1px solid var(--line-input);
  border-radius: 10px;
  cursor: pointer;
}
.nav__bar {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: background-color .2s var(--ease);
}
.nav__toggle[aria-expanded="true"] .nav__bar { background: var(--green); }

.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 30px);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.9vw, 26px);
}
.nav__list a {
  color: var(--text);
  font-size: .9375rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color .18s var(--ease);
}
.nav__list a:hover { color: var(--green); }

/* ─── 2. Hero ──────────────────────────────────────────────── */

.hero {
  position: relative;
  background: var(--navy-900);
  padding-block: clamp(48px, 7vw, 92px) clamp(48px, 7vw, 90px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -220px; right: -160px;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(0, 245, 160, .13), transparent 68%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(36px, 5vw, 64px);
}

/* min-width:0 keeps long unbreakable strings from blowing out the grid track */
.hero__copy { min-width: 0; }

.hero__title {
  font-size: clamp(2.15rem, 5.4vw, 4.4rem);
  letter-spacing: -.035em;
  margin-bottom: 1.1rem;
}

.hero__sub {
  max-width: 58ch;
  color: var(--text-dim);
  font-size: clamp(1.03rem, 1.5vw, 1.1875rem);
  margin-bottom: 1.75rem;
}
.hero__sub p { margin: 0 0 1rem; }
.hero__sub p:last-child { margin-bottom: 0; }
.hero__sub-lead {
  color: var(--text);
  font-weight: 600;
}

/* Canonical offer + qualifier. The hero's entire treatment of the
   commitment — no condition lists here (REBUILD_PLAN §0.8). */
.hero__offer {
  margin-bottom: 1.75rem;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: var(--radius);
  background: rgba(11, 29, 58, .6);
}
.hero__offer-line {
  margin: 0 0 .4rem;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.5;
}
.hero__offer-line strong {
  color: var(--green);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.hero__offer-note {
  margin: 0;
  color: var(--text-dim);
  font-size: .875rem;
  line-height: 1.55;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* Roofing pipeline card — CSS only, no images */
.flow {
  background: linear-gradient(165deg, var(--navy-700), var(--navy-800));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.6vw, 28px);
  box-shadow: var(--shadow-card);
}

.flow__head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--text-dim);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.flow__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(0, 245, 160, .16);
  animation: pulse 2.2s var(--ease) infinite;
}
@keyframes pulse {
  50% { box-shadow: 0 0 0 9px rgba(0, 245, 160, 0); }
}

.flow__steps { display: grid; gap: 8px; }

.flow__step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(8, 20, 40, .58);
  border: 1px solid var(--line);
  border-left: 3px solid var(--line);
  border-radius: 12px;
}

/* Real text, not a pseudo-element counter — screen readers need it */
.flow__num {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--navy-700);
  border: 1px solid var(--line);
  color: var(--text-dim);
  font-size: .6875rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.flow__body { display: grid; gap: 2px; }
.flow__label { font-weight: 700; font-size: .9375rem; }
.flow__value { color: var(--text-dim); font-size: .875rem; line-height: 1.5; }

.flow__step--active,
.flow__step--done { border-left-color: var(--green); }
.flow__step--active .flow__num,
.flow__step--done .flow__num {
  background: var(--green);
  border-color: var(--green);
  color: var(--navy-900);
}

.flow__foot {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  color: var(--text-dim);
  font-size: .875rem;
}

/* ─── 3. Revenue leaks ─────────────────────────────────────── */

.leaks { background: var(--navy-950); }

.leak-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.8vw, 20px);
}

.leak {
  position: relative;
  padding: clamp(20px, 2.4vw, 28px);
  background: rgba(11, 29, 58, .5);
  border: 1px solid var(--line);
  border-top: 3px solid var(--amber);
  border-radius: var(--radius);
}

.leak__num {
  display: block;
  margin-bottom: .65rem;
  color: var(--amber);
  font-size: .875rem;
  font-weight: 800;
  letter-spacing: .12em;
  font-variant-numeric: tabular-nums;
}

.leak__title { margin-bottom: .5rem; }
.leak__mech { margin-bottom: .55rem; color: var(--text); font-size: .9375rem; }
.leak__cost {
  margin: 0;
  padding-top: .7rem;
  border-top: 1px solid var(--line-soft);
  color: var(--text-dim);
  font-size: .9375rem;
}

/* ─── 4. How the system works ──────────────────────────────── */

.system { background: var(--navy-800); }

.stages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.8vw, 20px);
}

.stage {
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2.4vw, 26px);
  background: var(--navy-900);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.stage__step {
  margin: 0 0 .5rem;
  color: var(--green);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.stage__title { margin-bottom: .9rem; font-size: 1.3125rem; }

.stage__detail { margin: 0; display: grid; gap: .1rem; }
.stage__detail dt {
  color: var(--text-dim);
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-top: .75rem;
}
.stage__detail dt:first-child { margin-top: 0; }
.stage__detail dd {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.55;
}

/* ─── 5. Systems we install ────────────────────────────────── */

.systems { background: var(--navy-900); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 22px);
}

.card {
  padding: clamp(22px, 2.6vw, 30px);
  background: var(--navy-800);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .22s var(--ease), border-color .22s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--green); }

.card__icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: rgba(0, 245, 160, .1);
  border: 1px solid rgba(0, 245, 160, .22);
  color: var(--green);
}
.card__icon svg { width: 24px; height: 24px; }

.card h3 { margin-bottom: .5rem; }
.card p { margin: 0; color: var(--text-dim); font-size: .9375rem; }

/* ─── 6. Built systems / proof ─────────────────────────────── */

.proof { background: var(--navy-800); }

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 22px);
}

.proof-grid--secondary { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.proof-feature {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: clamp(22px, 3vw, 42px);
  margin-bottom: clamp(22px, 3vw, 34px);
  padding: clamp(20px, 3vw, 34px);
  background: var(--navy-900);
  border: 1px solid rgba(0, 245, 160, .38);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-green);
}

.proof-feature__copy { min-width: 0; }
.proof-feature h3 { margin-bottom: .8rem; font-size: clamp(1.45rem, 2.2vw, 2rem); }

.proof-feature__visuals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
}

.proof-visual {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  background: var(--navy-950);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.proof-visual a { display: block; }
.proof-visual img {
  width: 100%;
  height: auto;
  background: #101010;
}
.proof-visual a:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: -3px;
}
.proof-visual figcaption {
  padding: 9px 11px 10px;
  color: var(--text-dim);
  font-size: .6875rem;
  line-height: 1.35;
}

.proof-card {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.6vw, 32px);
  background: var(--navy-900);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.proof-card__kind {
  margin: 0 0 .7rem;
  color: var(--green);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.proof-card h3 { margin-bottom: .7rem; font-size: 1.3125rem; }
.proof-card__problem { color: var(--text-dim); font-size: .9375rem; }
.proof-card__system,
.proof-card__handles {
  margin: .65rem 0 0;
  color: var(--text-dim);
  font-size: .9375rem;
  line-height: 1.55;
}
.proof-card__system strong,
.proof-card__handles strong,
.proof-feature__copy strong { color: var(--text); }

.proof-card > .proof-visual { margin: 0 0 1.35rem; }

.proof-card__what {
  margin: .5rem 0 .5rem;
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.proof-card__list { display: grid; gap: .35rem; margin-bottom: 1.1rem; }
.proof-card__list li {
  position: relative;
  padding-left: 18px;
  font-size: .9375rem;
  line-height: 1.5;
}
.proof-card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: .6em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.proof-card__built {
  margin: auto 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
  color: var(--text-dim);
  font-size: .8125rem;
}
.proof-card__built span {
  display: block;
  margin-bottom: .2rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .6875rem;
}

/* ─── 7. The offer ─────────────────────────────────────────── */

.offer {
  position: relative;
  background: var(--navy-900);
  overflow: hidden;
}
.offer::before {
  content: "";
  position: absolute;
  top: -180px; left: 50%;
  transform: translateX(-50%);
  width: 720px; height: 460px;
  background: radial-gradient(ellipse, rgba(0, 245, 160, .1), transparent 70%);
  pointer-events: none;
}

.offer .wrap { position: relative; }

.offer__qualifier {
  max-width: 62ch;
  margin: 1.1rem auto 0;
  color: var(--text-dim);
  font-size: .9375rem;
}

.offer__block {
  max-width: 880px;
  margin: 0 auto clamp(30px, 4vw, 48px);
  padding: clamp(22px, 2.8vw, 34px);
  background: var(--navy-800);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.offer__h3 {
  font-size: clamp(1.1875rem, 2vw, 1.5rem);
  margin-bottom: .6rem;
}
.offer__h3--terms { font-size: 1.1875rem; }

/* Scan markers for the offer's six-part order: headline, then 1–5.
   Decorative — aria-hidden in the markup keeps heading text clean. */
.offer__num {
  display: inline-grid;
  place-items: center;
  width: 30px; height: 30px;
  margin-right: 12px;
  vertical-align: 2px;
  border: 1px solid rgba(0, 245, 160, .38);
  border-radius: 50%;
  background: rgba(0, 245, 160, .1);
  color: var(--green);
  font-size: .875rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.offer__lead {
  max-width: var(--maxw-text);
  color: var(--text-dim);
  font-size: .9375rem;
}
.offer__lead--tight { margin: 1.6rem 0 .7rem; }

/* Qualified-appointment checklist — a standard, not fine print,
   so it keeps normal body sizing (REBUILD_PLAN §0.3). */
.checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .7rem clamp(18px, 2.4vw, 30px);
  margin-top: 1.2rem;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9375rem;
  line-height: 1.55;
}
.checklist__mark {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(0, 245, 160, .12);
  border: 1px solid rgba(0, 245, 160, .3);
  color: var(--green);
}
.checklist__mark svg { width: 13px; height: 13px; }

.offer__exclusion {
  margin: 1.3rem 0 0;
  padding: 12px 16px;
  background: var(--navy-900);
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius-sm);
  font-size: .9375rem;
}
.offer__exclusion strong { color: var(--text); }

/* Eligibility paths — equal weight, Recovery Path is not a fallback */
.paths {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(14px, 2vw, 22px);
  margin-top: 1.3rem;
}

.path {
  padding: clamp(18px, 2.2vw, 24px);
  background: var(--navy-900);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.path__kind {
  margin: 0 0 .8rem;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.path__figure {
  margin: 0 0 .2rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.path__figure span {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.path__unit { margin: 0 0 .7rem; font-size: .9375rem; }
.path__note {
  margin: 0;
  padding-top: .7rem;
  border-top: 1px solid var(--line-soft);
  color: var(--text-dim);
  font-size: .875rem;
}

.paths__or {
  margin: 0;
  color: var(--text-dim);
  font-size: .8125rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
}

.paths__combo {
  max-width: var(--maxw-text);
  margin: 1.1rem 0 0;
  color: var(--text-dim);
  font-size: .9375rem;
}

.reqs { display: grid; gap: .4rem; }
.reqs li {
  position: relative;
  padding-left: 18px;
  font-size: .9375rem;
}
.reqs li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-dim);
}

/* Go-live conditions */
.golive {
  counter-reset: gl;
  display: grid;
  gap: .5rem;
  margin-top: 1.2rem;
}
.golive li {
  counter-increment: gl;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: .9375rem;
  line-height: 1.55;
}
.golive li::before {
  content: counter(gl);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--navy-900);
  border: 1px solid var(--line);
  color: var(--text-dim);
  font-size: .6875rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.offer__note {
  margin: 1.2rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
  color: var(--green);
  font-size: .9375rem;
  font-weight: 600;
}

/* Terms block — visible on the page, never behind a disclosure.
   Neutral colour: green would celebrate the fine print, amber would
   warn readers off an offer we want accepted. */
.offer__terms {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(22px, 2.8vw, 32px);
  background: rgba(6, 15, 31, .6);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: var(--text-dim);
  font-size: .9375rem;
  line-height: 1.7;
}
.offer__terms h3,
.offer__terms h4 { color: var(--text); }
.offer__terms strong { color: var(--text); }
.offer__terms p { max-width: var(--maxw-text); }
.offer__terms-lead { margin-bottom: .6rem; }

/* Fee scope and conditions are two panels of equal weight, so they need
   the same separation from each other as the blocks above them. */
.offer__terms + .offer__terms { margin-top: clamp(18px, 2.4vw, 26px); }

.conditions {
  display: grid;
  gap: .35rem;
  margin-bottom: 1.1rem;
}
.conditions li {
  position: relative;
  padding-left: 18px;
}
.conditions li::before {
  content: "";
  position: absolute;
  left: 0; top: .68em;
  width: 6px; height: 6px;
  border-radius: 1px;
  background: var(--text-dim);
}

/* Stays at the .9375rem floor: no part of the terms block is downsized
   until it is technically present but practically unreadable. */
.offer__terms-foot {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
  font-size: .9375rem;
}

.offer__cta { margin-top: clamp(28px, 3.5vw, 40px); text-align: center; }

/* ─── 8. Packages ──────────────────────────────────────────── */

/* Packages read as a continuation of the offer rather than a fresh pitch,
   so the band above is tightened to close the gap between the two. */
.packages {
  background: var(--navy-800);
  padding-top: var(--section-y-tight);
}

/* Commitment stated once above the grid (REBUILD_PLAN §0.8) */
.packages__commitment {
  max-width: 820px;
  margin: 0 0 clamp(26px, 3.4vw, 38px);
  padding: 16px 20px;
  background: var(--navy-900);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: var(--radius);
  font-size: .9375rem;
  line-height: 1.65;
}
.packages__commitment strong {
  color: var(--green);
  font-variant-numeric: tabular-nums;
}
.packages__commitment span {
  display: block;
  margin-top: .45rem;
  color: var(--text-dim);
  font-size: .875rem;
}

.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 22px);
  align-items: stretch;
}

.tier {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.6vw, 30px);
  background: var(--navy-900);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.tier--featured {
  border-color: var(--green);
  box-shadow: var(--shadow-green);
}

.tier__badge {
  align-self: flex-start;
  margin: 0 0 .8rem;
  padding: 5px 12px;
  background: rgba(0, 245, 160, .12);
  border: 1px solid rgba(0, 245, 160, .32);
  border-radius: var(--radius-sm);
  color: var(--green);
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.tier__name { margin-bottom: .35rem; font-size: 1.4375rem; }
.tier__for { margin-bottom: 1rem; color: var(--text-dim); font-size: .9375rem; }

.tier__price {
  margin: 0 0 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line-soft);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.tier__price span {
  display: block;
  margin-top: .15rem;
  color: var(--text-dim);
  font-weight: 400;
}

.tier__list { display: grid; gap: .5rem; margin-bottom: 1.3rem; }
.tier__list li {
  position: relative;
  padding-left: 20px;
  font-size: .9375rem;
  line-height: 1.5;
}
.tier__list li::before {
  content: "";
  position: absolute;
  left: 0; top: .58em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  opacity: .8;
}

/* Per-tier commitment lines were replaced by the comparison below the grid,
   so the CTA now carries the auto margin that bottom-aligns it across cards
   whose feature lists differ in length. */
.tier > .btn { margin-top: auto; }

/* Performance-commitment comparison. Availability is a term, not a
   celebration, so the values stay neutral text — green appears only on the
   row's left rule, where it reads as structure rather than as praise for
   the fine print. Holds the .9375rem floor. */
.commit-matrix {
  max-width: 820px;
  margin: clamp(26px, 3.4vw, 38px) 0 0;
  padding: clamp(20px, 2.6vw, 28px);
  background: var(--navy-900);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.commit-matrix__title {
  margin-bottom: 1rem;
  font-size: 1.0625rem;
}

.commit-matrix__rows {
  display: grid;
  gap: 10px;
  margin: 0;
}

.commit-matrix__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  padding: 11px 14px;
  background: var(--navy-800);
  border-left: 3px solid var(--line);
  border-radius: var(--radius-sm);
}
.commit-matrix__row--yes { border-left-color: var(--green); }

.commit-matrix__row dt {
  flex: 0 0 auto;
  min-width: 9.5rem;
  font-size: .9375rem;
  font-weight: 700;
}
.commit-matrix__row dd {
  margin: 0;
  color: var(--text);
  font-size: .9375rem;
}
.commit-matrix__none { color: var(--text-dim) !important; }

.commit-matrix__foot {
  margin: 1.1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
  color: var(--text-dim);
  font-size: .9375rem;
  line-height: 1.6;
}

/* ─── 9. Implementation process ────────────────────────────── */

.process { background: var(--navy-900); }

.timeline {
  position: relative;
  max-width: 820px;
  display: grid;
  gap: 0;
}

.timeline__item {
  position: relative;
  padding: 0 0 clamp(24px, 3vw, 34px) clamp(48px, 6vw, 62px);
}

/* Connector rail: neutral through the build phases */
.timeline__item::before {
  content: "";
  position: absolute;
  left: 15px; top: 34px; bottom: 0;
  width: 2px;
  background: var(--line);
}
.timeline__item:last-child::before { display: none; }
.timeline__item:last-child { padding-bottom: 0; }

.timeline__num {
  position: absolute;
  left: 0; top: 0;
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--navy-800);
  border: 2px solid var(--line);
  color: var(--text-dim);
  font-size: .8125rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.timeline__title { margin-bottom: .4rem; font-size: 1.1875rem; }
.timeline__item p { margin: 0; color: var(--text-dim); font-size: .9375rem; max-width: 62ch; }

/* Go-live boundary: the guarantee's explanatory moment.
   Text label carries the meaning; colour only reinforces it (§8). */
.timeline__item--boundary {
  margin: clamp(6px, 1vw, 10px) 0 clamp(6px, 1vw, 10px);
}
.timeline__item--boundary .timeline__title { color: var(--green); }
.timeline__item--boundary::before { background: var(--green); }

.timeline__num--flag {
  background: var(--green);
  border-color: var(--green);
  color: var(--navy-900);
}
.timeline__num--flag svg { width: 16px; height: 16px; }

/* The 30-day window segment: green from the boundary onward */
.timeline__item--window::before { background: var(--green); opacity: .55; }
.timeline__item--window .timeline__num {
  border-color: var(--green);
  color: var(--green);
}

/* ─── 10. FAQ ──────────────────────────────────────────────── */

.faq { background: var(--navy-800); }

.faq__list {
  max-width: 860px;
  display: grid;
  gap: clamp(30px, 4vw, 44px);
}

/* Grouped questions. The group heading carries the label; items inside keep
   the same 10px rhythm the ungrouped list had. */
.faq__group {
  display: grid;
  gap: 10px;
}

.faq__group-title {
  margin: 0 0 .3rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--line);
  color: var(--green);
  font-size: .8125rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.qa {
  background: var(--navy-900);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.qa[open] { border-color: rgba(0, 245, 160, .34); }

.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px clamp(18px, 2.2vw, 24px);
  cursor: pointer;
  list-style: none;
  min-height: 56px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::marker { content: ""; }
.qa summary:hover .qa__q { color: var(--green); }

.qa__q {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.4;
  transition: color .18s var(--ease);
}

.qa__chev {
  flex-shrink: 0;
  width: 11px; height: 11px;
  border-right: 2px solid var(--text-dim);
  border-bottom: 2px solid var(--text-dim);
  transform: rotate(45deg);
  transition: transform .22s var(--ease), border-color .22s var(--ease);
}
.qa[open] .qa__chev {
  transform: rotate(225deg);
  border-color: var(--green);
}

.qa__a {
  padding: 0 clamp(18px, 2.2vw, 24px) 20px;
  color: var(--text-dim);
  font-size: .9375rem;
}
.qa__a p { max-width: var(--maxw-text); }
.qa__a p:last-child { margin-bottom: 0; }

/* ─── 11. Final CTA — booking + form ───────────────────────── */

.audit {
  position: relative;
  background: var(--navy-900);
  overflow: hidden;
}
.audit::before {
  content: "";
  position: absolute;
  bottom: -240px; left: -140px;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(0, 245, 160, .11), transparent 68%);
  pointer-events: none;
}
.audit .wrap { position: relative; }

.booking {
  max-width: 720px;
  margin-inline: auto;
  padding: clamp(28px, 4vw, 44px) clamp(20px, 3vw, 40px);
  background: var(--navy-800);
  border: 1px solid rgba(0, 245, 160, .32);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-green);
  text-align: center;
}

/* Booking is the page's single highest-intent action, so its button is
   the only one given the larger size. */
.btn--lg {
  min-height: 56px;
  padding: 16px 34px;
  font-size: 1.0625rem;
}

.booking__meta {
  margin: 14px 0 0;
  color: var(--text-dim);
  font-size: .8125rem;
}

.booking__alt {
  margin: 18px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  color: var(--text-dim);
  font-size: .9375rem;
}

.form-wrap {
  max-width: 920px;
  margin: clamp(40px, 5vw, 64px) auto 0;
}
.form-wrap__title {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  text-align: center;
}

.form-card {
  padding: clamp(22px, 3vw, 36px);
  background: var(--navy-800);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 2vw, 20px);
}
.form[hidden] { display: none; }

.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .01em;
}
.req { color: var(--green); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 13px 15px;
  background: var(--navy-700);
  border: 1px solid var(--line-input);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { min-height: 112px; resize: vertical; line-height: 1.6; }

.field input::placeholder,
.field textarea::placeholder { color: var(--text-placeholder); opacity: 1; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 245, 160, .16);
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-dim) 50%),
                    linear-gradient(135deg, var(--text-dim) 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% + 2px), calc(100% - 14px) calc(50% + 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: var(--red); }

.err {
  margin: 0;
  color: var(--red);
  font-size: .8125rem;
  font-weight: 600;
}
.err[hidden] { display: none; }
.err--form { margin-top: .7rem; text-align: center; }

.form__note {
  margin: .8rem 0 0;
  color: var(--text-dim);
  font-size: .8125rem;
  text-align: center;
}

/* Shown while FORM_ENDPOINT is null — no faked submissions */
.form-fallback { text-align: center; }
.form-fallback[hidden] { display: none; }
.form-fallback h4 { margin-bottom: .5rem; font-size: 1.125rem; }
.form-fallback p { margin: 0 auto .8rem; max-width: 52ch; color: var(--text-dim); font-size: .9375rem; }
.form-fallback__mail { font-size: 1.0625rem !important; }

.success { text-align: center; }
.success[hidden] { display: none; }
.success__check {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(0, 245, 160, .12);
  border: 1px solid rgba(0, 245, 160, .34);
  color: var(--green);
}
.success__check svg { width: 26px; height: 26px; }
.success__title { margin-bottom: .4rem; font-size: 1.25rem; }
.success__text { margin: 0; color: var(--text-dim); font-size: .9375rem; }

/* ─── 12. Footer ───────────────────────────────────────────── */

.footer { background: var(--navy-950); border-top: 1px solid var(--line); }

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 26px;
  padding-block: clamp(34px, 4.5vw, 54px);
}

.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__mark { width: 46px; height: 46px; border-radius: 11px; }
.footer__name { margin: 0; font-size: 1.1875rem; font-weight: 800; letter-spacing: -.01em; }
.footer__tag { margin: 0; color: var(--green); font-size: .875rem; font-weight: 600; }

.footer__contact {
  display: grid;
  justify-items: start;
  gap: .6rem;
}
.footer__positioning { margin: 0; color: var(--text-dim); font-size: .9375rem; }
.footer__mail { margin: 0; font-size: .9375rem; }

.footer__social {
  display: flex;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-block: clamp(22px, 3vw, 30px);
}
.footer__social[hidden] { display: none; }

.social {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  background: var(--navy-700);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text-dim);
  transition: color .2s var(--ease), border-color .2s var(--ease),
              background-color .2s var(--ease), transform .2s var(--ease);
}
.social svg { width: 19px; height: 19px; }
.social:hover {
  color: var(--green);
  border-color: var(--green);
  background: var(--navy-800);
  transform: translateY(-3px);
}
.social[hidden] { display: none; }

.footer__meta {
  border-top: 1px solid var(--line);
  padding-block: 22px 26px;
  color: var(--text-dim);
  font-size: .8125rem;
}
.footer__meta p { margin: 0 0 .4rem; }
.footer__meta p:last-child { margin-bottom: 0; }

/* Carries guarantee meaning, so it is not downsized with the copyright line */
.footer__legal {
  max-width: 78ch;
  margin-top: .6rem;
  font-size: .9375rem;
  line-height: 1.6;
}

/* ─── Scroll reveal ────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ─── Breakpoints: 1024 / 900 / 640 ────────────────────────── */

@media (max-width: 1024px) {
  .leak-grid { grid-template-columns: repeat(2, 1fr); }
  .stages { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .proof-grid--secondary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav__list { gap: 14px; }
  .nav__list a { font-size: .875rem; }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__sub { max-width: none; }

  .proof-feature__visuals { grid-template-columns: 1fr; }
  .proof-grid--secondary { grid-template-columns: 1fr; }

  .nav__toggle { display: flex; }

  .nav__menu {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 16px clamp(20px, 5vw, 40px) 22px;
    background: var(--navy-900);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
    display: none;
  }
  .nav__menu.is-open { display: flex; }

  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__list a {
    display: block;
    padding: 12px 4px;
    font-size: 1rem;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav__menu .btn { margin-top: 12px; width: 100%; }

  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid.proof-grid--secondary { grid-template-columns: 1fr; }

  .paths { grid-template-columns: 1fr; }
  .paths__or { text-align: left; }

  .tiers { grid-template-columns: 1fr; }
  .tier--featured { order: -1; }
}

@media (max-width: 640px) {
  .leak-grid,
  .stages,
  .cards,
  .proof-grid { grid-template-columns: 1fr; }

  .proof-feature__visuals { grid-template-columns: 1fr; }

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

  .form { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }

  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }

  .hero__offer { padding: 15px 16px; }

  .offer__block,
  .offer__terms { padding: 18px 16px; }

  .timeline__item { padding-left: 44px; }

  .footer__inner { flex-direction: column; }
}

@media (max-width: 380px) {
  .form-card { padding: 18px 14px; }
  .qa summary { padding: 15px 16px; }
  .qa__a { padding: 0 16px 18px; }
}

/* ─── Reduced motion ───────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  .reveal { opacity: 1; transform: none; }
  .flow__dot { animation: none; }

  .card:hover,
  .btn:hover,
  .social:hover { transform: none; }

  /* The FAQ chevron still has to indicate open vs closed, so the rotation
     is kept — the transition duration above makes it instant rather than
     animated. Colour change carries it too. */
  .qa[open] .qa__chev { transform: rotate(225deg); }
}

/* ─── Print ────────────────────────────────────────────────── */

@media print {
  .nav, .footer__social, .hero::before, .offer::before, .audit::before,
  .skip-link { display: none !important; }

  body { background: #fff; color: #000; }
  .section { padding-block: 24px; }
  .reveal { opacity: 1; transform: none; }

  /* Terms must survive printing — they are part of the offer */
  .offer__terms { border: 1px solid #999; color: #000; }
  .qa[open] .qa__a, .qa__a { color: #000; }
}
