/* ==========================================================================
   THE PRACTICE PROFIT COMEBACK — Fall 2026 Webinar Campaign
   Dental Success Today
   --------------------------------------------------------------------------
   PALETTE SELECTION:
   Set data-palette on the <html> tag to choose:
     data-palette="forest"   — Deep Forest & Amber   (recommended)
     data-palette="emerald"  — Emerald & Coral       (modern / highest contrast)
     data-palette="slate"    — Slate-Green & Copper  (understated / editorial)

   Once the palette is chosen, delete the two unused blocks below.
   ========================================================================== */

/* ── PALETTE A: DEEP FOREST & AMBER ───────────────────────────────────────── */
:root,
[data-palette="forest"] {
  --field:        #10291e;   /* primary dark field (was navy) */
  --field-2:      #1a3d2c;   /* lighter field, for gradients */
  --field-3:      #0a1c14;   /* deepest, for gradient edges */
  --accent:       #4ba97a;   /* icons, dots, rules */
  --accent-text:  #2c6e4d;   /* accent used as text on light ground */
  --accent-soft:  rgba(75,169,122,0.15);
  --accent-line:  rgba(75,169,122,0.38);
  --cta:          #d98c1f;   /* primary button — warm, highest salience */
  --cta-hover:    #edA135;
  --cta-ink:      #1a1206;   /* text on the button */
  --cta-soft:     rgba(217,140,31,0.14);
  --cta-line:     rgba(217,140,31,0.42);
  --alarm:        #c0512b;   /* warning / countdown */
  --alarm-2:      #9c3d1e;
  --ground:       #f7f5ef;   /* page background */
  --panel:        #ffffff;
  --ink:          #22271f;   /* body text */
  --mid:          #5c635b;   /* secondary text */
  --border:       #ded9c9;
  --white:        #ffffff;
}

/* ── PALETTE B: EMERALD & CORAL ───────────────────────────────────────────── */
[data-palette="emerald"] {
  --field:        #0b3d2c;
  --field-2:      #0f5a3f;
  --field-3:      #042619;
  --accent:       #5fd39a;
  --accent-text:  #157a52;
  --accent-soft:  rgba(95,211,154,0.16);
  --accent-line:  rgba(95,211,154,0.40);
  --cta:          #e8552f;
  --cta-hover:    #fa6a44;
  --cta-ink:      #ffffff;
  --cta-soft:     rgba(232,85,47,0.16);
  --cta-line:     rgba(232,85,47,0.45);
  --alarm:        #e8552f;
  --alarm-2:      #b53c1c;
  --ground:       #f4f8f5;
  --panel:        #ffffff;
  --ink:          #16211c;
  --mid:          #566259;
  --border:       #d8e4db;
  --white:        #ffffff;
}

/* ── PALETTE C: SLATE-GREEN & COPPER ─────────────────────────────────────── */
[data-palette="slate"] {
  --field:        #1e2d28;
  --field-2:      #2c403a;
  --field-3:      #141f1b;
  --accent:       #8fae9c;
  --accent-text:  #4a6b58;
  --accent-soft:  rgba(143,174,156,0.18);
  --accent-line:  rgba(143,174,156,0.42);
  --cta:          #b5622f;
  --cta-hover:    #cd7440;
  --cta-ink:      #ffffff;
  --cta-soft:     rgba(181,98,47,0.16);
  --cta-line:     rgba(181,98,47,0.45);
  --alarm:        #a84f28;
  --alarm-2:      #833d1e;
  --ground:       #f5f3ee;
  --panel:        #ffffff;
  --ink:          #232823;
  --mid:          #5f665f;
  --border:       #ddd8cd;
  --white:        #ffffff;
}

/* ── HERO BACKGROUND ART ─────────────────────────────────────────────────────
   Swap the filename to change the hero image. Set --hero-img to `none` to fall
   back to the gradient-only hero. --hero-texture is switched off because the
   diagonal line motif only exists to give an image-less hero some surface.
   ────────────────────────────────────────────────────────────────────────── */
