:root {
  --white: #FFFFFF;
  --cream: #F7F4EF;
  --sand: #EFE7DD;
  --chip: #F1E8DE;
  --ink: #1D1A17;
  --muted: #6E6862;
  --soft: #9A938C;
  --line: #DAD4CC;
  --tan: #B57E5E;
  --maroon: #7C3A2D;
  --terracotta: #9A4B36;
  --espresso: #3B2620;
  --black: #141210;
  --radius: 16px;
  --radius-lg: 28px;
  --wrap: 1180px;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Newsreader', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0 0 .45em; font-weight: 600; line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(2.5rem, 7.4vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4.6vw, 3rem); }
h3 { font-size: 1.25rem; letter-spacing: -.02em; line-height: 1.25; }
p { margin: 0 0 1em; }
.serif { font-family: var(--serif); font-weight: 500; letter-spacing: -.02em; }
.accent { color: var(--maroon); }
.tan { color: var(--tan); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.hidden { display: none !important; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 721px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 20; background: var(--white); padding: 8px 12px; }

/* Logo */
.logo { display: inline-flex; color: var(--black); text-decoration: none; }
.logo svg { height: 30px; width: auto; }
.logo-light { color: var(--white); }
.logo-tan { color: var(--tan); }

/* Promo bar + header */
.promo {
  display: block; background: #EADFC8; color: var(--ink); text-align: center; text-decoration: none;
  font-size: .9rem; padding: 11px 16px; line-height: 1.35;
}
.promo strong { font-weight: 600; }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.menu-btn { width: 44px; height: 44px; border: 0; background: none; padding: 9px; cursor: pointer; display: grid; align-content: center; gap: 5px; }
.menu-btn span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.site-nav { display: none; border-top: 1px solid var(--line); background: var(--white); }
.site-nav.open { display: block; }
.site-nav .wrap { display: grid; padding-top: 8px; padding-bottom: 24px; }
.site-nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 1.15rem; font-weight: 500; }
.site-nav a[aria-current="page"] { color: var(--maroon); }
.site-nav .btn { margin-top: 20px; justify-self: start; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer;
  border: 0; border-radius: 999px; text-decoration: none; white-space: nowrap;
  font: 600 1rem/1 var(--sans); padding: 19px 30px; transition: transform .12s, background .15s, opacity .15s;
}
.btn:active { transform: scale(.98); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: #34302C; }
.btn-light { background: var(--white); color: var(--black); }
.btn-outline { background: var(--white); color: var(--black); border: 1px solid var(--line); }
.btn-small { padding: 11px 18px; font-size: .9rem; font-weight: 500; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .35; cursor: not-allowed; }
.arrow::after { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h15m-6-7 7 7-7 7' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h15m-6-7 7 7-7 7' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }

/* Sections */
.section { padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 112px 0; } }
.bg-cream { background: var(--cream); }
.bg-sand { background: var(--sand); }
.bg-dark { background: var(--espresso); color: #F4EDE3; }
.eyebrow { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #8A5A41; margin-bottom: 16px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.bg-dark .lead { color: rgba(244,237,227,.75); }
.section-head { max-width: 760px; margin-bottom: 40px; }

/* Home hero */
.hero { padding: 28px 0 8px; }
@media (min-width: 900px) { .hero { padding: 56px 0 16px; } }
.hero h1 { max-width: 12ch; margin-bottom: 18px; }
.hero .lead { margin-bottom: 26px; }
.hero-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
@media (min-width: 900px) { .hero-cards { gap: 20px; margin-top: 40px; } }
.feature-card {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius-lg); text-decoration: none;
  aspect-ratio: 4 / 5; color: var(--white); background: var(--espresso); isolation: isolate;
}
@media (min-width: 900px) { .feature-card { aspect-ratio: 5 / 4; } }
.feature-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .6s ease; }
.feature-card:hover img { transform: scale(1.03); }
.feature-card .fc-top { position: absolute; top: 18px; left: 18px; right: 18px; font-size: clamp(1.05rem, 3.6vw, 1.9rem); line-height: 1.15; letter-spacing: -.02em; font-weight: 500; }
.feature-card .fc-top span { display: block; }
.feature-card .fc-bottom { position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: clamp(.9rem, 2.6vw, 1.2rem); font-weight: 500; }
@media (min-width: 900px) { .feature-card .fc-top { top: 32px; left: 34px; } .feature-card .fc-bottom { left: 34px; right: 30px; bottom: 30px; } }
.fc-dark .fc-top span:last-child { color: #E9B99B; }
.fc-light { color: var(--ink); background: var(--sand); }
.fc-light .fc-top span:last-child { color: var(--maroon); }
.chev { width: 22px; height: 22px; flex: none; }

/* Concern rows */
.rows { display: grid; gap: 10px; margin-top: 10px; }
@media (min-width: 900px) { .rows { grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; } }
.row-link {
  display: flex; align-items: center; gap: 16px; min-height: 104px; padding: 12px 22px 12px 28px; text-decoration: none;
  background: var(--cream); border-radius: var(--radius-lg); font-size: clamp(1.3rem, 4.4vw, 1.6rem); letter-spacing: -.02em; font-weight: 500;
  transition: background .15s;
}
.row-link:hover { background: var(--sand); }
.row-link .row-text { flex: 1; }
.row-link .row-text em { font-style: normal; color: var(--maroon); }
.row-link .row-art { width: 84px; height: 84px; flex: none; }

/* Steps carousel */
.steps { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
.steps::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .steps { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; } }
.step { scroll-snap-align: start; }
.step-img { aspect-ratio: 3 / 4; border-radius: var(--radius-lg); overflow: hidden; background: var(--sand); margin-bottom: 18px; }
.step-img img { width: 100%; height: 100%; object-fit: cover; }
.step-num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid currentColor; font-size: .85rem; font-weight: 600; margin-bottom: 12px; opacity: .8; }
.step p { color: var(--muted); }
.bg-dark .step p { color: rgba(244,237,227,.72); }

/* Split blocks */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; } .split-rev > :first-child { order: 2; } }
.split-img { border-radius: var(--radius-lg); overflow: hidden; background: var(--sand); }
.split-img img { width: 100%; height: auto; }
.ticks { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; font-size: 1.05rem; }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--maroon) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }

