/* FOREVITA site styles. Mobile-first; tokens match the Figma file. */

:root {
  --cream: #f7f3ec;
  --tint: #fbf8f4;
  --ink: #311a13;
  --body: rgba(51, 51, 51, 0.85);
  --muted: #b8ada6;
  --white: #ffffff;
  --btn: #cdd8e4;
  --btn-hover: #bccbdb;
  --badge: #d6ebc3;
  --line: #e2d9d0;
  --warn: #fff4e5;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --gutter: 20px;
  --max: 1280px;
  --serif: "Lora", Georgia, serif;
  --sans: "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.55;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (min-width: 600px) { :root { --gutter: 32px; } }
@media (min-width: 1024px) { :root { --gutter: 48px; } }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 48px 0; }
@media (min-width: 860px) { .section { padding: 72px 0; } }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.15; }
.h1 { font-size: clamp(36px, 5vw, 50px); line-height: 1.12; }
.h2 { font-size: clamp(30px, 4.2vw, 48px); }
.h3 { font-size: clamp(24px, 2.6vw, 32px); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--body); margin: 0; }
.eyebrow { font-family: var(--sans); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; margin: 0; }
.fine { font-size: 12px; color: var(--body); line-height: 1.5; margin: 0; }
.center { text-align: center; }
.head { display: grid; gap: 14px; max-width: 760px; margin: 0 auto 44px; text-align: center; }
.head.left { margin-left: 0; text-align: left; }