:root {
  --hero-img: url('img/hero-a-blueprint.jpg');
  --hero-texture: none;
}

/* ── RESET ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--ground);
  color: var(--ink);
  min-height: 100vh;
  padding-bottom: 80px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

/* ── TOP BAR ─────────────────────────────────────────────────────────────── */
.topbar {
  background: var(--field);
  text-align: center;
  padding: 10px 20px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

/* ── COUNTDOWN BANNER ────────────────────────────────────────────────────── */
.countdown-banner {
  background: linear-gradient(90deg, var(--alarm-2) 0%, var(--alarm) 50%, var(--alarm-2) 100%);
  padding: 12px 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.countdown-label {
  color: rgba(255,255,255,0.88);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.countdown-units { display: flex; gap: 8px; align-items: center; }
.countdown-unit { display: flex; flex-direction: column; align-items: center; min-width: 48px; }
.countdown-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  background: rgba(0,0,0,0.25);
  padding: 4px 10px;
  border-radius: 4px;
  min-width: 48px;
  text-align: center;
}
.countdown-unit-label {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
}
.countdown-sep {
  font-size: 22px;
  color: rgba(255,255,255,0.4);
  font-weight: 300;
  margin-bottom: 12px;
}

/* ── HERO ────────────────────────────────────────────────────────────────── */
/* Hero background art.
   Set --hero-img on :root to a url(...) to drop in a background image; the
   scrim layer above it is what keeps the headline legible. Leave it unset and
   the hero falls back to the gradient-only treatment. */
.hero {
  padding: 34px 24px 80px;
  background-color: var(--field);
  background-image:
    var(--hero-scrim,
      linear-gradient(180deg, rgba(8,24,16,0.20) 0%, rgba(8,24,16,0.12) 40%, rgba(8,24,16,0.62) 100%)),
    var(--hero-img,
      radial-gradient(ellipse 120% 80% at 50% 0%, var(--field-2) 0%, transparent 60%));
  background-size: cover, cover;
  background-position: center center, center center;
  background-repeat: no-repeat, no-repeat;
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Radial vignette behind the copy block only — lifts text off busy art without
   flattening the whole image. */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 58% 64% at 50% 44%,
              rgba(6,20,13,0.74) 0%, rgba(6,20,13,0.40) 58%, transparent 80%);
  pointer-events: none;
}
.hero::after {
  /* subtle descending-line motif — only when there is no background image */
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--hero-texture, repeating-linear-gradient(
    -12deg,
    transparent 0 38px,
    rgba(255,255,255,0.022) 38px 39px
  ));
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }

/* Amber, not green: a green pill above a white headline on a green field
   reads as a flag rather than as a label. */
.hero-eyebrow {
  display: inline-block;
  background: var(--cta-soft);
  border: 1px solid var(--cta-line);
  color: var(--cta);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 2px;
  margin-bottom: 26px;
}
.hero-eyebrow .presents { color: #ffffff; }

.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(29px, 4.6vw, 52px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.14;
  max-width: 880px;
  margin: 0 auto 22px;
}
.hero h1 em { color: var(--accent); font-style: normal; display: block; margin-bottom: 6px; }

.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.80);
  max-width: 680px;
  margin: 0 auto 26px;
  line-height: 1.62;
  font-weight: 300;
}
.hero-sub strong { color: #fff; font-weight: 600; }

/* Highlighter for the ADA stat. box-decoration-break:clone is what keeps the
   swatch intact when the phrase wraps across lines — without it the highlight
   breaks open at every line end. */
.hl {
  background: var(--cta);
  color: var(--cta-ink);
  font-weight: 700;
  padding: 0.12em 0.34em;
  margin: 0 -0.04em;
  border-radius: 3px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* A white wash (rgba(255,255,255,.06)) reads fine on a flat field but does
   nothing over background art — it tints the art instead of hiding it. A dark
   panel is what actually buys contrast here. */
.event-meta {
  display: inline-flex;
  gap: 32px;
  background: rgba(5,18,12,0.80);
  border: 1px solid rgba(255,255,255,0.18);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  padding: 14px 32px;
  border-radius: 4px;
  flex-wrap: wrap;
  justify-content: center;
  box-shadow: 0 2px 18px rgba(0,0,0,0.28);
}
.event-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.95);
  font-size: 14px;
  font-weight: 500;
}
.event-meta-item svg { color: var(--accent); flex-shrink: 0; }

