/* ─────────────────────────────────────────────────────────────
   BRIGHTCIRCLE — Design System v2.1
   Palette: navy / cream / gold + forest blue accent.
   Type: Newsreader (display) + Plus Jakarta Sans (body).
   Pill buttons, rounded blocks, line icons, centered hero, no mono.
   ───────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,300..700;1,6..72,300..700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* ── Palette — original BrightCircle navy / cream / gold ── */
  --paper: #F2F1EE;          /* v19 cream */
  --paper-soft: #F9F8F6;     /* v19 warm-white */
  --paper-deep: #E8E6E0;
  --paper-tinted: #EFEAE0;

  --ink: #1A2640;            /* v19 deep / navy */
  --ink-soft: #253252;       /* v19 deep-soft */
  --ink-mid: #48536A;        /* v19 text-secondary */
  --ink-quiet: #828DA2;      /* v19 text-muted */
  --ink-faint: #A8B0BE;

  /* Forest blue — workhorse accent on light bgs */
  --blue: #6A9DB2;           /* v19 sage */
  --blue-soft: #B5D2DD;
  --blue-pale: #E0EBEF;
  --blue-deep: #3D7A94;      /* v19 forest */
  --blue-darker: #2A5C73;

  /* Gold — strategic accent only */
  --gold: #D4A32A;           /* v19 gold */
  --gold-soft: #E0B94D;      /* v19 gold-light */
  --gold-pale: #F4E5BA;
  --gold-deep: #B0871D;

  --rule: #D5D5D9;
  --rule-soft: #E2E2E5;
  --rule-dark: rgba(242, 241, 238, 0.10);

  --on-dark: #F2F1EE;
  --on-dark-soft: #C8C8C5;     /* solid muted cream — readable on navy */
  --on-dark-quiet: #8E929A;    /* solid muted blue-gray */

  /* Type */
  --display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --max: 1240px;
  --gutter: 32px;
  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--ink); color: var(--paper); }

/* ─── Layout primitives ─── */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-tight { max-width: 880px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 720px; margin: 0 auto; padding: 0 var(--gutter); }

.section { padding: 112px 0; }
.section-tight { padding: 80px 0; }
.section-loose { padding: 144px 0; }

.dark { background: var(--ink); color: var(--on-dark); }
.paper-soft { background: var(--paper-soft); }
.paper-deep { background: var(--paper-deep); }
.paper-tinted { background: var(--paper-tinted); }

/* ─── Typography ─── */
.display { font-family: var(--display); font-weight: 400; }

/* Italic accents — strong contrast on light bg, gold on dark */
.italic { font-style: italic; color: var(--blue-deep); }
.dark .italic { color: var(--gold-soft); }

.h1 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 5.4vw, 5rem);
  font-weight: 350;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variation-settings: 'opsz' 60;
}

.h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: var(--ink);
  font-variation-settings: 'opsz' 48;
}

.h3 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.1vw, 1.7rem);
  font-weight: 450;
  line-height: 1.22;
  letter-spacing: -0.005em;
  color: var(--ink);
  font-variation-settings: 'opsz' 24;
}

.h4 {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}

.dark .h1, .dark .h2, .dark .h3, .dark .h4 { color: var(--on-dark); }

.lead {
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.5;
  color: var(--ink-mid);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: 'opsz' 24;
}
.dark .lead { color: var(--on-dark-soft); }

.body {
  font-size: 1.025rem;
  line-height: 1.72;
  color: var(--ink-mid);
  font-weight: 400;
}
.body + .body { margin-top: 1.1em; }
.dark .body { color: var(--on-dark-soft); }

.body-sm {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ink-quiet);
}
.dark .body-sm { color: var(--on-dark-soft); }

/* ── Section markers — blue-deep on light, gold-soft on dark ── */
.section-mark {
  font-family: var(--display);
  font-style: italic;
  font-weight: 450;
  font-size: 1rem;
  color: var(--blue-deep);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0;
  font-variation-settings: 'opsz' 24;
}
.section-mark::before {
  content: "";
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--blue-deep);
}
.dark .section-mark { color: var(--gold-soft); }
.dark .section-mark::before { background: var(--gold-soft); }

.eyebrow {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--blue-deep);
  font-weight: 450;
}
.dark .eyebrow { color: var(--gold-soft); }

