/* ============================================================
   STYLESHEET: Donovan Choo landing page
   Values copied from the agency funnel for now.
   Every colour and font used anywhere in this file is a variable
   below, so each one is a one-line swap.
   ============================================================ */

/* Font: swap this line and --font-body together to change it */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;700;800&display=swap");

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f7f7f4;      /* cards, form panel */
  --color-text: #0b0b0f;
  --color-text-muted: #555555;
  --color-accent: #baff3a;      /* brand green (Donovan style guide): buttons, bars, lines */
  --color-accent-text: var(--color-text); /* text on the green */
  --color-accent-ink: var(--color-text);  /* accent-styled text on white (green is too light to read there) */
  --color-border: #e2e2e2;

  --color-highlight: #baff3a;      /* headline key-phrase block */
  --color-highlight-text: var(--color-text);
  --color-media-bg: #0b0b0f;       /* empty video slot */
  --color-media-text: #ffffff;
  --color-input-bg: #ffffff;
  --color-input-border: #c9c9c9;   /* boxed form inputs */
  --color-placeholder-border: #c4c4c4; /* dashed outline on empty slots (logo, embeds) */
  --color-callout-bg: var(--color-accent); /* announcement bar above the videos */
  --color-callout-text: var(--color-text);

  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --max-width: 760px;
  --max-width-hero-text: 920px;    /* headline + sub-headline */
  --max-width-hero-media: 960px;   /* VSL + form */
  --header-h: 64px;                /* sticky header height (56px mobile) */
  --progress: 0;                   /* scroll progress 0 to 1, set by JS */
}
@media (max-width: 600px) {
  :root { --header-h: 56px; }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.wrap--hero { max-width: var(--max-width-hero-media); }

/* ---- SECTION 1: Sticky header with logo + top progress bar ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}
.site-header-inner {
  max-width: var(--max-width-hero-media);
  height: var(--header-h);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-logo { display: block; flex-shrink: 1; min-width: 0; }
/* Temporary text logo. Delete this rule once the logo image is in. */
.logo-text {
  display: block;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--color-text);
  white-space: nowrap;
}
@media (max-width: 600px) {
  .logo-text { font-size: 19px; }
}
.site-logo img {
  height: 36px;
  width: auto;
  max-width: 180px;
}
/* Empty logo slot, same footprint as the real logo (36px tall,
   28px on mobile). Delete this div once the logo image is in. */
.logo-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  width: 180px;
  max-width: 100%;
  border: 1px dashed var(--color-placeholder-border);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}
.header-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 3px;
  background: var(--color-accent);
  transform: scaleX(var(--progress));
  transform-origin: left;
  pointer-events: none;
}
@media (max-width: 600px) {
  .site-logo img { height: 28px; max-width: 140px; }
  .logo-slot { height: 28px; width: 140px; }
}

/* ---- SECTIONS 2 + 3: Headline / Sub-headline ---- */
.hero {
  text-align: center;
  padding: 12px 0 28px;
}
.headline {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 14px;
}
.subheadline {
  font-size: clamp(16px, 2.4vw, 19px);
  color: var(--color-text-muted);
  margin: 0 auto;
  max-width: 560px;
}
.hero--landing {
  max-width: var(--max-width-hero-text);
  margin: 0 auto;
  padding: clamp(28px, 7vw, 88px) 0 clamp(28px, 4.5vw, 52px);
}
.hero--landing .headline {
  font-size: clamp(32px, 5.2vw, 64px);
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin: 0 0 clamp(14px, 2.4vw, 28px);
}
.hero--landing .subheadline {
  font-size: clamp(17px, 2vw, 25px);
  line-height: 1.4;
  color: var(--color-text);
  max-width: 780px;
}
.hero--landing .subheadline strong { font-weight: 800; color: var(--color-accent-ink); }

