/* =========================================================================
   CHANGING CURVES — design system
   One brand colour + warm off-white + one accent. Sacred whitespace.
   Swap the brand NAME in the HTML wordmark (data-wordmark) — colours here.
   ========================================================================= */

:root {
  /* Palette — deep botanical pine + warm sand accent on cream */
  --ink:        #122f29;   /* brand / headlines / dark sections */
  --ink-2:      #1d4a40;   /* hover / secondary brand */
  --accent:     #e0a35e;   /* warm sand — CTAs accents, never the whole UI */
  --accent-2:   #c9854a;
  --cream:      #faf7f1;   /* page background */
  --surface:    #ffffff;   /* cards */
  --surface-2:  #f2efe7;   /* tinted panels */
  --text:       #21302b;   /* body */
  --muted:      #5c6b64;   /* secondary text */
  --line:       #e4ded2;   /* hairlines */
  --good:       #2f7d5b;
  --warn:       #b4571f;

  /* Type scale (steep hierarchy) */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Nunito", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --h1: clamp(2.6rem, 6vw, 4.6rem);
  --h2: clamp(2rem, 4vw, 3rem);
  --h3: 1.5rem;
  --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;
  --shadow: 0 18px 50px -28px rgba(18, 47, 41, 0.45);
}

/* ---- 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: 800; line-height: 1.08; letter-spacing: -0.015em; color: var(--ink); margin: 0; }
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); font-weight: 600; }
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: #e9efe9; }
.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(--accent); }
.lead { font-size: var(--lead); color: var(--muted); max-width: 56ch; }
.center .lead { margin-left: auto; margin-right: auto; }
.section--ink .lead { color: #c7d3cd; }

/* ---- 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(--accent); color: var(--ink); }
.btn--accent:hover { background: var(--accent-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: #d7e3dd; text-align: center;
  font-size: 0.8rem; letter-spacing: 0.02em; padding: 8px 16px;
}
.protobar strong { color: var(--accent); }

/* ---- header / nav ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 241, 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 {
  background: linear-gradient(160deg, #1c4a40, #122f29);
  border-radius: var(--radius-lg); aspect-ratio: 4/5; position: relative; overflow: hidden;
  box-shadow: var(--shadow); display: flex; align-items: flex-end; padding: 28px;
}
.hero__media::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 70% 10%, rgba(224,163,94,0.28), transparent 55%);
}
.hero__card {
  position: relative; background: rgba(255,255,255,0.93); border-radius: 16px;
  padding: 18px 20px; width: 100%; box-shadow: 0 12px 30px -16px rgba(0,0,0,.4);
}
.hero__card .row { display: flex; align-items: center; gap: 12px; }
.hero__card .pill { width: 42px; height: 42px; border-radius: 12px; background: var(--surface-2); display: grid; place-items: center; font-size: 1.3rem; }
.hero__card .meta { font-size: 0.85rem; color: var(--muted); }
.hero__card .meta strong { display: block; color: var(--ink); font-size: 1rem; }

/* ---- 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); 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, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.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: #e9efe9; 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); margin-bottom: 10px; }
.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: #b7c6bf; }
.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(--accent); }

/* ---- 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: #b9b1a3; }

/* ---- 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 ---- */
.quote { 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: #b7c6bf; }

/* ---- compliance note ---- */
.compliance {
  border: 1px dashed var(--line); border-radius: 14px; background: var(--surface);
  padding: 18px 22px; font-size: 0.82rem; 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: #b7c6bf; 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: #8ea399; 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: 5px; background: var(--surface-2); border-radius: 100px; overflow: hidden; margin-top: 14px; }
.flow__bar { height: 100%; width: 20%; background: var(--accent); 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: #e1f1e8; color: var(--good); }
.result-box.refer .badge-ico { background: #fdecdd; 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: #c7d3cd; }
.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(--accent); background: var(--accent); color: var(--ink); }
.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: #e1f1e8; 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 { }

/* =========================================================================
   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; }
}
@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(10, 28, 24, 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(10,28,24,.6);
  transform: translateY(14px) scale(.98); transition: transform .3s cubic-bezier(.2,.8,.2,1);
  border-top: 5px solid var(--accent);
}
.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; }

/* ---- 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(18,47,41,.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)
   ========================================================================= */

:root {
  --shadow: 0 1px 2px rgba(18,47,41,.04), 0 14px 40px -22px rgba(18,47,41,.4);
  --shadow-lg: 0 2px 4px rgba(18,47,41,.05), 0 40px 80px -30px rgba(18,47,41,.5);
}

body { letter-spacing: -0.003em; }

/* refined buttons */
.btn { box-shadow: none; }
.btn--primary, .btn--accent { box-shadow: 0 10px 24px -14px rgba(18,47,41,.55); }
.btn--primary:hover, .btn--accent:hover { box-shadow: 0 16px 32px -14px rgba(18,47,41,.6); }

/* refined cards & hairlines */
.card { border-radius: var(--radius); }
.card:hover { box-shadow: var(--shadow-lg); border-color: transparent; }

/* elevated hero visual — CSS product mock + floating chips */
.hero__media {
  background: radial-gradient(120% 120% at 75% 0%, #2a6555 0%, #163b33 45%, #0f2c26 100%);
  display: grid; place-items: center; padding: 0; overflow: visible;
}
.hero__media::before {
  background:
    radial-gradient(60% 50% at 78% 12%, rgba(224,163,94,.35), transparent 60%),
    radial-gradient(50% 40% at 15% 95%, rgba(224,163,94,.16), transparent 60%);
}
.phone {
  position: relative; z-index: 2; width: 230px; aspect-ratio: 9/18.5;
  background: #0b201c; border-radius: 34px; padding: 9px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.55), inset 0 0 0 2px rgba(255,255,255,.06);
}
.phone__screen { width: 100%; height: 100%; background: var(--cream); border-radius: 26px; overflow: hidden; display: flex; flex-direction: column; }
.phone__bar { background: var(--ink); color: #fff; font-family: var(--display); font-weight: 600; font-size: 1rem; padding: 14px 16px 12px; display: flex; align-items: center; gap: 6px; }
.phone__bar .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.phone__body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.phone__q { font-family: var(--display); color: var(--ink); font-size: 0.95rem; line-height: 1.25; margin-bottom: 4px; }
.phone__opt { background: #fff; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 0.78rem; color: var(--text); font-weight: 550; }
.phone__opt.on { border-color: var(--ink); background: var(--surface-2); }
.phone__cta { margin-top: auto; background: var(--accent); color: var(--ink); border-radius: 10px; padding: 11px; text-align: center; font-weight: 700; font-size: 0.82rem; }
.chip {
  position: absolute; z-index: 3; background: rgba(255,255,255,.96);
  border-radius: 14px; padding: 10px 14px; font-size: 0.82rem; font-weight: 600; color: var(--ink);
  box-shadow: 0 16px 34px -16px rgba(0,0,0,.5); display: flex; align-items: center; gap: 8px;
  animation: float 5s ease-in-out infinite;
}
.chip b { color: var(--ink); }
.chip small { display: block; font-weight: 500; color: var(--muted); font-size: 0.72rem; }
.chip--1 { top: 16%; left: -6%; }
.chip--2 { bottom: 20%; right: -8%; animation-delay: 1.2s; }
.chip--3 { bottom: 6%; left: 2%; animation-delay: 2.2s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* 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(15,44,38,.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(--accent);
  animation: vela-spin 0.8s linear infinite;
}
@keyframes vela-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(47,125,91,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
   ========================================================================= */
/* Gradient hero panels on mens.html / womens.html (placeholder until licensed photography) */
.hero__photo-wrap--men, .hero__photo-wrap--women {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 28px; text-align: center;
}
.hero__photo-wrap--men   { background: linear-gradient(160deg, #1c4a40, #0d241f); }
.hero__photo-wrap--women { background: linear-gradient(160deg, #3a5e54, #14322b); }
.hero__panel-label { color: rgba(255,255,255,.92); font-family: var(--display); font-size: 1.5rem; max-width: 13ch; line-height: 1.25; }

/* 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::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 75% 12%, rgba(224,163,94,0.26), transparent 55%); }
.pathtile:hover { transform: translateY(-3px); }
.pathtile--men   { background: linear-gradient(160deg, #1c4a40, #0d241f); }
.pathtile--women { background: linear-gradient(160deg, #3a5e54, #14322b); }
.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(--accent); }
@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(--accent); 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, #f3eee3); 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: 26px; width: auto; display: block; }
.footer .wordmark__img { height: 24px; margin-bottom: 16px; }
@media (max-width: 600px) { .wordmark__img { height: 22px; } }
