/* =========================================================================
   lumelume — design system (Terra, 4 Oct 2026)
   Espresso on gesso, sand panels, terracotta as a field colour only.
   The logo is an outlined SVG (lumelume-wordmark.svg); colours live in :root.
   ========================================================================= */

:root {
  /* Palette — Terra (lumelume, signed off 4 Oct 2026). Espresso on gesso.
     Terracotta (--accent) is a FIELD colour: borders, fills, large display, decoration.
     It is never body text or a button (3.6:1 on gesso). Small terracotta text = --accent-2. */
  --ink:        #33241C;   /* Espresso — text, buttons, dark sections (12.9:1 on gesso) */
  --ink-2:      #241912;   /* hover — a touch deeper than --ink */
  --ink-deep:   #33241C;   /* display headlines */
  --accent:     #C0643F;   /* Terracotta — fields and large display only, never text or a button */
  --accent-2:   #8E4226;   /* Terracotta ink — small terracotta text (6.2:1 on gesso) */
  --pistachio:  #BCC79C;   /* small accents; accent text on dark panels (8.4:1 on espresso) */
  --cream:      #F6EEE3;   /* Gesso — page background */
  --surface:    #ffffff;   /* cards */
  --surface-2:  #EAD9C3;   /* Sand — tinted panels */
  --text:       #33241C;   /* body */
  --muted:      #6B5647;   /* secondary text (6.0:1 on gesso, 5.0 on sand) */
  --line:       #E2D3C0;   /* hairlines */
  --good:       #3F6A45;
  --warn:       #9A3B12;
  --on-ink:     #F6EEE3;   /* text on espresso panels */
  --on-ink-2:   #E2D3C0;   /* lead text on espresso */
  --on-ink-3:   #C9B6A0;   /* muted text on espresso (7.6:1) */

  /* Type scale (steep hierarchy) */
  --font: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Bricolage Grotesque", "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --h1: clamp(3rem, 7vw, 5rem);
  --h2: clamp(2rem, 4vw, 3rem);
  --h3: 1.35rem;
  --lead: clamp(1.1rem, 2vw, 1.35rem);
  --body: 1.0625rem;

  /* Rhythm */
  --maxw: 1180px;
  --gap: 24px;
  --section-y: clamp(64px, 9vw, 132px);
  --radius: 18px;
  --radius-lg: 28px;
  /* Shadows are OFF by design — every funded operator in the teardown set runs
     near-zero shadow; depth comes from background shifts + hairlines. The vars
     stay defined (as none) so legacy var() references resolve harmlessly. */
  --shadow: none;
  --shadow-lg: none;
}

/* ---- reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--body);
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -0.015em; color: var(--ink); margin: 0; }
h1, h2 { color: var(--ink-deep); }
h1 { font-size: var(--h1); font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); font-weight: 700; }
p  { margin: 0 0 1rem; }

/* ---- layout ---- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--section-y) 0; }
.section--tint { background: var(--surface-2); }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }
.center { text-align: center; }
.eyebrow {
  font-family: var(--font); font-weight: 650; font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-2);
  margin: 0 0 14px;
}
.section--ink .eyebrow { color: var(--pistachio); }
.lead { font-size: var(--lead); color: var(--muted); max-width: 56ch; }
.center .lead { margin-left: auto; margin-right: auto; }
.section--ink .lead { color: var(--on-ink-2); }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 100px; border: 1.5px solid transparent;
  font-weight: 650; font-size: 1rem; letter-spacing: -0.01em;
  transition: transform .15s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--ink-2); }
.btn--accent { background: var(--cream); color: var(--ink); }
.btn--accent:hover { background: var(--surface-2); }
.btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.section--ink .btn--ghost { border-color: #fff; color: #fff; }
.section--ink .btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--lg { padding: 18px 36px; font-size: 1.08rem; }
.btn--block { display: flex; width: 100%; justify-content: center; }

/* ---- prototype banner ---- */
.protobar {
  background: var(--ink); color: var(--on-ink-2); text-align: center;
  font-size: 0.8rem; letter-spacing: 0.02em; padding: 8px 16px;
}
.protobar strong { color: var(--pistachio); }

/* ---- header / nav ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 238, 227, 0.82); backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.wordmark { font-family: var(--display); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.02em; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.wordmark .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); display: inline-block; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-weight: 550; font-size: 0.97rem; color: var(--text); }
.nav__links a:hover { color: var(--ink); }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__toggle { display: none; background: none; border: 0; font-size: 1.5rem; color: var(--ink); }

/* ---- hero ---- */
.hero { padding: clamp(56px, 8vw, 104px) 0 var(--section-y); }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 30px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero__note { font-size: 0.85rem; color: var(--muted); margin-top: 18px; }
.hero__media { border-radius: var(--radius-lg); aspect-ratio: 4/5; position: relative; }