/* Highlighted key phrase inside the headline */
.hl {
  background: var(--color-highlight);
  color: var(--color-highlight-text);
  padding: 0.02em 0.18em;
  border-radius: 0.28em 0.12em 0.32em 0.16em; /* uneven corners, like a marker stroke */
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---- SECTION 4: VSL slot ---- */
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--color-media-bg);
  border-radius: 10px;
  overflow: hidden;
  margin: 0 auto;
}
.video-frame--hero { border-radius: 16px; }
/* Empty slot label, centred in the black box */
.media-slot-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-media-text);
}
/* Real Wistia embed: <wistia-player> sets its own height via its
   `aspect` attribute, so drop the forced 16:9. Keep the black
   background so the pre-load swatch never shows white strips. */
.video-frame--embed { aspect-ratio: auto; }
.video-frame--embed wistia-player {
  width: 100%;
  border-radius: inherit;
  overflow: hidden;
}

/* ---- Announcement bar above the VSL ("Watch This First") ----
   Radii set on each piece (bar rounds its top corners, video its
   bottom corners) so there is no hairline gap at the seam. */
.video-block--announced {
  border-radius: 16px;
  overflow: hidden;
}
.video-block--announced .video-frame {
  margin: 0;
  border-radius: 0 0 16px 16px;
}
.video-callout-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  background: var(--color-callout-bg);
  color: var(--color-callout-text);
  font-weight: 700;
  font-size: 15px;
  padding: 11px 16px;
  border-radius: 16px 16px 0 0;
}
.video-callout-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---- CTA button ---- */
.btn-cta {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-accent-text);
  font-size: 17px;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 8px;
  font-family: inherit;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.btn-cta:hover { opacity: 0.85; }
.btn-cta:focus-visible {
  outline: 3px solid var(--color-accent-ink);
  outline-offset: 4px;
}
/* Size: sticky header */
.btn-cta--header {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 14px;
  padding: 10px 18px;
}
@media (max-width: 600px) {
  .btn-cta--header { font-size: 13px; letter-spacing: 0.12em; }
}
@media (max-width: 600px) {
  .btn-cta--header { white-space: normal; letter-spacing: 0.06em; line-height: 1.25; max-width: 62%; text-align: center; padding: 8px 14px; }
}
/* Full width, larger text (form submit) */
.btn-cta--block {
  display: block;
  width: 100%;
  font-size: clamp(18px, 2.2vw, 26px);
  padding: clamp(14px, 1.8vw, 20px) 20px;
}

/* ---- SECTIONS 5 + 6: Inline form panel (form, then scheduler) ----
   Same width as the VSL. Questions sit in a narrower centred column
   so long option lines stay readable. */
.lead-panel {
  margin-top: clamp(20px, 3vw, 32px);
  padding: clamp(20px, 4vw, 36px) clamp(16px, 4vw, 40px);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.lead-form,
.booking {
  max-width: 640px;
  margin: 0 auto;
}
.booking { max-width: var(--max-width); }
.booking.is-active { animation: q-in 0.35s ease both; }
@keyframes q-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .booking.is-active { animation: none; }
}