/* ─── Buttons (pill) ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  padding: 14px 28px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover {
  background: var(--ink-soft);
  border-color: var(--ink-soft);
  color: var(--paper);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26, 38, 64, 0.18);
}
.btn .arrow { transition: transform 0.18s ease; display: inline-block; }
.btn:hover .arrow { transform: translateX(3px); }

/* Light variant — for use on dark bgs */
.btn-light {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.btn-light:hover {
  background: var(--paper-soft);
  border-color: var(--paper-soft);
  color: var(--ink);
}

/* Gold accent variant — sparingly */
.btn-gold {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.dark .btn-ghost { color: var(--on-dark); border-color: var(--on-dark-soft); }
.dark .btn-ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.link {
  font-family: var(--sans);
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--blue);
  padding-bottom: 2px;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.link:hover { border-color: var(--ink); color: var(--ink); }
.dark .link { color: var(--on-dark); border-color: var(--on-dark-quiet); }
.dark .link:hover { border-color: var(--on-dark); color: var(--on-dark); }

/* ─── Cards ─── */
.card {
  background: var(--paper-soft);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  border-color: var(--blue);
  box-shadow: 0 12px 36px rgba(26, 38, 64, 0.06);
}
.card-flat {
  background: var(--paper-soft);
  border-radius: var(--radius);
  padding: 32px;
}

.block-blue { background: var(--blue-pale); border-radius: var(--radius-lg); padding: 56px; }
.block-gold { background: var(--gold-pale); border-radius: var(--radius-lg); padding: 56px; }
.block-cream { background: var(--paper-soft); border-radius: var(--radius-lg); padding: 56px; }
.block-ink { background: var(--ink); color: var(--on-dark); border-radius: var(--radius-lg); padding: 56px; }
.block-tinted { background: var(--paper-tinted); border-radius: var(--radius-lg); padding: 56px; }
.block-bordered {
  background: var(--paper-soft);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 56px;
  color: var(--ink);
}

/* ─── Header / Nav ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.nav.scrolled { border-bottom-color: var(--rule-soft); }
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.45rem;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-variation-settings: 'opsz' 24;
}
.nav-logo .mark {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: transparent;
  display: inline-block;
  position: relative;
  flex-shrink: 0;
}
.nav-logo .mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: var(--gold);
  border-radius: 50%;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-mid);
  transition: color 0.18s ease;
}
.nav-links a:not(.nav-cta):hover,
.nav-links a:not(.nav-cta).active { color: var(--ink); }
.nav-links a:not(.nav-cta).active { font-weight: 600; }
.nav-cta,
.nav-links a.nav-cta {
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink) !important;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  border: 1.5px solid var(--ink);
}
.nav-cta:hover,
.nav-links a.nav-cta:hover {
  background: var(--ink);
  color: var(--paper) !important;
  border-color: var(--ink);
}

.hamburger {
  display: none;
  width: 38px; height: 38px;
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: var(--radius-pill);
  cursor: pointer;
  padding: 0;
  position: relative;
}
.hamburger span {
  position: absolute;
  left: 11px; right: 11px;
  height: 1.5px;
  background: var(--ink);
  transition: all 0.3s ease;
}
.hamburger span:nth-child(1) { top: 13px; }
.hamburger span:nth-child(2) { top: 18px; }
.hamburger span:nth-child(3) { top: 23px; }
.hamburger.active span:nth-child(1) { top: 18px; transform: rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { top: 18px; transform: rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 65px 0 0 0;
  background: var(--paper);
  z-index: 49;
  padding: 32px var(--gutter);
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.active { display: flex; }
.mobile-menu a {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.8rem;
  color: var(--ink);
  padding: 16px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu a.cta {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  background: transparent;
  color: var(--ink);
  text-align: center;
  padding: 14px;
  margin-top: 16px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-pill);
}

/* ─── Status badge — blue-pale + blue-deep (high contrast) ─── */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  padding: 8px 18px;
  background: var(--blue-pale);
  border-radius: var(--radius-pill);
  border: 1px solid var(--blue-soft);
}
.status-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.dark .status-badge {
  background: rgba(212, 163, 42, 0.12);
  color: var(--on-dark);
  border-color: rgba(212, 163, 42, 0.25);
}
.dark .status-badge .dot { background: var(--gold-soft); }

/* ─── Hero ─── */
.hero {
  padding: 96px 0 96px;
  position: relative;
  text-align: center;
}
.hero .status-badge { margin-bottom: 40px; }
.hero h1 { margin-bottom: 32px; max-width: 920px; margin-left: auto; margin-right: auto; }
.hero .lead { margin-bottom: 36px; max-width: 720px; margin-left: auto; margin-right: auto; }
.hero .body { max-width: 680px; margin-left: auto; margin-right: auto; margin-bottom: 40px; }
.hero-cta-row { display: flex; gap: 18px; justify-content: center; align-items: center; flex-wrap: wrap; }
.hero-proof {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px dashed var(--rule);
  display: flex;
  align-items: baseline;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 640px;
  margin-left: auto; margin-right: auto;
}
.hero-proof .num {
  font-family: var(--display);
  font-style: italic;
  font-size: 2.1rem;
  color: var(--gold-deep);
  font-weight: 450;
  line-height: 1;
}
.hero-proof span { color: var(--ink-quiet); font-size: 0.95rem; }

/* Decorative shapes — keep behind the hero */
.hero-decor {
  position: absolute;
  width: 460px; height: 460px;
  background: var(--blue-pale);
  border-radius: 50%;
  top: 50px; right: -180px;
  z-index: -1;
  opacity: 0.6;
}
.hero-decor.left {
  right: auto;
  left: -180px;
  top: 200px;
  width: 380px;
  height: 380px;
  background: var(--gold-pale);
  opacity: 0.4;
}

/* ─── Section header (centered) ─── */
.section-head {
  text-align: center;
  margin-bottom: 64px;
}
.section-head .section-mark { margin-bottom: 24px; justify-content: center; }
.section-head h2 { margin-bottom: 20px; max-width: 880px; margin-left: auto; margin-right: auto; }
.section-head p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--ink-mid);
  font-size: 1.025rem;
  line-height: 1.65;
}

.section-head-left { text-align: left; }
.section-head-left .section-mark { justify-content: flex-start; }
.section-head-left h2 { margin-left: 0; max-width: 760px; }
.section-head-left p { margin-left: 0; max-width: 640px; }