/* ── MAIN LAYOUT ─────────────────────────────────────────────────────────── */
/* position/z-index are load-bearing: .hero is position:relative, so without
   these the hero (and its background art) paints ON TOP of this block, which
   tucks 40px up under the hero via the negative margin. */
.main {
  max-width: 1100px;
  margin: -40px auto 0;
  padding: 0 24px 40px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: start;
  position: relative;
  z-index: 1;
}
/* min-width:0 on the grid/flex chain: without it these default to min-width:auto
   and refuse to shrink below the widest child, letting the proof table's
   min-width push the whole page sideways at phone widths. */
.main > * { min-width: 0; }
.left-col { display: flex; flex-direction: column; gap: 36px; min-width: 0; }

/* ── CARD ────────────────────────────────────────────────────────────────── */
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  min-width: 0;
}
.card-body, .card-header { min-width: 0; }
.card-header {
  padding: 20px 28px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}
.card-header-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mid);
}
.card-body { padding: 28px; }

/* ── COST OF INACTION PANEL (replaces hero video) ────────────────────────── */
.coi {
  background: linear-gradient(135deg, var(--field) 0%, var(--field-2) 100%);
  border-radius: 8px;
  padding: 30px 28px 26px;
  text-align: center;
  border: 1px solid var(--accent-line);
  position: relative;
  overflow: hidden;
}
.coi::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.035);
}
.coi > * { position: relative; z-index: 1; }
.coi-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.coi-figures {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}
.coi-fig { padding: 6px 4px; }
.coi-fig + .coi-fig { border-left: 1px solid rgba(255,255,255,0.13); }
.coi-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(22px, 4.2vw, 34px);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.coi-unit {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 7px;
}
.coi-note {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.72);
  max-width: 460px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 16px;
}
.coi-note strong { color: #fff; font-weight: 600; }

/* ── COMPACT ADA STAT STRIP ──────────────────────────────────────────────── */
.ada-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 22px;
}
.ada-stat { background: var(--panel); padding: 16px 14px; text-align: center; }
.ada-stat-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(17px, 2.6vw, 22px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--alarm);
  font-variant-numeric: tabular-nums;
}
.ada-stat-num.up { color: var(--accent-text); }
.ada-stat-label {
  font-size: 10.5px;
  line-height: 1.4;
  color: var(--mid);
  margin-top: 6px;
}

/* ── PROFIT LEAK ESTIMATOR ───────────────────────────────────────────────── */
.calc { display: flex; flex-direction: column; gap: 20px; }

.calc-controls { display: flex; flex-direction: column; gap: 20px; }

.calc-field { display: flex; flex-direction: column; gap: 9px; }
.calc-field-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}
.calc-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.4;
  margin: 0;
}
.calc-label span { display: block; font-weight: 400; font-size: 11.5px; color: var(--mid); margin-top: 2px; }
.calc-value {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 21px;
  font-weight: 700;
  color: var(--field);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

/* Range input — styled for both engines */
.calc-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--border);
  outline: none;
  padding: 0;
  border: none;
  margin: 0;
  cursor: pointer;
}
.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--cta);
  border: 3px solid var(--panel);
  box-shadow: 0 1px 5px rgba(0,0,0,0.28);
  cursor: grab;
}
.calc-range::-webkit-slider-thumb:active { cursor: grabbing; }
.calc-range::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--cta);
  border: 3px solid var(--panel);
  box-shadow: 0 1px 5px rgba(0,0,0,0.28);
  cursor: grab;
}
.calc-range:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 4px; }
.calc-scale {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  color: var(--mid);
  font-variant-numeric: tabular-nums;
}

