/* Design B — desktop B_V7 COVER; phone B_V6. QC revise: exact skyLift ellipse, baselines, focus. */

@font-face {
  font-family: "Jost";
  src: url("assets/Jost-VariableFont_wght.8d3141b6b479.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/Inter-VariableFont_opsz_wght.0be2399ea925.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --night: #111A14;
  --offwhite: #F7F7F5;
  --sage: #8FA870;
  --input-fill: #18241C;
  --input-stroke: #6E7D73;
  --btn-disabled-fill: #2C3A31;
  --btn-disabled-text: #A3B1A7;
  --rule: #E3E6E1;
  --error: #c45c5c;
  --panel-h: 252px;
  --cover-art-h: calc(100vh - var(--panel-h)); /* geometry.js overrides with innerHeight-252 on desktop */
  --text-primary: #FFFFFF;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
/* Do not clip horizontal overflow: a fixed lower grid was cutting FAQ text at 125% zoom. */
html { overflow-x: auto; }
body {
  font-family: Inter, system-ui, sans-serif;
  color: var(--night);
  background: var(--offwhite);
  -webkit-font-smoothing: antialiased;
  overflow-x: auto;
}
img { display: block; max-width: 100%; height: auto; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--night); color: #fff; padding: 8px 12px;
}
.skip-link:focus { left: 8px; top: 8px; outline: 2px solid var(--text-primary); outline-offset: 2px; }

.page { width: 100%; min-height: 100vh; min-height: 100dvh; max-width: 100vw; }

/* ========== COVER ========== */
.cover {
  position: relative;
  display: flex;
  flex-direction: column;
  /* Art fixed to first-view remainder; panel starts at fold and may grow DOWN for challenge */
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--night);
}
.cover-art {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: var(--cover-art-h);
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.cover-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
/* Exact SVG skyLift: radialGradient stops + ellipse (desktop 720/76/720/180) */
.sky-lift-svg {
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  height: auto;
  max-height: 400px;
  pointer-events: none;
  overflow: visible;
}
.sky-lift-phone { display: none; }

.cover-brand {
  position: absolute;
  z-index: 2;
  left: 0; right: 0; top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 64px;
  pointer-events: none;
}
.mark-light { width: 288px; height: auto; }
.tagline {
  margin: 0;
  margin-top: 78px;
  font-family: Jost, sans-serif;
  font-weight: 400;
  font-size: 42px;
  line-height: 42px;
  /* r2 render, kept: spec marked 0.02em / 0.84px PROPOSED/UNAPPROVED; Joakim approved that capture. */
  letter-spacing: 0.84px;
  color: var(--night);
  text-align: center;
}

/* Panel: top at fold (100dvh - 252). Grows downward only when challenge expands. */
.panel {
  position: relative;
  z-index: 3;
  margin-top: var(--cover-art-h);
  min-height: var(--panel-h);
  background: var(--night);
  color: #fff;
  padding: 0 72px;
  width: 100%;
  max-width: 100%;
}
.panel-inner {
  position: relative;
  min-height: var(--panel-h);
  width: 100%;
  max-width: 1296px;
  margin: 0 auto;
}
.panel-left, .panel-right {
  position: absolute;
  top: 0; bottom: 0;
}
.panel-left { left: 0; width: 620px; }
.panel-right { left: 688px; right: 0; } /* 760-72 = 688 from content origin */

.hero-title {
  position: absolute;
  left: 0;
  /* Target first white ink ≈41px after panel top (live Jost metrics; re-tuned from 41→37). */
  top: 37px;
  margin: 0;
  font-family: Jost, sans-serif;
  font-weight: 500;
  font-size: 68px;
  line-height: 68px;
  letter-spacing: normal;
  color: #fff;
  white-space: nowrap;
}
.benefit {
  position: absolute;
  left: 0;
  top: 158px; /* baseline ~200 */
  margin: 0;
  font-family: Jost, sans-serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 48px;
  letter-spacing: normal;
  color: #fff;
}
.sales {
  position: absolute;
  left: 0;
  top: 33px; /* target first white ink ≈40px after panel top (live Inter metrics) */
  margin: 0;
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 30px;
  letter-spacing: normal;
  color: #fff;
  max-width: 578px; /* SVG sales extent ~760–1338 */

}
.sales-mobile { display: none; }
.sales-desktop { display: inline; }

.join-form {
  position: absolute;
  left: 0;
  top: 124px;
  margin: 0;
  width: 608px;
  max-width: 100%;
}
.form-row {
  display: flex;
  gap: 16px;
  align-items: stretch;
}
#email {
  flex: 1 1 auto;
  width: 456px;
  max-width: 456px;
  height: 56px;
  border-radius: 12px;
  border: 1px solid var(--input-stroke);
  background: var(--input-fill);
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 400;
  padding: 0 16px;
  outline: none;
}
#email::placeholder { color: #fff; opacity: 0.9; }
#email:focus-visible {
  border-color: var(--text-primary);
  outline: 2px solid var(--text-primary);
  outline-offset: 2px;
}