/* ─── Icon system ─── */
.icon-tile {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--blue-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.icon-tile svg { width: 28px; height: 28px; stroke: currentColor; stroke-width: 1.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.icon-tile.gold { background: var(--gold-pale); color: var(--gold-deep); }
.icon-tile.ink { background: var(--ink); color: var(--gold-soft); }
.dark .icon-tile { background: rgba(212, 163, 42, 0.12); color: var(--gold-soft); }

/* ─── Recognize cards (Section 2) ─── */
.recognize-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.recognize-card {
  background: var(--paper-soft);
  border-radius: var(--radius);
  padding: 40px;
}
.recognize-card .body { color: var(--ink-mid); }
.recognize-card .body + .body { margin-top: 1em; }

/* ─── Cost option cards (Section 4) ─── */
.options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.option {
  background: var(--paper-soft);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
}
.option-num {
  font-family: var(--display);
  font-style: italic;
  font-size: 1rem;
  color: var(--blue-deep);
  margin-bottom: 16px;
  font-weight: 450;
}
.option-name {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.55rem;
  line-height: 1.18;
  color: var(--ink);
  margin-bottom: 28px;
  font-variation-settings: 'opsz' 24;
}
.option-table {
  font-family: var(--sans);
  font-size: 0.94rem;
  margin-bottom: 24px;
  flex-grow: 1;
}
.option-table div {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid var(--rule-soft);
  color: var(--ink-mid);
}
.option-table div:first-child { border-top: 0; }
.option-table div.total {
  border-top: 1px solid var(--ink);
  margin-top: 6px;
  padding-top: 16px;
  color: var(--ink);
  font-weight: 600;
}
.option-table .label { color: var(--ink-quiet); }
.option-note {
  font-family: var(--display);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink-quiet);
  font-weight: 400;
}

/* ─── Replace row (Section 6) ─── */
.replace-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.replace-card {
  background: var(--paper-soft);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.replace-card .icon-tile { margin: 0 auto 20px; }
.replace-card .name {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--ink);
}
.replace-card .price {
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--ink-quiet);
}

/* ─── 12-step playbook cards ─── */
.layer-block {
  margin-bottom: 64px;
}
.layer-intro {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  margin-bottom: 40px;
  align-items: start;
}
.layer-intro h2 { margin-bottom: 16px; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.step-card {
  background: var(--paper-soft);
  border-radius: var(--radius);
  padding: 36px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  border: 1px solid transparent;
}
.step-card:hover {
  border-color: var(--blue);
  box-shadow: 0 12px 36px rgba(26, 38, 64, 0.06);
  transform: translateY(-2px);
}
.step-card .step-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.step-card .step-num {
  font-family: var(--display);
  font-style: italic;
  font-size: 2.6rem;
  color: var(--blue);
  line-height: 1;
  font-weight: 400;
}
.step-card h3 { font-size: 1.45rem; }
.step-card .step-q {
  font-family: var(--display);
  font-style: italic;
  color: var(--blue-deep);
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 20px;
  font-weight: 450;
}
.step-card .step-meta { display: grid; gap: 16px; padding-top: 16px; border-top: 1px solid var(--rule-soft); }
.step-card .step-meta div .label {
  font-family: var(--display);
  font-style: italic;
  font-size: 0.88rem;
  color: var(--blue-deep);
  margin-bottom: 4px;
  font-weight: 450;
}
.step-card .step-meta p { font-size: 0.92rem; color: var(--ink-mid); line-height: 1.55; }

/* ─── Diary (avg week) ─── */
.diary { display: grid; gap: 16px; }
.diary-card {
  display: grid;
  grid-template-columns: 64px 1fr 200px;
  gap: 28px;
  background: var(--paper-soft);
  border-radius: var(--radius);
  padding: 28px;
  align-items: start;
}
.diary-card .icon-tile { margin: 0; flex-shrink: 0; width: 56px; height: 56px; }
.diary-card .icon-tile svg { width: 24px; height: 24px; }
.diary-card h4 { font-family: var(--display); font-weight: 400; font-size: 1.25rem; margin-bottom: 8px; color: var(--ink); }
.diary-card p { color: var(--ink-mid); font-size: 0.96rem; line-height: 1.6; }
.diary-card .when {
  font-family: var(--display);
  font-style: italic;
  color: var(--blue-deep);
  font-size: 0.95rem;
  align-self: center;
  text-align: right;
  font-weight: 450;
}

/* ─── Scope columns ─── */
.scope-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.scope-col {
  background: rgba(242, 241, 238, 0.06);
  border-radius: var(--radius);
  padding: 32px;
}
.scope-col h4 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 450;
  font-size: 1.1rem;
  color: var(--gold-soft);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule-dark);
}
.scope-col ul { list-style: none; }
.scope-col li {
  padding: 8px 0;
  font-size: 0.96rem;
  color: var(--on-dark-soft);
  line-height: 1.5;
}

/* ─── Metrics ─── */
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.metric {
  background: var(--paper-soft);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.dark .metric { background: rgba(242, 241, 238, 0.06); }
.metric-val {
  font-family: var(--display);
  font-style: italic;
  font-size: 3rem;
  font-weight: 400;
  line-height: 1;
  color: var(--blue-deep);
  margin-bottom: 12px;
  font-variation-settings: 'opsz' 60;
}
.dark .metric-val { color: var(--gold-soft); }
.metric-label {
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--ink-quiet);
  line-height: 1.45;
}
.dark .metric-label { color: var(--on-dark-soft); }

