@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap");

:root {
  --forest: #083f3b;
  --forest-2: #0d5f57;
  --mint: #d8eee5;
  --cream: #f7f1e5;
  --paper: #fffdf8;
  --orange: #de6b32;
  --gold: #efb84d;
  --ink: #172522;
  --muted: #63716d;
  --line: rgba(8, 63, 59, 0.16);
  --shadow: 0 28px 70px rgba(13, 49, 45, 0.17);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: "DM Sans", sans-serif; }
.lead-page { overflow-x: hidden; }
a { color: inherit; }
button, input { font: inherit; }

.funnel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 36px));
  min-height: 80px;
  margin: 0 auto;
}
.funnel-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--forest); text-decoration: none; }
.funnel-brand strong, .funnel-brand small { display: block; line-height: 1.05; }
.funnel-brand small { margin-top: 4px; color: var(--muted); font-size: 12px; }
.funnel-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px 4px 12px 4px; background: var(--forest); color: white; font-weight: 800; }
.header-note { border: 1px solid var(--line); border-radius: 999px; padding: 8px 13px; color: var(--forest); font-size: 12px; font-weight: 700; }

.lead-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(520px, 1.2fr);
  gap: clamp(38px, 6vw, 90px);
  width: min(1180px, calc(100% - 36px));
  margin: 22px auto 0;
  padding: clamp(44px, 7vw, 88px) 0 92px;
}
.lead-hero::before { content: ""; position: absolute; z-index: -1; top: 1%; left: -18vw; width: 48vw; height: 48vw; border: 1px solid rgba(8,63,59,.08); border-radius: 50%; box-shadow: inset 0 0 0 5vw rgba(255,255,255,.18); }
.lead-copy { align-self: center; }
.kicker { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; color: var(--orange); font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.kicker span { width: 26px; height: 2px; background: currentColor; }
h1, h2, legend { font-family: "Fraunces", Georgia, serif; }
h1 { max-width: 600px; margin: 0; color: var(--forest); font-size: clamp(50px, 6.3vw, 82px); line-height: .96; letter-spacing: -.045em; }
h1 em { color: var(--orange); font-style: italic; }
.lead-subhead { max-width: 570px; margin: 22px 0 0; color: #394c48; font-size: clamp(18px, 2vw, 22px); line-height: 1.55; }
.benefit-list { display: grid; gap: 10px; margin-top: 30px; }
.benefit-list span { display: flex; align-items: center; gap: 13px; font-weight: 700; }
.benefit-list b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--mint); color: var(--forest); font-size: 11px; }
.trust-note { display: grid; gap: 3px; margin-top: 30px; border-left: 3px solid var(--gold); padding-left: 14px; }
.trust-note span { color: var(--muted); font-size: 14px; }