/* Output panel */
.calc-out {
  background: linear-gradient(135deg, var(--field) 0%, var(--field-2) 100%);
  border: 1px solid var(--cta-line);
  border-radius: 8px;
  padding: 24px 22px 20px;
  text-align: center;
}
.calc-out-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cta);
  margin-bottom: 12px;
}
.calc-out-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(34px, 7vw, 54px);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
}
.calc-out-unit {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 10px;
}
.calc-out-second {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.14);
  font-size: 14px;
  color: rgba(255,255,255,0.82);
  line-height: 1.55;
}
.calc-out-second b {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--cta);
  font-variant-numeric: tabular-nums;
}

/* ── PRODUCTION -> INCOME BRIDGE ─────────────────────────────────────────── */
.calc-bridge {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.16);
}
.calc-bridge-lead {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.70);
  max-width: 420px;
  margin: 0 auto 10px;
}
.calc-bridge-lead b { color: var(--cta); font-weight: 700; }
/* This is the climax of the whole page — the figure a doctor screenshots.
   It outsizes the production number above it deliberately. */
.calc-income {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(38px, 8vw, 62px);
  font-weight: 900;
  color: var(--cta);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.calc-income-label {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(17px, 3vw, 22px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  margin-top: 10px;
  line-height: 1.25;
}
.calc-income-sub {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 6px;
}
.calc-compare {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255,255,255,0.18);
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
.calc-compare b {
  color: #fff;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ── ESTIMATOR -> TRAINING BRIDGE ────────────────────────────────────────── */
.calc-next {
  border: 1px solid var(--cta-line);
  background: var(--cta-soft);
  border-radius: 7px;
  padding: 20px 22px;
}
.calc-next-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 9px;
}
.calc-next p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 16px;
}
.calc-next-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--cta);
  color: var(--cta-ink);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: 5px;
  padding: 15px 18px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.calc-next-btn:hover { background: var(--cta-hover); transform: translateY(-1px); }

.calc-fine {
  font-size: 12px;
  line-height: 1.6;
  color: var(--mid);
  background: var(--ground);
  border-left: 3px solid var(--border);
  padding: 13px 16px;
  border-radius: 0 5px 5px 0;
}
.calc-fine strong { color: var(--ink); }

@media (max-width: 560px) {
  .calc-field-top { flex-direction: column; align-items: flex-start; gap: 4px; }
  .ada-strip { grid-template-columns: 1fr; }
}

/* ── ADA PROOF TABLE ─────────────────────────────────────────────────────── */
.proof-intro { font-size: 15px; line-height: 1.72; color: var(--mid); margin-bottom: 20px; }
/* The one element allowed to scroll sideways — it must clamp to its parent,
   so min-width:0 and max-width:100% are both required here. */
.proof-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  min-width: 0;
  max-width: 100%;
}
.proof-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 480px;
}
.proof-table th {
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid);
  padding: 0 12px 10px 0;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}
.proof-table th:not(:first-child),
.proof-table td:not(:first-child) { text-align: right; }
.proof-table td {
  padding: 13px 12px 13px 0;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
  vertical-align: baseline;
}
.proof-table tr:last-child td { border-bottom: none; }
.proof-table .measure { font-weight: 500; padding-right: 20px; }
.proof-table .num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}
.proof-table .delta { font-weight: 700; color: var(--alarm); white-space: nowrap; }
.proof-table .delta.up { color: var(--accent-text); }
.proof-source {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--mid);
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.proof-source a { color: var(--accent-text); font-weight: 600; }

