/* ============================================================
   MODERN HUMAN — lp.css
   Landing pages for paid social (lp/*.html). Loaded AFTER
   styles.css, so every brand token, button and section class
   from the main site still applies. Only LP-specific structure
   lives here: the stripped header, the quiz, the sticky mobile
   CTA and the slim footer.

   PAGE SHAPE (deliberate, do not re-expand it):
     1. Hero + trust strip
     2. How it works, three steps
     3. The quiz
     then FAQ, disclaimer, footer for anyone who keeps scrolling.

   The visitor should reach the quiz inside two screens. The long
   version of these pages (pain lists, mechanism cards, compare
   tables, timelines) was cut on 2026-07-27 for being too much to
   read before the one action the page exists for.

   LP rules these styles enforce:
   1. No navigation off the page. Ad traffic has one job.
   2. One CTA, repeated. Everything points at the quiz.
   3. Mobile first. Almost all of this traffic is Facebook on a
      phone, so the sticky bar is the real CTA.
   ============================================================ */

:root {
  --lp-sticky-h: 76px;
}

/* Room for the sticky bar so it never covers the footer's last line */
body.lp-body { padding-bottom: var(--lp-sticky-h); }
@media (min-width: 861px) {
  body.lp-body { padding-bottom: 0; }
}

/* ---------- Stripped header ---------- */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  /* v8 light: same white glass as the main nav */
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.lp-nav-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
/* Deliberately a <div>, not an <a>. Ad traffic must not have a
   route back to the homepage: every exit is a lost booking. */
.lp-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lp-brand .logo-mark { stroke: var(--charcoal); flex: 0 0 auto; }
.lp-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
/* Same wordmark as the site header and every page lockup — 700, tracking at
   .05em, plus the text-stroke that does the actual thickening (Satoshi ships
   nothing above Bold). These pages have their own brand markup rather than the
   shared .logo lockup, so the values are repeated here; if the wordmark is
   retuned, retune .logo-text .logo-name in styles.css and .nav .logo-name in
   v9-header-hero.css with it. Its "Physician-led care" strapline came out with
   the rest of them on 2026-08-10. */
.lp-brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.05em;
  -webkit-text-stroke: 0.6px currentColor;
}
.lp-nav-side {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  color: var(--ink-60);
}
.lp-nav-phone { font-weight: 500; color: var(--charcoal); }
@media (max-width: 700px) {
  .lp-nav-side .lp-nav-note { display: none; }
}

/* ---------- Hero ---------- */
.lp-hero { padding: 48px 0 8px; }
.lp-hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.lp-hero h1 {
  margin-top: 14px;
  font-weight: 500;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.lp-hero h1 em {
  font-style: normal;
  color: var(--bronze-light);
}
.lp-hero-sub {
  margin-top: 20px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-60);
  max-width: 46ch;
}
.lp-hero-ctas {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.lp-hero-note {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-60);
  max-width: 50ch;
}
.lp-hero-visual {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--render-bg);
}
.lp-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  /* The portrait is taller than every crop we use it in, so anchor high.
     Centred cover cuts the face off, which is the one thing this photo
     is here to show. */
  object-position: 50% 8%;
}

/* Trust strip under the hero */
.lp-trust {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.lp-trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 40px;
}
.lp-trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: var(--ink-60);
}
.lp-trust-item svg { stroke: var(--bronze-light); flex: 0 0 auto; }

@media (max-width: 860px) {
  .lp-hero { padding: 30px 0 4px; }
  .lp-hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .lp-hero-visual { order: -1; }
  .lp-hero-visual img { aspect-ratio: 5 / 4; object-position: 50% 6%; }
  .lp-hero-sub { font-size: 17px; }
  .lp-hero-ctas .btn { width: 100%; justify-content: center; }
  .lp-trust-row { gap: 12px 24px; }
}

/* ---------- Note under the three steps ---------- */
/* Carries the two things a visitor must know before the quiz: why no
   price is shown, and that the doctor can decline. Both are load-bearing
   compliance lines, not decoration. Do not delete. */
.lp-steps-note {
  margin: 34px auto 0;
  max-width: 62ch;
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-60);
}

/* ---------- The quiz ---------- */
.lp-quiz-section {
  /* v6 dark: --charcoal is now the light type color, so this band gets
     the purple-glow field treatment instead */
  background:
    radial-gradient(700px 400px at 50% 0%, rgba(124, 86, 204, 0.25), transparent 65%),
    var(--bg);
  color: var(--warm-white);
  padding: 78px 0;
}
.lp-quiz-section .eyebrow { color: var(--bronze-light); }
.lp-quiz-section .section-title { color: var(--warm-white); }
.lp-quiz-section .center-sub { color: var(--white-60); }