.lead-form-header { margin-bottom: clamp(16px, 3vw, 24px); }
.lead-form-title {
  margin: 0 0 8px;
  font-size: clamp(26px, 4.2vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.lead-form-sub {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.lead-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.q-field + .q-field { margin-top: clamp(32px, 5vw, 44px); }
/* Compact form: tight gaps between questions */
.lead-form .q-field + .q-field,
.lead-form .q-contact + .q-field { margin-top: clamp(20px, 3vw, 26px); }
.q-contact .q-field + .q-field { margin-top: 8px; }
.lead-form .q-title {
  margin: 0 0 6px;
  font-size: clamp(17px, 2vw, 19px);
  font-weight: 800;
  letter-spacing: 0;
}
/* Visually hidden, still read by screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.q-title {
  display: block;
  padding: 0;
  margin: 0 0 clamp(18px, 3vw, 26px);
  font-size: clamp(21px, 3.2vw, 28px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.q-num {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-accent-ink);
}
.q-sublabel {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text-muted);
}
.q-optional { font-weight: 400; margin-left: 4px; }

/* Underline input */
.q-input {
  width: 100%;
  padding: 10px 0;
  font-family: inherit;
  font-size: clamp(19px, 2.6vw, 24px);
  color: var(--color-text);
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--color-border);
  border-radius: 0;
  outline: none;
}
.q-input::placeholder { color: var(--color-text-muted); opacity: 0.6; }
.q-input:focus { border-bottom-color: var(--color-accent-ink); }
.q-input + .q-input { margin-top: 18px; }

/* Boxed input (name + WhatsApp), stacked tight */
.q-box {
  display: block;
  width: 100%;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 17px;
  color: var(--color-text);
  background: var(--color-input-bg);
  border: 1px solid var(--color-input-border);
  border-radius: 8px;
  outline: none;
}
.q-box + .q-box { margin-top: 8px; }
.q-box::placeholder { color: var(--color-text-muted); opacity: 0.8; }
.q-box:focus,
.q-box--phone:focus-within { border-color: var(--color-accent-ink); box-shadow: inset 0 0 0 1px var(--color-accent-ink); }
/* Phone box with fixed +65 prefix inside it */
.q-box--phone {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 0;
  padding-bottom: 0;
}
.q-phone-prefix {
  flex-shrink: 0;
  padding-right: 12px;
  border-right: 1px solid var(--color-input-border);
  color: var(--color-text);
}
.q-box--phone input {
  flex: 1;
  min-width: 0;
  padding: 13px 0;
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  outline: none;
}
.q-box--phone input::placeholder { color: var(--color-text-muted); opacity: 0.8; }
.q-note {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text-muted);
}
.q-note a { color: var(--color-accent-ink); }
.lead-form > .q-note { margin-top: clamp(20px, 3vw, 26px); }

/* Choice rows: plain radio circle + text, stacked tight.
   Each row stays at least 40px tall so it is easy to tap. */
.q-choices { display: grid; gap: 2px; }
.q-choice {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  padding: 4px 0;
  font-size: 17px;
  line-height: 1.35;
  cursor: pointer;
}
.q-choice input {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--color-accent-ink);
  cursor: pointer;
}
.q-choice input:focus-visible {
  outline: 3px solid var(--color-accent-ink);
  outline-offset: 2px;
}

.q-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: clamp(24px, 4vw, 32px);
}
.lead-form .q-actions { margin-top: 14px; }
.q-error {
  margin: 6px 0 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
}
.q-error:empty { display: none; }

/* Later-date callout under the scheduler name */
.booking-title { text-align: center; margin-bottom: 12px; }
.later-date-toggle { margin: 0 0 16px; text-align: center; }
.later-date-link {
  padding: 2px 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-accent-ink);
  background: none;
  border: 0;
  text-decoration: underline;
  cursor: pointer;
}
.later-date {
  margin-bottom: 20px;
  padding: clamp(18px, 3.5vw, 28px);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-bg-alt);
}
.later-date-prompt { margin: 0 0 clamp(18px, 3vw, 24px); }
.later-date .q-actions { margin-top: clamp(20px, 3.5vw, 28px); }
.q-textarea {
  display: block;
  min-height: 2.6em;
  line-height: 1.4;
  resize: vertical;
}