/* ── SCOTT LETTER ────────────────────────────────────────────────────────── */
.letter { font-size: 15.5px; line-height: 1.78; color: var(--ink); }
.letter p + p { margin-top: 15px; }
.letter .salutation { font-weight: 600; }
.letter strong { font-weight: 700; }
.letter .spoiler {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--alarm);
  margin-bottom: 6px;
}
.letter-pull {
  border-left: 3px solid var(--cta);
  background: var(--ground);
  padding: 16px 20px;
  margin: 22px 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 700;
  color: var(--field);
}
.letter-qa { margin: 20px 0; display: flex; flex-direction: column; gap: 11px; }
.letter-qa-item { font-size: 15.5px; line-height: 1.55; color: var(--ink); }
.letter-qa-item .q {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 900;
  color: var(--cta);
  font-size: 17px;
  margin-right: 6px;
}
.letter-sig {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--mid);
}
.letter-sig .sig-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--field);
  display: block;
  margin-bottom: 2px;
}

/* ── TOPIC / OUTCOMES ────────────────────────────────────────────────────── */
.topic-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--field);
  margin-bottom: 14px;
  line-height: 1.3;
}
.topic-body { font-size: 15px; line-height: 1.75; color: var(--mid); }
.topic-body p + p { margin-top: 12px; }
.topic-body strong { color: var(--ink); }

.outcomes { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.outcome-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.55;
}
.outcome-icon {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.outcome-icon svg { color: var(--accent-text); }

/* ── TRANSPARENCY / NO-PITCH LINE ────────────────────────────────────────── */
.transparency {
  margin-top: 24px;
  background: var(--ground);
  border: 1px dashed var(--border);
  border-radius: 6px;
  padding: 18px 20px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--mid);
}
.transparency strong { color: var(--ink); font-weight: 600; }

/* ── WORKSHEET / SCORECARD TEASER ─────────────────────────────────────────
   Light panel, because the Scorecard cover art is itself dark green. A dark
   panel would swallow the product shot, which is the point of the block. */
/* Cream ground with the amber border, and the cover across the full panel —
   the product shot is doing the selling here, so it leads rather than sits
   beside the copy. */
.bonus-teaser {
  background: var(--ground);
  border-radius: 7px;
  padding: 20px 18px 20px;
  margin-bottom: 20px;
  border: 2px solid var(--cta);
  box-shadow: 0 4px 18px rgba(16,41,30,0.10);
}
.bonus-cover {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 18px;
  filter: drop-shadow(4px 7px 14px rgba(16,41,30,0.30));
}
/* Badge and title centred under the cover; body copy and bullets stay
   left-aligned, which is easier to read than centred paragraphs. */
.bonus-info { min-width: 0; text-align: center; }
.bonus-desc, .bonus-list { text-align: left; }
.bonus-download-note { justify-content: center; }
.bonus-badge {
  display: inline-block;
  background: var(--cta);
  color: var(--cta-ink);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
  margin-bottom: 8px;
}
.bonus-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--field);
  line-height: 1.3;
  margin-bottom: 6px;
}
.bonus-desc { font-size: 12.5px; color: var(--mid); line-height: 1.55; }
.bonus-list {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
}
.bonus-list li {
  font-size: 12px;
  color: var(--ink);
  line-height: 1.45;
  padding-left: 14px;
  position: relative;
}
.bonus-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--cta);
}
.bonus-download-note {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--accent-text);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.bonus-section-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 14px;
}

/* ── TESTIMONIALS ────────────────────────────────────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.testimonial {
  background: var(--ground);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 0 6px 6px 0;
  padding: 18px 20px;
}
.testimonial-quote {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink);
  font-style: italic;
  margin-bottom: 14px;
}
.testimonial-quote::before { content: '\201C'; }
.testimonial-quote::after  { content: '\201D'; }
.testimonial-result {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.testimonial-name { font-size: 13px; font-weight: 600; color: var(--field); }
.stars { color: var(--cta); font-size: 12px; letter-spacing: 1px; margin-bottom: 8px; }

/* Typicality note under the testimonial grid. These are client results, and a
   performance figure appears in one of them, so the qualifier belongs next to
   the claims rather than only in the footer disclaimer. */
.testimonial-note {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--mid);
}