/* ─── Pullquote — gold bar accent ─── */
.pullquote {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  line-height: 1.32;
  color: var(--ink);
  padding: 32px 0;
  font-variation-settings: 'opsz' 48;
}
.pullquote::before {
  content: "";
  display: block;
  width: 48px; height: 3px;
  background: var(--gold);
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}
.dark .pullquote { color: var(--on-dark); }
.dark .pullquote::before { background: var(--gold-soft); }

/* ─── Comparison cards (4) ─── */
.compare-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.compare-card {
  background: var(--paper-soft);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.compare-card.recommended {
  background: var(--gold-pale);
  border-color: var(--gold);
  position: relative;
}
.compare-card.recommended::before {
  content: "the integrated option";
  position: absolute;
  top: -12px;
  left: 24px;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--gold);
  color: var(--ink);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}
.compare-card .name {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.compare-card .cost {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--blue-deep);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule-soft);
  font-weight: 450;
}
.compare-card.recommended .cost { color: var(--gold-deep); border-bottom-color: var(--gold); }
.compare-card .label {
  font-family: var(--display);
  font-style: italic;
  font-size: 0.88rem;
  color: var(--blue-deep);
  margin: 16px 0 4px;
  font-weight: 450;
}
.compare-card.recommended .label { color: var(--gold-deep); }
.compare-card p { font-size: 0.92rem; color: var(--ink-mid); line-height: 1.55; }

/* ─── Phase cards (How We Work) ─── */
.phase-card {
  background: var(--paper-soft);
  border-radius: var(--radius-lg);
  padding: 56px;
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: start;
}
.phase-card.dark { background: var(--ink); color: var(--on-dark); }
.phase-card .step-tag {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--blue-deep);
  margin-bottom: 16px;
  font-weight: 450;
}
.phase-card.dark .step-tag { color: var(--gold-soft); }
.phase-card h3 { font-size: 1.95rem; margin-bottom: 16px; }
.phase-card .price-tag {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--ink-quiet);
  line-height: 1.65;
}
.phase-card.dark .price-tag { color: var(--on-dark-soft); }

.deliverable-list { list-style: none; }
.deliverable-list li {
  padding: 12px 0;
  border-top: 1px solid var(--rule-soft);
  font-size: 0.96rem;
  color: var(--ink-mid);
  display: flex;
  gap: 16px;
  align-items: baseline;
  line-height: 1.55;
}
.deliverable-list li:first-child { border-top: 0; }
.deliverable-list li::before {
  content: "✓";
  color: var(--gold-deep);
  font-size: 0.95rem;
  font-weight: 700;
}
.dark .deliverable-list li { color: var(--on-dark-soft); border-top-color: var(--rule-dark); }
.dark .deliverable-list li::before { color: var(--gold-soft); }

/* ─── Bio cards ─── */
.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}
.bio {
  background: var(--paper-soft);
  border-radius: var(--radius);
  padding: 48px;
}
.bio .avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 24px;
}
.bio h3 { margin-bottom: 6px; font-size: 1.6rem; }
.bio .role {
  font-family: var(--display);
  font-style: italic;
  font-size: 1rem;
  color: var(--blue-deep);
  margin-bottom: 20px;
  font-weight: 450;
}
.bio p { color: var(--ink-mid); font-size: 0.98rem; line-height: 1.65; }

/* ─── Footer ─── */
footer.footer {
  background: var(--ink);
  color: var(--on-dark);
  padding: 80px 0 32px;
  border-radius: 32px 32px 0 0;
  margin-top: 0;
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand .nav-logo { color: var(--on-dark); margin-bottom: 16px; }
.footer-brand .nav-logo .mark { border-color: var(--paper); }
.footer-brand .nav-logo .mark::after { background: var(--gold); }
.footer-tag {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--on-dark-soft);
  max-width: 320px;
  line-height: 1.5;
  font-weight: 400;
}
.footer-col h5 {
  font-family: var(--display);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold-soft);
  margin-bottom: 16px;
  font-weight: 450;
}
.footer-col a {
  display: block;
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--on-dark-soft);
  padding: 6px 0;
  transition: color 0.18s ease;
}
.footer-col a:hover { color: var(--on-dark); }
.footer-bottom {
  max-width: var(--max);
  margin: 56px auto 0;
  padding: 24px var(--gutter) 0;
  border-top: 1px solid var(--rule-dark);
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--on-dark-quiet);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

/* ─── Final CTA block ─── */
.final-cta {
  padding: 96px 0;
}
.final-cta .block-ink, .final-cta .block-bordered {
  text-align: center;
  padding: 80px 56px;
}
.final-cta h2 { margin-bottom: 24px; max-width: 720px; margin-left: auto; margin-right: auto; }
.final-cta .lead { margin-bottom: 36px; max-width: 620px; margin-left: auto; margin-right: auto; }
.final-cta .cta-row { display: flex; gap: 18px; justify-content: center; align-items: center; flex-wrap: wrap; }
.final-cta .block-ink h2 { color: var(--on-dark); }
.final-cta .block-ink .lead { color: var(--on-dark-soft); }

