:root {
  --navy: #061827;
  --navy-2: #0b263b;
  --gold: #f6b935;
  --gold-dark: #d28b16;
  --green: #2db84d;
  --text: #142033;
  --muted: #5e6978;
  --cream: #fbf3e3;
  --soft: #f6f7f8;
  --white: #ffffff;
  --red: #d44835;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: white;
  line-height: 1.45;
}

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

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.hero {
  background:
    radial-gradient(circle at 70% 25%, rgba(246,185,53,.18), transparent 28%),
    linear-gradient(135deg, #04101c, #092239 56%, #061827);
  color: white;
  overflow: hidden;
}

.nav {
  min-height: 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 900;
  letter-spacing: .02em;
  line-height: .95;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: 28px;
}

.nav-cta {
  color: white;
  border: 1px solid rgba(246,185,53,.55);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 800;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: center;
  padding: 58px 0 70px;
}

.eyebrow {
  color: var(--gold);
  font-size: .88rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 900;
  margin-bottom: 18px;
}

h1, h2, h3 { line-height: 1.05; margin: 0 0 18px; letter-spacing: -0.045em; }

h1 {
  font-size: clamp(2.6rem, 6vw, 5.25rem);
  max-width: 720px;
}

h1 span, .gold { color: var(--gold); }

h2 { font-size: clamp(2rem, 3.3vw, 3.05rem); }

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  color: rgba(255,255,255,.84);
  max-width: 690px;
  margin-bottom: 24px;
}

.trust-line {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0;
}

.trust-icon {
  width: 46px;
  height: 46px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.primary-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  background: linear-gradient(180deg, #37ca58, #22a341);
  color: white;
  padding: 20px 32px;
  border-radius: 10px;
  font-weight: 950;
  font-size: 1.2rem;
  box-shadow: 0 12px 25px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .2s ease, box-shadow .2s ease;
}

.primary-button:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(0,0,0,.28); }

.micro {
  margin: 12px 0 22px;
  color: rgba(255,255,255,.78);
  font-size: .95rem;
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px 18px;
  max-width: 1000px;
  margin: 36px auto 0;
  grid-column: 1 / -1;
  justify-self: stretch;
  text-align: center;
  font-weight: 800;
  color: rgba(255,255,255,.9);
  font-size: .9rem;
  line-height: 1.25;
}

.hero-badges > div {
  min-width: 0;
}

.hero-badges span {
  display: block;
  color: var(--gold);
  font-size: 1.95rem;
  line-height: 1;
  margin-bottom: 8px;
}

.hero-art {
  position: relative;
  min-height: 720px;
  display: grid;
  place-items: center;
  padding: 130px 0 70px;
}