/* Product */
.product-title { font-family: var(--serif); font-weight: 500; color: var(--maroon); font-size: clamp(2.4rem, 6vw, 3.8rem); letter-spacing: -.025em; line-height: 1; margin-bottom: 14px; }
.spec { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); margin: 24px 0; }
.spec div { padding: 16px 14px; }
.spec div + div { border-left: 1px solid var(--line); }
.spec dt { font-size: .8rem; color: var(--muted); margin-bottom: 4px; }
.spec dd { margin: 0; font-weight: 600; font-size: .98rem; }
.strengths { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0; }
.strength { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.strength b { display: block; font-family: var(--serif); font-weight: 500; font-size: 2.4rem; letter-spacing: -.02em; line-height: 1; margin-bottom: 8px; color: var(--maroon); }
.soon { display: inline-block; background: var(--chip); color: var(--maroon); font-size: .78rem; font-weight: 600; letter-spacing: .04em; padding: 6px 10px; border-radius: 999px; margin-bottom: 14px; }

/* Timeline */
.timeline { display: grid; gap: 0; max-width: 760px; }
.tl-item { display: grid; grid-template-columns: 40px 1fr; gap: 18px; padding-bottom: 32px; position: relative; }
.tl-item::before { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: var(--line); }
.tl-item:last-child::before { display: none; }
.tl-dot { width: 40px; height: 40px; border-radius: 50%; background: var(--sand); color: var(--maroon); display: grid; place-items: center; font-weight: 600; font-size: .9rem; }
.tl-item h3 { margin: 8px 0 6px; }
.tl-item p { color: var(--muted); margin: 0; }

/* FAQ / accordions */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--cream); border-radius: var(--radius); padding: 0 22px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; font-weight: 500; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq .faq-body { padding: 0 0 22px; color: var(--muted); }
.faq .faq-body p:last-child { margin: 0; }