/* ---- logo strip / social proof ---- */
.proof { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; color: var(--muted); font-weight: 600; opacity: .8; }
.proof span { font-family: var(--display); font-size: 1.15rem; }
.rating { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.stars { color: var(--accent-2); letter-spacing: 2px; }

/* ---- feature / step grid ---- */
.grid { display: grid; gap: var(--gap); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); border-color: #D4C1A9; }
.card .ico { width: 50px; height: 50px; border-radius: 14px; background: var(--surface-2); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 18px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; }

.step-num { font-family: var(--display); font-size: 2.4rem; color: var(--accent); line-height: 1; margin-bottom: 14px; display: block; }

/* ---- treatment cards ---- */
.tcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.tcard__top { background: var(--surface-2); padding: 28px 28px 22px; }
.tcard__badge { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); background: #fff; border: 1px solid var(--line); padding: 4px 10px; border-radius: 100px; margin-bottom: 14px; }
.tcard__top h3 { font-size: 1.6rem; }
.tcard__sub { color: var(--muted); font-size: 0.92rem; margin-top: 4px; }
.tcard__body { padding: 24px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.tcard__body ul { list-style: none; padding: 0; margin: 0 0 20px; }
.tcard__body li { padding: 8px 0 8px 28px; position: relative; color: var(--text); border-bottom: 1px solid var(--line); }
.tcard__body li:last-child { border-bottom: 0; }
.tcard__body li::before { content: "✓"; position: absolute; left: 0; color: var(--good); font-weight: 700; }
.tcard__price { margin-top: auto; }
.tcard__price .amt { font-family: var(--display); font-size: 2rem; color: var(--ink); }
.tcard__price .per { color: var(--muted); font-size: 0.95rem; }

/* ---- pricing ---- */
.ptable { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); align-items: stretch; }
.ptier { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; }
.ptier--feature { background: var(--ink); color: var(--on-ink); border-color: var(--ink); transform: scale(1.02); }
.ptier--feature h3, .ptier--feature .amt { color: #fff; }
.ptier__tag { font-size: 0.72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 10px; }
.ptier--feature .ptier__tag { color: var(--pistachio); }
.ptier .amt { font-family: var(--display); font-size: 2.6rem; line-height: 1; }
.ptier .per { color: var(--muted); font-size: 0.95rem; margin-bottom: 22px; }
.ptier--feature .per { color: var(--on-ink-3); }
.ptier ul { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.ptier li { padding: 9px 0 9px 26px; position: relative; font-size: 0.96rem; }
.ptier li::before { content: "✓"; position: absolute; left: 0; color: var(--good); }
.ptier--feature li::before { color: var(--pistachio); }

/* ---- comparison table (Us vs Them) ---- */
.compare { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.compare th, .compare td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--display); font-size: 1.1rem; }
.compare thead th:nth-child(2) { color: var(--ink); }
.compare td:not(:first-child) { text-align: center; }
.compare .col-us { background: var(--surface-2); }
.compare .yes { color: var(--good); font-weight: 700; }
.compare .no { color: var(--muted); }

/* ---- FAQ ---- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { font-family: var(--display); font-size: 1.2rem; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-2); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--muted); margin: 14px 0 0; }

/* ---- testimonial ---- */
.lquote { max-width: 820px; margin: 0 auto; text-align: center; }
.quote blockquote { font-family: var(--display); font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.3; color: var(--ink); margin: 0 0 20px; }
.section--ink .quote blockquote { color: #fff; }
.quote cite { font-style: normal; color: var(--muted); font-weight: 600; }
.section--ink .quote cite { color: var(--on-ink-3); }

/* ---- compliance note — quiet left-rule, never a dashed "draft" box ---- */
.compliance {
  border: 0; border-left: 3px solid var(--ink); border-radius: 0 12px 12px 0; background: var(--surface);
  padding: 16px 22px; font-size: 0.8rem; color: var(--muted); line-height: 1.55;
}
.compliance strong { color: var(--ink); }
.compliance .vet { color: var(--warn); font-weight: 600; }

/* ---- footer ---- */
.footer { background: var(--ink); color: var(--on-ink-3); padding: 72px 0 36px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer h4 { color: #fff; font-family: var(--font); font-size: 0.82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 11px; }
.footer a:hover { color: #fff; }
.footer .wordmark { color: #fff; margin-bottom: 16px; }
.footer__about { font-size: 0.92rem; max-width: 34ch; }
.footer__legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 24px; font-size: 0.8rem; color: #A8927C; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ---- flow / quiz / booking shared ---- */
.flow { min-height: 100vh; display: flex; flex-direction: column; }
.flow__head { padding: 20px 0; border-bottom: 1px solid var(--line); }
.flow__progress { height: 7px; background: var(--surface-2); border-radius: 100px; overflow: hidden; margin-top: 14px; }
.flow__bar { height: 100%; width: 20%; background: var(--ink); border-radius: 100px; transition: width .35s ease; }
.flow__body { flex: 1; display: grid; place-items: center; padding: 48px 0; }
.flow__panel { max-width: 620px; width: 100%; }
.step { display: none; animation: fade .35s ease; }
.step.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.step h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 10px; }
.step .help { color: var(--muted); margin-bottom: 28px; }

.choices { display: grid; gap: 12px; }
.choice {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px;
  padding: 18px 20px; font-size: 1.05rem; font-weight: 550; color: var(--text);
  transition: border-color .15s ease, background .15s ease;
}
.choice:hover { border-color: var(--ink-2); }
.choice.selected { border-color: var(--ink); background: var(--surface-2); }
.choice .check { margin-left: auto; color: var(--good); font-weight: 700; opacity: 0; }
.choice.selected .check { opacity: 1; }

.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: 1rem; background: var(--surface); color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink-2); }
.field .row { display: flex; gap: 14px; }
.field .row > * { flex: 1; }

.flow__nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 32px; }
.linkback { background: none; border: 0; color: var(--muted); font-weight: 600; }
.linkback:hover { color: var(--ink); }

.result-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; text-align: center; }
.result-box .badge-ico { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 20px; font-size: 1.8rem; }
.result-box.ok .badge-ico { background: #E3EADB; color: var(--good); }
.result-box.refer .badge-ico { background: #F6E1D6; color: var(--warn); }
.bmi-readout { background: var(--surface-2); border-radius: 12px; padding: 16px; margin: 18px 0; font-size: 0.95rem; }
.bmi-readout .num { font-family: var(--display); font-size: 1.8rem; color: var(--ink); }

/* ---- booking ---- */
.cal { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cal__days { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.daybtn { padding: 14px 8px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); text-align: center; font-weight: 600; color: var(--text); }
.daybtn small { display: block; font-weight: 500; color: var(--muted); font-size: 0.78rem; }
.daybtn.selected { border-color: var(--ink); background: var(--ink); color: #fff; }
.daybtn.selected small { color: var(--on-ink-2); }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-content: start; }
.slot { padding: 12px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface); font-weight: 600; color: var(--text); }
.slot.selected { border-color: var(--ink); background: var(--ink); color: var(--cream); }
.booking-summary { background: var(--surface-2); border-radius: 14px; padding: 20px; margin-top: 24px; font-size: 0.95rem; }
.booking-summary .line { display: flex; justify-content: space-between; padding: 6px 0; }
.booking-summary .line.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; font-weight: 700; color: var(--ink); }

/* ---- confirmation dashboard ---- */
.confirm-hero { text-align: center; max-width: 640px; margin: 0 auto; }
.confirm-hero .tick { width: 80px; height: 80px; border-radius: 50%; background: #E3EADB; color: var(--good); display: grid; place-items: center; font-size: 2.4rem; margin: 0 auto 24px; }
.timeline { list-style: none; padding: 0; margin: 36px 0 0; text-align: left; }
.timeline li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.timeline .dot { width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; flex-shrink: 0; font-size: 0.9rem; font-weight: 700; color: var(--ink); }
.timeline .done .dot { background: var(--good); color: #fff; }
.timeline strong { display: block; color: var(--ink); }
.timeline span { color: var(--muted); font-size: 0.92rem; }
.dash-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 36px; }
.dash-cards .card { padding: 22px; }
.dash-cards .k { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.dash-cards .v { font-family: var(--display); font-size: 1.4rem; color: var(--ink); margin-top: 6px; }

/* ---- page header (interior pages) ---- */
.pagehead { padding: clamp(48px, 7vw, 96px) 0 0; text-align: center; }
.pagehead h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 14px; }

/* ---- utility ---- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 16px; }
.muted { color: var(--muted); }
.hide-mobile { }
.show-mobile { display: none; }   /* shown only inside the mobile nav dropdown */

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 880px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav.open .nav__links {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--cream); padding: 20px 24px; gap: 18px; border-bottom: 1px solid var(--line);
  }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__media { aspect-ratio: 16/12; max-height: 420px; }
  .grid-3, .grid-4, .grid-2, .ptable, .dash-cards { grid-template-columns: 1fr; }
  .ptier--feature { transform: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .cal { grid-template-columns: 1fr; }
  .hide-mobile { display: none; }
  .show-mobile { display: inline-flex; }
  .nav__links-cta { margin-top: 4px; justify-content: center; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
  .cal__days { grid-template-columns: repeat(3, 1fr); }
}

/* =========================================================================
   v2 — POP-UP MODAL · STICKY CTA · STAT BAND · PRODUCT DETAIL
   ========================================================================= */

/* ---- conversion pop-up ---- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(36, 25, 18, 0.55); backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: 24px;
  opacity: 0; visibility: hidden; transition: opacity .28s ease, visibility .28s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  position: relative; width: 100%; max-width: 460px;
  background: var(--surface); border-radius: var(--radius-lg);
  padding: 40px 36px 30px; text-align: center;
  box-shadow: 0 40px 90px -30px rgba(36,25,18,.6);
  transform: translateY(14px) scale(.98); transition: transform .3s cubic-bezier(.2,.8,.2,1);
  border-top: 5px solid var(--accent);
  /* Tall modals (the order form) scroll internally instead of clipping. */
  max-height: min(88dvh, 860px); overflow-y: auto;
  overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
}
.modal-overlay.open .modal { transform: none; }
.modal__close {
  position: absolute; top: 16px; right: 16px; width: 34px; height: 34px;
  border-radius: 50%; border: 0; background: var(--surface-2); color: var(--muted);
  font-size: 0.9rem; display: grid; place-items: center;
}
.modal__close:hover { background: var(--line); color: var(--ink); }
.modal__badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 600;
  color: var(--muted); margin-bottom: 16px;
}
.modal h2 { font-size: clamp(1.6rem, 4vw, 2.05rem); line-height: 1.1; margin-bottom: 12px; }
.modal__sub { color: var(--muted); font-size: 1.02rem; margin-bottom: 24px; }
.modal__decline {
  display: block; width: 100%; margin-top: 12px; background: none; border: 0;
  color: var(--muted); font-weight: 600; font-size: 0.95rem; padding: 8px;
}
.modal__decline:hover { color: var(--ink); }
.modal__fine { font-size: 0.76rem; color: var(--muted); margin: 16px 0 0; line-height: 1.5; }
.modal__vet { color: var(--warn); font-weight: 600; }
/* Internal pre-launch / TAPS / prototype notes — hidden from visitors. They stay in
   the source for our reference. To review them on-page, comment this rule out. */
.vet, .modal__vet { display: none; }

/* ---- DEAD 2026-08-11: rules for the removed supplement order modal. Kept
   under the append-only rule; nothing renders them. ---- */
.calo-opt { display: flex; align-items: flex-start; gap: 10px; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; cursor: pointer; }
.calo-opt:hover { border-color: var(--accent); }
.calo-opt input { margin-top: 3px; }
.calo-opt small { display: block; color: var(--muted); font-weight: 400; font-size: 0.82rem; }
.calo-pay { background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 0.88rem; color: var(--muted); margin: 4px 0 16px; }

/* ---- single-page result: option cards + bottom carousel (Hims-style) ---- */
.opt-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 14px; text-align: left; background: var(--surface); }
.opt-card--rec { border: 1.5px solid var(--ink); background: var(--surface-2); }
.opt-card__tag { display: inline-block; font-family: var(--display); font-weight: 800; font-size: 0.74rem; letter-spacing: 0.05em; text-transform: uppercase; padding: 3px 10px; border-radius: 6px; background: var(--surface-2); color: var(--ink-deep); margin-bottom: 8px; }
.opt-card--rec .opt-card__tag { background: var(--ink-deep); }
.opt-card--rec .opt-card__tag { background: var(--ink); color: #fff; }
.opt-card h3 { margin: 0 0 6px; }
.opt-card p { color: var(--muted); font-size: 0.92rem; margin: 0 0 14px; }

.cc-carousel { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 4px 2px 14px; margin-top: 12px; }
.cc-carousel::-webkit-scrollbar { height: 6px; }
.cc-carousel::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.cc-carousel__card { flex: 0 0 76%; scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; text-align: left; }
.cc-carousel__card .ico { font-size: 1.4rem; margin-bottom: 6px; }
.cc-carousel__card strong { display: block; font-family: var(--display); margin-bottom: 4px; }
.cc-carousel__card p { color: var(--muted); font-size: 0.86rem; margin: 0; }
@media (min-width: 560px) { .cc-carousel__card { flex-basis: 210px; } }

/* ---- sticky re-open CTA ---- */
.sticky-cta {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  background: var(--ink); color: #fff; border: 0; border-radius: 100px;
  padding: 14px 24px; font-weight: 650; font-size: 0.98rem;
  box-shadow: 0 16px 36px -14px rgba(36,25,18,.7);
  transition: transform .15s ease, background .2s ease;
}
.sticky-cta:hover { transform: translateY(-2px); background: var(--ink-2); }

/* ---- evidence stat band ---- */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.stats .stat { background: var(--surface); padding: 32px 24px; text-align: center; }
.stats .num { display: block; font-family: var(--display); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--ink); line-height: 1; margin-bottom: 8px; }
.stats .lbl { color: var(--muted); font-size: 0.9rem; }

/* ---- richer treatment cards ---- */
.tcard__how { color: var(--text); font-size: 0.96rem; margin: 0 0 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.tcard__inc-title { font-size: 0.74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }

/* =========================================================================
   v2 — DESIGN ELEVATION (global polish)
   ========================================================================= */

body { letter-spacing: -0.003em; }

/* avatar trust row */
.trust-row { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.avatars { display: flex; }
.avatars span { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--cream); margin-left: -10px; background: var(--surface-2); display: grid; place-items: center; font-size: 0.85rem; }
.avatars span:first-child { margin-left: 0; }
.trust-row .t { font-size: 0.85rem; color: var(--muted); }
.trust-row .t strong { color: var(--ink); }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .chip { animation: none; } }

@media (max-width: 880px) {
  .stats { grid-template-columns: 1fr; }
  .sticky-cta { right: 14px; bottom: 14px; padding: 12px 18px; font-size: 0.9rem; }
  .chip--1 { left: 2%; } .chip--2 { right: 2%; }
}

/* =========================================================================
   v2 — REAL IMAGERY
   (hotlinked royalty-free placeholders — swap for licensed assets at launch)
   ========================================================================= */
.hero__media { background: transparent; box-shadow: none; display: block; }
.hero__media::before { display: none; }
.hero__photo-wrap { position: absolute; inset: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero__photo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(36,25,18,.34)); }