/* ── BIO ─────────────────────────────────────────────────────────────────── */
.bio-inner { display: flex; gap: 22px; align-items: flex-start; }
.bio-photo {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
  overflow: hidden;
  border: 3px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--mid);
  text-align: center;
  line-height: 1.4;
}
.bio-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bio-text { flex: 1; }
.bio-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--field);
  margin-bottom: 2px;
}
.bio-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 10px;
}
.bio-copy { font-size: 14px; line-height: 1.65; color: var(--mid); }

/* ── FORM CARD ───────────────────────────────────────────────────────────── */
.form-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  position: sticky;
  top: 24px;
  box-shadow: 0 8px 40px rgba(16,41,30,0.13);
}
.form-card-top { background: var(--field); padding: 24px 28px 20px; text-align: center; }
.spots-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 2px;
  margin-bottom: 12px;
}
/* Static, not pulsing: there is no seat cap, so an urgency animation would
   be implying scarcity the campaign cannot back up. */
.spots-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cta); }

.form-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}
.form-card-sub { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 6px; }
.form-body { padding: 24px 28px 28px; }
.form-group { margin-bottom: 16px; }

label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 6px;
}
select, input[type="text"], input[type="email"], input[type="tel"] {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 5px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px; /* 16px prevents iOS zoom-on-focus */
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
select:focus, input:focus {
  outline: none;
  border-color: var(--accent-text);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
/* Title / First / Last on one line. The title column is sized to "Dr." plus the
   select arrow, so the two name fields keep as much room as possible. */
.form-row-3 { grid-template-columns: 78px 1fr 1fr; gap: 10px; }
.form-row-3 select { padding-left: 10px; padding-right: 24px; background-position: right 8px center; }

.submit-btn {
  width: 100%;
  padding: 17px 16px;
  background: var(--cta);
  color: var(--cta-ink);
  border: none;
  border-radius: 5px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s, transform 0.15s;
  line-height: 1.3;
}
.submit-btn:hover { background: var(--cta-hover); transform: translateY(-1px); }
.submit-btn:active { transform: translateY(0); }
.form-reassure {
  text-align: center;
  font-size: 12px;
  color: var(--mid);
  margin-top: 12px;
  line-height: 1.5;
}
.privacy-note {
  text-align: center;
  font-size: 11.5px;
  color: var(--mid);
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.privacy-note svg { stroke: var(--mid); }

/* ── MEDIA / CREDIBILITY BAR ─────────────────────────────────────────────── */
.media-bar { background: transparent; padding: 36px 24px 20px; text-align: center; }
.media-bar-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 14px;
}
.media-logos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
  align-items: center;
  justify-items: center;
  max-width: 900px;
  margin: 0 auto;
}
.media-logo-img { width: 100%; max-width: 420px; height: auto; }

/* ── DATA DISCLAIMER ─────────────────────────────────────────────────────── */
.disclaimer-wrap { max-width: 900px; margin: 0 auto; padding: 24px; }
.data-disclaimer {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--mid);
  background: rgba(0,0,0,0.025);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 18px 20px;
}
.data-disclaimer strong { color: var(--ink); }
.data-disclaimer a { color: var(--accent-text); font-weight: 600; }
.data-disclaimer em { font-style: italic; }
.data-disclaimer p + p { margin-top: 10px; }

/* ── FOOTER ──────────────────────────────────────────────────────────────── */
.footer {
  text-align: center;
  padding: 30px 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--mid);
}
.footer img { max-width: 220px; height: auto; margin-bottom: 10px; }
.footer a { color: var(--accent-text); }