/* ---------- buttons, tags ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 30px; border-radius: var(--radius-pill); border: 0;
  background: var(--btn); color: var(--ink); cursor: pointer; text-decoration: none;
  font-family: var(--sans); font-weight: 700; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--btn-hover); }
.btn.light { background: var(--cream); }
.btn.light:hover { background: #fff; }
.btn.outline { background: transparent; box-shadow: inset 0 0 0 2px var(--ink); }
.btn.outline:hover { background: rgba(49, 26, 19, 0.06); }
.btn.dark { background: var(--ink); color: var(--cream); }
.btn.block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: default; }
.link { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; cursor: pointer; }
.tag { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: var(--radius-pill); background: var(--cream); font-weight: 700; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.tag.blue { background: var(--btn); }
.tag.green { background: var(--badge); }
.badge { display: inline-block; padding: 4px 10px; background: var(--badge); font-weight: 700; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- banner + nav ---------- */
.banner { background: var(--cream); text-align: center; padding: 10px var(--gutter); font-size: 13px; position: relative; z-index: 30; }
.banner em { font-family: var(--serif); font-size: 15px; margin-right: 6px; }
.banner button { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; letter-spacing: 0.02em; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; white-space: nowrap; }
.site-header { position: relative; z-index: 20; padding: 14px var(--gutter) 0; }
.site-header.over { position: absolute; left: 0; right: 0; }
.nav {
  max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-pill); padding: 10px 10px 10px 24px; box-shadow: 0 6px 30px rgba(49, 26, 19, 0.08);
}
.nav-logo img { height: 22px; width: auto; }
.nav-links { display: none; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.nav-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.nav-cta { display: none; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--cream); cursor: pointer; }
.nav-toggle svg { width: 20px; height: 20px; }
.mobile-menu { display: none; max-width: 1100px; margin: 10px auto 0; background: #fff; border-radius: var(--radius-lg); padding: 10px 20px 20px; box-shadow: 0 6px 30px rgba(49, 26, 19, 0.1); }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.mobile-menu a.btn { display: flex; margin-top: 18px; width: 100%; padding: 0 20px; border-bottom: 0; min-height: 48px; font-size: 12px; background: var(--ink); color: var(--cream); }
.mobile-menu a:nth-last-child(2) { border-bottom: 0; }
@media (min-width: 960px) {
  .nav-links, .nav-cta { display: flex; }
  .nav-toggle, .mobile-menu, .mobile-menu.open { display: none; }
  .nav-logo img { height: 26px; }
}

/* ---------- hero (video) ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: #3a2a22 url("../video/forevita-hero-poster.jpg") center top / cover no-repeat; }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.25) 40%, rgba(0,0,0,0.7) 100%); }
.hero-inner { position: relative; z-index: 2; width: 100%; padding-top: 150px; padding-bottom: 40px; }
.hero-copy { max-width: 640px; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.hero h1 em { font-style: italic; }
.hero p { margin: 0; font-size: clamp(16px, 1.5vw, 18px); color: rgba(255,255,255,0.94); }
.trained { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-style: italic; }
.trained img { height: 56px; width: auto; margin-left: -8px; }
.hero .btn { justify-self: start; margin-top: 8px; }
.hero .hero-offer { font-size: clamp(17px, 1.6vw, 20px); max-width: 560px; }
.hero-ask { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 18px; max-width: 560px; }
.hero-ask .ask-form { padding: 6px; }
.hero-ask .ask-form input { font-size: 15px; }
.hero-ask .ask-form .btn { min-height: 42px; padding: 0 22px; }
.hero-ask .chip { min-height: 36px; padding: 6px 14px; font-size: 12px; }
.trust-strip { padding: 28px 0 0; }
.trust-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; font-style: italic; }
.trust-row img { height: 30px; width: auto; }
@media (min-width: 760px) { .trust-row img { height: 34px; } }
.trust-strip .fine { margin-top: 10px; }
.hero .hero-ask .ask-label { font-weight: 700; font-size: 15px; margin: 0; }
@media (max-width: 599px) { .hero-ask .ask-form .btn { padding: 0 16px; font-size: 12px; } }
.hero-ask .ask-form { margin: 0; max-width: none; }
.hero-ask .chips { justify-content: flex-start; margin: 4px 0 0; max-width: none; }
.hero-ask .chip { background: rgba(255,255,255,0.85); color: var(--ink); }
.hero-ask .ask-note { text-align: left; margin: 2px 0 0; font-size: 12px; color: rgba(255,255,255,0.85); }
.hero-ask .answer { margin: 6px 0 0; max-width: none; color: var(--ink); }
.hero-ask .answer p { font-size: 16px; color: var(--body); }
.hero-ask .answer .eyebrow { font-size: 12px; color: var(--ink); }
.hero-ask .answer .fine { font-size: 12px; }
.hero-ask .nudge { color: #fff; text-align: left; }
.hero-foot { margin-top: 40px; font-size: 12px; color: rgba(255,255,255,0.85); max-width: 640px; }
@media (min-width: 860px) {
  .hero { align-items: center; }
  .hero::after { background: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 45%, rgba(0,0,0,0) 70%); }
  .hero-inner { padding-top: 170px; padding-bottom: 56px; }
}
@media (prefers-reduced-motion: reduce) { .hero video { display: none; } }
/* phones and small tablets: a tall crop of the video fills the screen, copy sits on a fade at the bottom,
   and the chat moves to a brown strip just below (site.js moves it) */
.ask-strip { display: none; }
@media (max-width: 859px) {
  .hero { min-height: min(74svh, 640px); background-image: url("../video/forevita-hero-portrait-poster.jpg"); background-position: center 25%; }
  .hero video { object-position: center 25%; }
  .hero::after { background: linear-gradient(180deg, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,0.2) 52%, rgba(0,0,0,0.78) 100%); }
  .hero-inner { padding-top: 120px; padding-bottom: 32px; }
  .hero-copy { gap: 14px; }
  .ask-strip { display: block; background: var(--ink); color: #fff; padding: 22px 0 26px; }
  .ask-strip .hero-ask { margin: 0; max-width: none; }
}

/* ---------- cards & grids ---------- */
.card { background: var(--white); border-radius: var(--radius-lg); padding: 32px; }
.grid { display: grid; gap: 20px; }
@media (min-width: 760px) { .grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- chat ---------- */
.ask { background: var(--btn); border-radius: var(--radius-lg); padding: 32px 20px; }
@media (min-width: 860px) { .ask { padding: 56px; } }
.ask-form { display: flex; gap: 10px; background: #fff; border-radius: var(--radius-pill); padding: 8px; max-width: 760px; margin: 0 auto; }
.ask-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 0 16px; font: inherit; font-size: 16px; color: var(--ink); }
.ask-form .btn { min-height: 48px; padding: 0 22px; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 18px auto 0; max-width: 760px; }
.chip { border: 0; background: rgba(255,255,255,0.7); border-radius: var(--radius-pill); padding: 10px 18px; font-weight: 700; font-size: 13px; cursor: pointer; min-height: 44px; }
.chip:hover { background: #fff; }
.ask-note { text-align: center; margin-top: 16px; font-size: 12px; }
.answer { max-width: 760px; margin: 20px auto 0; display: grid; gap: 14px; }
.answer-card { background: #fff; border-radius: var(--radius-lg); padding: 24px 28px; }
.answer-card p { margin: 8px 0 0; }
.answer-card .fine { margin-top: 12px; }
.typing span { display: inline-block; width: 7px; height: 7px; margin-right: 4px; border-radius: 50%; background: var(--ink); opacity: 0.3; animation: blink 1s infinite; }
.typing span:nth-child(2) { animation-delay: 0.15s; } .typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink { 50% { opacity: 1; } }
.rec { background: #fff; border-radius: var(--radius-lg); padding: 24px 28px; box-shadow: inset 0 0 0 2px var(--ink); display: grid; gap: 18px; }
.rec-top { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.rec-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.rec-name h3 { font-size: 30px; }
.rec-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.rec p { margin: 0; color: var(--body); }
.nudge { text-align: center; color: var(--body); margin: 0; }

/* ---------- image cards ---------- */
.img-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; display: flex; align-items: flex-end; color: #fff; }
.img-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.img-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.6) 100%); }
.img-card .inner { position: relative; z-index: 1; padding: 32px; display: grid; gap: 20px; justify-items: start; }
.img-card h2 { font-size: clamp(28px, 3vw, 35px); }

/* ---------- who it's for ---------- */
.who h3 { font-size: 30px; margin: 10px 0 12px; }
.who p { margin: 0; color: var(--body); }

/* ---------- steps (landing) ---------- */
.steps-wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .steps-wrap { grid-template-columns: 1fr 1fr; gap: 64px; } }
.steps-wrap > img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; }
.steps .num { font-family: var(--serif); font-size: 24px; color: var(--body); }
.steps h3 { font-size: 30px; }
.steps p { margin: 4px 0 0; color: var(--body); }

/* ---------- band (image with headline) ---------- */
.band { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 460px; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.35); }
.band .inner { position: relative; z-index: 1; padding: 40px 24px; display: grid; gap: 26px; justify-items: center; }