/* ─── Reveal animation ─── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Page hero (inner pages) ─── */
.page-hero {
  padding: 88px 0 80px;
  background: var(--blue-pale);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero .section-mark { margin-bottom: 24px; justify-content: center; }
.page-hero h1 { margin-bottom: 28px; max-width: 880px; margin-left: auto; margin-right: auto; }
.page-hero .lead { max-width: 720px; margin-left: auto; margin-right: auto; }

/* ─── Diagnostic ─── */
.diagnostic {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px var(--gutter) 96px;
}
.dx-progress {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  font-family: var(--display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--blue-deep);
  font-weight: 450;
}
.dx-progress-bar {
  flex: 1;
  height: 4px;
  background: var(--paper-deep);
  border-radius: var(--radius-pill);
  position: relative;
  overflow: hidden;
}
.dx-progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--ink);
  border-radius: var(--radius-pill);
  width: 0%;
  transition: width 0.4s ease;
}
.dx-question { display: none; }
.dx-question.active { display: block; animation: dxFade 0.4s ease; }
@keyframes dxFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.dx-q-label {
  font-family: var(--display);
  font-style: italic;
  font-size: 1rem;
  color: var(--blue-deep);
  margin-bottom: 16px;
  font-weight: 450;
}
.dx-q-title {
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 400;
  line-height: 1.18;
  color: var(--ink);
  margin-bottom: 12px;
  font-variation-settings: 'opsz' 48;
}
.dx-q-sub {
  font-size: 1rem;
  color: var(--ink-mid);
  line-height: 1.55;
  margin-bottom: 32px;
}
.dx-options { list-style: none; }
.dx-option {
  border: 1px solid var(--rule);
  background: var(--paper-soft);
  padding: 18px 22px;
  margin-bottom: 12px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.98rem;
  color: var(--ink);
  transition: all 0.18s ease;
  display: flex;
  align-items: center;
  gap: 14px;
}
.dx-option:hover {
  border-color: var(--ink);
  background: var(--paper);
}
.dx-option.selected {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}
.dx-option .dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--ink-faint);
  flex-shrink: 0;
}
.dx-option.selected .dot {
  border-color: var(--paper);
  background: var(--gold);
}
.dx-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--rule-soft);
}
.dx-back {
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--ink-quiet);
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 10px 0;
}
.dx-back:hover { color: var(--ink); }
.dx-back:disabled { opacity: 0.3; cursor: not-allowed; }

.dx-warning {
  background: var(--gold-pale);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 32px;
}
.dx-warning .label {
  font-family: var(--display);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold-deep);
  margin-bottom: 8px;
  font-weight: 450;
}
.dx-warning h3 { margin-bottom: 12px; }
.dx-warning p { font-size: 0.98rem; color: var(--ink-mid); margin-bottom: 16px; }
.dx-warning-actions { display: flex; gap: 12px; }

.dx-form { display: grid; gap: 16px; margin-bottom: 28px; }
.dx-form label {
  font-family: var(--display);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--blue-deep);
  margin-bottom: 6px;
  display: block;
  font-weight: 450;
}
.dx-form input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--rule);
  background: var(--paper-soft);
  font-family: var(--sans);
  font-size: 0.98rem;
  color: var(--ink);
  border-radius: var(--radius);
}
.dx-form input:focus { outline: none; border-color: var(--ink); }
.dx-microcopy {
  font-family: var(--display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-quiet);
  margin-top: 16px;
  font-weight: 400;
}

.scorecard {
  background: var(--paper-soft);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin: 32px 0;
}
.scorecard-header {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 32px;
  align-items: end;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule-soft);
  margin-bottom: 32px;
}
.scorecard-overall {
  font-family: var(--display);
  font-style: italic;
  text-align: right;
}
.scorecard-overall .num {
  font-size: 5.4rem;
  line-height: 1;
  color: var(--gold-deep);
  font-weight: 400;
}
.scorecard-overall .denom {
  font-size: 1.4rem;
  color: var(--ink-quiet);
}
.scorecard h2 { margin-bottom: 8px; }
.scorecard .pattern-name {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--blue-deep);
  margin-bottom: 8px;
  font-weight: 450;
}
.scorecard .pattern-read {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 24px;
  font-weight: 400;
}
.layers-list { display: grid; gap: 16px; margin-bottom: 32px; }
.layer-bar {
  display: grid;
  grid-template-columns: 160px 1fr 80px;
  gap: 16px;
  align-items: center;
}
.layer-bar .name {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-mid);
  font-weight: 450;
}
.layer-bar .track {
  height: 10px;
  background: var(--paper-deep);
  border-radius: var(--radius-pill);
  position: relative;
  overflow: hidden;
}
.layer-bar .fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--ink);
  border-radius: var(--radius-pill);
  transition: width 0.8s ease;
}
.layer-bar .fill.green { background: var(--blue-deep); }
.layer-bar .fill.yellow { background: var(--gold); }
.layer-bar .fill.red { background: #B85A4B; }
.layer-bar .score-num {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.7rem;
  color: var(--ink);
  text-align: right;
  font-weight: 400;
}
.scorecard-next {
  padding-top: 24px;
  border-top: 1px dashed var(--rule);
  font-size: 0.96rem;
  color: var(--ink-mid);
}
.scorecard-next strong { color: var(--ink); }

.leaks { display: grid; gap: 24px; margin-top: 32px; }
.leak {
  background: var(--paper-soft);
  border-radius: var(--radius);
  padding: 32px;
}
.leak .label {
  font-family: var(--display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--blue-deep);
  margin-bottom: 8px;
  font-weight: 450;
}
.leak h4 {
  margin-bottom: 16px;
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--ink);
}
.leak .leak-meta {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-top: 20px;
}
.leak .leak-meta .label { color: var(--blue-deep); margin-bottom: 4px; font-size: 0.85rem; }
.leak .leak-meta p { font-size: 0.9rem; color: var(--ink-mid); line-height: 1.55; }