/* ── MOBILE STICKY CTA ───────────────────────────────────────────────────── */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--field);
  border-top: 2px solid var(--cta);
  padding: 12px 16px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
}
.mobile-sticky-text { flex: 1; min-width: 0; }
.mobile-sticky-title { font-size: 13px; font-weight: 600; color: #fff; line-height: 1.3; }
.mobile-sticky-sub { font-size: 11px; color: rgba(255,255,255,0.55); margin-top: 2px; }
.mobile-sticky-btn {
  flex-shrink: 0;
  background: var(--cta);
  color: var(--cta-ink);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  padding: 13px 18px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}

/* ==========================================================================
   CONFIRMATION PAGE
   ========================================================================== */
/* Same stacking fix as .main — this block also tucks up under the hero. */
.confirm-wrap {
  max-width: 700px;
  margin: -40px auto 0;
  padding: 0 24px 60px;
  position: relative;
  z-index: 1;
}
.confirm-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(16,41,30,0.12);
}
.confirm-card-top { background: var(--field); padding: 36px 28px 32px; text-align: center; }
.confirm-checkmark {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 2px solid var(--accent-line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.confirm-checkmark svg { color: var(--accent); }
.confirm-eyebrow {
  display: inline-block;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 2px;
  margin-bottom: 16px;
}
.confirm-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(19px, 4vw, 28px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 12px;
}
.confirm-title em { color: var(--accent); font-style: normal; }
.confirm-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  max-width: 500px;
  margin: 0 auto;
  font-weight: 300;
}
.confirm-body { padding: 36px 40px; }
.confirm-divider { border: none; border-top: 1px solid var(--border); margin: 28px 0; }

/* Primary download — the immediate deliverable.
   Light panel so the dark-green Scorecard cover reads as a product shot. */
.download-hero {
  background: var(--panel);
  border: 2px solid var(--cta);
  border-radius: 8px;
  padding: 24px 24px 26px;
  margin-bottom: 30px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  box-shadow: 0 6px 24px rgba(16,41,30,0.12);
}
.download-cover {
  flex-shrink: 0;
  width: 150px;
  height: auto;
  display: block;
  filter: drop-shadow(4px 7px 14px rgba(16,41,30,0.34));
}
.download-hero-body { flex: 1; min-width: 0; }
.download-hero-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 10px;
}
.download-hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(21px, 3.6vw, 27px);
  font-weight: 900;
  color: var(--field);
  line-height: 1.22;
  margin-bottom: 9px;
}
.download-hero-sub {
  font-size: 13.5px;
  color: var(--mid);
  line-height: 1.6;
  margin-bottom: 18px;
}
.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--cta);
  color: var(--cta-ink);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  border-radius: 5px;
  padding: 16px 30px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.download-btn:hover { background: var(--cta-hover); transform: translateY(-1px); }
.download-meta { font-size: 11px; color: var(--mid); margin-top: 12px; }

.event-details-box {
  background: var(--ground);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 22px 28px;
  margin-bottom: 22px;
}
.event-details-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 16px;
}
.event-details-list { display: flex; flex-direction: column; gap: 12px; }
.event-detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.event-detail-item svg { color: var(--accent-text); flex-shrink: 0; }

.calendar-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--field);
  color: #fff;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  border-radius: 5px;
  padding: 14px 28px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}
.calendar-btn:hover { background: var(--field-2); transform: translateY(-1px); }
.calendar-btn svg { color: var(--accent); }
.calendar-alt { text-align: center; margin-top: 10px; font-size: 12px; }
.calendar-alt a { color: var(--accent-text); font-weight: 600; text-decoration: none; }

/* SMS */
.sms-section {
  background: var(--ground);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 22px 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.sms-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--field);
  display: flex; align-items: center; justify-content: center;
}
.sms-icon svg { color: var(--accent); }
.sms-content { flex: 1; min-width: 0; }
.sms-heading { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 3px; }
.sms-sub { font-size: 12.5px; color: var(--mid); margin-bottom: 12px; line-height: 1.45; }
.sms-form { display: flex; gap: 10px; }
.sms-input {
  flex: 1; min-width: 0;
  padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: 5px;
  font-family: 'DM Sans', system-ui, sans-serif; font-size: 16px;
  color: var(--ink); background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.sms-input:focus { outline: none; border-color: var(--accent-text); box-shadow: 0 0 0 3px var(--accent-soft); }
.sms-btn {
  flex-shrink: 0; padding: 11px 18px;
  background: var(--field); color: var(--accent);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  border: none; border-radius: 5px; cursor: pointer;
  transition: background 0.2s; white-space: nowrap;
}
.sms-btn:hover { background: var(--field-2); }
.sms-privacy { font-size: 10.5px; color: var(--mid); margin-top: 8px; }
.sms-confirmed {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-text);
}