/* Myth / fact cards */
.mf-list { display: grid; gap: 12px; max-width: 860px; }
.mf { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.mf-tag { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 6px; margin-bottom: 14px; }
.mf-myth { background: #F6E3DA; color: var(--maroon); }
.mf-fact { background: #E2EDE6; color: #2E5E48; }
.mf h3 { font-size: 1.3rem; margin-bottom: 10px; }
.mf p { color: var(--muted); margin-bottom: 10px; }
.source { font-size: .8rem; color: var(--muted); }
.source a { color: var(--muted); }

/* Prose */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; letter-spacing: -.02em; margin-top: 2em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .45em; }
.callout { background: var(--cream); border-radius: var(--radius); padding: 22px 24px; margin: 24px 0; }

/* CTA band */
.strength-label { font-weight: 600; margin: 22px 0 10px; }
.strengths-tight { margin: 0 0 14px; }
.strengths-tight .strength { padding: 18px 18px 16px; }
.strengths-tight .strength b { font-size: 2.1rem; }
.strengths-tight .strength span { font-size: .92rem; }

.cta-band { text-align: center; }
.cta-band h2 { max-width: 16ch; margin-left: auto; margin-right: auto; }
.cta-band .lead { margin: 0 auto 28px; }

/* Footer */
.site-footer { background: var(--black); color: #EAE4DC; padding: 64px 0 36px; }
.site-footer h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #9C948B; margin-bottom: 14px; }
.footer-top { display: grid; gap: 18px; justify-items: start; padding-bottom: 40px; border-bottom: 1px solid #2E2A26; }
.footer-top p { color: #B9B1A8; max-width: 30em; margin: 0; }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; padding: 40px 0; border-bottom: 1px solid #2E2A26; }
@media (min-width: 721px) { .footer-links { grid-template-columns: repeat(3, 1fr); } }
.footer-links nav { display: grid; gap: 10px; align-content: start; }
.footer-links a { color: #EAE4DC; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-note { padding-top: 24px; font-size: .82rem; color: #8C847B; }

/* ---------- Consultation flow ---------- */
.flow { background: var(--white); }
body:has(.flow-main) { background: var(--white); }
.flow-top { position: sticky; top: 0; z-index: 10; background: var(--white); }
.flow-progress { height: 4px; background: #EEEAE5; }
.flow-progress span { display: block; height: 100%; width: 0; background: var(--black); transition: width .35s ease; }
.flow-bar { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; height: 64px; padding: 0 8px; max-width: 760px; margin: 0 auto; }
.flow-bar .logo { justify-self: center; }
.flow-bar .logo svg { height: 26px; }
.flow-back { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; border-radius: 50%; }
.flow-back:hover { background: var(--cream); }
.flow-back[hidden] { visibility: hidden; display: grid; }
.flow-main { min-height: calc(100vh - 68px); min-height: calc(100dvh - 68px); }
.screen { max-width: 560px; margin: 0 auto; padding: 28px 20px 140px; animation: enter .35s ease both; }
@keyframes enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.q-title { font-size: clamp(1.75rem, 6vw, 2.25rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.15; margin-bottom: 10px; }
.q-help { color: var(--muted); font-size: 1.05rem; margin-bottom: 24px; }
.opts { display: grid; gap: 12px; margin-top: 22px; }
.opt {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; text-align: left; cursor: pointer;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px; min-height: 76px;
  font-size: 1.08rem; font-weight: 500; transition: border-color .12s, box-shadow .12s;
}
.opt:hover { border-color: #A9A29A; }
.opt[aria-pressed="true"] { border-color: var(--black); box-shadow: inset 0 0 0 1px var(--black); }
.opt small { display: block; font-weight: 400; color: var(--muted); font-size: .95rem; margin-top: 3px; }
.opt .box { flex: none; width: 24px; height: 24px; border-radius: 6px; background: #E4E0DB; display: grid; place-items: center; }
.opt .box svg { width: 15px; height: 15px; color: var(--white); }
.opt[aria-pressed="true"] .box { background: var(--black); }
.opt-art { padding: 0; overflow: hidden; min-height: 116px; }
.opt-art .art { width: 116px; align-self: stretch; background: #F1EEEA; flex: none; display: grid; place-items: center; }
.opt-art .art svg { width: 96px; height: 96px; }
.opt-art .label { flex: 1; padding: 18px 20px 18px 4px; }
.why { margin-top: 36px; background: var(--cream); border-radius: 20px; padding: 22px 24px; }
.why h2, .why h3 { color: var(--maroon); font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: 8px; }
.why p { color: var(--muted); margin: 0 0 8px; font-size: .97rem; }
.why a { color: var(--muted); font-size: .9rem; }
.flow-cta { position: fixed; left: 0; right: 0; bottom: 0; padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); background: linear-gradient(rgba(255,255,255,0), #fff 30%); display: flex; justify-content: center; z-index: 5; }
.flow-cta .inner { width: 100%; max-width: 520px; display: flex; justify-content: flex-end; }
.flow-cta .btn-block { flex: 1; }

/* Statement screens */
.statement { background: #FAF8F5; }
.statement .screen { padding-top: 12vh; }
.say { font-size: clamp(1.8rem, 6.6vw, 2.5rem); line-height: 1.22; letter-spacing: -.03em; font-weight: 500; color: var(--tan); }
.say p { margin: 0 0 .7em; }
.say .w { opacity: 0; animation: word .5s ease forwards; }
@keyframes word { to { opacity: 1; } }
.say mark { background: #F1E7DD; color: #9A6347; padding: 0 .18em; border-radius: 8px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.say-note { font-size: .9rem; color: var(--muted); margin-top: 18px; }
.say-note a { color: var(--muted); }

/* Loader */
.loader { display: grid; place-items: center; min-height: 60vh; }
.ring { position: relative; width: 132px; height: 132px; }
.ring .dots { position: absolute; inset: 0; animation: spin 1.6s linear infinite; }
.ring .dots i { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: var(--tan); }
.ring .mono { position: absolute; inset: 0; display: grid; place-items: center; color: var(--maroon); }
.ring .mono svg { width: 54px; height: 54px; }
.loader p { color: var(--muted); margin-top: 18px; text-align: center; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Plan */
.plan-head { text-align: center; margin-bottom: 26px; }
.plan-head .eyebrow { margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 18px 0 6px; }
.chip { background: var(--chip); color: #8A5A41; border-radius: 999px; padding: 7px 12px; font-size: .85rem; font-weight: 500; }
.assess { background: var(--cream); border-radius: 20px; padding: 22px 24px; color: var(--ink); margin-bottom: 18px; }
.assess p:last-child { margin: 0; }
.treat-card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: 0 18px 40px -24px rgba(40,25,15,.35); }
.treat-card .tc-img { background: #FBFBFB; }
.treat-card .tc-img img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.treat-card .tc-body { padding: 22px 24px 26px; }
.treat-card .tc-kicker { color: #8A5A41; font-weight: 600; font-size: .95rem; margin-bottom: 4px; }
.treat-card .product-title { font-size: 2.3rem; margin-bottom: 6px; }
.included { margin-top: 28px; }
.included h3 { font-size: 1.3rem; }
.form { display: grid; gap: 16px; margin-top: 22px; }
.field label { display: block; font-weight: 500; margin-bottom: 7px; }
.field input, .field select {
  width: 100%; font: 400 1.05rem var(--sans); color: var(--ink); background: var(--white);
  border: 1px solid #8F8880; border-radius: 14px; padding: 17px 16px; appearance: none;
}
.field select { background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%231D1A17' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center/20px no-repeat; }
.field input:focus, .field select:focus { outline: 2px solid var(--black); outline-offset: 0; border-color: transparent; }
.field .err { color: #A3322A; font-size: .88rem; margin-top: 6px; }
.check { display: flex; gap: 14px; align-items: flex-start; font-size: .96rem; color: var(--muted); }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--maroon); }
.check a { color: var(--ink); }
.done { text-align: center; padding-top: 8vh; }
.done .mono-badge { width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 50%; background: var(--chip); color: var(--maroon); display: grid; place-items: center; }
.done .mono-badge svg { width: 40px; height: 40px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .say .w { opacity: 1; }
}

/* Statement screens tint the whole flow */
body.statement, .statement .flow-top { background: #FAF8F5; }
.statement .flow-cta { background: linear-gradient(rgba(250,248,245,0), #FAF8F5 30%); }

/* AI hair scan mock-up (drawn, no photo) */
.scan-mock { justify-self: center; width: min(340px, 82%); aspect-ratio: 9 / 18; background: var(--black); border-radius: 46px; padding: 12px; box-shadow: 0 30px 60px -30px rgba(40,25,15,.5); }
.scan-screen { position: relative; height: 100%; border-radius: 36px; background: #F1EEEA; overflow: hidden; display: grid; place-items: center; }
.scan-head svg { width: 78%; height: auto; margin: 0 auto; }
.scan-head { width: 100%; }
.scan-tag { position: absolute; top: 26px; left: 50%; transform: translateX(-50%); background: var(--white); border-radius: 999px; padding: 6px 12px; font-size: .8rem; font-weight: 600; color: var(--maroon); }
.scan-screen .c { position: absolute; width: 34px; height: 34px; border: 3px solid var(--maroon); }
.scan-screen .tl { top: 70px; left: 26px; border-right: 0; border-bottom: 0; border-top-left-radius: 12px; }
.scan-screen .tr { top: 70px; right: 26px; border-left: 0; border-bottom: 0; border-top-right-radius: 12px; }
.scan-screen .bl { bottom: 70px; left: 26px; border-right: 0; border-top: 0; border-bottom-left-radius: 12px; }
.scan-screen .br { bottom: 70px; right: 26px; border-left: 0; border-top: 0; border-bottom-right-radius: 12px; }
.scan-line { position: absolute; left: 26px; right: 26px; height: 2px; background: linear-gradient(90deg, transparent, var(--maroon), transparent); top: 80px; animation: scan 3.2s ease-in-out infinite alternate; box-shadow: 0 0 18px 4px rgba(124,58,45,.25); }
@keyframes scan { to { top: calc(100% - 80px); } }

/* Light hero card: bottle sits bottom-right so the label text stays clear */
.fc-light { background: #E2D3BF; }
.fc-light img, .fc-light:hover img {
  transform: translate(17%, 7%) scale(.86);
  -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 60%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 60%, transparent 100%);
}

/* FAQ cards on tinted sections */
.bg-cream .faq details, .bg-sand .faq details { background: var(--white); }

/* Science page: stat cards and bar charts */
.stats { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; margin: 8px 0 18px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.stat-card { background: var(--cream); border-radius: var(--radius-lg); padding: 22px 20px; }
.stat-card b { display: block; font-family: var(--serif); font-weight: 500; color: var(--maroon); font-size: clamp(1.9rem, 6vw, 2.8rem); line-height: 1; letter-spacing: -.02em; }
.stat-card b span { font-family: var(--sans); font-size: 1rem; color: var(--muted); letter-spacing: 0; }
.stat-unit { display: block; font-weight: 600; margin: 8px 0 8px; font-size: .95rem; line-height: 1.3; }
.stat-card p { color: var(--muted); font-size: .92rem; margin: 0 0 6px; }
.stat-wide { padding: 28px; }
.bg-cream .stat-card { background: var(--white); }
.chart-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 22px; }
.chart-card h3 { font-size: 1.05rem; margin-bottom: 14px; }
.chart-wide { padding: 26px 24px 14px; }
.pk-label { font-size: .85rem; font-weight: 600; color: var(--muted); margin: 14px 0 8px; }
.pk-label:first-child { margin-top: 0; }
.bar-row { display: grid; grid-template-columns: 9.5em 1fr 3.4em; align-items: center; gap: 10px; margin-bottom: 8px; font-size: .88rem; }
.bar-row.big { grid-template-columns: minmax(10em, 15em) 1fr 3.4em; margin-bottom: 16px; font-size: .95rem; }
.bar-name small { display: block; color: var(--soft); font-size: .78rem; margin-top: 2px; }
.bar { height: 14px; background: #F1ECE6; border-radius: 999px; overflow: hidden; }
.bar-row.big .bar { height: 20px; }
.bar i { display: block; height: 100%; background: var(--maroon); border-radius: 999px; }
.bar i.b-muted { background: #C9B8A8; }
.bar i.b-faint { background: #E2D8CD; }
.bar-val { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 520px) {
  .bar-row.big { grid-template-columns: 1fr 3.4em; }
  .bar-row.big .bar-name { grid-column: 1 / -1; margin-bottom: -4px; }
  .bar-row.big .bar { grid-column: 1; }
}
.chart-card + .source { margin-top: 12px; }
.stats-pair { align-items: stretch; }

/* Follicle explainer (animated SVG + callout cards) */
.follicle { position: relative; width: 100%; max-width: 460px; margin: 0 auto; aspect-ratio: 400 / 600; }
.fol-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.fcard {
  position: absolute; left: 3%; width: 50%; padding: 11px 13px 12px; border-radius: 16px;
  background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 10px 30px -14px rgba(60, 35, 20, .35); border: 1px solid rgba(255, 255, 255, .7);
}
.fcard h4 { margin: 0 0 6px; font-family: var(--serif); font-weight: 500; font-size: 1.08rem; letter-spacing: -.01em; }
.fcard p { margin: 0; padding-left: 10px; border-left: 3px solid var(--tan); font-size: .8rem; line-height: 1.35; color: var(--soft); }
.fcard p b { color: var(--ink); font-weight: 500; }
.fc-xr { top: 26%; }
.fc-fol { top: 52%; }
.fc-ves { top: 76%; }
@media (min-width: 900px) { .fcard p { font-size: .86rem; } }
.fol-head { font-size: clamp(1.7rem, 4.6vw, 2.5rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.15; }
.fol-head .tan { color: var(--tan); }
.fol-glow { animation: folPulse 3.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes folPulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

/* Entrance animation (added by JS; without JS everything shows) */
.follicle.anim .fcard { opacity: 0; transform: translateY(10px); }
.follicle.anim .fol-lines path { stroke-dasharray: 160; stroke-dashoffset: 160; }
.follicle.anim .fol-hair { transform: scaleY(.62); transform-box: fill-box; transform-origin: 50% 100%; }
.follicle.play .fcard { animation: fcIn .6s ease forwards; }
.follicle.play .fol-lines path { animation: fcLine .7s ease forwards; }
.follicle.play .fol-hair { animation: fcGrow 3.2s cubic-bezier(.2, .7, .2, 1) .2s forwards; }
.follicle.play .fc-ves { animation-delay: .3s; } .follicle.play .fol-lines .l1 { animation-delay: .15s; }
.follicle.play .fc-fol { animation-delay: 1.3s; } .follicle.play .fol-lines .l2 { animation-delay: 1.15s; }
.follicle.play .fc-xr { animation-delay: 2.3s; } .follicle.play .fol-lines .l3 { animation-delay: 2.15s; }
@keyframes fcIn { to { opacity: 1; transform: none; } }
@keyframes fcLine { to { stroke-dashoffset: 0; } }
@keyframes fcGrow { to { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) {
  .follicle.anim .fcard, .follicle.anim .fol-lines path, .follicle.anim .fol-hair { opacity: 1; transform: none; stroke-dashoffset: 0; }
  .fol-dots { display: none; }
}

/* In the news */
.news-strip { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: baseline; margin: 6px 0 26px; }
.news-strip span { font-family: var(--serif); font-weight: 600; font-size: clamp(1.15rem, 3.4vw, 1.5rem); color: #8E857C; letter-spacing: -.01em; }
.news-grid { display: grid; gap: 12px; }
@media (min-width: 721px) { .news-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 1000px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }
.news-card { display: flex; flex-direction: column; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-decoration: none; transition: border-color .15s, transform .15s; }
.news-card:hover { border-color: #A9A29A; transform: translateY(-2px); }
.news-top { display: flex; justify-content: space-between; gap: 10px; font-size: .78rem; }
.news-outlet { font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.news-date { color: var(--soft); white-space: nowrap; }
.news-head { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; line-height: 1.3; letter-spacing: -.01em; }
.news-tag { margin-top: auto; align-self: flex-start; background: var(--chip); color: #8A5A41; border-radius: 999px; padding: 5px 10px; font-size: .75rem; font-weight: 500; }
.news-grid + .source { margin-top: 16px; }
.news-home { margin-top: 44px; }
.news-home .news-grid { margin-bottom: 20px; }

/* QA fixes */
html { scroll-padding-top: 76px; }
html:has(.flow-cta) { scroll-padding-bottom: 110px; }
.say .say-h1 { font-size: inherit; font-weight: inherit; letter-spacing: inherit; line-height: inherit; margin: 0 0 .7em; color: inherit; }
.form > .form-err { color: #A3322A; font-size: .9rem; margin: 0; }
.site-nav.open { max-height: calc(100vh - 68px); max-height: calc(100dvh - 68px); overflow-y: auto; }
.btn-small { min-height: 44px; }
.promo { padding: 12px 16px; }
.check { padding: 6px 0; }
.mf h2 { font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.25; margin-bottom: 10px; }
.step h2 { font-size: 1.25rem; letter-spacing: -.02em; line-height: 1.25; }
.steps:focus-visible { outline: 2px solid var(--maroon); outline-offset: 4px; }
@media (max-width: 420px) { .btn { white-space: normal; text-align: center; line-height: 1.25; } }
@media (max-width: 340px) {
  .feature-card .fc-top { font-size: .95rem; }
  .feature-card .fc-bottom { font-size: .82rem; }
}
@media (forced-colors: active) {
  .opt[aria-pressed="true"] { border: 3px solid Highlight; }
  .opt[aria-pressed="false"] .box svg { visibility: hidden; }
}