/* Notice at the point the quiz collects health answers, RA 10173
   transparency. Sits above the quiz card, not below it, so it is read
   before the first question rather than after the last. */
.lp-quiz-privacy {
  margin-top: 14px;
  font-size: 14px;
}
.lp-quiz-privacy a {
  border-bottom: 1px solid var(--line-dark);
}
.lp-quiz-privacy a:hover { color: var(--warm-white); }

.lp-quiz {
  margin: 40px auto 0;
  max-width: 640px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--charcoal);
  border-radius: var(--radius-card);
  padding: 32px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
}
.lp-quiz-bar {
  height: 4px;
  border-radius: 999px;
  background: rgba(248, 247, 243, 0.15);
  overflow: hidden;
}
.lp-quiz-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--olive);
  border-radius: 999px;
  transition: width 0.35s ease;
}
.lp-quiz-meta {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--ink-60);
}
.lp-quiz-back {
  font-size: 13px;
  color: var(--ink-60);
  border-bottom: 1px solid var(--ink-40);
  padding-bottom: 1px;
}
.lp-quiz-back:hover { color: var(--charcoal); }
.lp-quiz-back[hidden] { display: none; }

.lp-quiz-q {
  margin-top: 22px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(22px, 3vw, 27px);
  line-height: 1.2;
}
.lp-quiz-help {
  margin-top: 10px;
  font-size: 15px;
  color: var(--ink-60);
}
.lp-quiz-options {
  margin-top: 24px;
  display: grid;
  gap: 10px;
}
.lp-quiz-option {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(248, 247, 243, 0.05);
  padding: 17px 18px;
  font-size: 16.5px;
  line-height: 1.35;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.lp-quiz-option:hover {
  border-color: var(--olive);
  background: var(--olive-tint);
}
.lp-quiz-option:active { transform: scale(0.995); }
.lp-quiz-option .lp-quiz-key {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--ink-40);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-size: 12.5px;
  color: var(--ink-60);
}
.lp-quiz-option:hover .lp-quiz-key {
  border-color: var(--olive);
  color: var(--bronze-light);
}

/* Result panel */
.lp-quiz-result { margin-top: 8px; }
.lp-quiz-result h3 {
  font-weight: 500;
  font-size: clamp(23px, 3.2vw, 29px);
  line-height: 1.18;
}
.lp-quiz-result p {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-60);
}
.lp-quiz-summary {
  margin: 22px 0 4px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.lp-quiz-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 16px;
  font-size: 14.5px;
  border-bottom: 1px solid var(--line);
}
.lp-quiz-summary-row:last-child { border-bottom: none; }
.lp-quiz-summary-row span:first-child { color: var(--ink-60); }
.lp-quiz-summary-row span:last-child {
  text-align: right;
  font-weight: 500;
}
.lp-quiz-cta { margin-top: 22px; }
.lp-quiz-cta .btn { width: 100%; justify-content: center; }
.lp-quiz-fine {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-60);
  text-align: center;
}
@media (max-width: 860px) {
  .lp-quiz-section { padding: 56px 0; }
  .lp-quiz { padding: 22px; min-height: 0; }
}

/* ---------- Sticky mobile CTA ---------- */
.lp-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  background: rgba(13, 13, 13, 0.94);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-top: 1px solid var(--line);
  padding: 12px var(--gutter);
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.5);
  transform: translateY(110%);
  transition: transform 0.3s ease;
}
.lp-sticky.is-visible { transform: translateY(0); }
.lp-sticky-copy {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  line-height: 1.35;
  color: var(--ink-60);
}
.lp-sticky-copy strong {
  display: block;
  color: var(--charcoal);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 15px;
}
.lp-sticky .btn {
  padding: 14px 22px;
  font-size: 15px;
}
@media (min-width: 861px) {
  .lp-sticky { display: none; }
}

/* ---------- Slim LP footer ---------- */
.lp-foot {
  background: var(--charcoal-soft);
  color: var(--white-60);
  padding: 40px 0 34px;
  font-size: 13.5px;
  line-height: 1.7;
}
.lp-foot a {
  color: var(--white-60);
  border-bottom: 1px solid var(--line-dark);
}
.lp-foot a:hover { color: var(--warm-white); }
.lp-foot-links {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.lp-foot-legal {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line-dark);
  color: var(--white-40);
  font-size: 12.5px;
}