/* Booking calendar slot (placeholder) */
.calendar-frame {
  width: 100%;
  min-height: 480px;
  background: var(--color-bg-alt);
  border: 1px dashed var(--color-placeholder-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  padding: 20px;
}
/* Real embed: solid frame, no placeholder text. The iframe has no
   fixed height; GHL's form_embed.js sets it once the calendar loads. */
.calendar-frame--embed {
  display: block;
  min-height: 700px;
  padding: 0;
  border: 1px solid var(--color-border);
}

@media (max-width: 600px) {
  .q-actions .btn-cta { flex: 1 1 100%; text-align: center; }
}

/* ---- LP05: Case studies (testimonial track) ---- */
.proof {
  padding: clamp(56px, 9vw, 96px) 0 clamp(8px, 2vw, 16px);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent-ink);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--color-accent);
  flex-shrink: 0;
}
.proof-title {
  font-size: clamp(28px, 4.4vw, 40px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 clamp(20px, 3.5vw, 32px);
}
.proof-sub {
  font-size: clamp(16px, 1.9vw, 19px);
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 0 clamp(28px, 4.5vw, 40px);
}
/* Card list shell from the agency funnel (two-up there; one card
   here, so it stays a single column). */
.case-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(28px, 5vw, 44px);
}
.case-list--single { grid-template-columns: 1fr; }
@media (max-width: 600px) {
  .case-list { grid-template-columns: 1fr; }
}
/* Track: one slide fills the width; scroll-snap gives the swipe. */
.case-slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.case-track {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.case-track::-webkit-scrollbar { display: none; }
.case-track:focus-visible {
  outline: 2px solid var(--color-accent-ink);
  outline-offset: 4px;
  border-radius: 16px;
}
.case-slide {
  flex: 0 0 100%;
  margin: 0;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* Images keep their own dark background; same 16px corners as the
   agency case study video (.video-frame--hero). Capped height so a
   tall phone screenshot doesn't run past the screen. */
.case-slide img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(70vh, 600px);
  border-radius: 16px;
}
.case-slide figcaption {
  margin-top: 12px;
  font-size: 14px;
  color: var(--color-text-muted);
  text-align: center;
}
/* Arrows: desktop only (swipe on mobile). */
.case-arrow {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-bg);
  color: var(--color-text);
  cursor: pointer;
}
.case-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.case-arrow:disabled { opacity: 0.35; cursor: default; }
.case-arrow:focus-visible {
  outline: 2px solid var(--color-accent-ink);
  outline-offset: 2px;
}
@media (max-width: 600px) {
  .case-arrow { display: none; }
}
/* Dots under the track (both sizes). Each is a 24px tap target
   around an 8px dot. */
.case-dots {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 16px;
}
.case-dot {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.case-dot::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin: auto;
  border-radius: 50%;
  background: var(--color-border);
}
.case-dot[aria-current="true"]::before { background: var(--color-accent-ink); }
.case-dot:focus-visible {
  outline: 2px solid var(--color-accent-ink);
  outline-offset: 0;
  border-radius: 50%;
}

/* ---- SECTION 8: Footer ---- */
.site-footer {
  margin-top: clamp(40px, 7vw, 72px);
  padding: clamp(40px, 6vw, 64px) 0 40px;
  border-top: 1px solid var(--color-border);
  text-align: center;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  font-size: 15px;
  color: var(--color-text-muted);
}
.footer-links a {
  color: var(--color-accent-ink);
  text-decoration: none;
}
.footer-links a:hover { text-decoration: underline; }
.footer-disclaimers {
  max-width: 720px;
  margin: 20px auto 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-text-muted);
}
.footer-disclaimers p { margin: 0 0 12px; }
.footer-disclaimers a { color: var(--color-accent-ink); }
.copyright {
  margin: 20px 0 0;
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ---- Scroll progress (wide screens only) ---- */
.scroll-progress {
  position: fixed;
  top: calc(var(--header-h) + 20px);
  bottom: 24px;
  left: 18px;
  width: 2px;
  background: var(--color-border);
  z-index: 50;
  pointer-events: none;
}
.scroll-progress-fill {
  position: absolute;
  inset: 0;
  background: var(--color-accent);
  transform: scaleY(var(--progress));
  transform-origin: top;
}
.scroll-progress-dot {
  position: absolute;
  left: 50%;
  top: calc(var(--progress) * 100%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-bg);
  transform: translate(-50%, -50%);
}
@media (max-width: 1023px) {
  .scroll-progress { display: none; }
}

/* ============================================================
   CONFIRMATION PAGE (confirmation.html)
   Ported from the agency funnel's style.css. Uses the same
   variables as the rest of this file.
   ============================================================ */

/* ---- Section generic ---- */
.section {
  padding: 36px 0;
}
.section-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 18px;
  text-align: center;
}