/* ─── Modal (HubSpot forms) ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 38, 64, 0.55);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.modal-overlay.active {
  display: flex;
  animation: modalFade 0.25s ease;
}
@keyframes modalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.modal-content {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 540px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 60px rgba(26, 38, 64, 0.2);
  animation: modalSlide 0.3s ease;
}
@keyframes modalSlide {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink-quiet);
  border-radius: 50%;
  transition: background 0.15s ease, color 0.15s ease;
}
.modal-close:hover {
  background: var(--paper-deep);
  color: var(--ink);
}

/* ─── HubSpot embedded form styling ───
   Selectors are deliberately broad — HubSpot wraps the form
   in several containers and class names vary across embed versions. */
#bc-talk-form-target {
  font-family: var(--sans);
}
#bc-talk-form-target form {
  width: 100%;
}
#bc-talk-form-target input[type="text"],
#bc-talk-form-target input[type="email"],
#bc-talk-form-target input[type="tel"],
#bc-talk-form-target input[type="url"],
#bc-talk-form-target input[type="number"],
#bc-talk-form-target textarea,
#bc-talk-form-target select {
  width: 100% !important;
  padding: 14px 18px !important;
  border: 1px solid var(--rule) !important;
  background: var(--paper-soft) !important;
  font-family: var(--sans) !important;
  font-size: 0.98rem !important;
  line-height: 1.4 !important;
  color: var(--ink) !important;
  border-radius: var(--radius) !important;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box !important;
}
#bc-talk-form-target textarea {
  min-height: 120px;
  resize: vertical;
}
#bc-talk-form-target input:focus,
#bc-talk-form-target textarea:focus,
#bc-talk-form-target select:focus {
  outline: none !important;
  border-color: var(--ink) !important;
  box-shadow: 0 0 0 3px rgba(26, 38, 64, 0.08) !important;
}

/* Submit button — broad selectors so it catches all HubSpot variants */
#bc-talk-form-target .hs-button,
#bc-talk-form-target input[type="submit"],
#bc-talk-form-target button[type="submit"],
#bc-talk-form-target .actions input,
#bc-talk-form-target .hs_submit input {
  display: inline-block !important;
  background: var(--ink) !important;
  color: var(--paper) !important;
  padding: 14px 32px !important;
  border-radius: var(--radius-pill) !important;
  border: 0 !important;
  font-family: var(--sans) !important;
  font-weight: 500 !important;
  font-size: 0.96rem !important;
  letter-spacing: -0.005em !important;
  cursor: pointer !important;
  margin-top: 8px !important;
  text-transform: none !important;
  -webkit-appearance: none;
  appearance: none;
  width: auto !important;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
#bc-talk-form-target .hs-button:hover,
#bc-talk-form-target input[type="submit"]:hover,
#bc-talk-form-target button[type="submit"]:hover {
  background: var(--ink-soft) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26, 38, 64, 0.18);
}

/* Labels — readable, not whisper-quiet */
#bc-talk-form-target label,
#bc-talk-form-target .hs-form-field > label {
  font-family: var(--sans) !important;
  font-size: 0.86rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em !important;
  color: var(--ink) !important;
  margin-bottom: 6px !important;
  display: block !important;
}
#bc-talk-form-target .hs-form-required,
#bc-talk-form-target .required {
  color: var(--blue-deep) !important;
  margin-left: 2px;
}
#bc-talk-form-target .hs-field-desc {
  font-size: 0.82rem !important;
  color: var(--ink-quiet) !important;
  margin-top: 4px !important;
  margin-bottom: 4px !important;
  font-style: normal !important;
}
#bc-talk-form-target .hs-form-field { margin-bottom: 18px !important; }
#bc-talk-form-target .hs-fieldset > .hs-form-field,
#bc-talk-form-target fieldset.form-columns-2 .hs-form-field { width: 100%; }
#bc-talk-form-target fieldset { border: 0 !important; padding: 0 !important; max-width: none !important; }

/* Errors */
#bc-talk-form-target .hs-error-msgs,
#bc-talk-form-target .hs-error-msgs label,
#bc-talk-form-target .hs-error-msg {
  font-family: var(--sans) !important;
  font-size: 0.82rem !important;
  color: #B85A4B !important;
  font-style: normal !important;
  font-weight: 400 !important;
  list-style: none !important;
  padding: 0 !important;
  margin-top: 4px !important;
}

/* Success state — readable, centered */
#bc-talk-form-target .submitted-message,
#bc-talk-form-target .hs-form-success {
  font-family: var(--display) !important;
  font-style: italic !important;
  font-size: 1.25rem !important;
  line-height: 1.5 !important;
  color: var(--ink) !important;
  background: var(--blue-pale);
  border-radius: var(--radius);
  text-align: center !important;
  padding: 40px 32px !important;
}