/* Next steps */
.next-steps-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--field);
  margin-bottom: 18px;
}
.steps-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 8px; }
.step-item { display: flex; align-items: flex-start; gap: 16px; }
.step-num {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--field);
  color: var(--accent);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.step-content { flex: 1; }
.step-heading { font-size: 14.5px; font-weight: 600; color: var(--ink); margin-bottom: 3px; }
.step-desc { font-size: 13.5px; color: var(--mid); line-height: 1.6; }
.step-desc strong { color: var(--ink); }

/* ── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 820px) {
  body { padding-bottom: 92px; }
  .main { grid-template-columns: 1fr; margin-top: 24px; gap: 30px; }
  .left-col { order: 2; }
  .form-card { order: 1; position: static; margin-bottom: 0; }
  .form-row { grid-template-columns: 1fr; }
  /* Title / First / Last stay on one line at every width — restated after the
     single-column rule above, which would otherwise stack them. */
  .form-row-3 { grid-template-columns: 72px 1fr 1fr; gap: 9px; }
  .event-meta { flex-direction: column; gap: 10px; padding: 14px 24px; }
  .bio-inner { flex-direction: column; align-items: center; text-align: center; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .media-logos { grid-template-columns: 1fr; gap: 16px; }
  .media-logo-img { max-width: 320px; }
  .mobile-sticky-cta { display: flex; }
  .topbar { font-size: 0.8rem; }
  .hero-eyebrow { font-size: 0.62rem; letter-spacing: 0.14em; }
  .confirm-body { padding: 28px 22px; }
  .hero { padding-bottom: 64px; }
}

@media (max-width: 560px) {
  .card-body { padding: 22px 18px; }
  .card-header { padding: 16px 18px 14px; }
  .form-body { padding: 20px 18px 24px; }
  .form-card-top { padding: 20px 18px 18px; }
  .coi { padding: 24px 18px 22px; }
  .coi-figures { gap: 4px; }
  .coi-fig { padding: 6px 2px; }
  /* .bonus-teaser is already stacked at every width — nothing to change here. */
  .download-hero { flex-direction: column; align-items: center; text-align: center; gap: 18px; }
  .download-cover { width: 140px; }
  .download-hero-sub { max-width: 420px; margin-left: auto; margin-right: auto; }
  .sms-section { flex-direction: column; gap: 14px; }
  .sms-form { flex-direction: column; }
  .sms-btn { width: 100%; }
  .event-details-box { padding: 18px 18px; }
  .letter-pull { font-size: 16px; padding: 14px 16px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.55rem; }
  .hero-sub { font-size: 15.5px; }
  .topic-headline { font-size: 1.25rem; }
  .letter, .letter-qa-item { font-size: 15px; }
  .topbar { font-size: 0.68rem; letter-spacing: 0.08em; }
  .countdown-num { font-size: 20px; min-width: 42px; }
  .countdown-unit { min-width: 42px; }
  .coi-num { font-size: 1.35rem; }
  .coi-unit { font-size: 9px; letter-spacing: 0.1em; }
  /* Keep the submit label on one line at phone width */
  .submit-btn { font-size: 13.5px; letter-spacing: 0; padding: 16px 10px; }
  .form-row-3 { grid-template-columns: 66px 1fr 1fr; gap: 8px; }
  .form-row-3 label { font-size: 10.5px; letter-spacing: 0.04em; }
}

/* ── REDUCED MOTION ──────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}

/* Zoom link shown in the confirmation page's event details */
.event-detail-item a {
  color: var(--accent-text);
  font-weight: 600;
  text-decoration: none;
  word-break: break-word;
}
.event-detail-item a:hover { text-decoration: underline; }