/* ---- Small centered divider under a header ---- */
.accent-divider {
  border: none;
  border-top: 3px solid var(--color-accent);
  width: 100%;
  max-width: 220px;
  margin: 14px auto;
}
.accent-divider--long { max-width: 420px; }

/* ---- Boxed callout around the hero paragraph ---- */
.accent-box {
  border: 2px solid var(--color-accent);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 14px auto 0;
  max-width: 560px;
}
.accent-box .subheadline { margin: 0; max-width: none; }
.accent-box .subheadline strong { color: var(--color-text); }

/* ---- Breakout video grid ---- */
.breakout-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 600px) {
  .breakout-grid { grid-template-columns: 1fr; }
}
/* Desktop: a lone last card (odd count) spans both columns and sits
   centred at the same width as one column. */
@media (min-width: 601px) {
  .breakout-grid > .breakout-card:last-child:nth-child(odd):not(:first-child) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 20px) / 2);
  }
}
.breakout-card .video-frame { aspect-ratio: 16/9; margin-bottom: 10px; }
.breakout-card h3 {
  font-size: 16px;
  margin: 0 0 6px;
}
.breakout-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0;
}

/* ---- Next steps ---- */
.next-steps ol {
  padding-left: 20px;
  color: var(--color-text-muted);
}
.next-steps li { margin-bottom: 8px; }
.next-steps p {
  margin: 0 0 14px;
  color: var(--color-text);
  line-height: 1.6;
}
.next-steps p:last-child { margin-bottom: 0; }

/* ============================================================
   LP04: PAIN CALLOUT (mirrors the agency funnel)
   Left-aligned for easier reading of longer lines. .eyebrow is
   shared with the proof section above.
   ============================================================ */
.pain {
  padding: clamp(56px, 9vw, 96px) 0 clamp(8px, 2vw, 16px);
}
.pain-title,
.faq-title {
  font-size: clamp(28px, 4.4vw, 40px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 clamp(20px, 3.5vw, 32px);
}
.pain-list {
  list-style: none;
  margin: 0 0 clamp(28px, 4.5vw, 40px);
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-bg-alt);
}
.pain-list li {
  position: relative;
  padding: clamp(18px, 3vw, 26px) clamp(18px, 3.5vw, 32px);
  padding-left: clamp(48px, 7vw, 68px);
  font-size: clamp(16px, 1.9vw, 18px);
  line-height: 1.6;
}
.pain-list li + li { border-top: 1px solid var(--color-border); }
/* "+" marker: ink, not green, since green is unreadable on the
   light panel (same rule as the other accent text on white). */
.pain-list li::before {
  content: "+";
  position: absolute;
  left: clamp(18px, 3.5vw, 32px);
  top: clamp(16px, 2.8vw, 24px);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--color-accent-ink);
}
.pain-summary {
  font-size: clamp(19px, 2.6vw, 24px);
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 16px;
}
.pain-summary--center { text-align: center; }
/* Key phrase: green text can't be read on white, so it gets the
   same green marker block as the headline (.hl). */
.accent-text {
  background: var(--color-highlight);
  color: var(--color-highlight-text);
  padding: 0.02em 0.18em;
  border-radius: 0.28em 0.12em 0.32em 0.16em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ============================================================
   LP06: FAQ (mirrors the agency funnel)
   Bordered panel; each question is a full-width button with a plus
   icon whose vertical bar hides when open (minus).
   ============================================================ */
.faq { padding: 0 0 clamp(16px, 3vw, 32px); }
.faq-list {
  margin: 0 0 clamp(28px, 4.5vw, 40px);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-bg-alt);
}
.faq-item + .faq-item { border-top: 1px solid var(--color-border); }
.faq-q { margin: 0; }
.faq-q button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: clamp(18px, 3vw, 26px) clamp(18px, 3.5vw, 32px);
  border: 0;
  background: none;
  font: inherit;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 800;
  line-height: 1.3;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
}
.faq-q button:focus-visible {
  outline: 2px solid var(--color-accent-ink);
  outline-offset: -2px;
  border-radius: 12px;
}
.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}
/* Plus/minus: ink, not green, for the same readability reason. */
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--color-accent-ink);
  border-radius: 2px;
}
.faq-icon::before { left: 0; top: 8px; width: 18px; height: 3px; }
.faq-icon::after { left: 7.5px; top: 0; width: 3px; height: 18px; }
.faq-q button[aria-expanded="true"] .faq-icon::after { display: none; }
.faq-a { padding: 0 clamp(18px, 3.5vw, 32px) clamp(18px, 3vw, 26px); }
.faq-a p {
  font-size: clamp(16px, 1.9vw, 18px);
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0;
}