.avatars img { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--cream); margin-left: -12px; object-fit: cover; }
.avatars img:first-child { margin-left: 0; }

/* testimonial with portrait */
.quote--split { display: grid; grid-template-columns: 290px 1fr; gap: 48px; align-items: center; text-align: left; max-width: 940px; }
.quote--split .portrait { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-lg); }
.quote--split .portrait img { width: 100%; height: 100%; object-fit: cover; }
.quote--split blockquote { font-size: clamp(1.3rem, 2.6vw, 1.85rem); }
@media (max-width: 880px) {
  .quote--split { grid-template-columns: 1fr; text-align: center; gap: 28px; }
  .quote--split .portrait { max-width: 220px; margin: 0 auto; }
}

/* =========================================================================
   QUIZ FUNNEL — archetype reveal, "building plan" beat, personalised plan
   (added 2026-06-03 — funnel learnings from Moshy / Hims teardowns)
   ========================================================================= */
.tiny { font-size: 0.8rem; }
.choices--row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .choices--row { grid-template-columns: 1fr; } }

/* "Building your personalised plan…" interstitial */
.building { text-align: center; padding: 28px 0 8px; }
.building__spin {
  width: 46px; height: 46px; margin: 0 auto 22px; border-radius: 50%;
  border: 3px solid var(--line); border-top-color: var(--ink);
  animation: cc-spin 0.8s linear infinite;
}
@keyframes cc-spin { to { transform: rotate(360deg); } }
.building__list { list-style: none; padding: 0; margin: 18px auto 0; max-width: 340px; text-align: left; }
.building__list li {
  padding: 9px 0 9px 30px; position: relative; color: var(--muted);
  opacity: 0.45; transition: opacity 0.3s ease, color 0.3s ease;
}
.building__list li::before {
  content: "○"; position: absolute; left: 4px; color: var(--line); font-size: 0.9rem;
}
.building__list li.done { opacity: 1; color: var(--ink); }
.building__list li.done::before { content: "✓"; color: var(--good); font-weight: 700; }

/* Personalised plan card */
.plan {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow);
}
.plan__badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 650;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--good);
  background: rgba(63,106,69,0.1); padding: 6px 12px; border-radius: 999px; margin-bottom: 14px;
}
.plan__badge .check { background: none; color: var(--good); padding: 0; }
.plan h2 { font-family: var(--display); font-size: clamp(1.9rem, 3.6vw, 2.5rem); margin: 0 0 8px; }
.plan__grid { margin: 4px 0 20px; border-top: 1px solid var(--line); }
.plan__row {
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
  padding: 13px 0; border-bottom: 1px solid var(--line);
}
.plan__row span { color: var(--muted); font-size: 0.92rem; }
.plan__row strong { text-align: right; max-width: 62%; }
.plan__price { background: var(--surface-2); border-radius: var(--radius); padding: 8px 18px; margin-bottom: 6px; }
.plan__price-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.plan__price-row:last-child { border-bottom: none; }
.plan__price-row span { display: flex; flex-direction: column; }
.plan__price-row span small, .plan__price-row strong small { color: var(--muted); font-weight: 400; font-size: 0.8rem; }
.plan__price-row > strong { font-size: 1.5rem; white-space: nowrap; }

.plan__next-head { font-weight: 650; color: var(--good); margin: 6px 0 12px; }
.plan__steps { margin: 0 0 18px; padding-left: 20px; }
.plan__steps li { padding: 6px 0; color: var(--text); }

/* =========================================================================
   WAITLIST CAPTURE — pre-launch primary conversion
   ========================================================================= */