.join-btn {
  flex: 0 0 136px;
  width: 136px;
  height: 56px;
  border-radius: 12px;
  border: 0;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  background: var(--btn-disabled-fill);
  color: var(--btn-disabled-text);
}
.join-btn:not(:disabled) {
  background: var(--sage);
  color: var(--night);
}
.join-btn:disabled { cursor: not-allowed; }
.join-btn:focus-visible {
  outline: 2px solid var(--text-primary);
  outline-offset: 2px;
}

.helper { margin: 8px 0 0; font-size: 14px; color: var(--btn-disabled-text); }
.helper-error { color: var(--error); }
/* DRAFT AD spec for the invite paragraph. Not a new colour or a banner. */
#invited-line {
  margin: 8px 0 0;
  max-width: 456px;
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: normal;
  color: #A3B1A7;
  text-align: left;
  text-decoration: none;
}
#invited-line a {
  color: inherit;
  text-decoration: underline;
}
#invited-line[hidden] { display: none !important; }
.status {
  margin: 10px 0 0;
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
}
.status[hidden] { display: none !important; }
.status[data-kind="success"] { color: var(--sage); }
.status[data-kind="error"] { color: #ffb4b4; }
.member-bridge {
  margin: 24px 72px;
  color: var(--night);
}
.member-bridge[data-kind="error"] { color: var(--error); }
.member-bridge[data-kind="success"] { color: var(--night); } /* avoid Sage-on-Offwhite for interim */

.turnstile-slot {
  margin-top: 12px;
  min-height: 0;
}
.turnstile-slot[hidden] { display: none !important; }
.turnstile-slot.turnstile-armed {
  min-height: 65px;
}
.turnstile-slot:focus-within {
  outline: 2px solid var(--text-primary);
  outline-offset: 2px;
}
/* Challenge expansion: grow panel downward (below fold); do NOT move panel top / recrop art */
.join-form.turnstile-visible .turnstile-slot,
.panel.challenge-expanded .turnstile-slot {
  display: block;
  min-height: 65px;
}
.panel.challenge-expanded {
  padding-bottom: 16px;
}
/* Draft invite line plus a challenge or error: extend Night to cover that stack.
   The line alone fits the idle 252px panel. Size, weight, colour, and gap stay on .helper. */
@media (min-width: 1440px) {
  .panel:has(#invited-line:not([hidden])):is(.challenge-expanded, :has(#email-status:not([hidden]))) {
    min-height: calc(var(--panel-h) + 88px);
  }
}

.lower {
  background: var(--offwhite);
  /* Desktop: heading baseline 976 is 76px below the 900 panel edge. */
  padding: 42px 72px 80px;
}
.lower-grid {
  display: grid;
  /* Fluid below 1440 so a fixed 640px track cannot clip FAQ when the width shrinks (125% zoom). */
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px 64px;
  max-width: 1296px;
  margin: 0 auto;
  align-items: start;
}
@media (min-width: 1440px) {
  .lower-grid {
    /* FAQ text origin x776: 72 + 640 + 64 = 776. Locked only at the approved desktop endpoint. */
    grid-template-columns: minmax(0, 640px) minmax(0, 1fr);
  }
}
.lower-h {
  margin: 0 0 13px;
  font-family: Jost, sans-serif;
  font-weight: 500;
  font-size: 32px;
  color: var(--night);
}
.feature-list li {
  padding: 14px 0;
  border-top: 1px solid var(--rule);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  max-width: 640px;
}
.feature-list li:last-child { border-bottom: 1px solid var(--rule); }
/* Desktop list baselines are 62px apart in the source (1038/1100/1162/1224/1286).
   Phone keeps the idle 14px padding so the 1990/1766 page does not move. */
@media (min-width: 845px) {
  .feature-list li {
    padding-top: 18.90625px;
    padding-bottom: 18.90625px;
  }
  .lower {
    padding-bottom: 80px;
  }
}
.br-wide { display: none; }
@media (min-width: 1440px) {
  .br-wide { display: inline; }
}
.faq-item {
  padding: 14px 0;
  border-top: 1px solid var(--rule);
}
.faq-item:last-child { border-bottom: 1px solid var(--rule); }
.faq-item dt {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 8px;
}
/* Desktop FAQ first-baselines from Member-D-signed-out-1440.svg:
   questions 1038 / 1170.25 / 1302.5, bodies 1074.25 / 1206.5 / 1338.75.
   dl's default 16px margin is what the heading-to-question gap collapses with. */
@media (min-width: 1440px) {
  .faq-col .faq-list { margin-top: 19px; }
  .faq-item { padding-bottom: 32px; }
  .faq-item dt { margin-bottom: 13.25px; }
  .faq-item dd { line-height: 26px; }
  .feature-list { padding-top: 6px; }
  .feature-list li {
    line-height: 26px;
    padding-top: 11px;
    padding-bottom: 24px;
  }
  /* Remainder under the restored rows so the footer night starts at source 1490.75. */
  .lower { padding-bottom: 96.01px; }
}
.faq-item dd {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
}
@media (min-width: 1440px) {
  .faq-item dd { line-height: 26px; }
}

.site-footer {
  background: var(--night);
  color: #fff;
  padding: 40px 72px 56px;
  min-height: 224px;
}
.mark-night {
  width: 160px;
  height: auto;
  margin-bottom: 48px;
}
.footer-nav {
  font-size: 12px;
  font-weight: 500;
}
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.footer-nav a:focus-visible {
  outline: 2px solid var(--text-primary);
  outline-offset: 2px;
}


/* ========== SUCCESS PROMINENT (SUCCESS_PROMINENT_CANDIDATE_20261106) ========== */
.check-inbox-title {
  position: absolute;
  left: 0;
  /* SVG baseline y=763 at viewport 900 (panel top 648) → 115px into the panel.
     Box top is not the baseline: measured baseline sits 81px below the box top, so top = 115-81. */
  top: 34px;
  margin: 0;
  font-family: Jost, sans-serif;
  font-weight: 500;
  font-size: 96px;
  line-height: 95px; /* package: 1px leading adjust for 40px bottom */
  color: #fff;
  max-width: 520px;
  outline: none;
}
.check-inbox-title:focus,
.check-inbox-title:focus-visible {
  outline: none;
}
.check-inbox-line2 { display: block; }
.check-inbox-body {
  position: absolute;
  left: 0;
  /* SVG baselines 805/835. With line-height 30px the first baseline is 23px below the box top. */
  top: 134px;
  margin: 0;
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 30px;
  color: #fff;
  max-width: 580px;
}
.check-inbox-title[hidden],
.check-inbox-body[hidden] { display: none !important; }

/* Success: form gone; night band grows; marketing H1/benefit below fold */
.page.is-success .join-form { display: none !important; }
.page.is-success .panel {
  min-height: calc(var(--panel-h) + 150px);
  padding-bottom: 0;
}
.page.is-success .panel-inner {
  min-height: calc(var(--panel-h) + 150px);
}
.page.is-success .panel-left,
.page.is-success .panel-right {
  bottom: auto;
  height: calc(var(--panel-h) + 150px);
}
/* Idle sales top is 33px (baseline ~704). Success needs source baselines 705/735, so +1px. Not the old top:40. */
.page.is-success .sales {
  top: 34px;
}
/* Marketing H1 baseline y=994, benefit baseline y=978 (viewport 900, panel top 648).
   Previous tops 346/330 placed the box top on those baselines, so the glyphs crossed the 1050 night edge.
   Measured baseline-below-box: H1 57px, benefit 40px. Do not grow the night band to hide that. */
.page.is-success .hero-title {
  top: 289px; /* 346 - 57 */
  font-size: 68px;
  font-weight: 500;
}
.page.is-success .benefit {
  /* move to right column visually below fold — desktop absolute in left; package puts benefit at x760 */
  left: 688px; /* panel-right origin within 1296 content: matches sales column */
  width: 580px;
  top: 290px; /* 330 - 40 */
  font-size: 48px;
}

@media (max-width: 844px) {
  .check-inbox-title {
    position: static;
    font-size: 56px;
    line-height: 64px;
    max-width: none;
    margin: 0 0 24px;
    order: 1;
  }
  .check-inbox-body {
    position: static;
    font-size: 18px;
    line-height: 26px;
    margin: 0 0 28px;
    order: 3;
    max-width: none;
  }
  .page.is-success .panel {
    min-height: calc(444px + 104px);
  }
  .page.is-success .panel-inner {
    min-height: calc(444px + 104px);
    height: auto;
    padding-top: 27px;
  }
  .page.is-success .hero-title {
    order: 5;
    margin: 40px 0 0;
    font-size: 40px;
    /* below fold continuation — after benefit in flow */
  }
  .page.is-success .benefit {
    order: 4;
    left: auto;
    width: auto;
    top: auto;
    margin: 24px 0 0;
    font-size: 32px;
  }
  .page.is-success .check-inbox-title { order: 1; margin: 0 0 20px; }
  .page.is-success .check-inbox-body { order: 2; margin: 0 0 28px; }
  .page.is-success .sales {
    order: 3;
    margin: 0 0 24px;
  }
  .page.is-success .benefit { order: 4; }
  .page.is-success .hero-title { order: 5; }
}


/* ========== PHONE (B_V6) ========== */
@media (max-width: 844px) {
  :root {
    --panel-h: 444px;
    --cover-art-h: 420px; /* frozen: panel top 420 on 844 */
  }
  .cover { min-height: 844px; }
  .cover-art { height: 420px; }
  .cover-photo {
    width: 200%;
    max-width: none;
    height: 438.75px;
    left: 50%;
    position: relative;
    transform: translateX(-50%);
    object-fit: cover;
    object-position: center top;
  }
  .cover-brand { padding-top: 40px; }
  .mark-light { width: 190px; }
  .tagline {
    margin-top: 52px;
    font-size: 28px;
    line-height: 28px;
    /* r2 phone render, kept: 0.56px was marked PROPOSED/UNAPPROVED. */
    letter-spacing: 0.56px;
  }
  .panel {
    margin-top: 420px;
    min-height: 444px;
    /* Bv6 frozen panel depth 444 — do NOT add extra bottom padding (was 484). */
    padding: 0 24px;
    box-sizing: border-box;
  }
  .panel-inner {
    position: relative;
    min-height: 444px;
    height: 444px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    /* SVG baselines: H1 y=478 (≈ first ink ~447), sales y=540, input 632, CTA 704, benefit 824; panel ends 864 */
    padding-top: 27px; /* 420+27 → ~447 first ink */
    padding-bottom: 0;
  }
  .panel-left, .panel-right {
    position: static;
    display: contents;
    width: auto;
  }
  .hero-title, .benefit, .sales, .join-form {
    position: static;
    width: auto;
    top: auto;
    max-width: none;
  }
  .hero-title {
    order: 1;
    font-size: 40px;
    font-weight: 500;
    margin: 0 0 40px; /* H1 box 447–487 → sales first ink 527 */
    line-height: 40px;
    letter-spacing: normal;
    white-space: nowrap;
  }
  .sales {
    order: 2;
    margin: 0 0 27px; /* sales ends ~605 → input 632 */
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
    letter-spacing: normal;
    max-width: none;
  }
  .join-form {
    order: 3;
    width: 100%;
    max-width: 342px;
    margin: 0;
  }
  .benefit {
    order: 4;
    margin: 39px 0 0; /* CTA bottom 760 → benefit ink ~799; panel end 864 */
    font-size: 32px;
    font-weight: 600;
    line-height: 32px;
    letter-spacing: normal;
  }
  .sales-desktop { display: none; }
  .sales-mobile { display: inline; }
  .form-row { flex-direction: column; gap: 16px; }
  #email, .join-btn {
    width: 100%;
    max-width: 342px;
    flex-basis: auto;
  }
  /* Phone lower rhythm from Member-D-signed-out-390.svg baselines:
     heading 920, list 974/1028/1082/1160/1214, FAQ heading 1310,
     questions 1364/1483.75/1627.5, bodies 1398/1517.75/1661.5.
     Footer envelope 1765.25. No extra blank band. */
  .lower { padding: 26px 24px 40.86px; }
  .list-col .lower-h { margin-bottom: 10.095px; }
  .feature-list { padding-top: 6px; }
  .feature-list li {
    line-height: 24px;
    padding-top: 8px;
    padding-bottom: 21.02px;
  }
  .faq-item dd { line-height: 24px; }
  .faq-col .lower-h { margin-bottom: 2.405px; }
  .faq-item dt { margin-bottom: 13.69px; }
  .faq-item:nth-child(1) { padding-bottom: 23.99px; }
  .faq-item:nth-child(2) { padding-bottom: 23.11px; }
  #invited-line { width: 342px; max-width: 342px; }
  /* Idle phone panel stays 420–864. A visible status, validation error,
     invite line, or Turnstile host grows the Night panel so the white benefit stays on Night.
     The invite line itself adds only its height and the 8px margin; the 16px pad stays on challenge and error. */
  .panel:has(#email-status:not([hidden])),
  .panel:has(#email-helper:not([hidden])),
  .panel.challenge-expanded,
  .panel:has(.turnstile-slot:not([hidden])) {
    height: auto;
    min-height: 444px;
    padding-bottom: 16px;
  }
  .panel:has(#invited-line:not([hidden])) {
    height: auto;
    min-height: 444px;
  }
  /* The idle inner is a fixed 444px, which leaves 33px under the benefit box.
     height:auto would drop that remainder and the benefit ink would pass Night.
     Put the remainder back only when the line is the added content, so the
     panel grows by the line's own height plus its 8px margin. No fixed bottom. */
  .panel:has(#invited-line:not([hidden])):not(.challenge-expanded):not(:has(#email-status:not([hidden]))):not(:has(#email-helper:not([hidden]))):not(:has(.turnstile-slot:not([hidden]))) .benefit {
    margin-bottom: 33px;
  }
  .panel:has(#email-status:not([hidden])) .panel-inner,
  .panel:has(#email-helper:not([hidden])) .panel-inner,
  .panel:has(#invited-line:not([hidden])) .panel-inner,
  .panel.challenge-expanded .panel-inner,
  .panel:has(.turnstile-slot:not([hidden])) .panel-inner {
    height: auto;
    min-height: 444px;
  }
  .lower-grid { grid-template-columns: 1fr; gap: 14.77px; }
  .faq-col .faq-list { margin-top: 11.07px; }
  .lower-h { font-size: 28px; font-weight: 500; }
  .faq-item dt { font-size: 16px; font-weight: 600; }
  .faq-item dd { font-size: 15px; }
  .site-footer { padding: 40px 24px 56px; min-height: 224px; }
  .mark-night { width: 132px; margin-left: 24px; } /* padding 24 + 24 = source mark x48 */
  .member-bridge { margin: 16px 24px; }
  .sky-lift-svg:not(.sky-lift-phone) { display: none; }
  .sky-lift-phone { display: block; width: 100%; }
}

@media (min-width: 845px) {
  .sky-lift-svg:not(.sky-lift-phone) { display: block; }
  .sky-lift-phone { display: none; }
}

/* Mid widths: fluid columns — do NOT keep absolute 760/608 on narrow desktop */
@media (min-width: 845px) and (max-width: 1439px) {
  .panel { padding-left: 48px; padding-right: 48px; }
  .panel-inner { max-width: none; }
  .panel-left, .panel-right {
    position: static;
    width: auto;
  }
  .panel-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .hero-title, .benefit, .sales, .join-form {
    position: static;
    width: auto;
    max-width: none;
  }
  .hero-title { font-size: clamp(40px, 5vw, 68px); margin: 0 0 24px; white-space: normal; }
  .benefit { font-size: clamp(28px, 3.5vw, 48px); margin: 24px 0 0; }
  .sales { margin: 0 0 20px; }
  .join-form { width: 100%; }
  #email { max-width: none; width: 100%; }
  .form-row { flex-wrap: wrap; }
  .join-btn { flex: 0 0 auto; }
  .lower { padding-left: 48px; padding-right: 48px; }
  .site-footer { padding-left: 48px; padding-right: 48px; }
  .mark-light { width: min(288px, 20vw); }
}

/* ========== RECOVERY (F) + MEMBER (A/B/C) ========== */
.br-phone { display: none; }
.recovery-title,
.recovery-body { display: none; }
.recovery-title[hidden],
.recovery-body[hidden],
.member-view[hidden] { display: none !important; }

.page.is-recovery .hero-title,
.page.is-recovery .sales,
.page.is-recovery .benefit { visibility: hidden; }
.page.is-recovery .pdf5-join-title { display: none; }
.page.is-recovery .recovery-title,
.page.is-recovery .recovery-body { display: block; }
.page.is-recovery .lower,
.page.is-member .lower { display: none; }
.page.is-recovery .site-footer { margin-top: 32px; }
.page.is-member .site-footer { margin-top: 0; }

.recovery-title {
  position: absolute;
  left: 0;
  top: 37px;
  margin: 0;
  font-family: Jost, sans-serif;
  font-weight: 500;
  font-size: 68px;
  line-height: 74px;
  color: #fff;
  outline: none;
  z-index: 2;
}
.recovery-title:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}
.recovery-body {
  position: absolute;
  left: 0;
  top: 34px;
  margin: 0;
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 30px;
  color: #fff;
  max-width: 580px;
  z-index: 2;
}

.member-view {
  position: relative;
  z-index: 3;
  margin-top: var(--cover-art-h);
  background: var(--night);
  color: #fff;
  /* Selected A/B/C envelope: art 500, footer at 932, page 1156. */
  height: 432px;
  padding: 0;
}
.page.is-member .cover { min-height: 0; }
.page.is-member #join-card { display: none !important; }
#member-title {
  position: absolute;
  left: 72px;
  top: 37px;
  margin: 0;
  font-family: Jost, sans-serif;
  font-weight: 500;
  font-size: 68px;
  line-height: 68px;
  letter-spacing: normal;
  outline: none;
}
#member-title:focus,
#member-title:focus-visible {
  outline: none;
}
.member-lead {
  position: absolute;
  left: 72px;
  top: 125px;
  margin: 0;
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: normal;
}
.member-rate {
  position: absolute;
  left: 72px;
  top: 193px;
  margin: 0;
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 30px;
  letter-spacing: normal;
}
.member-link-col {
  position: absolute;
  left: 760px;
  top: 72px;
  width: 608px;
}
#referral-url-label {
  display: block;
  /* Member-A SVG: Inter 16 / 600. Baseline 581 desktop (source text y) and 540 phone. URL stays 600 / 560. */
  margin: -6px 0 18px;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 16px;
}
.referral-url {
  display: block;
  width: 100%;
  height: 56px;
  border-radius: 12px;
  border: 1px solid var(--input-stroke);
  background: var(--input-fill);
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 400;
  padding: 0 16px;
  outline: none;
}
.referral-url:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.member-actions {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}
.member-btn {
  flex: 1 1 0;
  height: 56px;
  border: 0;
  border-radius: 12px;
  background: var(--sage);
  color: var(--night);
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.member-btn:disabled {
  background: var(--btn-disabled-fill);
  color: var(--btn-disabled-text);
  cursor: not-allowed;
}
/* Selected secondary Share: Night ground, control border, white label. Copy stays Sage. */
.member-btn-share {
  background: #111A14;
  color: #fff;
  border: 1px solid #6E7D73;
}
.member-btn-share:disabled {
  background: #111A14;
  color: var(--btn-disabled-text);
  border-color: #2C3A31;
}
.member-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.member-stats {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}
.stat {
  flex: 1 1 0;
  min-height: 104px;
  background: #18241C;
  border: 1px solid #26332A;
  border-radius: 12px;
  padding: 16px 20px;
}
.stat-num {
  margin: 0;
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 44px;
  line-height: 1;
}
.stat-label {
  margin: 8px 0 0;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #A3B1A7;
}
.member-live {
  margin: 12px 0 0;
  min-height: 1.2em;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 400;
}
.member-alert { color: #E58A78; }
#member-retry { margin-top: 12px; max-width: 200px; }

@media (max-width: 844px) {
  .br-phone { display: inline; }
  .page.is-member .cover-art { height: 300px; }
  .page.is-member .cover { min-height: 0; }
  .page.is-recovery .site-footer { margin-top: 12px; }
  .recovery-title {
    position: absolute;
    top: 18px;
    font-size: 40px;
    line-height: 52px;
    letter-spacing: normal;
  }
  .recovery-body {
    position: absolute;
    top: 135px;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: normal;
    max-width: 342px;
  }
  .member-view {
    margin-top: 300px;
    height: 576px;
    padding: 0;
  }
  #member-title {
    left: 24px;
    top: 24px;
    font-size: 40px;
    line-height: 40px;
  }
  .member-lead {
    left: 24px;
    top: 83px;
    font-size: 16px;
    line-height: 22px;
  }
  .member-rate {
    left: 24px;
    top: 125px;
    font-size: 18px;
    line-height: 26px;
  }
  .member-link-col {
    left: 24px;
    top: 232px;
    width: 342px;
  }
  #referral-url-label { margin: -6px 0 18px; }
  .stat {
    box-sizing: border-box;
    height: 88px;
    min-height: 88px;
    padding-bottom: 13px;
  }
  .stat-num { font-size: 32px; }
  .member-actions .member-btn { width: auto; max-width: none; flex-basis: 0; }
}