/* Legal/consent text */
#bc-talk-form-target .legal-consent-container,
#bc-talk-form-target .hs-richtext {
  font-size: 0.82rem !important;
  color: var(--ink-quiet) !important;
  margin: 12px 0 !important;
  line-height: 1.5 !important;
}

@media (max-width: 768px) {
  .modal-overlay { padding: 16px; }
  .modal-content { padding: 32px 24px; }
}

/* ─── Responsive ─── */

/* ── Tablet (≤1024px) ── */
@media (max-width: 1024px) {
  /* Class-based grids */
  .options-grid, .compare-cards, .replace-grid { grid-template-columns: 1fr 1fr; }
  .scope-grid { grid-template-columns: 1fr 1fr; }
  .recognize-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .layer-intro { grid-template-columns: 1fr; gap: 24px; }
  .phase-card { grid-template-columns: 1fr; gap: 32px; padding: 40px; }
  .diary-card { grid-template-columns: 56px 1fr; gap: 20px; }
  .diary-card .when { grid-column: 1 / -1; text-align: left; padding-left: 76px; margin-top: -8px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .bio-grid { grid-template-columns: 1fr; gap: 24px; }

  /* Inline grids in HTML (force collapse for 3/4-col layouts) */
  [style*="grid-template-columns: repeat(3"],
  [style*="grid-template-columns: repeat(4"],
  [style*="grid-template-columns: 1fr 1fr 1fr"] {
    grid-template-columns: 1fr 1fr !important;
  }
  /* Step cards with inline max-width: 50% (orphan steps in odd-numbered layers) */
  .step-card[style*="max-width: 50%"] { max-width: 100% !important; }
  /* 1fr 1fr layouts on tablet — keep 2-col but tighten gap */
  [style*="grid-template-columns: 1fr 1fr"]:not([style*="1fr 1fr 1fr"]) {
    gap: 32px !important;
  }
  /* 1fr 1.5fr (results origin section) */
  [style*="grid-template-columns: 1fr 1.5fr"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

/* ── Mobile (≤768px) ── */
@media (max-width: 768px) {
  :root { --gutter: 20px; }
  .nav-links { display: none; }
  .hamburger { display: block; }
  .nav-cta { display: none; }
  .nav-inner { padding: 14px var(--gutter); }
  .nav-logo { font-size: 1.25rem; }
  .section { padding: 64px 0; }
  .section-tight { padding: 56px 0; }
  .hero { padding: 56px 0 64px; }
  .hero-decor { display: none; }
  .hero-cta-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-cta-row .btn { justify-content: center; }
  .hero-cta-row .link { text-align: center; }
  .hero-proof { flex-direction: column; gap: 8px; text-align: center; }
  .hero-proof .num { font-size: 2.4rem; }
  .status-badge { line-height: 1.4; padding: 10px 16px; font-size: 0.8rem; }

  /* Class-based grids */
  .options-grid, .compare-cards, .replace-grid { grid-template-columns: 1fr; }
  .scope-grid { grid-template-columns: 1fr; }
  .scorecard { padding: 32px 24px; }
  .scorecard-header { grid-template-columns: 1fr; text-align: left; }
  .scorecard-overall { text-align: left; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .leak .leak-meta { grid-template-columns: 1fr; gap: 16px; }

  /* Block padding — tighten on mobile, override inline */
  .block-blue, .block-gold, .block-cream, .block-ink, .block-tinted, .block-bordered {
    padding: 32px 24px !important;
    border-radius: var(--radius);
  }
  .final-cta .block-ink, .final-cta .block-bordered { padding: 48px 24px !important; }

  /* Inline grids — force ALL to single column on mobile */
  [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* Section header headline scale on mobile */
  .section-head { margin-bottom: 40px; }
  .h2 { font-size: clamp(1.7rem, 6vw, 2.2rem); }

  /* Recognize cards (Section 2) */
  .recognize-card { padding: 28px 24px; }

  /* Option / scenario cards (Section 4) */
  .option { padding: 28px 24px; }
  .option-name { font-size: 1.4rem; margin-bottom: 20px; }

  /* Replace cards (Section 6 — if present) */
  .replace-card { padding: 24px; }

  /* Compare cards */
  .compare-card { padding: 28px 24px; }
  .compare-card.recommended { padding-top: 32px; }
  .compare-card.recommended::before { left: 20px; }

  /* Diary entries */
  .diary-card { padding: 24px; }
  .diary-card h4 { font-size: 1.15rem; }

  /* Step cards (Playbook) */
  .step-card { padding: 28px 24px; }
  .step-card .step-num { font-size: 2.2rem; }
  .step-card .step-meta { gap: 12px; padding-top: 12px; }

  /* Phase cards (How We Work) — even tighter on mobile */
  .phase-card { padding: 32px 24px; gap: 24px; border-radius: var(--radius); }
  .phase-card h3 { font-size: 1.6rem !important; }

  /* Bio cards */
  .bio { padding: 32px 24px; }
  .bio .avatar { width: 80px; height: 80px; font-size: 2rem; }

  /* Scope columns */
  .scope-col { padding: 24px; }

  /* Section markers — tighter rule on mobile */
  .section-mark { font-size: 0.95rem; }

  /* Footer brand */
  footer.footer { border-radius: 24px 24px 0 0; padding: 56px 0 28px; }
  .footer-tag { font-size: 1rem; }

  /* Section-tight blocks (Sprint fast-lane CTA) */
  .section-tight .h3 { font-size: 1.4rem !important; }

  /* Page hero (inner pages) */
  .page-hero { padding: 64px 0 56px; }
}

/* ── Small mobile (≤480px) ── */
@media (max-width: 480px) {
  .metrics { grid-template-columns: 1fr; }
  .h1 { font-size: clamp(1.9rem, 9vw, 2.3rem); line-height: 1.08; }
  .lead { font-size: 1.05rem; }
  .hero { padding: 48px 0 56px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 32px; }
  .nav-inner { padding: 12px 16px; }
  .nav-logo { font-size: 1.2rem; gap: 8px; }
  .nav-logo .mark { width: 16px; height: 16px; }
  .scorecard-overall .num { font-size: 4rem; }
  .layer-bar { grid-template-columns: 100px 1fr 60px; gap: 12px; }
  .layer-bar .name { font-size: 0.92rem; }
  .layer-bar .score-num { font-size: 1.4rem; }
  .scorecard h2 { font-size: 1.5rem; }
  .step-card .step-head { gap: 12px; }
  .step-card .step-num { font-size: 1.8rem; }
  .compare-card.recommended::before { font-size: 0.65rem; padding: 3px 10px; top: -10px; }
  .option-name { font-size: 1.25rem; }
  .option-num { font-size: 0.88rem; }
  .option-table { font-size: 0.88rem; }
  .option-note { font-size: 0.9rem; }
  .metric { padding: 24px 20px; }
  .metric-val { font-size: 2.4rem; }
  .bio .avatar { width: 64px; height: 64px; font-size: 1.6rem; }
  .bio h3 { font-size: 1.4rem; }
  .pullquote { font-size: 1.15rem !important; padding: 20px 0; }
  .diary-card { padding: 20px; }
  .recognize-card { padding: 24px 20px; }
  .step-card { padding: 24px 20px; }
}
/* ─── Legal pages (Terms / Privacy) ─── */
.legal-prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px var(--gutter) 120px;
}

/* "Last updated" — small refined line with gold em-dash */
.legal-prose .last-updated {
  font-family: var(--display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-quiet);
  padding-bottom: 32px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--rule-soft);
  display: flex;
  align-items: center;
  gap: 14px;
}
.legal-prose .last-updated::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* H2 — major section headings with hairline divider before each */
.legal-prose h2 {
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.4vw, 1.9rem);
  font-weight: 450;
  line-height: 1.18;
  color: var(--ink);
  margin: 64px 0 24px;
  padding-top: 56px;
  border-top: 1px solid var(--rule-soft);
  letter-spacing: -0.01em;
  font-variation-settings: 'opsz' 36;
}
.legal-prose h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

/* H3 — sub-section headings: italic Newsreader in blue-deep, distinct from body */
.legal-prose h3 {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.2rem;
  font-weight: 450;
  color: var(--blue-deep);
  margin: 32px 0 12px;
  letter-spacing: 0;
  font-variation-settings: 'opsz' 24;
}

/* Body paragraphs */
.legal-prose p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-mid);
  margin-bottom: 18px;
}