/* ---------- pricing cards ---------- */
.plans { display: grid; gap: 20px; }
@media (min-width: 1000px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plan { background: #fff; border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; gap: 18px; }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.plan h3 { font-size: 34px; }
.plan .sub { color: var(--body); margin: 0; }
.seg { display: flex; align-items: center; gap: 4px; background: var(--cream); border-radius: var(--radius-pill); padding: 5px 14px 5px 5px; }
.seg button { flex: 1; border: 0; background: transparent; border-radius: var(--radius-pill); min-height: 40px; padding: 0 12px; font-weight: 700; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; white-space: nowrap; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.seg .badge { flex: none; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.price .amt { font-family: var(--serif); font-size: 60px; line-height: 1; }
.price .per { color: var(--ink); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-weight: 600; }
.checks li::before { content: ""; width: 18px; height: 18px; margin-top: 3px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' stroke='%23311A13' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan .btn { margin-top: auto; }
/* egg freezing: the area the price is for, and the ZIP field that changes it */
.area { display: grid; gap: 8px; font-size: 14px; color: var(--body); }
.area p { margin: 0; }
.area-form { display: flex; gap: 8px; }
.area-form input { flex: 1; min-width: 0; min-height: 44px; border: 0; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); padding: 0 14px; font: inherit; font-size: 16px; color: var(--ink); }
.area-form .btn { min-height: 44px; padding: 0 18px; margin-top: 0; }

/* ---------- tables ---------- */
.table-card { background: #fff; border-radius: var(--radius-lg); padding: 0; overflow: hidden; }
.addons { max-width: 820px; margin: 0 auto; }
.addons .table-head { background: var(--btn); text-align: center; padding: 16px; font-weight: 600; }
.addons ul { list-style: none; margin: 0; padding: 0 28px 8px; }
.addons li { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.addons li:last-child { border-bottom: 0; }
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14px; }
.compare th, .compare td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--line); }
.compare thead th { padding-top: 22px; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { font-weight: 700; }
.compare .us { background: var(--ink); color: #fff; font-weight: 700; border-bottom-color: rgba(255,255,255,0.14); }
.compare thead .us img { height: 22px; width: auto; margin: 0 auto; }
.yes, .no { display: inline-block; width: 22px; height: 22px; vertical-align: middle; }
.yes::before, .no::before { content: ""; display: block; width: 100%; height: 100%; border-radius: 50%; }
.yes::before { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.us .yes::before { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' stroke='%23311A13' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.no::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='10.5' stroke='%23a59d97' stroke-width='1.5'/%3E%3Cpath d='M9 9l6 6M15 9l-6 6' stroke='%23a59d97' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---------- score ---------- */
.score { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .score { grid-template-columns: 1.1fr 0.9fr; gap: 64px; } }
.score sup { font-size: 0.45em; }
.inputs { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 0; padding: 0; list-style: none; }
.inputs li { background: #fff; border-radius: var(--radius-pill); padding: 12px 20px; font-weight: 600; }
.score figure { margin: 0; }
.app-card { background: #fff; border-radius: 28px; box-shadow: 0 20px 60px rgba(49,26,19,0.12); max-width: 420px; width: 100%; margin: 0 auto; padding: 32px 30px 30px; display: grid; gap: 26px; }
.app-card .olive { color: #8a7f45; }
.ac-top { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #9a938e; }
.ac-top .olive { color: #8a7f45; }
.ac-score { display: flex; align-items: center; gap: 22px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.ring { position: relative; flex: none; width: 124px; height: 124px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 2.5; }
.ring-track { stroke: #c9c4c0; }
.ring-arc { stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 68 100; }
.ring-num { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 50px; line-height: 1; font-variant-numeric: tabular-nums; }
.ac-score-text { display: grid; gap: 6px; }
.ac-label { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.ac-label sup { font-size: 0.6em; }
.ac-delta { font-size: 16px; font-weight: 600; transition: opacity 0.5s ease; }
.ac-muted { font-size: 14px; color: #8f8883; }
.ac-plan { display: grid; gap: 16px; }
.ac-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #9a938e; }
.ac-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ac-row strong { display: block; font-weight: 600; font-size: 16px; }
.ac-row span { font-size: 13px; color: #8f8883; }
.pill { flex: none; border-radius: 999px; padding: 6px 13px; font-size: 13px !important; color: var(--ink) !important; }
.p-track { background: #ecebe1; } .p-ship { background: #dfe5ec; } .p-active { background: #f6ebd8; }
.ac-btn { display: block; background: var(--ink); color: #fff; text-align: center; border-radius: 999px; padding: 16px; font-weight: 700; font-size: 15px; }
.app-card.pre .ring-arc { stroke-dasharray: 0 100; }
.app-card.pre .ac-delta { opacity: 0; }
@media (max-width: 480px) {
  .app-card { padding: 26px 22px 24px; }
  .ac-score { gap: 16px; }
  .ring { width: 100px; height: 100px; }
  .ring-num { font-size: 40px; }
  .ac-label { letter-spacing: 0.12em; font-size: 11px; }
  .ac-muted { font-size: 13px; }
}

/* ---------- FAQ accordion ---------- */
.faq { display: grid; gap: 40px; }
@media (min-width: 900px) { .faq { grid-template-columns: 0.8fr 1.2fr; gap: 64px; } }
.faq-list { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--ink); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; background: none; border: 0; text-align: left; cursor: pointer; font-family: var(--serif); font-size: clamp(19px, 2vw, 23px); color: var(--body); }
.faq-q .sign { font-size: 26px; line-height: 1; flex: none; }
.faq-a { padding: 0 0 22px; color: var(--body); }
.faq-a p { margin: 0; }
.faq-a .btn { margin-top: 16px; }

/* ---------- final CTA + footer ---------- */
.final { position: relative; z-index: 1; background: #e8ecf0; border-radius: 0 0 48px 48px; text-align: center; }
.final .inner { display: grid; gap: 20px; justify-items: center; max-width: 760px; margin: 0 auto; }
.site-footer { background: var(--ink); color: var(--cream); padding: 88px 0 32px; margin-top: -48px; }
.footer-top { display: grid; gap: 32px; }
@media (min-width: 760px) { .footer-top { grid-template-columns: 1fr auto; } }
.footer-top img { height: 56px; width: auto; }
.footer-top .tag-line { font-family: var(--serif); font-size: 24px; margin: 16px 0 0; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-links a { text-decoration: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(247,243,236,0.3); margin-top: 36px; padding-top: 20px; font-size: 12px; }

/* ---------- first-access modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(49,26,19,0.55); }
.modal.open { display: flex; }
.modal-box { position: relative; width: 100%; max-width: 620px; max-height: calc(100svh - 32px); overflow: auto; background: #fff; border-radius: var(--radius-lg); padding: 36px 24px 28px; box-shadow: 0 30px 120px rgba(0,0,0,0.25); display: grid; gap: 18px; }
@media (min-width: 600px) { .modal-box { padding: 48px; } }
.modal-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--cream); cursor: pointer; font-size: 22px; line-height: 1; }
.pick { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; background: var(--cream); border-radius: var(--radius-md); padding: 14px 18px; font-weight: 600; }
.pick span:last-child { color: var(--body); font-weight: 500; }
.fields { display: grid; gap: 12px; }
@media (min-width: 600px) { .fields { grid-template-columns: 1fr 180px; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.field input, .field select { width: 100%; min-height: 52px; border: 0; border-radius: 14px; background: var(--cream); padding: 0 16px; font: inherit; font-size: 16px; color: var(--ink); }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; font-size: 13px; color: var(--body); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); }
.form-error { color: #9b2c1f; font-size: 14px; margin: 0; }
.success { text-align: center; display: grid; gap: 16px; justify-items: center; }
.success .tick { width: 72px; height: 72px; border-radius: 50%; background: var(--badge); display: grid; place-items: center; font-size: 34px; }

/* ---------- utility ---------- */
.stack { display: grid; gap: 16px; }
.white { background: #fff; }
.hide { display: none !important; }

/* ---------- pricing page ---------- */
.checkout-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .checkout-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: start; } .left-col { position: sticky; top: 24px; } }
.left-col { display: grid; gap: 28px; }
.gallery { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .gallery { grid-template-columns: 84px 1fr; } }
.thumbs { display: flex; gap: 10px; order: 2; overflow-x: auto; }
@media (min-width: 600px) { .thumbs { flex-direction: column; order: 0; overflow: visible; } }
.thumbs button { flex: none; width: 72px; height: 72px; padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: pointer; background: none; box-shadow: inset 0 0 0 0 var(--ink); }
.thumbs button[aria-current="true"] { box-shadow: 0 0 0 3px var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.g-stats { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr); padding: 60px 16px 20px; background: linear-gradient(180deg, rgba(31,15,10,0) 0%, rgba(31,15,10,0.75) 100%); color: #fff; text-align: center; }
.g-stats span { display: block; font-size: 12px; }
.g-stats strong { font-family: var(--serif); font-weight: 400; font-size: clamp(20px, 2.4vw, 30px); }
.how-card .steps h3 { font-size: 22px; }
.how-card .steps { gap: 18px; margin-top: 16px; }
.buy { display: grid; gap: 26px; }
.plan-picks { display: grid; gap: 10px; }
.pick-plan { display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; align-items: center; width: 100%; text-align: left; background: #fff; border: 0; border-radius: var(--radius-md); padding: 18px 20px; cursor: pointer; box-shadow: inset 0 0 0 2px var(--line); }
.pick-plan[aria-checked="true"] { box-shadow: inset 0 0 0 3px var(--ink); }
.radio { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--muted); }
.pick-plan[aria-checked="true"] .radio { box-shadow: inset 0 0 0 2px var(--ink), inset 0 0 0 6px #fff, inset 0 0 0 12px var(--ink); }
.pp-name { display: block; font-family: var(--serif); font-size: 22px; }
.pp-desc { display: block; font-size: 13px; color: var(--body); }
.pp-price { text-align: right; }
.pp-amt { display: block; font-family: var(--serif); font-size: 22px; white-space: nowrap; }
.pp-per { font-size: 12px; color: var(--body); white-space: nowrap; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt { text-align: left; background: #fff; border: 0; border-radius: var(--radius-md); padding: 16px 18px; cursor: pointer; box-shadow: inset 0 0 0 2px var(--line); display: grid; gap: 4px; }
.opt[aria-checked="true"] { box-shadow: inset 0 0 0 3px var(--ink); }
.opt-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.opt-price { color: var(--body); font-size: 14px; }
.btn.big { min-height: 60px; font-size: 14px; }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; font-weight: 600; font-size: 14px; }
.trust div + div { border-left: 1px solid var(--line); }
.creds { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.creds li { background: #fff; border-radius: 12px; padding: 8px 14px; font-size: 13px; font-weight: 600; }
.buy .faq-q { font-size: 19px; }
.sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #fff; box-shadow: 0 -8px 30px rgba(49,26,19,0.12); transform: translateY(110%); transition: transform 0.25s ease; padding: 12px 0; }
.sticky-bar.show { transform: none; }
.sticky-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.sticky-inner strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 20px; }
.sticky-inner span { font-size: 13px; color: var(--body); }
@media (max-width: 599px) { .sticky-inner > div { display: none; } .sticky-inner .btn { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .sticky-bar { transition: none; } }

/* ---------- what we test ---------- */
.panel { display: grid; gap: 10px; align-content: start; }
.panel .tag { justify-self: start; }
.panel h2 { font-size: 36px; }
.panel .count { margin: 0; display: flex; align-items: baseline; gap: 8px; }
.panel .count strong { font-family: var(--serif); font-weight: 400; font-size: 64px; line-height: 1; }
.panel p:last-child { margin: 0; color: var(--body); }
.summary-pill { margin: 24px auto 0; background: #fff; border-radius: var(--radius-pill); padding: 14px 24px; text-align: center; font-weight: 600; max-width: 900px; }
.summary-pill span { margin: 0 10px; color: var(--muted); }
.markers { background: #fff; border-radius: var(--radius-lg); padding: 12px 16px 24px; }
@media (min-width: 760px) { .markers { padding: 16px 32px 32px; } }
.m-head, .marker-q, .m-total { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: 8px 4px; }
.m-head > .eyebrow, .m-total > .eyebrow { display: none; }
.m-name { grid-column: 1 / -1; }
@media (min-width: 760px) {
  .m-head, .marker-q, .m-total { grid-template-columns: minmax(0, 1fr) repeat(3, 160px); gap: 8px; }
  .m-head > .eyebrow, .m-total > .eyebrow { display: block; }
  .m-name { grid-column: auto; }
}
.m-head { padding: 16px 12px; border-bottom: 2px solid var(--ink); position: sticky; top: 0; background: #fff; z-index: 2; }
.m-col { display: grid; justify-items: center; gap: 4px; text-align: center; }
.m-col .tag { font-size: 9px; padding: 4px 8px; }
.m-col strong { font-family: var(--serif); font-weight: 400; font-size: 18px; }
.m-col small { display: none; color: var(--body); font-size: 11px; }
@media (min-width: 760px) { .m-col strong { font-size: 24px; } .m-col small { display: block; } .m-col .tag { font-size: 11px; } }
.m-cat { display: flex; align-items: baseline; gap: 12px; padding: 32px 12px 10px; }
.m-cat h3 { font-size: 24px; }
.m-cat span { font-size: 13px; color: var(--body); }
.marker { border-bottom: 1px solid var(--line); }
.marker.open { background: var(--tint); }
.marker-q { width: 100%; padding: 16px 12px; background: none; border: 0; text-align: left; cursor: pointer; }
.m-name { font-weight: 600; display: flex; align-items: center; gap: 10px; }
.info { flex: none; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink); display: grid; place-items: center; font-family: var(--serif); font-size: 12px; font-style: italic; }
.marker.open .info { background: var(--ink); color: #fff; }
.m-cell { display: grid; place-items: center; }
.marker-def { padding: 0 12px 18px; color: var(--body); max-width: 720px; }
.marker-def p { margin: 0; }
.m-total { padding: 20px 12px 0; }
.m-total strong { font-family: var(--serif); font-weight: 400; font-size: 28px; text-align: center; }

/* ---------- how it works ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.loop-card { display: grid; gap: 32px; align-items: center; padding: 32px 24px; }
@media (min-width: 900px) { .loop-card { grid-template-columns: 420px 1fr; gap: 64px; padding: 56px; } }
.loop { width: 100%; max-width: 420px; margin: 0 auto; }
.loop-card .steps h3 { font-size: 24px; }
.step-row { display: grid; gap: 28px; align-items: center; }
.step-row img { width: 100%; aspect-ratio: 8 / 7; object-fit: cover; border-radius: var(--radius-lg); }
@media (min-width: 900px) { .step-row { grid-template-columns: 1fr 1fr; gap: 72px; } .step-row.flip img { order: 2; } }
.step-num { font-family: var(--serif); font-size: 28px; color: var(--body); margin: 0; }
.track { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 4px 0 0; padding: 0; }
.track li { background: #fff; border-radius: var(--radius-pill); padding: 8px 14px; font-size: 13px; font-weight: 600; }
.track li.done { background: var(--btn); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
@media (min-width: 760px) { .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .timeline { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; } }
.timeline li { border-top: 3px solid var(--ink); padding-top: 16px; display: grid; gap: 6px; align-content: start; }
.timeline h3 { font-size: 22px; }
.timeline p { margin: 0; color: var(--body); font-size: 14px; }
.ef-band { background: var(--ink); color: var(--cream); border-radius: var(--radius-lg); padding: 40px 24px; display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .ef-band { grid-template-columns: 1fr 420px; padding: 64px; gap: 56px; } }
.ef-band .lead { color: rgba(247,243,236,0.9); }
.ef-offer { background: var(--cream); color: var(--ink); border-radius: var(--radius-lg); padding: 32px; display: grid; gap: 12px; justify-items: center; text-align: center; }
.ef-offer p { margin: 0; }

/* ---------- insights ---------- */
.insights-soon { max-width: 820px; margin: 0 auto; display: grid; gap: 18px; justify-items: center; text-align: center; padding: 48px 24px; }
.topic-list { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; list-style: none; margin: 0; padding: 0; }
.topic-list li { background: var(--cream); border-radius: var(--radius-pill); padding: 8px 16px; font-weight: 600; font-size: 14px; }

/* ---------- collection page ---------- */
.collect-header { padding-top: 20px; padding-bottom: 8px; }
.collect-header img { height: 22px; width: auto; }
.collect { max-width: 720px; display: grid; gap: 24px; padding-top: 16px; padding-bottom: 48px; }
.chapters { display: grid; padding: 8px 20px; }
.chapters a { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; padding: 14px 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.chapters a:last-child { border-bottom: 0; }
.chapters .n { width: 36px; height: 36px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; font-weight: 700; }
.chapters small { display: block; color: var(--body); }
.must { background: var(--warn); box-shadow: inset 0 0 0 2px var(--ink); }
.must p { margin: 8px 0; color: var(--body); }
.must ol { margin: 0; padding-left: 20px; display: grid; gap: 10px; font-weight: 600; }
.collect-group h2 { margin-bottom: 14px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist label { display: grid; grid-template-columns: 26px 1fr; gap: 12px; cursor: pointer; }
.checklist input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ink); }
.checklist input:checked + span { color: var(--body); text-decoration: line-through; }
.collect .card p { margin: 2px 0 0; color: var(--body); }

/* ---------- phone sizing ---------- */
@media (max-width: 599px) {
  body { font-size: 15px; }
  .section { padding: 40px 0; }
  .h1 { font-size: 30px; }
  .h2 { font-size: 25px; }
  .h3 { font-size: 20px; }
  .lead { font-size: 15px; }
  .head { gap: 10px; margin-bottom: 28px; }
  .btn { min-height: 46px; padding: 0 22px; font-size: 12px; }
  .btn.big { min-height: 52px; font-size: 13px; }
  .card { padding: 22px; }
  .hero .hero-offer { font-size: 15px; }
  .hero .btn { margin-top: 2px; }
  .hero-ask { margin-top: 8px; }
  .img-card { min-height: 300px; }
  .img-card .inner { padding: 22px; gap: 14px; }
  .img-card h2 { font-size: 23px; }
  .band { min-height: 300px; }
  .band .inner { gap: 18px; padding: 28px 20px; }
  .who h3 { font-size: 22px; margin: 6px 0 8px; }
  .steps { gap: 18px; }
  .steps li { grid-template-columns: 36px 1fr; gap: 8px; }
  .steps .num { font-size: 18px; }
  .steps h3 { font-size: 21px; }
  .steps-wrap { gap: 28px; }
  .plan { padding: 22px; gap: 14px; }
  .plan h3 { font-size: 27px; }
  .price .amt { font-size: 44px; }
  .seg button { min-height: 36px; font-size: 11px; padding: 0 8px; }
  .checks { gap: 8px; }
  .addons ul { padding: 0 18px 4px; }
  .addons li { padding: 14px 0; font-size: 14px; }
  .compare { min-width: 0; table-layout: fixed; font-size: 14px; line-height: 1.35; }
  .compare th, .compare td { padding: 14px 4px; }
  .compare th:first-child, .compare td:first-child { width: 40%; padding-left: 14px; }
  .compare td:first-child { font-size: 14px; }
  .compare td { font-size: 12px; }
  .compare thead th { font-size: 11px; padding-top: 18px; vertical-align: bottom; }
  .compare thead .us img { height: 13px; }
  .yes, .no { width: 20px; height: 20px; }
  .rec { padding: 20px; gap: 14px; }
  .rec-name h3 { font-size: 23px; }
  .answer-card { padding: 18px 20px; }
  .inputs li { padding: 9px 15px; font-size: 14px; }
  .faq { gap: 24px; }
  .faq-q { font-size: 17px; padding: 18px 0; }
  .site-footer { padding-bottom: 28px; }
  .footer-top img { height: 42px; }
  .footer-top .tag-line { font-size: 19px; }
  .footer-bottom { margin-top: 28px; }
  .final .inner { gap: 14px; }
  .modal-box { padding: 30px 20px 22px; gap: 14px; }
  .pp-name, .pp-amt { font-size: 19px; }
  .pick-plan { padding: 14px 16px; gap: 10px; }
  .gallery-main { aspect-ratio: 1 / 1; }
  .panel h2 { font-size: 27px; }
  .panel .count strong { font-size: 46px; }
  .m-cat { padding-top: 24px; }
  .m-cat h3 { font-size: 20px; }
  .step-row { gap: 18px; }
  .step-num { font-size: 21px; }
  .timeline h3 { font-size: 19px; }
  .loop-card .steps h3 { font-size: 20px; }
  .ef-band { padding: 28px 20px; gap: 24px; }
  .ef-offer { padding: 24px; }
  .insights-soon { padding: 32px 18px; }
}
@media (max-width: 599px) {
  .banner { font-size: 12px; padding: 9px 12px; }
  .banner em { font-size: 13px; margin-right: 4px; }
}
/* phones and tablets: on the pricing page the plan picker comes right after the photos */
@media (max-width: 999px) {
  .checkout-grid { gap: 28px; }
  .left-col { display: contents; }
  .gallery { order: 1; }
  .buy { order: 2; }
  .how-card { order: 3; }
}
@media (max-width: 599px) {
  .steps-wrap > img { aspect-ratio: 1 / 1; }
}
/* phone scale, matched to the reference sites: ~28px headlines, 15px body, slimmer chrome */
@media (max-width: 599px) {
  :root { --gutter: 18px; --radius-lg: 20px; }
  .h1 { font-size: 28px; line-height: 1.15; }
  .h2 { font-size: 23px; }
  .lead, .hero .hero-offer { font-size: 15px; line-height: 1.5; }
  .head { margin-bottom: 22px; }
  .section { padding: 36px 0; }
  .btn { min-height: 44px; padding: 0 20px; font-size: 11.5px; }
  .site-header { padding-top: 10px; }
  .nav { padding: 6px 6px 6px 18px; }
  .nav-logo img { height: 18px; }
  .nav-toggle { width: 38px; height: 38px; }
  .nav-toggle svg { width: 18px; height: 18px; }
  .hero-inner { padding-top: 96px; padding-bottom: 26px; }
  .hero-copy { gap: 12px; }
  .hero-ask .ask-form { padding: 5px; }
  .hero-ask .ask-form input { font-size: 15px; padding: 0 12px; }
  .hero-ask .ask-form .btn { min-height: 38px; padding: 0 16px; }
  .hero-ask .chip { min-height: 34px; padding: 6px 12px; font-size: 12px; }
  .chips { gap: 8px; }
  .ask-strip { padding: 18px 0 22px; }
  .trust-row { gap: 6px 12px; font-size: 14px; }
  .trust-row img { height: 24px; }
  .img-card { min-height: 260px; }
  .img-card h2 { font-size: 21px; }
  .band { min-height: 260px; }
  .who h3 { font-size: 20px; }
  .steps h3 { font-size: 19px; }
  .plan h3 { font-size: 24px; }
  .price .amt { font-size: 40px; }
  .checks li { font-size: 14px; }
  .rec-name h3 { font-size: 21px; }
  .faq-q { font-size: 16px; padding: 16px 0; }
  .app-card { padding: 22px 20px 20px; gap: 20px; border-radius: 22px; }
  .ring { width: 88px; height: 88px; }
  .ring-num { font-size: 36px; }
  .ac-delta { font-size: 14px; }
  .ac-row strong { font-size: 14px; }
  .ac-row span { font-size: 12px; }
  .ac-btn { padding: 13px; font-size: 13px; }
  .footer-top img { height: 36px; }
  .footer-top .tag-line { font-size: 17px; }
  .panel h2 { font-size: 24px; }
  .panel .count strong { font-size: 40px; }
  .pp-name, .pp-amt { font-size: 18px; }
}
@media (max-width: 599px) {
  .gallery-main { aspect-ratio: 4 / 3; }
  .g-stats { padding: 40px 10px 14px; }
  .g-stats span { font-size: 11px; }
  .g-stats strong { font-size: 19px; }
  .thumbs { gap: 8px; }
  .thumbs button { width: 54px; height: 54px; border-radius: 12px; }
}

/* ---------- biomarkers on phones: tabs instead of the three-column grid ---------- */
.m-tabs, .m-tab-note, .m-count-panel { display: none; }
@media (max-width: 759px) {
  .markers { padding: 14px 14px 18px; }
  .m-tabs { display: flex; gap: 4px; background: var(--cream); border-radius: var(--radius-pill); padding: 4px; position: sticky; top: 10px; z-index: 3; box-shadow: 0 0 0 8px #fff, 0 10px 24px rgba(49,26,19,0.08); }
  .m-tabs button { flex: 1; border: 0; background: transparent; border-radius: var(--radius-pill); min-height: 38px; padding: 0 6px; font-weight: 700; font-size: 13px; cursor: pointer; white-space: nowrap; }
  .m-tabs button span { font-weight: 600; opacity: 0.6; margin-left: 2px; }
  .m-tabs button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
  .m-tabs button[aria-pressed="true"] span { opacity: 0.8; }
  .m-tab-note { display: block; text-align: center; font-size: 12px; color: var(--body); margin: 10px 0 0; }
  .m-head, .m-total, .m-cell, .m-count { display: none !important; }
  .m-count-panel { display: inline; font-size: 12px; color: var(--body); }
  .m-cat { padding: 22px 4px 6px; gap: 8px; border-bottom: 1px solid var(--ink); }
  .m-cat h3 { font-size: 18px; }
  .marker-q { display: block; padding: 13px 4px; }
  .m-name { justify-content: space-between; font-size: 15px; font-weight: 600; }
  .marker-def { padding: 0 4px 14px; font-size: 14px; }
  .markers[data-show="core"] .marker:not([data-in~="core"]),
  .markers[data-show="complete"] .marker:not([data-in~="complete"]),
  .markers[data-show="checkin"] .marker:not([data-in~="checkin"]),
  .markers[data-show="core"] .m-cat[data-core="0"],
  .markers[data-show="complete"] .m-cat[data-complete="0"],
  .markers[data-show="checkin"] .m-cat[data-checkin="0"] { display: none; }
  .summary-pill { border-radius: var(--radius-lg); font-size: 13px; padding: 14px 18px; }
  .summary-pill span { display: block; height: 6px; overflow: hidden; color: transparent; }
}

/* ---------- How it works: animated loop ---------- */
.loop-node { transform-box: fill-box; transform-origin: center; transition: transform 0.6s ease; }
.loop-node .halo { opacity: 0; transition: opacity 0.6s ease; }
.loop-node.on { transform: scale(1.08); }
.loop-node.on .halo { opacity: 0.22; }
.loop-steps li { transition: opacity 0.6s ease; }
.loop-steps.playing li { opacity: 0.4; }
.loop-steps.playing li.on { opacity: 1; }

/* ---------- How it works: first 90 days timeline draws in, step by step ---------- */
.timeline.tl-anim li { position: relative; border-top-color: var(--line); }
.timeline.tl-anim li::before { content: ""; position: absolute; left: 0; right: 0; top: -3px; height: 3px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 0.7s cubic-bezier(.4,0,.2,1); transition-delay: var(--d, 0s); }
.timeline.tl-anim li > * { opacity: 0; transform: translateY(10px); transition: opacity 0.5s ease, transform 0.5s ease; transition-delay: calc(var(--d, 0s) + 0.45s); }
.timeline.tl-anim li.in::before { transform: scaleX(1); }
.timeline.tl-anim li.in > * { opacity: 1; transform: none; }

/* ---------- legal pages ---------- */
.legal { max-width: 760px; display: grid; gap: 14px; padding-bottom: 48px; }
.legal .h1 { margin-bottom: 4px; }
.legal h2 { margin-top: 22px; }
.legal p, .legal li { color: var(--body); margin: 0; }
.legal ul { margin: 0; padding-left: 20px; display: grid; gap: 10px; }
.legal a { font-weight: 600; text-underline-offset: 3px; }
.legal .btn { justify-self: start; margin-top: 6px; }

/* ---------- hero with the still photo (replaces the video) ---------- */
.hero.photo { background: var(--cream); color: var(--ink); }
.hero.photo .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hero.photo::after { background: linear-gradient(90deg, rgba(247,243,236,0.96) 0%, rgba(247,243,236,0.88) 34%, rgba(247,243,236,0.35) 54%, rgba(247,243,236,0) 68%); }
.hero.photo p { color: var(--body); }
.hero.photo .hero-ask .ask-form { box-shadow: 0 10px 40px rgba(49,26,19,0.10); }
.hero.photo .hero-ask .chip { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.hero.photo .hero-ask .ask-note { color: var(--body); }
.hero.photo .hero-ask .nudge { color: var(--ink); }
/* phones and small tablets: nav, then a square slice of the photo, then the copy on cream */
@media (max-width: 859px) {
  .site-header.over { position: relative; padding-bottom: 14px; }
  .hero.photo { display: block; min-height: 0; }
  .hero.photo::after { display: none; }
  .hero.photo .hero-img { position: static; display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; max-height: 52svh; object-position: 84% center; }
  .hero.photo .hero-inner { padding-top: 24px; padding-bottom: 32px; }
}
/* the hero's button spacing shouldn't push the Ask button down inside the box */
.hero .ask-form { align-items: center; }
.hero .ask-form .btn { margin-top: 0; }
@media (max-width: 400px) { .hero-ask .ask-form input::placeholder { font-size: 14px; } }
/* hero suggestion buttons: transparent with a thin outline */
.hero.photo .hero-ask .chip { background: transparent; box-shadow: inset 0 0 0 1px rgba(49,26,19,0.35); color: var(--ink); }
.hero.photo .hero-ask .chip:hover { background: rgba(255,255,255,0.5); }
.ask-strip .hero-ask .chip { background: transparent; box-shadow: inset 0 0 0 1px rgba(247,243,236,0.55); color: var(--cream); }
.ask-strip .hero-ask .chip:hover { background: rgba(247,243,236,0.1); }
/* egg freezing fine print: along the bottom of the hero photo */
.hero-note { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 2; }
.hero-note p { margin: 0; font-size: 13px; color: var(--ink); max-width: 560px; }
.hero-note a { font-weight: 600; text-underline-offset: 3px; }
@media (max-width: 859px) {
  .hero-note { position: static; padding-bottom: 28px; margin-top: -12px; }
  .hero-note p { font-size: 12px; color: var(--body); }
}
.trust-strip { padding-bottom: 8px; }
@media (min-width: 860px) { .hero.photo { min-height: calc(100svh - 43px); } }
.hero-note p { font-size: 11px; }
@media (max-width: 859px) { .hero-note p { font-size: 11px; } }

/* tighter spacing between sections, sitewide */
.section { padding: 40px 0; }
.head { margin-bottom: 32px; }
@media (min-width: 860px) { .section { padding: 44px 0; } }
@media (max-width: 599px) { .section { padding: 28px 0; } .head { margin-bottom: 20px; } }

/* ---------- partner with us (creator program) ---------- */
.hold-creators { background: var(--ink); color: var(--cream); padding: 72px 0; }
.creators-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .creators-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.creators-copy { display: grid; gap: 20px; }
.creators-copy .eyebrow { color: rgba(247,243,236,0.7); }
.creators-title { margin: 0; color: var(--cream); }
.creators-title em { font-style: italic; }
.creators-lead { color: rgba(247,243,236,0.82); max-width: 520px; }
.creators-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 6px; }
.creators-link { color: var(--cream); text-underline-offset: 5px; }
.creators-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.creator-more { padding: 64px 0 72px; }
.ben h3 { font-size: 26px; margin: 8px 0 10px; }
.ben p:last-child { margin: 0; color: var(--body); }
.creator-how, .creator-faq { margin-top: 72px; }
.timeline.four { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
@media (min-width: 760px) { .timeline.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .timeline.four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
.timeline.four h3 { font-size: 24px; }
.timeline.four p { font-size: 15px; }
.creator-faq .lead a { font-weight: 600; }
.fields.two { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .fields.two { grid-template-columns: 1fr 1fr; } }
.field textarea { width: 100%; border: 0; border-radius: 14px; background: var(--cream); padding: 14px 16px; font: inherit; font-size: 16px; color: var(--ink); resize: vertical; }
.field .opt { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--body); }
#creator-form .h3 { margin-top: 4px; }
@media (max-width: 859px) {
  .hold-creators { padding: 48px 0 44px; }
  .creator-more { padding: 44px 0 52px; }
  .creator-how, .creator-faq { margin-top: 52px; }
}
/* five nav links: keep each on one line, and use the menu button until there's room for all of them */
.nav-links a, .nav-cta { white-space: nowrap; }
@media (min-width: 960px) and (max-width: 1179px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-menu.open { display: block; }
}
@media (min-width: 1180px) and (max-width: 1299px) { .nav-links { gap: 22px; } }

/* ---------- section tones: cream by default, white and brown bands for rhythm ---------- */
.tone-white { background: #fff; }
.tone-white .plan { background: var(--cream); }
.tone-white .seg { background: #fff; }
.tone-white .inputs li { background: var(--cream); }
.tone-white .app-card { box-shadow: 0 0 0 1px var(--line), 0 20px 60px rgba(49,26,19,0.10); }
.tone-dark { background: var(--ink); color: var(--cream); }
.tone-dark h2, .tone-dark h3 { color: var(--cream); }
.tone-dark .lead, .tone-dark .steps p { color: rgba(247,243,236,0.8); }
.tone-dark .steps .num { color: rgba(247,243,236,0.6); }