.waitlist { margin: 22px 0 14px; max-width: 460px; }
.waitlist--center { margin-left: auto; margin-right: auto; }
.waitlist__label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 8px; font-size: .95rem; }
.waitlist__row { display: flex; gap: 8px; flex-wrap: wrap; }
.waitlist__row input[type="email"] {
  flex: 1 1 220px; min-width: 0; padding: 14px 16px; font-size: 1rem;
  font-family: var(--font); border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
}
.waitlist__row input[type="email"]:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.waitlist__row .btn { white-space: nowrap; }
.waitlist__done { margin: 12px 0 0; font-weight: 600; color: var(--good); }
.section--ink .waitlist__label { color: #fff; }

/* =========================================================================
   SEX-SPLIT FRONT DOOR + sex-tailored landing hero panels
   ========================================================================= */
/* Hero photography (mens.html / womens.html) — licensed images in /img; the old
   gradient placeholder panels + wireframe labels are gone. */

/* Clean, centred hero headline above the sex-split front door */
.hero--paths { padding-bottom: var(--section-y); }
.hero__head { max-width: 720px; margin: 0 auto 40px; }
.hero__head .lead { margin: 0 auto; max-width: 600px; }
.hero__followup { font-family: var(--display); font-weight: 500; color: var(--ink-2); }

/* Two-tile front door on the homepage */
.pathsplit { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pathsplit--hero { gap: 22px; }
.pathtile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 220px; border-radius: var(--radius-lg); padding: 28px; color: #fff;
  text-decoration: none; overflow: hidden; box-shadow: var(--shadow); transition: transform .15s ease;
}
.pathsplit--hero .pathtile { min-height: 300px; padding: 36px; }
.pathtile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.92); }
.pathtile::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 38%, rgba(36,25,18,.85)); }
.pathtile > *:not(.pathtile__img) { z-index: 2; }
.pathtile:hover { transform: translateY(-3px); }
.pathtile--men   { background: linear-gradient(160deg, #4A3427, #241912); }
.pathtile--women { background: linear-gradient(160deg, #8E4226, #33241C); }
.pathtile__eyebrow { position: relative; font-size: .8rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 6px; }
.pathtile h2, .pathtile h3 { position: relative; color: #fff; font-size: var(--h3); margin: 0 0 6px; }
.pathtile__desc { position: relative; color: rgba(255,255,255,.82); font-size: .95rem; margin: 0 0 16px; max-width: 32ch; }
.pathtile__go { position: relative; display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--pistachio); }
@media (max-width: 640px) {
  .pathsplit { grid-template-columns: 1fr; }
  .pathsplit--hero .pathtile { min-height: 240px; padding: 28px; }
}

/* Footer social link */
.footer__social { margin-top: 12px; font-size: .9rem; }
.footer__social a { color: var(--pistachio); font-weight: 600; }
.footer__social a:hover { text-decoration: underline; }

/* =========================================================================
   GUIDES / ARTICLES (SEO content)
   ========================================================================= */
.article { max-width: 760px; margin: 0 auto; }
.article__meta { color: var(--muted); font-size: .9rem; margin: 10px 0 0; }
.article__review { display:inline-block; background: var(--surface-2, #EAD9C3); color: var(--muted); font-size:.8rem; border-radius:999px; padding:4px 12px; margin-top:14px; }
.article h2 { margin: 40px 0 10px; }
.article h3 { margin: 26px 0 6px; }
.article p, .article li { font-size: 1.04rem; line-height: 1.7; }
.article ul, .article ol { padding-left: 22px; }
.article li { margin: 6px 0; }
.article a { color: var(--ink-2, var(--ink)); font-weight: 600; }
.article .compliance { margin-top: 28px; }
.guidecard { display:block; background:#fff; border:1px solid var(--line); border-radius:18px; padding:24px 26px; text-decoration:none; box-shadow:var(--shadow); transition:transform .15s ease; }
.guidecard:hover { transform: translateY(-3px); }
.guidecard h3 { color: var(--ink); margin:0 0 6px; }
.guidecard p { color: var(--muted); margin:0; }
.relatedguides { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:18px; }
@media (max-width:640px){ .relatedguides { grid-template-columns:1fr; } }


/* ---- brand wordmark (logo image) — added with identity wiring ---- */
.wordmark__img { height: 30px; width: auto; display: block; }   /* Lino serif wordmark (Terra) is ~4.7:1, so it sits taller than the old 7.3:1 sans */
.footer .wordmark__img { height: 28px; margin-bottom: 16px; }
@media (max-width: 600px) { .wordmark__img { height: 26px; } }

/* =========================================================================
   REFORMAT 2026-06-10 — components for the approved 54-item reformat board
   (decisions.json in design-review/). Pages reference these; logic untouched.
   ========================================================================= */

/* ---- SVG line-icon system (replaces emoji site-wide) ---- */
.svgi { width: 1.3em; height: 1.3em; stroke: currentColor; fill: none; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.22em; }
.ico { color: var(--ink); }
.ico .svgi { width: 24px; height: 24px; }
.cc-carousel__card .ico { color: var(--ink); }
.cc-carousel__card .ico .svgi { width: 20px; height: 20px; }

/* ---- credential wall — regulators as a designed trust block ---- */
.credwall { display: flex; border-top: 1px solid #D9C6AE; border-bottom: 1px solid #D9C6AE; }
.credwall > div { flex: 1; text-align: center; padding: 20px 14px; border-right: 1px solid #D9C6AE;
  font-weight: 600; font-size: 0.85rem; color: var(--text); }
.credwall > div:last-child { border-right: 0; }
.credwall span { display: block; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }

/* ---- unboxed numbered step rows (homepage "how it works") ---- */
.steprows { border-top: 1px solid var(--line); }
.steprow { display: grid; grid-template-columns: 72px 230px 1fr; gap: 28px; padding: 26px 0;
  border-bottom: 1px solid var(--line); align-items: baseline; }
.steprow .n { font-family: var(--display); font-weight: 800; font-size: 1rem; color: var(--accent-2); }
.steprow h3 { margin: 0; font-size: 1.2rem; }
.steprow p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---- vertical timeline with clinician gates (how-it-works page) ---- */
.tl { position: relative; max-width: 760px; margin: 0 auto; }
.tl-item { position: relative; padding: 0 0 40px 64px; }
.tl-item::before { content: ""; position: absolute; left: 17px; top: 40px; bottom: -2px; width: 2px; background: var(--line); }
.tl-item:last-child { padding-bottom: 0; }
.tl-item:last-child::before { display: none; }
.tl-num { position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink); color: #fff; display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: 0.85rem; }
.tl-item h3 { margin: 0 0 6px; }
.tl-item p { color: var(--muted); margin: 0; }
.tl-gate { display: inline-flex; align-items: center; gap: 6px; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--good);
  background: rgba(63,106,69,0.1); border-radius: 100px; padding: 3px 10px; margin-left: 10px; vertical-align: middle; }

/* ---- medicine card colour-coding (homepage + treatments) ---- */
.tcard--wegovy   { border-top: 4px solid var(--ink); }
.tcard--mounjaro { border-top: 4px solid var(--accent); }
.tcard--saxenda  { border-top: 4px solid var(--muted); }
.compare--slim th, .compare--slim td { padding: 13px 16px; font-size: 0.92rem; }

/* ---- pricing: founding badge + microcopy + mobile prominence ---- */
.ptier__founding { display: inline-block; background: rgba(192,100,63,0.14); color: var(--accent-2);
  font-weight: 700; font-size: 0.85rem; border-radius: 100px; padding: 8px 16px; margin: 4px 0 10px; }
.ptier__pop { display: inline-block; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; background: var(--pistachio); color: var(--ink-deep);
  border-radius: 100px; padding: 4px 12px; margin-bottom: 10px; }
.cta-note { font-size: 0.82rem; color: var(--muted); margin-top: 10px; }
.section--ink .cta-note { color: var(--on-ink-3); }

/* ---- guides: card meta + article key-fact block ---- */
.guidecard__meta { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; font-size: 0.74rem; }
.gtag { font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2);
  background: var(--surface-2); border-radius: 100px; padding: 3px 10px; }
.gread { color: var(--muted); }
.keyfact { background: var(--surface-2); border-left: 3px solid var(--accent);
  border-radius: 0 14px 14px 0; padding: 22px 26px; margin: 30px 0; }
.keyfact .kf-num { font-family: var(--display); font-weight: 800; font-size: 2rem;
  color: var(--ink-deep); display: block; line-height: 1.1; margin-bottom: 4px; }
.keyfact p { margin: 0; color: var(--text); font-size: 0.98rem; }

/* ---- DEAD 2026-08-11: buy card for the removed supplement lander. ---- */
.buycard { display: grid; grid-template-columns: 280px 1fr; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; max-width: 780px; margin: 0 auto; }
.buycard__media { background: var(--surface-2); display: grid; place-items: center; padding: 30px; }
.buycard__media img { max-width: 200px; height: auto; }
.buycard__body { padding: 30px; }
.prodmark { width: 130px; height: 190px; border-radius: 16px; background: linear-gradient(175deg, #fff 0%, #f4eee1 100%);
  border: 1px solid var(--line); display: grid; place-content: center; gap: 8px; text-align: center; padding: 16px; }
.prodmark .pm-name { font-family: var(--display); font-weight: 800; color: var(--ink-deep); font-size: 1.05rem; }
.prodmark .pm-sub { font-size: 0.66rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.benefitchips { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.benefitchip { display: inline-flex; align-items: center; gap: 8px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 100px; padding: 10px 18px; font-weight: 600;
  font-size: 0.92rem; color: var(--ink); }
.bridgeband { background: var(--surface-2); border-radius: var(--radius); padding: 26px 30px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.bridgeband p { margin: 0; }

/* ---- clinician placeholder profiles + secondary-page prose ---- */
.profile-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; text-align: center; }
.profile-card .ph { width: 96px; height: 96px; border-radius: 50%; background: var(--surface-2);
  border: 1px dashed #D4C1A9; display: grid; place-items: center; margin: 0 auto 16px; color: var(--muted); }
.profile-card h3 { margin: 0 0 4px; }
.profile-card .cred { font-size: 0.85rem; color: var(--muted); }
.prose { max-width: 640px; margin: 0 auto; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }

/* ---- pull-quote (womens) + confirmation strip + 404 ---- */
.pullquote { font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  line-height: 1.28; color: var(--ink-deep); max-width: 26ch; margin: 0 auto; text-align: center; }
.confirm-strip { display: inline-flex; align-items: center; gap: 10px; background: rgba(63,106,69,0.1);
  color: var(--good); border-radius: 100px; padding: 8px 18px; font-weight: 600; font-size: 0.9rem; }
.bigcode { font-family: var(--display); font-weight: 800; font-size: clamp(5rem, 18vw, 9rem);
  line-height: 1; color: var(--ink-deep); letter-spacing: -0.04em; }
.bigcode .dot { color: var(--accent); }

/* ---- collapsed waitlist (homepage close: one ask, quiet fallback) ---- */
.waitlist-details { text-align: center; margin-top: 26px; }
.waitlist-details summary { cursor: pointer; display: inline-block; color: var(--muted);
  font-size: 0.9rem; font-weight: 600; list-style: none; border-bottom: 1.5px solid var(--accent); padding-bottom: 2px; }
.waitlist-details summary::-webkit-details-marker { display: none; }
.waitlist-details[open] summary { display: none; }

/* ---- inline-style sweep utilities ---- */
.mw-560 { max-width: 560px; margin-left: auto; margin-right: auto; }
.mw-600 { max-width: 600px; margin-left: auto; margin-right: auto; }
.mw-620 { max-width: 620px; margin-left: auto; margin-right: auto; }
.mw-660 { max-width: 660px; margin-left: auto; margin-right: auto; }
.mw-640 { max-width: 640px; margin-left: auto; margin-right: auto; }
.mw-680 { max-width: 680px; margin-left: auto; margin-right: auto; }
.mw-720 { max-width: 720px; margin-left: auto; margin-right: auto; }
.mw-760 { max-width: 760px; margin-left: auto; margin-right: auto; }
.mw-860 { max-width: 860px; margin-left: auto; margin-right: auto; }
.h2-sub { font-size: var(--h3); }
.section--flush { padding-top: 0; }
.hero__empathy { max-width: 600px; margin: 18px auto 0; color: var(--text); font-size: 1.12rem; line-height: 1.55; }

/* ---- reformat responsive ---- */
@media (max-width: 880px) {
  .credwall { flex-wrap: wrap; }
  .credwall > div { flex-basis: 50%; border-bottom: 1px solid #D9C6AE; }
  .credwall > div:nth-child(2n) { border-right: 0; }
  .credwall > div:nth-last-child(-n+2) { border-bottom: 0; }
  .steprow { grid-template-columns: 48px 1fr; }
  .steprow p { grid-column: 2; }
  .buycard { grid-template-columns: 1fr; }
  /* featured pricing tier keeps prominence when the scale() dies on mobile */
  .ptier--feature { border-top: 4px solid var(--accent); order: -1; }
}

/* ===== sprint/u2 shell ===== */
.footer__h4--stacked { margin-top: 26px; }

/* ===== sprint/u1 homepage ===== */
/* Hero stat chips — the 30/40/18 clinical stats (qualifier lives in .statnote). */
.statchips { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 26px; }
.statchip { display: inline-flex; align-items: baseline; gap: 6px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 100px; padding: 10px 18px; color: var(--muted);
  font-size: 0.95rem; font-weight: 600; }
.statchip strong { font-family: var(--display); font-weight: 800; color: var(--ink); font-size: 1.15rem; }
.statnote { font-size: 0.85rem; color: var(--muted); margin-top: 12px; text-align: center; }
.statnote a { color: var(--ink-2); font-weight: 600; }
/* Buy box: on-page plan rows + "Most popular" tag + risk-reversal trio. */
.buyplans { margin: 18px 0 14px; }
.buyplans .calo-opt { background: var(--surface-2); }
.buyplans__tag { margin-left: 8px; margin-bottom: 0; vertical-align: middle; background: var(--pistachio); }
.riskrow { list-style: none; padding: 0; margin: 14px 0 0; }
.riskrow li { display: flex; align-items: center; gap: 10px; color: var(--muted); padding: 5px 0; font-size: 0.95rem; }
.svgi--inline { width: 1.05em; height: 1.05em; flex-shrink: 0; color: var(--accent-2); }
/* Science section: the no-overclaim disclosure line. */
.sciencenote { font-size: 0.9rem; color: var(--muted); margin-top: 32px; }
/* Attributed proof: reviewer attribution line under each quote card. */
.quotewho { color: var(--muted); font-size: 0.9rem; font-weight: 600; margin-top: 12px; }

/* ===== sprint/u4 science ===== */
/* trial cards — one per published study (science.html) */
.trial { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 34px; max-width: 860px; margin: 0 auto 22px; }
.trial__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  flex-wrap: wrap; margin-bottom: 10px; }
.trial__org { display: inline-flex; align-items: center; gap: 8px; font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.trial__ico { width: 16px; height: 16px; flex: none; }
.trial__year { font-family: var(--display); font-weight: 800; font-size: 0.9rem; color: var(--muted); }
.trial h3 { margin: 0 0 10px; }
.trial > p { color: var(--muted); margin: 0; }
.trial__stats { display: flex; gap: 14px; flex-wrap: wrap; margin: 20px 0 0; }
.trial__stat { flex: 1 1 150px; background: var(--surface-2); border-radius: 12px; padding: 14px 16px; }
.trial__stat .n { font-family: var(--display); font-weight: 800; font-size: 1.55rem; line-height: 1.1;
  color: var(--ink-deep); display: block; margin-bottom: 4px; }
.trial__stat .l { font-size: 0.8rem; color: var(--muted); }
.trial__note { background: var(--surface-2); border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0; padding: 12px 16px; font-size: 0.9rem; color: var(--text); margin: 18px 0 0; }
.trial__note strong { color: var(--ink); }
.trial__cite { border-top: 1px solid var(--line); padding-top: 14px; margin: 20px 0 0;
  font-size: 0.85rem; color: var(--muted); }
/* honesty table — text-heavy variant of .compare */
.compare--evidence td:not(:first-child) { text-align: left; }
.compare--evidence td { vertical-align: top; width: 50%; font-size: 0.95rem; color: var(--muted); }
.compare--evidence .yes, .compare--evidence .no { display: block; font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }
.compare--evidence .no { color: var(--ink-2); }
.trial__after { text-align: center; color: var(--muted); font-size: 0.92rem; margin: 22px 0 0; }
@media (max-width: 880px) {
  .trial { padding: 24px 20px; }
  .trial__stat { flex-basis: 100%; }
}

/* ===== sprint/u3 buy modal ===== */
/* DEAD 2026-08-11: product subline in the removed order modal */
.calo-subline { font-family: var(--display); font-weight: 700; font-size: 0.92rem; color: var(--muted); margin: -6px 0 10px; }
/* Honest dosing note under the plan options */
.calo-dose { font-size: 0.82rem; color: var(--muted); line-height: 1.5; margin: 2px 0 0; }
/* Risk-reversal trio near the submit button (compact .proof-style chips) */
.calo-assure { list-style: none; display: flex; justify-content: center; gap: 8px 18px; flex-wrap: wrap; margin: 14px 0 0; padding: 0; }
.calo-assure li { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.calo-assure .svgi { width: 15px; height: 15px; flex: none; }

/* ===== sprint/u5 landers ===== */
/* Gruns-style listicle landers: start.html + avatar variants (start-cravings, start-natural).
   Numbered reason blocks + angle-matched proof quotes. Append-only section. */
.listicle { display: flex; flex-direction: column; gap: 18px; }
.lreason { display: grid; grid-template-columns: 48px 1fr; gap: 22px; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; }
.section--tint .lreason { border-color: transparent; }
.lreason__num { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: var(--surface-2); font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--ink); }
.section--tint .lreason__num { background: var(--cream); }
.lreason h3 { display: flex; align-items: center; gap: 10px; margin: 4px 0 8px; font-size: var(--h3); }
.lreason h3 .svgi { flex: none; color: var(--ink); }
.lreason p { margin: 0; color: var(--text); }
.lreason p + p { margin-top: 8px; }
.lreason .lsource { display: block; margin-top: 10px; font-size: 0.82rem; color: var(--muted); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.quotes--two { grid-template-columns: repeat(2, 1fr); max-width: 860px; margin-left: auto; margin-right: auto; }
.lquote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; margin: 0; display: flex; flex-direction: column; }
.lquote p { margin: 0 0 14px; color: var(--text); line-height: 1.55; }
.lquote figcaption { margin-top: auto; font-size: 0.85rem; color: var(--muted); }
.lquote figcaption strong { color: var(--ink); font-weight: 700; }
@media (max-width: 880px) {
  .lreason { grid-template-columns: 40px 1fr; gap: 16px; padding: 22px 22px; }
  .lreason__num { width: 40px; height: 40px; font-size: 1.1rem; }
  .quotes, .quotes--two { grid-template-columns: 1fr; }
}

/* ===== sprint/u8 sweep ===== */
/* DEAD 2026-08-11: cross-sell band variant for the removed supplement */
.bridgeband--calo { border: 1px solid var(--line); }
.bridgeband--calo .btn { flex-shrink: 0; }
/* Pricing table — was 4 tiers with a supplement entry tier; now 3 columns */
.ptable--4 { grid-template-columns: repeat(4, 1fr); }
.ptier--calo { border-top: 4px solid var(--accent); }
@media (max-width: 1080px) { .ptable--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 880px) { .ptable--4 { grid-template-columns: 1fr; } }

/* ===== offer popup (OfferPop — Gruns-style segmented capture) ===== */
.offerpop { max-width: 480px; text-align: left; }
.offerpop .eyebrow { margin-bottom: 6px; }
.op-choices { display: flex; flex-direction: column; gap: 10px; margin: 18px 0 14px; }
.op-choice { font: inherit; font-weight: 600; text-align: left; padding: 13px 16px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--surface-2); color: var(--text); cursor: pointer;
  transition: border-color .15s, background .15s; }
.op-choice:hover, .op-choice:focus-visible { border-color: var(--ink); background: var(--surface); }
.op-decline { font: inherit; font-size: 0.85rem; color: var(--muted); background: none; border: none;
  cursor: pointer; text-decoration: underline; padding: 4px 0; }
.op-decline:hover { color: var(--text); }

/* ===== buy modal plan cards (Gruns-style autoship presentation) ===== */
.calo-opt span { display: block; }
.calo-opt--featured { border: 2px solid var(--ink); background: var(--surface-2); position: relative; }
.calo-opt__tag { display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; background: var(--pistachio); color: var(--ink-deep, #33241C);
  border-radius: 100px; padding: 3px 10px; margin-bottom: 6px; }
.calo-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 4px 0 2px; }
.calo-price__now { font-family: var(--display); font-weight: 800; font-size: 1.25rem; color: var(--ink); }
.calo-price__was { color: var(--muted); font-size: 0.95rem; }
.calo-price__day { margin-left: auto; font-weight: 700; font-size: 0.9rem; color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--line); border-radius: 100px; padding: 2px 10px; }
.calo-opt--featured .calo-price__day { background: var(--surface); }

/* ---- 2026-06-21 · homepage photo refresh (programme-led rebuild) ---------
   AI-generated, label-free imagery (src/img/hero-home,
   botanical). No drop-shadow (reformat decision holds) — borders instead. */
.buycard__media--photo { padding: 0; background: var(--surface-2); }
.buycard__media--photo img { width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }
@media (max-width: 760px) { .buycard__media--photo { aspect-ratio: 16/9; } }

.imgcard { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; }
.imgcard img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 760px) { .imgcard { aspect-ratio: 16/10; } }

/* ---- 2026-06-26 · membership homepage redesign (board squares A–I) --------
   Append-only block. New components: hero ticks, scrolling marquee, large
   stat band, "what's included" grid, designed-to-work cards, projection
   slider, comparison helpers. No drop-shadow (reformat decision holds). */

/* hero tick list (square C) */
.hero__ticks { margin: 0 0 28px; }

/* large stat band (square E1) */
.statchips--lg { display: flex; justify-content: center; gap: 16px; margin: 0 auto 14px; max-width: 560px; flex-wrap: wrap; }
.statchips--lg .statchip { flex: 1 1 150px; padding: 18px 14px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.statchips--lg .statchip strong { display: block; font-family: var(--display); font-size: 2.1rem; color: var(--ink); line-height: 1; margin-bottom: 4px; }

/* scrolling benefits marquee (square G1) */
.marquee-band { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 14px 0; }
.marquee-track { display: flex; gap: 0; width: max-content; white-space: nowrap; animation: cc-marquee 38s linear infinite; }
.marquee-track span { font-family: var(--display); font-weight: 700; font-size: 0.95rem; color: var(--ink-deep); padding: 0 26px; display: inline-flex; align-items: center; }
.marquee-track span::before { content: "\2022"; color: var(--accent); margin-right: 26px; font-size: 1rem; }
@keyframes cc-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* what's included grid (square F1) */
.incgrid { list-style: none; padding: 0; margin: 0 auto; max-width: 920px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 28px; }
.incgrid li { display: flex; align-items: flex-start; gap: 10px; font-size: 1.02rem; color: var(--text); padding: 6px 0; }
.inc-more { margin-top: 22px; font-family: var(--display); font-weight: 700; color: var(--muted); }
@media (max-width: 860px) { .incgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .incgrid { grid-template-columns: 1fr; max-width: 340px; } }

/* designed-to-work cards (square H1) */
.dtw { padding: 28px; }
.dtw .ico { margin-bottom: 10px; }
.dtw h3 { margin-bottom: 14px; }
.dtw .riskrow li { margin-bottom: 10px; }

/* projection slider (square E2) */
.slidercard { padding: 28px; text-align: center; }
.slidercard__lab { font-size: 0.9rem; color: var(--muted); margin-bottom: 6px; }
.slidercard__weight { font-family: var(--display); font-weight: 800; font-size: 2.4rem; color: var(--ink-deep); display: block; line-height: 1; }
.slidercard__proj { font-family: var(--display); font-weight: 800; font-size: 2.4rem; color: var(--ink); display: block; line-height: 1; margin-top: 4px; }
.slidercard__sub { font-size: 0.92rem; color: var(--muted); margin: 18px 0 4px; }
.slidercard__note { font-size: 0.8rem; color: var(--muted); margin: 8px 0 16px; }
.slider { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: var(--line); outline: none; margin: 14px 0 4px; }
.slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); cursor: pointer; border: 3px solid var(--cream); }
.slider::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); cursor: pointer; border: 3px solid var(--cream); }

/* comparison helpers (square I2) */
.compare td small, .compare th small { display: block; font-family: var(--font); font-weight: 500; font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
.compare .col-us small { color: var(--ink); }
.comparenote { max-width: 620px; margin: 20px auto 0; font-size: 0.92rem; color: var(--muted); }
.mw-840 { max-width: 840px; }

/* ---- 2026-06-27 · membership pricing page (board squares A–I) -------------
   Append-only. Featured membership card + add-on stack, medication all-in
   callout, money-back band. "Most popular" badge is CREAM not sand (Charles). */
.planwrap { max-width: 560px; margin: 0 auto; }
.planhero { position: relative; text-align: left; }
.planhero .amt { display: block; margin: 4px 0 2px; }
.permo { font-family: var(--font); font-weight: 600; font-size: 1rem; color: inherit; opacity: .8; }
/* not-yellow "Most popular" badge on the dark feature card */
.popbadge { display: inline-block; font-family: var(--display); font-weight: 800; font-size: 0.68rem;
  letter-spacing: 0.08em; text-transform: uppercase; background: #fff; color: var(--ink-deep);
  border-radius: 100px; padding: 4px 12px; margin-bottom: 12px; }

.addons { max-width: 560px; margin: 18px auto 0; }
.addons__lab { font-family: var(--display); font-weight: 800; font-size: 0.8rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.addon-row { display: flex; align-items: center; gap: 14px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 10px; }
.addon-row strong { font-family: var(--display); color: var(--ink-deep); display: block; }
.addon-row small { color: var(--muted); font-size: 0.84rem; }
.addon-amt { margin-left: auto; font-family: var(--display); font-weight: 800; font-size: 1.15rem;
  color: var(--ink-deep); white-space: nowrap; }
.addon-amt small { font-weight: 600; color: var(--muted); font-size: 0.72rem; }
.addon-amt--sm { font-size: 0.92rem; }
.addon-amt--sm a { color: var(--ink); text-decoration: underline; }
.addons__note { font-size: 0.82rem; color: var(--muted); margin: 6px 2px 0; }

.medcards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); max-width: 720px; margin: 0 auto 22px; }
.medcard { text-align: center; }
.medcard h3 { margin: 6px 0 2px; }
.allin { max-width: 560px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px 28px; text-align: center; }
.allin .amt { font-family: var(--display); font-weight: 800; font-size: 2.6rem; color: var(--ink-deep);
  line-height: 1; display: block; margin: 6px 0 12px; }
.allin p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.bridgeband--guarantee { display: flex; align-items: center; justify-content: center; text-align: center; }
.bridgeband--guarantee p { max-width: 640px; }
@media (max-width: 560px) { .medcards { grid-template-columns: 1fr; } }

/* sticky top confidence banner (pricing) — wrapper pins protobar + nav together,
   so the money-back guarantee is held at the top through the whole page. The nav
   becomes static inside the pinned wrapper (the wrapper provides the stickiness). */
.topbar--sticky { position: sticky; top: 0; z-index: 60; }
.topbar--sticky .nav { position: static; }
.topbar--sticky .protobar { font-size: 0.84rem; padding: 9px 16px; }

/* legibility: cta-note under the CTA on the dark feature card was muted grey on
   dark green (too low-contrast). Lift it to the dark-panel sage, like .section--ink. */
.ptier--feature .cta-note { color: var(--on-ink-3); }

/* ---- 2026-06-30 · two-tier pricing (Essentials vs Premium) ---------------
   Append-only. Ports design-review/membership-tiers-board.html into pricing.html
   (task #4). Essentials = light hero card (left/primary), Premium = dark
   .ptier--feature destination (right). All rules SCOPED to .tierpair so other
   pages' .ptier usage is untouched. Reuses .ptier/.compare/.popbadge/.addon-row
   /.amt/.permo/.per/.cta-note/.vet already defined above. */
.tierpair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: stretch; max-width: 920px; margin: 0 auto; }
/* equal pair — drop the 3-up scale() so Essentials isn't visually buried */
.tierpair .ptier { padding: 34px 32px; }
.tierpair .ptier--feature { transform: none; }
.tierpair .ptier h3 { font-size: 1.7rem; color: var(--ink-deep); }
.tierpair .ptier--feature h3 { color: #fff; }
.tierpair .ptier__tag { color: var(--accent-2); }
.tierpair .ptier--feature .ptier__tag { color: var(--pistachio); }
.tierpair .popbadge { align-self: flex-start; }
.tierpair .ptier--feature .popbadge { background: rgba(255,255,255,.10); color: #fff; border: 1px solid rgba(255,255,255,.22); }
.tierpair .tagline { color: var(--muted); font-size: 0.96rem; margin: 6px 0 18px; }
.tierpair .ptier--feature .tagline { color: var(--on-ink-3); }
.tierpair .priceline { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.tierpair .priceline .amt { font-family: var(--display); font-weight: 800; font-size: 2.6rem; line-height: 1; }
.tierpair .ptier .per { margin: 8px 0 0; }
.tierpair .priceplus { font-family: var(--display); font-weight: 800; font-size: 1rem; color: #B8A28B; margin: 10px 0 0; }
.tierpair .priceplus-sub { display: block; font-family: var(--font); font-weight: 500; font-size: 0.84rem; color: var(--on-ink-3); margin-top: 3px; }
.tierpair .ptier ul { margin: 18px 0 22px; }
.tierpair .ptier li.plus-head { padding-left: 0; font-family: var(--display); font-weight: 800; font-size: 0.74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.tierpair .ptier--feature li.plus-head { color: #B8A28B; }
.tierpair .ptier li.plus-head::before { content: none; }
.tierpair .addon-lab { font-family: var(--display); font-weight: 800; font-size: 0.74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 4px 2px 8px; }
.tierpair .addon-amt { text-align: right; }
.tierpair .addon-amt small { display: block; }
/* "added"/"if prescribed" cells in the comparison matrix */
.compare .added { color: var(--ink); font-weight: 700; }
/* medication "priced at consult" line — replaces the old .allin "$420" block */
.medprice { font-size: 1.05rem; color: var(--muted); line-height: 1.6; }
.medprice strong { color: var(--ink); }
/* comparison matrix: wide on mobile, so it scrolls inside its own container
   rather than forcing the page body to scroll horizontally (brand rule). */
.compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 820px) {
  .tierpair { grid-template-columns: 1fr; max-width: 480px; }
  /* grid items must be allowed to shrink below their content min-size, or the
     nowrap price amounts + long medication line push the card past the viewport. */
  .tierpair .ptier { min-width: 0; }
  /* stack ESSENTIALS first (overrides the global .ptier--feature{order:-1}) */
  .tierpair .ptier--essentials { order: -1; }
  .tierpair .ptier--feature { order: 0; border-top: 0; }
}
@media (max-width: 560px) {
  .tierpair .addon-amt { white-space: normal; }
  .compare-scroll .compare { min-width: 460px; }
}

/* =========================================================================
   2026-07-02 · THREE-UP PRICING TIERPAIR (B2 — a supplement 3rd card, since
   removed 2026-08-11; .tierpair is a two-card pair again).
   APPEND-ONLY. The base .tierpair is 2-up (1fr 1fr, max-width 920px) and the
   existing @media(max-width:820px) rule above already stacks it to 1 column
   on mobile. These overrides are scoped to min-width:821px ONLY, so they never
   compete with (or override) that mobile-stack rule regardless of source order.
   Reuses .ptier / .popbadge / .priceline — no new component classes.
   ========================================================================= */
@media (min-width: 821px) {
  .tierpair { grid-template-columns: repeat(3, 1fr); max-width: 1120px; }
}
/* Tablet band: 3 cards get cramped between ~821–1000px — drop to 2-up, letting
   the third card wrap onto its own row and span full width. DEAD since the
   third card was removed 2026-08-11. */
@media (min-width: 821px) and (max-width: 1000px) {
  .tierpair { grid-template-columns: repeat(2, 1fr); max-width: 840px; }
  .tierpair .ptier--calo { grid-column: 1 / -1; }
}
/* DEAD 2026-08-11 — the supplement card sat beside the two membership tiers
   as a light card with the
   sand top-border marker (.ptier--calo already defines the border-top). */
.tierpair .ptier--calo h3 { color: var(--ink-deep); }
.tierpair .ptier--calo .ptier__tag { color: var(--accent-2); }

/* Member "Log in" link — nav corner (desktop, left of the primary CTA) +
   the mobile dropdown. Secondary to "Check your eligibility"; a quiet text
   link, never a second button. (2026-07-09) */
.nav__login { font-weight: 600; color: var(--ink); white-space: nowrap; }
.nav__login:hover { color: var(--ink-2); text-decoration: underline; }
.nav__links-login { font-weight: 700; }

/* 2026-07-11 — nav spacing: guarantee a gap between the link cluster and the CTA
   cluster (adding "Recipes" made the last link collide with "Log in"), and tighten
   the inter-link gap a touch so 6 links + CTA sit comfortably at laptop widths. */
.nav__inner { gap: 28px; }
.nav__links { gap: 26px; }
.nav__links a { white-space: nowrap; }   /* keep each item on one line — no mid-word wrap */

/* 2026-07-11 — compact floating conversion CTA. The oversized nav pill is gone;
   the nav now carries just Log in on the right, and this small pill floats
   bottom-right on marketing pages. (A soft shadow is used deliberately here — a
   floating overlay needs elevation to read; the rest of the site stays shadow-free.) */
.cc-floatcta { position: fixed; right: 22px; bottom: 22px; z-index: 60; padding: 13px 22px; border-radius: 100px; font-size: 0.95rem; box-shadow: 0 10px 30px rgba(51,36,28,.28); }
.cc-floatcta:hover { box-shadow: 0 12px 34px rgba(51,36,28,.34); }
@media (max-width: 560px) { .cc-floatcta { right: 14px; bottom: 14px; padding: 12px 18px; font-size: 0.88rem; } }
@media (max-width: 1160px) { .nav__links { gap: 20px; } }
/* below ~1080px the full nav gets cramped — collapse to the mobile menu earlier
   (base breakpoint is 880px) so links never wrap or collide on smaller laptops.
   NAV-ONLY: mirrors the nav rules from the 880px block (incl. the hamburger +
   dropdown) so it works in the 880–1080px band, without stacking page content. */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav.open .nav__links {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--cream); padding: 20px 24px; gap: 18px; border-bottom: 1px solid var(--line); z-index: 50;
  }
  .hide-mobile { display: none; }
  .show-mobile { display: inline-flex; }
  .nav__links-cta { margin-top: 4px; justify-content: center; }
}

/* =========================================================================
   2026-07-30 · FIRST-NAME CAPTURE (workflow 01 — email lifecycle)
   Appended, not edited: the existing .waitlist__row rules only style
   input[type="email"], so a first-name text input needs its own rule or it
   renders unstyled next to a styled email field.
   Sizing: flex-basis 130px so name + email + button sit on one row on desktop
   and stack cleanly under 480px. The name field is never `required` — it only
   personalises the welcome email's greeting.
   ========================================================================= */
.waitlist__row input[type="text"] {
  flex: 0 1 130px; min-width: 0; padding: 14px 16px; font-size: 1rem;
  font-family: var(--font); border: 1px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--ink);
}
.waitlist__row input[type="text"]:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
/* "(optional)" next to a pop-up field label — quieter than the label itself. */
.op-opt { font-weight: 400; color: var(--muted); font-size: .88em; }

/* 2026-07-30 — inclusions honesty split (workflow 04). The "what's included"
   grid now runs as two lists: what a member can use today, and what's coming.
   Appended, not edited: .incgrid itself is untouched, so every other use of it
   is unaffected. The "soon" list is deliberately quieter — same layout, muted
   ink and a clock icon instead of a tick — so it reads as a roadmap rather than
   a promise. Fair Trading, not decoration. */
.inc-head { max-width: 920px; margin: 0 auto 12px; font-family: var(--display); font-weight: 800;
  font-size: 0.72rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink); }
.inc-head--soon { margin-top: 30px; color: var(--muted); }
.incgrid--soon li { color: var(--muted); font-size: 0.96rem; }
.incgrid--soon .svgi { color: var(--muted); opacity: 0.85; }

/* 2026-10 — strip-back: deep-link anchors (#money-back, #complaints,
   #how-it-works) land below the sticky nav instead of under it. */
:target { scroll-margin-top: 110px; }

/* ---- launch consult request on the quiz result (10 Oct 2026) ---- */
.consult-steps { margin: 4px 0 14px; padding-left: 1.2em; display: grid; gap: 6px; font-size: .95rem; }
.consult-done { margin: 12px 0 0; padding: 12px 14px; border-radius: 12px; background: #E3EADB; color: #3F6A45; }

/* ---- launch result gate (10 Oct 2026): fewer words, one action ---- */
.gate { background: #fff; border: 1px solid #E2D3C0; border-radius: 28px; padding: clamp(22px, 4vw, 36px); display: grid; gap: 18px; text-align: left; }
.gate__badge { justify-self: start; font: 700 .75rem/1 "Work Sans", system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; background: #33241C; color: #F6EEE3; padding: 8px 12px; border-radius: 999px; }
.gate__h { font-family: "Bricolage Grotesque", system-ui, sans-serif; font-weight: 700; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.4rem); line-height: 1.05; letter-spacing: -.03em; margin: 0; text-wrap: balance; }
.gate__prog { background: #EAD9C3; border-radius: 20px; padding: 18px 20px; display: grid; gap: 12px; }
.gate__price { margin: 0; display: flex; align-items: baseline; gap: 6px; color: #6B5647; font-weight: 600; }
.gate__price b { font: 700 2.25rem/1 "Bricolage Grotesque", system-ui, sans-serif; letter-spacing: -.03em; color: #33241C; }
.gate__ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: .9375rem; font-weight: 500; }
.gate__ticks li { position: relative; padding-left: 26px; }
.gate__ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: #BCC79C; color: #33241C; font-size: .7rem; display: grid; place-items: center; font-weight: 700; }
.gate__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gate__steps li { display: grid; justify-items: center; gap: 6px; text-align: center; font-size: .8125rem; font-weight: 600; color: #6B5647; position: relative; }
.gate__steps b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #F6EEE3; border: 1.5px solid #E2D3C0; color: #6B5647; font-family: "Bricolage Grotesque", system-ui, sans-serif; }
.gate__steps li.on { color: #33241C; }
.gate__steps li.on b { background: #33241C; border-color: #33241C; color: #F6EEE3; }
.gate__cta { min-height: 60px; font-size: 1.0625rem; }
.gate__fine { margin: -6px 0 0; font-size: .8125rem; color: #6B5647; text-align: center; }
.gate__fine a { color: inherit; }
@media (max-width: 480px) { .gate__ticks { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .gate__cta { font-size: .9375rem; padding-inline: 14px; white-space: nowrap; } }
.gate__sub { margin: -8px 0 0; font-size: 1.125rem; font-weight: 600; color: #33241C; }
.gate__sub span { display: block; margin-top: 4px; font-size: .875rem; font-weight: 400; color: #6B5647; }
.gate__next h3 { font: 700 1.125rem/1.2 "Bricolage Grotesque", system-ui, sans-serif; letter-spacing: -.01em; margin: 0 0 10px; }
.gate__next ol { margin: 0; padding-left: 1.25em; display: grid; gap: 8px; font-size: .9688rem; line-height: 1.5; }
.gate__next li::marker { font-weight: 700; color: #33241C; }
.email-note { margin: 10px 0 0; padding: 12px 14px; border-radius: 12px; background: #EAD9C3; color: #33241C; font-size: .9375rem; line-height: 1.5; }
.gate__next { border-top: 1px solid #E2D3C0; padding-top: 18px; }

/* 2026-10-22 quiz: agree-to-video-consult tick under the email field */
.consent-check { display: flex; gap: 12px; align-items: flex-start; margin: 14px 0 0; font-size: .9375rem; line-height: 1.5; color: #33241C; cursor: pointer; }
.consent-check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: #33241C; cursor: pointer; }

/* 2026-11-16 · quiz consent line (first step only; see quiz.html) */
.quiz-legal { margin: 28px auto 0; max-width: 34rem; font-size: .8125rem; line-height: 1.5; color: #6B5647; text-align: center; }
.quiz-legal a { color: #33241C; text-decoration: underline; }

/* 2026-11-22: article CTA buttons. `.article a` (above) out-specifies
   `.btn--primary`, which turned button text espresso on an espresso
   button in every guide. Keep button text light inside articles. */
.article a.btn--primary,
.article a.btn--primary:hover { color: var(--gesso, #F6EEE3); }
.nowrap { white-space: nowrap; }

/* =========================================================================
   QUIZ PHONE FIXES (26 Nov 2026, design-review/funnel-mobile/review-quiz.md)
   Inline errors, the height/weight unit switch, 44px back link and the
   sticky Continue that rides above the phone keyboard (--kb, set by app.js
   from visualViewport).
   ========================================================================= */
.field-error { margin: 8px 0 0; color: var(--warn); font-size: .9375rem; font-weight: 600; line-height: 1.4; }
.field-error[hidden] { display: none; }
.step input[aria-invalid="true"] { border-color: var(--warn); }
.choices .choice[aria-invalid="true"] { border-color: var(--warn); }
.consent-check input[aria-invalid="true"] { outline: 2px solid var(--warn); outline-offset: 2px; }

.linkback { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; padding: 0 12px; margin-left: -12px; text-decoration: none; cursor: pointer; }

.mfield { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.mfield__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.mfield__label { float: left; padding: 0; font-weight: 600; color: var(--ink); }
.units { display: inline-flex; background: var(--surface-2); border-radius: 999px; padding: 3px; }
.units__b { min-height: 44px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: 600 .9375rem/1 var(--font); cursor: pointer; }
.units__b[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }
.mrow { display: flex; gap: 12px; clear: both; }
.mrow[hidden] { display: none; }
.munit { flex: 1; position: relative; display: block; }
.munit input { width: 100%; padding: 14px 52px 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; font-family: inherit; font-size: 1rem; background: var(--surface); color: var(--text); }
.munit input:focus { outline: none; border-color: var(--ink-2); }
.munit__s { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; pointer-events: none; }

@media (max-width: 720px) {
  .flow__nav--sticky { position: sticky; bottom: var(--kb, 0px); z-index: 5; margin: 24px -24px 0; padding: 12px 24px calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--cream); border-top: 1px solid var(--line); }
}

/* 29 Nov 2026: quiz contact step, who collects the email (HIPC rule 3(1)(d)). Muted, 6.4:1 on gesso. */
.operator-note { margin: 8px 0 0; font-size: .8125rem; line-height: 1.5; color: #6B5647; }
.operator-note a { color: #33241C; text-decoration: underline; }