/* Unordered lists — custom em-dash markers (matches Section 2 ceiling style) */
.legal-prose ul {
  list-style: none;
  margin: 18px 0 24px;
  padding-left: 0;
  color: var(--ink-mid);
}
.legal-prose ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 1rem;
  line-height: 1.65;
}
.legal-prose ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-deep);
  font-family: var(--display);
  font-weight: 450;
}

/* Ordered lists — restore decimal markers with brand styling */
.legal-prose ol {
  list-style: decimal;
  margin: 18px 0 24px;
  padding-left: 32px;
  color: var(--ink-mid);
}
.legal-prose ol li {
  margin-bottom: 12px;
  padding-left: 8px;
  font-size: 1rem;
  line-height: 1.65;
}
.legal-prose ol li::marker {
  color: var(--blue-deep);
  font-family: var(--display);
  font-style: italic;
  font-weight: 450;
}

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

.legal-prose a {
  color: var(--ink);
  border-bottom: 1px solid var(--blue);
  padding-bottom: 1px;
  transition: border-color 0.18s ease;
}
.legal-prose a:hover {
  border-color: var(--ink);
}

/* Draft notice (kept for back-compat; may not be present in v13) */
.legal-prose .draft-notice {
  background: var(--gold-pale);
  border: 1px solid var(--gold);
  padding: 24px 28px;
  border-radius: var(--radius);
  margin-bottom: 48px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink);
}
.legal-prose .draft-notice strong {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.05rem;
  font-weight: 450;
  color: var(--gold-deep);
  display: block;
  margin-bottom: 8px;
}

/* Mobile tightening */
@media (max-width: 768px) {
  .legal-prose { padding: 56px var(--gutter) 80px; }
  .legal-prose h2 { margin: 48px 0 18px; padding-top: 40px; }
  .legal-prose h3 { font-size: 1.1rem; margin: 28px 0 10px; }
  .legal-prose ul li, .legal-prose ol li { font-size: 0.96rem; }
  .legal-prose p { font-size: 0.96rem; line-height: 1.7; }
}