.offer-stage { position: relative; display: grid; align-items: center; min-height: 630px; }
.book-wrap { position: absolute; z-index: 0; top: -12px; right: -5px; width: 220px; transform: rotate(5deg); }
.book-wrap img { position: relative; display: block; width: 100%; border-radius: 4px 11px 11px 4px; box-shadow: 12px 18px 35px rgba(8,63,59,.28); }
.book-shadow { position: absolute; inset: 14px -9px -10px 14px; border-radius: 6px; background: #c9c0ad; transform: rotate(-1deg); }
.page-count { position: absolute; right: -22px; bottom: 20px; display: grid; place-items: center; width: 78px; height: 78px; border-radius: 50%; background: var(--gold); color: var(--forest); font-size: 11px; font-weight: 800; line-height: 1.25; text-align: center; transform: rotate(-8deg); box-shadow: 0 8px 22px rgba(8,63,59,.18); }

.quiz-card { position: relative; z-index: 1; width: min(100%, 620px); margin: 105px 80px 0 0; border: 1px solid rgba(8,63,59,.12); border-radius: 4px 28px 4px 28px; padding: clamp(24px, 4vw, 42px); background: rgba(255,253,248,.96); box-shadow: var(--shadow); }
.progress-row { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; color: var(--muted); font-size: 12px; font-weight: 700; }
.progress-track { flex: 1; height: 5px; border-radius: 99px; overflow: hidden; background: #e4e8e3; }
.progress-track i { display: block; width: 50%; height: 100%; background: var(--orange); transition: width .3s ease; }
.form-step { display: none; min-width: 0; margin: 0; padding: 0; border: 0; }
.form-step.is-active { display: block; animation: reveal .35s ease both; }
legend { width: 100%; padding: 0; color: var(--forest); font-size: clamp(29px, 4vw, 39px); font-weight: 700; line-height: 1.05; }
.form-intro { margin: 10px 0 25px; color: var(--muted); line-height: 1.5; }
.question-block { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; margin-top: 21px; }
.question-number { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--forest); color: white; font-size: 11px; font-weight: 800; }
.question-title { margin: 2px 0 10px; font-weight: 700; }
.choice-grid { display: grid; gap: 8px; }
.choice-grid.three-up { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice-grid.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice-grid label { cursor: pointer; }
.choice-grid input { position: absolute; opacity: 0; pointer-events: none; }
.choice-grid span { display: grid; place-items: center; min-height: 44px; border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; background: white; color: #3b4c48; font-size: 12px; font-weight: 700; text-align: center; transition: .18s ease; }
.choice-grid label:hover span { border-color: var(--forest-2); transform: translateY(-1px); }
.choice-grid input:checked + span { border-color: var(--forest); background: var(--forest); color: white; box-shadow: 0 5px 13px rgba(8,63,59,.16); }
.choice-grid input:focus-visible + span { outline: 3px solid rgba(222,107,50,.3); }
.primary-action { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; border: 0; border-radius: 4px 14px 4px 14px; padding: 13px 20px; background: var(--orange); color: white; font-weight: 800; text-decoration: none; cursor: pointer; box-shadow: 0 10px 24px rgba(222,107,50,.22); }
.form-step > .primary-action { width: 100%; margin-top: 22px; }
.primary-action:hover { background: #c95b27; transform: translateY(-1px); }
.primary-action:disabled { opacity: .65; cursor: wait; transform: none; }
.form-error { min-height: 19px; margin: 12px 0 0; color: #a42e25; font-size: 13px; font-weight: 700; }

.contact-grid { display: grid; gap: 14px; }
.contact-grid label { display: grid; gap: 7px; color: #394c48; font-size: 13px; font-weight: 700; }
.contact-grid input { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 9px; padding: 11px 13px; background: white; color: var(--ink); outline: none; }
.contact-grid input:focus { border-color: var(--forest-2); box-shadow: 0 0 0 3px rgba(13,95,87,.13); }
.consent-row { display: grid; grid-template-columns: 18px 1fr; gap: 10px; margin-top: 16px; color: #465652; font-size: 12px; line-height: 1.45; }
.consent-row input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--forest); }
.optional-consent { margin-top: 10px; }
.privacy-copy { margin: 13px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.privacy-copy a { color: var(--forest); font-weight: 700; }
.form-actions { display: grid; grid-template-columns: 100px 1fr; gap: 10px; margin-top: 18px; }
.back-action { border: 1px solid var(--line); border-radius: 9px; background: transparent; color: var(--forest); font-weight: 700; cursor: pointer; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.success-panel { text-align: center; animation: reveal .4s ease both; }
.success-check { display: grid; place-items: center; width: 52px; height: 52px; margin: 4px auto 16px; border-radius: 50%; background: var(--mint); color: var(--forest); font-size: 25px; font-weight: 800; }
.success-panel .kicker { justify-content: center; }
.success-panel h2 { margin: 0; color: var(--forest); font-size: clamp(32px, 4vw, 43px); line-height: 1.05; }
.success-panel p:not(.kicker) { color: var(--muted); line-height: 1.55; }
.success-panel .primary-action { width: 100%; margin-top: 18px; }
.text-action { display: inline-block; margin-top: 16px; color: var(--forest); font-size: 13px; font-weight: 800; }
.disqualified-panel { text-align: center; animation: reveal .4s ease both; }
.fit-status { display: inline-flex; border-radius: 999px; padding: 7px 12px; background: #fff1d6; color: #84500d; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.disqualified-panel h2 { margin: 16px 0 0; color: var(--forest); font-family: "Fraunces", Georgia, serif; font-size: clamp(32px, 4vw, 43px); line-height: 1.05; }
.disqualified-panel > p { color: var(--muted); line-height: 1.55; }
.ready-check { display: grid; gap: 9px; margin: 22px 0 4px; border: 1px solid var(--line); border-radius: 12px; padding: 17px; background: #f7faf5; text-align: left; }
.ready-check strong { color: var(--forest); }
.ready-check span { position: relative; padding-left: 22px; color: #465652; font-size: 13px; line-height: 1.4; }
.ready-check span::before { content: ""; position: absolute; top: 5px; left: 2px; width: 8px; height: 8px; border: 2px solid var(--forest-2); border-radius: 50%; }
.disqualified-panel .primary-action { width: 100%; margin-top: 18px; }
.button-link { border: 0; padding: 4px; background: transparent; cursor: pointer; }

.inside-strip { padding: 80px max(18px, calc((100vw - 1180px) / 2)); background: var(--forest); color: white; }
.inside-strip .kicker { color: var(--gold); }
.inside-strip h2 { max-width: 800px; margin: 0; font-size: clamp(34px, 4vw, 55px); line-height: 1.04; }
.error-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.error-tags span { border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 10px 14px; color: #e8f3ee; font-size: 13px; }
.how-it-works { display: grid; grid-template-columns: .75fr 1.25fr; gap: 60px; width: min(1180px, calc(100% - 36px)); margin: 0 auto; padding: 88px 0; }
.how-it-works h2 { margin: 0; color: var(--forest); font-size: clamp(35px, 4vw, 52px); line-height: 1.05; }
.how-it-works ol { display: grid; gap: 1px; margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.how-it-works li { display: grid; grid-template-columns: 120px 1fr; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.how-it-works b { color: var(--forest); font-family: "Fraunces", serif; font-size: 26px; }
.how-it-works span { color: var(--muted); line-height: 1.55; }
.funnel-footer { padding: 28px 18px 36px; background: #062f2c; color: #b8cec8; text-align: center; }
.funnel-footer p { max-width: 900px; margin: 8px auto; font-size: 11px; line-height: 1.55; }
.funnel-footer a { margin: 0 7px; color: white; }

@keyframes reveal { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
@media (max-width: 980px) {
  .lead-hero { grid-template-columns: 1fr; gap: 38px; }
  .lead-copy { text-align: center; }
  .lead-copy .kicker { justify-content: center; }
  .lead-subhead { margin-inline: auto; }
  .benefit-list { width: fit-content; margin-inline: auto; text-align: left; }
  .trust-note { width: fit-content; margin-inline: auto; text-align: left; }
  .offer-stage { min-height: 700px; }
  .quiz-card { margin: 110px auto 0; }
  .book-wrap { right: 4%; }
}
@media (max-width: 640px) {
  .funnel-header { min-height: 68px; }
  .header-note { display: none; }
  .lead-hero { width: min(100% - 24px, 1180px); margin-top: 0; padding-top: 40px; }
  h1 { font-size: clamp(46px, 14vw, 64px); }
  .lead-subhead { font-size: 17px; }
  .offer-stage { min-height: 0; display: block; }
  .book-wrap { position: relative; top: 0; right: auto; width: 150px; margin: 0 auto -68px; transform: rotate(4deg); }
  .page-count { right: -34px; width: 66px; height: 66px; }
  .quiz-card { width: 100%; margin: 0; padding: 26px 18px 24px; border-radius: 3px 22px 3px 22px; }
  .progress-row { padding-top: 55px; }
  .choice-grid.three-up, .choice-grid.two-up { grid-template-columns: 1fr; }
  .choice-grid span { min-height: 43px; }
  .question-block { margin-top: 18px; }
  .inside-strip { padding-block: 65px; }
  .how-it-works { grid-template-columns: 1fr; gap: 24px; padding: 65px 0; }
  .how-it-works li { grid-template-columns: 86px 1fr; }
}