/* ============================================================
   LP07: CLOSING CTA (mirrors the agency funnel's closing block)
   ============================================================ */
.cta-row {
  text-align: center;
  margin: 28px 0 8px;
}
.closing {
  /* Background photo strength: tweak this one. */
  --cta-overlay: 0.68;     /* black overlay opacity over the photo */

  margin-top: clamp(40px, 7vw, 72px);
  padding: clamp(56px, 9vw, 96px) 0 40px;
  border-top: 1px solid var(--color-border);
  text-align: center;
  overflow-x: clip;
  position: relative;
  isolation: isolate;      /* keeps the photo layers behind the content */
}
/* Photo layer (full colour). Upper half of Donovan beside his awards
   board; position keeps his face and the board's title in frame. */
.closing::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("images/cta-bg-mobile.jpg") center 30% / cover no-repeat;
}
@media (min-width: 768px) {
  .closing::before { background-image: url("images/cta-bg-desktop.jpg"); }
}
/* Overlay layer: one flat dark wash, edge to edge. */
.closing::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, var(--cta-overlay));
}
/* Heading sits on the dark photo now, so it switches to white. */
.closing .closing-title { color: var(--color-media-text); }
/* Watermark + headline share one grid cell so the block is always
   as tall as whichever layer is bigger; the watermark spans the full
   screen width past the column and is clipped by .closing so it never
   causes horizontal scroll. */
.closing-headline {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  padding: clamp(8px, 2vw, 20px) 0;
}
.closing-watermark,
.closing-title { grid-area: 1 / 1; }
/* aspect-ratio reserves the watermark's space before the logo file
   exists (agency watermark is 1969 x 338). Update it to the real
   logo's width / height once the file is in. */
.closing-watermark {
  width: 100vw;
  max-width: none;
  height: auto;
  aspect-ratio: 1969 / 338;
  pointer-events: none;
  user-select: none;
}
/* LOGO PENDING: hide the browser's broken-image icon until the file
   is added (the reserved space stays). Remove once the logo is in. */
.closing-watermark[src="LOGO_HERE"] { visibility: hidden; }
.closing-title {
  position: relative;
  max-width: 820px;
  margin: 0;
  font-size: clamp(30px, 5.2vw, 60px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.closing .cta-row { margin: clamp(24px, 4vw, 36px) 0 0; }

/* ---- Legal pages (privacy.html). Mirrors the agency funnel's .legal
   block; links use accent-ink because the green is too light on white. */
.legal { padding: clamp(40px, 7vw, 72px) 0 clamp(28px, 4.5vw, 40px); }
.legal h1 {
  font-size: clamp(28px, 4.4vw, 40px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.legal-updated {
  margin: 0 0 clamp(20px, 3.5vw, 32px);
  font-size: 14px;
  color: var(--color-text-muted);
}
.legal h2 {
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 800;
  line-height: 1.3;
  margin: clamp(28px, 4.5vw, 40px) 0 10px;
}
.legal p,
.legal li {
  font-size: clamp(16px, 1.9vw, 18px);
  line-height: 1.6;
  color: var(--color-text-muted);
}
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal strong { color: var(--color-text); }
.legal a { color: var(--color-accent-ink); text-decoration: underline; }