/* Composite hero mockup: book cover + iPad + iPhone, all transparent so the page gradient shows through */
.hero-mockup {
  position: relative;
  width: min(100%, 640px);
  aspect-ratio: 1.18 / 1;
  display: block;
  isolation: isolate;
}
.hero-mockup::before {
  content: "";
  position: absolute;
  inset: -14% -10%;
  background:
    radial-gradient(ellipse at 35% 55%, rgba(246,185,53,.32) 0%, rgba(246,185,53,.10) 35%, transparent 65%),
    radial-gradient(ellipse at 70% 50%, rgba(255,210,120,.20) 0%, transparent 60%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
}
.mockup-book, .mockup-ipad, .mockup-iphone { z-index: 1; }
.mockup-iphone { z-index: 3; }

.mockup-book {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-52%) rotate(-2deg);
  width: 46%;
  border-radius: 4px 8px 8px 4px;
  box-shadow:
    0 30px 50px rgba(0,0,0,.45),
    inset -2px 0 6px rgba(0,0,0,.2);
  overflow: hidden;
  background: #061827;
}
.mockup-book::before {
  /* book spine highlight */
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 6%;
  background: linear-gradient(to right, rgba(0,0,0,.5), rgba(255,255,255,.05) 40%, rgba(0,0,0,.35));
  pointer-events: none;
  z-index: 2;
}
.mockup-book img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mockup-ipad {
  position: absolute;
  right: 0;
  top: 4%;
  width: 56%;
  aspect-ratio: 0.78 / 1;
  background: #1a1a1a;
  border-radius: 22px;
  padding: 12px;
  box-shadow: 0 28px 48px rgba(0,0,0,.5);
}
.mockup-ipad .mockup-screen {
  width: 100%;
  height: 100%;
  background: #fefdf9;
  border-radius: 12px;
  padding: 18px 18px 14px;
  color: #142033;
  overflow: hidden;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.mockup-iphone {
  position: absolute;
  right: -3%;
  bottom: -2%;
  width: 26%;
  aspect-ratio: 0.50 / 1;
  background: #0d0d0d;
  border-radius: 26px;
  padding: 8px;
  box-shadow: 0 24px 38px rgba(0,0,0,.55);
  z-index: 3;
}
.mockup-iphone .mockup-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 28%;
  height: 5%;
  background: #0d0d0d;
  border-radius: 999px;
  z-index: 2;
}
.mockup-iphone .mockup-screen {
  width: 100%;
  height: 100%;
  background: #fefdf9;
  border-radius: 18px;
  padding: 22px 12px 14px;
  color: #142033;
  overflow: hidden;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.mock-chapter {
  font-size: .68rem;
  text-transform: uppercase;
  color: #8a8170;
  margin: 0 0 4px;
  letter-spacing: .08em;
  font-weight: 700;
}
.mock-title {
  font-size: 1.15rem;
  font-weight: 900;
  margin: 0 0 12px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #142033;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}
.mockup-iphone .mock-title { font-size: .82rem; }

.mock-lines {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.mock-lines span {
  display: block;
  height: 4px;
  background: #d8d3c5;
  border-radius: 4px;
  width: 100%;
}
.mock-lines span:nth-child(2) { width: 92%; }
.mock-lines span:nth-child(3) { width: 96%; }
.mock-lines span:nth-child(4) { width: 86%; }
.mock-lines span:nth-child(5) { width: 90%; }
.mock-lines span:nth-child(6) { width: 78%; }

.mock-lines.small { gap: 5px; }
.mock-lines.small span { height: 3px; }
.mock-lines.small span:nth-child(2) { width: 88%; }
.mock-lines.small span:nth-child(3) { width: 70%; }

.timer-card {
  position: absolute;
  top: 12px;
  right: 0;
  z-index: 5;
  border: 1px solid var(--gold);
  border-radius: 10px;
  padding: 16px 20px;
  background: rgba(2,11,19,.78);
  backdrop-filter: blur(8px);
  box-shadow: 0 14px 28px rgba(0,0,0,.35);
}

.timer-card p {
  text-align: center;
  margin: 0 0 10px;
  font-weight: 900;
  text-transform: uppercase;
  font-size: .82rem;
}

.timer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 14px;
  text-align: center;
}

.timer strong { font-size: 2rem; }
.timer span { color: var(--gold); font-size: .75rem; font-weight: 800; }

.stars {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 900;
  display: flex;
  gap: 14px;
  align-items: center;
}

.stars span {
  color: white;
  font-size: .92rem;
  max-width: 240px;
  line-height: 1.2;
}

.section { padding: 68px 0; }
.white { background: white; }
.cream { background: linear-gradient(90deg, #fff7e7, #fffdf8); }
.soft { background: #f7f7f7; }

.split {
  display: grid;
  grid-template-columns: .8fr 1.25fr;
  gap: 56px;
  align-items: center;
}

.image-card img {
  border-radius: 30px;
  box-shadow: 0 20px 45px rgba(28,36,42,.12);
}

.oval img { border-radius: 50%; aspect-ratio: 1.1 / .85; object-fit: cover; }

.step {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--navy);
  color: white;
  display: inline-grid;
  place-items: center;
  font-weight: 950;
  margin-bottom: 14px;
}
.step.light { background: white; color: var(--navy); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.divider-copy {
  border-left: 2px solid #d7dce2;
  padding-left: 34px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}

.check-list li {
  padding-left: 32px;
  margin: 12px 0;
  position: relative;
}

.check-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -2px;
  color: var(--gold-dark);
  font-size: 1.25rem;
  font-weight: 950;
}

.compact li { margin: 6px 0; }

.identity-grid {
  display: grid;
  grid-template-columns: 1.1fr .8fr 1fr;
  gap: 54px;
  align-items: center;
}

.shield {
  width: 310px;
  justify-self: center;
  filter: drop-shadow(0 18px 25px rgba(167,115,22,.18));
}

.big-callout {
  border-left: 2px solid #d8d8d8;
  padding-left: 46px;
}

.big-callout h3 { font-size: clamp(1.8rem, 3vw, 3rem); }

.sub { color: var(--muted); font-weight: 700; }

.pill-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.pill, .path-card {
  background: white;
  border: 1px solid #e3e8ee;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 22px rgba(19,31,45,.05);
  font-weight: 800;
}

.pill span {
  display: block;
  width: 46px;
  height: 46px;
  background: var(--navy);
  color: white;
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.path-card { background: #eaf4ff; }

.dark-section {
  background: linear-gradient(135deg, #061827, #08253b);
  color: white;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 32px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 20px;
  overflow: hidden;
}

.feature-grid div {
  padding: 34px 24px;
  text-align: center;
  font-weight: 850;
  border-right: 1px solid rgba(255,255,255,.2);
}

.feature-grid div:last-child { border-right: 0; }
.feature-grid span {
  color: var(--gold);
  font-size: 2.5rem;
  display: block;
  margin-bottom: 14px;
}
.feature-grid small { color: rgba(255,255,255,.75); }

.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.urgency-card, .difference-card {
  border: 1px solid #e7e9ec;
  border-radius: 24px;
  padding: 34px;
  box-shadow: 0 16px 35px rgba(16,27,40,.07);
  background: white;
}

.urgency-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 26px;
}
.urgency-card img { width: 150px; }

blockquote {
  margin: 20px 0;
  padding: 16px 20px;
  background: #fff0c7;
  border-left: 6px solid var(--gold);
  border-radius: 10px;
  font-weight: 900;
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 18px;
}
.compare > div:last-child {
  border-left: 1px solid #d7dde5;
  padding-left: 24px;
}
.red { color: var(--red); }
.green { color: #239647; }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 30px;
}

.testimonial {
  background: white;
  border: 1px solid #e8ebef;
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 16px 35px rgba(16,27,40,.06);
}

.testimonial img {
  width: 112px;
  height: 112px;
  object-fit: cover;
  border-radius: 999px;
  margin-bottom: 16px;
}

.rating { color: var(--gold); font-weight: 950; letter-spacing: 2px; }

.center-note {
  text-align: center;
  margin-top: 24px;
  color: var(--muted);
}

.final-cta {
  color: white;
  background: linear-gradient(135deg, #04101c, #092239 70%, #061827);
  padding: 54px 0;
}

.final-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: center;
  gap: 40px;
}

.final-badges {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: rgba(255,255,255,.82);
  margin-top: 22px;
}

.purchase-box {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(246,185,53,.28);
  border-radius: 24px;
  padding: 30px;
  text-align: center;
}

.price {
  font-size: 4rem;
  font-weight: 950;
  margin: 0 0 12px;
  color: var(--gold);
}

.purchase-box .primary-button { width: 100%; }
.purchase-box small { display: block; margin-top: 14px; color: rgba(255,255,255,.75); }

@media (max-width: 980px) {
  .hero-grid, .split, .identity-grid, .card-grid, .final-grid {
    grid-template-columns: 1fr;
  }
  .hero-badges {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 640px;
    margin: 26px auto 0;
    font-size: .9rem;
  }
  .hero-badges span { font-size: 1.85rem; }
  .hero-art { min-height: auto; padding-top: 20px; }
  .timer-card, .stars { position: static; transform: none; margin: 16px auto; width: auto; }
  .two-col, .pill-grid, .feature-grid, .testimonial-grid, .compare {
    grid-template-columns: 1fr;
  }
  .feature-grid div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .feature-grid div:last-child { border-bottom: 0; }
  .big-callout, .divider-copy, .compare > div:last-child {
    border-left: 0;
    padding-left: 0;
  }
  .urgency-card { grid-template-columns: 1fr; }
  .urgency-card img { width: 120px; }

  /* Mobile centering for image elements that get orphaned when grids collapse to single column */
  .image-card,
  .image-card img,
  .testimonial img,
  .urgency-card img,
  .difference-card img,
  .shield {
    margin-left: auto !important;
    margin-right: auto !important;
    display: block;
  }
  /* Center the testimonial card text on mobile (photo + name look right centered when stacked) */
  .testimonial {
    text-align: center;
  }
  /* Look-Inside section animated GIF — belt-and-suspenders centering on mobile */
  #look-inside .li-flip {
    text-align: center;
  }
  #look-inside .li-flip img {
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1180px); }
  .nav-cta { display: none; }
  .hero-grid { padding: 34px 0 42px; }
  .primary-button { width: 100%; padding: 18px 18px; font-size: 1rem; }
  .section { padding: 46px 0; }
  h1 { font-size: 2.55rem; }
  h2 { font-size: 2rem; }

  /* Tighter hero column on mobile */
  .hero-art {
    min-height: 0;
    padding: 60px 0 30px;
  }

  /* Compact badge grid: icon-left, text-right, 2 columns, centered */
  .hero-badges {
    grid-template-columns: repeat(2, auto);
    gap: 14px 22px;
    max-width: 380px;
    margin: 28px auto 28px;
    justify-content: center;
    text-align: left;
    font-size: .82rem;
    line-height: 1.2;
  }
  .hero-badges > div {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 158px;
  }
  .hero-badges span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
    border-radius: 999px;
    background: rgba(246,185,53,.14);
    border: 1px solid rgba(246,185,53,.35);
    flex-shrink: 0;
  }
}

/* === Step 10: Blog preview cards === */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 30px;
}

.article-card {
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid #e7e9ec;
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 16px 35px rgba(16,27,40,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 42px rgba(16,27,40,.12);
}

.article-image {
  position: relative;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 18px;
  overflow: hidden;
}
/* Article card backdrops, themed by category */
.article-image.tag-default {
  background:
    radial-gradient(circle at 80% 20%, rgba(246,185,53,.32), transparent 50%),
    linear-gradient(135deg, #04101c, #0b2840 70%, #061827);
}
.article-image.tag-security {
  background:
    radial-gradient(circle at 75% 30%, rgba(246,185,53,.32), transparent 55%),
    linear-gradient(135deg, #04101c, #11283f 70%, #051522);
}
.article-image.tag-howto {
  background:
    radial-gradient(circle at 25% 30%, rgba(45,184,77,.30), transparent 55%),
    linear-gradient(135deg, #0b2840, #06182f 60%, #04101c);
}
.article-image.tag-invest {
  background:
    radial-gradient(circle at 70% 25%, rgba(74,158,255,.28), transparent 55%),
    linear-gradient(135deg, #061a32, #0b2a4d 65%, #04101c);
}
.article-image.tag-inflation {
  background:
    radial-gradient(circle at 70% 30%, rgba(246,185,53,.42), transparent 50%),
    linear-gradient(135deg, #2a1a08, #4a2e10 50%, #1a0f04);
}
.article-image.tag-tech {
  background:
    radial-gradient(circle at 30% 30%, rgba(168,124,255,.28), transparent 55%),
    linear-gradient(135deg, #0e0a28, #1f1840 65%, #08051a);
}
.article-image.tag-taxes {
  background:
    radial-gradient(circle at 70% 25%, rgba(45,184,170,.30), transparent 55%),
    linear-gradient(135deg, #04201f, #0a3a36 65%, #04141a);
}
.article-image.tag-warning {
  background:
    radial-gradient(circle at 30% 25%, rgba(212,72,53,.30), transparent 55%),
    linear-gradient(135deg, #2a0a08, #4a1610 60%, #1a0604);
}

.article-tag {
  display: inline-block;
  background: rgba(246,185,53,.92);
  color: var(--navy);
  font-size: .7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: 7px 12px;
  border-radius: 999px;
}

.article-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.article-body h3 {
  font-size: 1.18rem;
  margin: 0 0 12px;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.article-body p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.55;
  flex: 1;
}

.article-link {
  font-weight: 900;
  color: var(--gold-dark);
  font-size: .92rem;
  letter-spacing: .02em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.article-card:hover .arrow {
  transform: translateX(4px);
}
.arrow {
  transition: transform .2s ease;
  display: inline-block;
}

.browse-all {
  color: var(--gold-dark);
  font-weight: 900;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 980px) {
  .article-grid { grid-template-columns: 1fr; }
}


/* Shield watermark on the device screens */
.mockup-ipad .mockup-screen,
.mockup-iphone .mockup-screen {
  position: relative;
}
.mockup-shield {
  position: absolute;
  left: 50%;
  bottom: 8%;
  transform: translateX(-50%);
  width: 58%;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.18));
}
.mockup-shield.small {
  width: 70%;
  bottom: 14%;
}

/* === Lead-magnet popup === */
#lead-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 8, 16, .78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .28s ease;
  padding: 20px;
}
#lead-popup-overlay.visible {
  opacity: 1;
}

#lead-popup {
  position: relative;
  width: min(100%, 460px);
  background: linear-gradient(160deg, #0d2a44, #04101c 70%);
  border: 1px solid rgba(246, 185, 53, .55);
  border-radius: 18px;
  padding: 36px 30px 28px;
  color: white;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .55), 0 0 0 1px rgba(246,185,53,.1) inset;
  transform: translateY(12px) scale(.98);
  opacity: 0;
  transition: transform .28s ease, opacity .28s ease;
}
#lead-popup-overlay.visible #lead-popup {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.lead-popup-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, .55);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 6px 10px;
  transition: color .15s ease;
}
.lead-popup-close:hover { color: white; }

.lead-popup-eyebrow {
  display: inline-block;
  background: rgba(246, 185, 53, .14);
  color: var(--gold);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  border: 1px solid rgba(246, 185, 53, .3);
}

#lead-popup h3 {
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 10px;
  color: white;
}

.lead-popup-sub {
  font-size: .98rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, .82);
  margin: 0 0 16px;
}
.lead-popup-sub strong { color: var(--gold); }

.lead-popup-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}
.lead-popup-benefits li {
  position: relative;
  padding: 8px 0 8px 30px;
  color: rgba(255, 255, 255, .92);
  font-size: .92rem;
  line-height: 1.4;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.lead-popup-benefits li:last-child { border-bottom: 0; }
.lead-popup-benefits li::before {
  content: "✓";
  position: absolute;
  left: 4px;
  top: 8px;
  color: var(--gold);
  font-weight: 900;
  font-size: 1.1rem;
}

#lead-popup-form input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  font-family: inherit;
  border: 1.5px solid rgba(255, 255, 255, .15);
  border-radius: 10px;
  background: rgba(0, 0, 0, .35);
  color: white;
  outline: none;
  margin-bottom: 12px;
  transition: border-color .15s ease, box-shadow .15s ease;
  box-sizing: border-box;
}
#lead-popup-form input[type="email"]::placeholder { color: rgba(255, 255, 255, .35); }
#lead-popup-form input[type="email"]:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(246, 185, 53, .18);
}

#lead-popup-submit {
  display: block;
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
  font-weight: 950;
  font-family: inherit;
  letter-spacing: .02em;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  background: linear-gradient(180deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  box-shadow: 0 12px 22px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
#lead-popup-submit:hover { transform: translateY(-1px); box-shadow: 0 16px 28px rgba(0,0,0,.42); }
#lead-popup-submit:disabled { opacity: .7; cursor: progress; }

.lead-popup-fineprint {
  margin: 14px 0 0;
  font-size: .76rem;
  color: rgba(255, 255, 255, .55);
  text-align: center;
}

#lead-popup-success { text-align: center; padding: 14px 0 6px; }
.lead-popup-success-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  background: rgba(45, 184, 77, .18);
  border: 1.5px solid var(--green);
  border-radius: 50%;
  font-size: 1.7rem;
  color: var(--green);
  font-weight: 900;
}
#lead-popup-success h4 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  color: white;
}
#lead-popup-success p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: .92rem;
  line-height: 1.5;
}

@media (max-width: 480px) {
  #lead-popup { padding: 28px 22px 22px; }
  #lead-popup h3 { font-size: 1.35rem; }
  .lead-popup-benefits li { font-size: .86rem; }
}

/* === Sticky mobile CTA === */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 12px;
  left: 12px;
  right: 12px;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, #37ca58, #22a341);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 900;
  padding: 14px 18px;
  border-radius: 12px;
  text-decoration: none;
  letter-spacing: 0.2px;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow:
    0 12px 30px rgba(34, 163, 65, 0.42),
    0 2px 8px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,.25);
  z-index: 9990;
  transition: transform .25s ease, opacity .25s ease;
  transform: translateY(120%);
  opacity: 0;
}
.sticky-cta.visible {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}
.sticky-cta-price {
  font-size: 1.05rem;
  font-weight: 950;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.sticky-cta:active { transform: translateY(2px); }

@media (min-width: 701px) {
  .sticky-cta { display: none !important; }
}

/* === Step 5: Table of Contents === */
.toc-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 50px;
  margin: 22px 0 6px;
}
.toc-section { min-width: 0; }
.toc-section-label {
  display: block;
  color: var(--gold);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(246, 185, 53, 0.30);
}
.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: chapter;
}
.toc-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  font-size: .98rem;
  line-height: 1.4;
}
.toc-list li:last-child { border-bottom: 0; }
.toc-num {
  flex: 0 0 28px;
  color: var(--gold);
  font-weight: 900;
  font-size: .92rem;
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
  padding-top: 1px;
}
.toc-title { flex: 1; }
.toc-title small {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.65);
  font-size: .82rem;
  font-weight: 500;
  line-height: 1.45;
}
.toc-emphasis {
  background: rgba(246,185,53,.08);
  border: 1px solid rgba(246,185,53,.25);
  border-radius: 10px;
  padding: 14px 16px !important;
  margin: 4px 0;
}
.toc-emphasis .toc-num { color: var(--gold); font-size: 1.05rem; }
.toc-emphasis .toc-title { font-weight: 800; }
.toc-list-bonus li { padding: 7px 0; }
.toc-list-bonus .toc-num {
  color: var(--gold);
  font-size: 1.1rem;
}

@media (max-width: 980px) {
  .toc-block { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 640px) {
  .toc-list li { font-size: .92rem; }
  .toc-num { flex-basis: 24px; font-size: .85rem; }
}
