/* ============================================================
   Peptmate landing · brand v1.1
   Bone canvas, terracotta accent (~10%), ink type.
   Fraunces speaks, Geist works, Geist Mono counts.
   ============================================================ */

:root{
  --bone:#FAF8F4;
  --bone-deep:#F4F0E8;
  --card:#FFFFFD;
  --ink:#1C1B18;
  --ink-60:rgba(28,27,24,.62);
  --ink-40:rgba(28,27,24,.42);
  --terracotta:#B8593A;
  --terracotta-soft:#F3E2DA;
  --pep-blue:#4A7FB5;
  --pep-gold:#C99A2E;
  --pep-sage:#8FAE7E;
  --pep-plum:#9C5A7D;
  --line:rgba(28,27,24,.10);
  --radius:20px;
  --ease:cubic-bezier(.32,.72,.24,1);
  --ease-hover:cubic-bezier(.2,.6,.35,1); /* hover micro-interactions: fast in, no float */
}

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  background:var(--bone);
  color:var(--ink);
  font-family:'Geist',system-ui,sans-serif;
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
.wrap{max-width:1120px;margin:0 auto;padding:0 28px}
.wrap.narrow{max-width:760px}
.mono{font-family:'Geist Mono',monospace;letter-spacing:.02em}
.serif{font-family:'Fraunces',serif}
.dot{color:var(--terracotta)}
.terra{color:var(--terracotta)}

h1,h2,h3{font-family:'Fraunces',serif;font-weight:500;line-height:1.1;letter-spacing:-.01em}
h1{font-size:clamp(46px,6.5vw,76px)}
h2{font-size:clamp(32px,4.4vw,48px)}
h3{font-size:21px;font-weight:600;font-family:'Geist',sans-serif;letter-spacing:0}

.eyebrow{
  font-size:12px;font-weight:600;letter-spacing:.14em;
  text-transform:uppercase;color:var(--terracotta);
  display:block;margin-bottom:14px;
}
p.lead{font-size:19px;color:var(--ink-60);max-width:52ch}

.btn{
  display:inline-flex;align-items:center;justify-content:center;
  background:var(--terracotta);color:#fff;text-decoration:none;
  font-weight:600;font-size:15px;padding:13px 26px;border-radius:999px;
  transition:transform .13s var(--ease-hover), box-shadow .18s var(--ease-hover);
}
.btn:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(184,89,58,.28)}
.btn:active{transform:translateY(0) scale(.98)}
.btn-ghost{
  background:transparent;color:var(--terracotta);
  border:1.5px solid var(--terracotta);
}
.btn-ghost:hover{box-shadow:0 6px 18px rgba(184,89,58,.14)}

/* ---------- keyboard focus ---------- */
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible{
  outline:2px solid var(--terracotta);outline-offset:3px;
}

/* ---------- scroll reveal (subtle, no jack) ---------- */
.reveal{opacity:0;transform:translateY(18px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
.reveal.is-in{opacity:1;transform:none}
@media (prefers-reduced-motion: reduce){
  .reveal{opacity:1;transform:none;transition:none}
  *,*::before,*::after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}
  html{scroll-behavior:auto}
}

/* ============================================================
   NAV · Flighty-style glass pill: expanded at top, shrinks on scroll
   ============================================================ */
.nav-wrap{
  position:fixed;top:0;left:0;right:0;z-index:100;
  display:flex;justify-content:center;
  padding:18px 20px 0;
  pointer-events:none;
}
.nav{
  pointer-events:auto;
  display:flex;align-items:center;gap:34px;
  background:rgba(253,252,250,.72);
  backdrop-filter:blur(18px) saturate(1.6);
  -webkit-backdrop-filter:blur(18px) saturate(1.6);
  border:1px solid rgba(28,27,24,.08);
  border-radius:999px;
  padding:12px 14px 12px 20px;
  box-shadow:0 2px 20px rgba(28,27,24,.06);
  transition:padding .45s var(--ease), gap .45s var(--ease), box-shadow .45s var(--ease), background .45s var(--ease), max-width .45s var(--ease);
  max-width:860px;width:100%;
  justify-content:space-between;
}
.nav.is-scrolled{
  padding:7px 8px 7px 16px;
  gap:22px;
  max-width:720px;
  background:rgba(253,252,250,.85);
  box-shadow:0 6px 28px rgba(28,27,24,.12);
}
.nav-brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink)}
.nav-mark{height:34px;width:auto;transition:height .45s var(--ease)}
.nav.is-scrolled .nav-mark{height:27px}
.nav-word{font-family:'Fraunces',serif;font-weight:600;font-size:22px;letter-spacing:-.01em;transition:font-size .45s var(--ease)}
.nav.is-scrolled .nav-word{font-size:19px}
.nav-links{display:flex;gap:26px}
.nav-links a{
  text-decoration:none;color:var(--ink-60);font-weight:500;font-size:15px;
  transition:color .1s var(--ease-hover);
}
.nav-links a:hover{color:var(--ink)}
.btn-nav{
  padding:10px 20px;font-size:14px;
  transition:transform .13s var(--ease-hover), box-shadow .18s var(--ease-hover), padding .45s var(--ease);
}
.nav.is-scrolled .btn-nav{padding:8px 17px}

/* wink on hover */
.nav-brand .wink-eye{transform-origin:41px 51px;transition:transform .2s}
.nav-brand:hover .wink-eye{animation:wink .7s var(--ease)}
@keyframes wink{
  0%,100%{transform:scaleY(1)}
  40%{transform:scaleY(.15) translateY(22px)}
}

.nav-burger{display:none;background:none;border:none;cursor:pointer;padding:10px}
.nav-burger span{display:block;width:20px;height:2px;background:var(--ink);margin:5px 0;border-radius:2px;transition:transform .3s var(--ease),opacity .3s}
.nav-mobile{display:none}

@media(max-width:860px){
  .nav-links,.btn-nav{display:none}
  .nav-burger{display:block}
  .nav-mobile{
    display:flex;flex-direction:column;gap:4px;
    position:absolute;top:76px;left:20px;right:20px;
    background:rgba(253,252,250,.95);backdrop-filter:blur(18px);
    border:1px solid var(--line);border-radius:24px;
    padding:18px;pointer-events:auto;
    opacity:0;transform:translateY(-8px);visibility:hidden;
    transition:opacity .3s var(--ease),transform .3s var(--ease),visibility .3s;
  }
  .nav-mobile.is-open{opacity:1;transform:none;visibility:visible}
  .nav-mobile a{text-decoration:none;color:var(--ink);font-weight:500;padding:12px 10px;border-radius:12px}
  .nav-mobile a:hover{background:var(--bone)}
  .nav-mobile .btn{color:#fff;justify-content:center;margin-top:6px}
}

/* ============================================================
   HERO
   ============================================================ */
.hero{padding:170px 0 90px;overflow:hidden}
.hero-grid{
  display:grid;grid-template-columns:1.05fr .95fr;
  gap:48px;align-items:center;
}
.hero-copy h1{margin-bottom:22px}
.hero-ctas{display:flex;gap:14px;align-items:center;margin-top:34px;flex-wrap:wrap}
.hero-note{font-size:13.5px;color:var(--ink-40);margin-top:18px}

.appstore-badge{
  display:inline-flex;align-items:center;gap:11px;
  background:var(--ink);color:var(--bone);text-decoration:none;
  border-radius:14px;padding:11px 22px 11px 18px;
  transition:transform .13s var(--ease-hover),box-shadow .18s var(--ease-hover);
}
.appstore-badge:hover{transform:translateY(-1px);box-shadow:0 8px 22px rgba(28,27,24,.22)}
.appstore-badge span{display:flex;flex-direction:column;line-height:1.15;font-weight:600;font-size:16px}
.appstore-badge span small{font-size:10.5px;font-weight:500;opacity:.7}
.appstore-badge.light{background:var(--bone);color:var(--ink)}

.hero-device{position:relative;display:flex;justify-content:center}
.hero-device .phone{animation:phoneEnter .9s var(--ease) .15s backwards}
@keyframes phoneEnter{
  from{opacity:0;transform:translateY(26px) scale(.985)}
  to{opacity:1;transform:none}
}
.try-chip{
  position:absolute;top:-16px;z-index:5;
  display:inline-flex;align-items:center;gap:8px;
  background:var(--card);border:1px solid var(--line);border-radius:999px;
  padding:8px 16px;font-size:13px;font-weight:500;color:var(--ink-60);
  box-shadow:0 4px 16px rgba(28,27,24,.08);
  transition:opacity .5s var(--ease),transform .5s var(--ease);
}
.try-chip.is-hidden{opacity:0;transform:translateY(-6px);pointer-events:none}
.try-pulse{
  width:8px;height:8px;border-radius:50%;background:var(--terracotta);
  animation:pulse 2s infinite;
}
@keyframes pulse{
  0%{box-shadow:0 0 0 0 rgba(184,89,58,.45)}
  70%{box-shadow:0 0 0 9px rgba(184,89,58,0)}
  100%{box-shadow:0 0 0 0 rgba(184,89,58,0)}
}

/* ============================================================
   THE PHONE (playable)
   ============================================================ */
.phone{
  position:relative;width:330px;height:680px;
  text-align:left;
  background:var(--app-bone);
  border:9px solid var(--ink);border-radius:52px;
  box-shadow:0 30px 70px rgba(28,27,24,.18), 0 4px 16px rgba(28,27,24,.10);
  overflow:hidden;
  display:flex;flex-direction:column;
  user-select:none;
}
.phone-island{
  position:absolute;top:12px;left:50%;transform:translateX(-50%);
  width:96px;height:26px;background:var(--ink);border-radius:14px;z-index:4;
}
.phone-statusbar{
  display:flex;justify-content:space-between;align-items:center;
  padding:16px 26px 4px;font-size:13px;font-weight:600;
}
.phone-screens{flex:1;position:relative;overflow:hidden}
.app-screen{
  position:absolute;inset:0;overflow-y:auto;overflow-x:hidden;
  opacity:0;transform:translateX(14px);pointer-events:none;
  transition:opacity .3s var(--ease),transform .3s var(--ease);
  scrollbar-width:none;
}
.app-screen::-webkit-scrollbar{display:none}
.app-screen.is-active{opacity:1;transform:none;pointer-events:auto}
.app-screen.slide-back{transform:translateX(-14px)}
/* ------------------------------------------------------------
   IN-PHONE DESIGN TOKENS · exact PeptColors from the iOS app.
   Everything inside the phone frame uses these, not the page
   palette. The app's italic serif accents are intentional and
   live only inside the phone; page copy stays non-italic.
   ------------------------------------------------------------ */
:root{
  --app-bone:#FAF8F4;
  --app-bone2:#F4F0E8;
  --app-surface:#FFFFFD;
  --app-ink:#1C1B18;
  --app-ink2:#3A3733;
  --app-muted:#7A756C;
  --app-line:#E8E3D8;
  --app-linesoft:#F4F0E8;
  --app-accent:#DD5A30;
  --app-accent-soft:#F1C8B5;
  --app-accent-wash:#FCEBDE;
  --app-sage:#6CA453;
  --app-amber:#D0950B;
  --app-blue:#3A8AC0;
  --app-plum:#A44D77;
  --app-flag:#EB4520;
}

.ph-pad{padding:10px 14px 92px}
.ph-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px}
.ph-label{font-size:9px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--app-muted);display:block;margin-bottom:3px}
.ph-title{font-family:'Fraunces',serif;font-weight:500;font-size:25px;line-height:1.1;color:var(--app-ink)}
.ph-title-inline{font-family:'Fraunces',serif;font-weight:500;font-size:24px;line-height:1.1;color:var(--app-ink)}
.ph-it{font-family:'Fraunces',serif;font-style:italic;font-weight:500;color:var(--app-accent)}
.ph-dot{color:var(--app-accent)}
.ph-mt{margin-top:16px}

.ph-headbtns{display:flex;gap:7px;flex-shrink:0}
.ph-circlebtn{
  position:relative;width:31px;height:31px;border-radius:50%;
  background:var(--app-surface);border:1px solid var(--app-linesoft);
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 1px 4px rgba(28,27,24,.07);
}
.ph-circlebtn svg{width:15px;height:15px;fill:none;stroke:var(--app-ink);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.ph-badge{
  position:absolute;top:-4px;right:-4px;min-width:14px;height:14px;border-radius:7px;
  background:var(--app-flag);color:#fff;font-style:normal;
  font-size:8.5px;font-weight:700;display:flex;align-items:center;justify-content:center;padding:0 3px;
}

.ph-card{
  background:var(--app-surface);border:1px solid var(--app-linesoft);
  border-radius:16px;box-shadow:0 1px 6px rgba(28,27,24,.05);
}

/* home · protocol card */
.ph-protocard{display:flex;align-items:center;gap:13px;padding:13px 15px;margin-bottom:12px}
.ph-protonum{font-family:'Fraunces',serif;font-weight:500;font-size:31px;line-height:1;color:var(--app-ink)}
.ph-prototext{flex:1;display:flex;flex-direction:column;gap:1px}
.ph-prototext b{font-size:12.5px;font-weight:600;color:var(--app-ink)}
.ph-prototext small{font-size:10.5px;color:var(--app-muted)}
.ph-arrow{width:16px;height:16px;fill:none;stroke:var(--app-muted);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}

/* home · dark next-dose hero (ink + drifting warm glow, as in the app) */
.ph-hero{position:relative;border-radius:20px;overflow:hidden;background:var(--app-ink);margin-bottom:14px}
.ph-hero-glow{
  position:absolute;inset:-20%;
  background:
    radial-gradient(46% 42% at 78% 32%, rgba(221,90,48,.5), transparent 72%),
    linear-gradient(160deg, rgba(221,90,48,.14), transparent 55%);
  animation:phGlow 9s ease-in-out infinite alternate;
}
@keyframes phGlow{from{transform:translate(0,0) scale(1)}to{transform:translate(-16px,10px) scale(1.12)}}
@media(prefers-reduced-motion:reduce){.ph-hero-glow{animation:none}}
.ph-hero-in{position:relative;padding:14px 16px;color:var(--app-bone)}
.ph-hero-label{font-family:'Geist Mono',monospace;font-size:9px;letter-spacing:.14em;text-transform:uppercase;color:rgba(250,248,244,.62)}
.ph-hero-mid{display:flex;justify-content:space-between;align-items:flex-start;margin-top:5px}
.ph-hero-name{font-family:'Fraunces',serif;font-weight:500;font-size:30px;line-height:1.05}
.ph-vial{width:36px;height:51px;margin-top:2px;flex-shrink:0}
.ph-hero-bottom{display:flex;justify-content:space-between;align-items:flex-end;margin-top:9px}
.ph-hero-units b{font-family:'Fraunces',serif;font-weight:500;font-size:38px;line-height:1}
.ph-hero-units span{font-size:9px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:rgba(250,248,244,.66);margin-left:4px}
.ph-hero-sched{text-align:right;display:flex;flex-direction:column;gap:2px}
.ph-hero-schedlabel{font-size:8.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:rgba(250,248,244,.55)}
.ph-hero-sched b{font-size:16px;font-weight:500;color:rgba(250,248,244,.95)}
.ph-cta{
  width:100%;margin-top:12px;
  display:flex;align-items:center;justify-content:center;gap:7px;
  background:var(--app-accent);color:#fff;border:none;border-radius:14px;
  font-family:'Geist',sans-serif;font-weight:600;font-size:13.5px;padding:12px;
  cursor:pointer;transition:transform .15s var(--ease),background .25s;
}
.ph-cta svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ph-cta:active{transform:scale(.98)}
.ph-cta.is-done{background:var(--app-sage)}
.ph-hero.is-bump{animation:cardBump .45s var(--ease)}
@keyframes cardBump{0%{transform:scale(1)}35%{transform:scale(.97)}100%{transform:scale(1)}}

/* section rows inside the phone */
.ph-secrow{display:flex;justify-content:space-between;align-items:center;margin:4px 0 8px}
.ph-sec,.ph-sec-mixed{font-family:'Fraunces',serif;font-weight:500;font-size:19px;color:var(--app-ink)}
.ph-sec-sans{font-size:13.5px;font-weight:600;color:var(--app-ink)}
.ph-linklabel{display:inline-flex;align-items:center;gap:4px;font-size:9.5px;font-weight:600;letter-spacing:.13em;text-transform:uppercase;color:var(--app-accent)}
.ph-linklabel svg{width:11px;height:11px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ph-seeall{font-size:11.5px;font-weight:500;color:var(--app-accent)}
.ph-chevcircle{
  width:26px;height:26px;border-radius:50%;border:1.3px solid var(--app-accent);
  display:flex;align-items:center;justify-content:center;color:var(--app-accent);
}
.ph-chevcircle svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* dose rows (home + calendar) */
.ph-doselist{display:flex;flex-direction:column;gap:7px}
.ph-dose{
  display:flex;align-items:center;gap:9px;
  background:var(--app-surface);border:1px solid var(--app-linesoft);border-radius:14px;
  padding:9px 11px 9px 0;cursor:pointer;position:relative;overflow:hidden;
  box-shadow:0 1px 5px rgba(28,27,24,.04);
  transition:transform .15s var(--ease);
}
.ph-dose:active{transform:scale(.985)}
.ph-dose-bar{width:3.5px;align-self:stretch;border-radius:0 2px 2px 0;background:var(--hue);flex-shrink:0;margin-right:2px}
.ph-timechip{
  width:34px;height:34px;border-radius:9px;border:1.2px solid var(--hue);
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  flex-shrink:0;color:var(--hue);
}
.ph-timechip em{font-family:'Fraunces',serif;font-style:italic;font-weight:500;font-size:14px;line-height:1}
.ph-timechip small{font-family:'Geist Mono',monospace;font-size:6.5px;letter-spacing:.1em;margin-top:1px}
.ph-dose.is-logged .ph-timechip{border-color:var(--app-line);color:var(--app-muted)}
.ph-dose-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.ph-dose-text b{font-family:'Fraunces',serif;font-weight:500;font-size:14.5px;letter-spacing:.02em;text-transform:uppercase;color:var(--app-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ph-dose.is-logged .ph-dose-text b{color:var(--app-muted)}
.ph-dose-text span{font-family:'Geist Mono',monospace;font-size:8.5px;letter-spacing:.08em;color:var(--app-muted);text-transform:uppercase;line-height:1.5}
.ph-dose-units{font-family:'Fraunces',serif;font-weight:500;font-size:16px;color:var(--app-ink);white-space:nowrap;flex-shrink:0}
.ph-dose-units small{font-family:'Geist Mono',monospace;font-size:8px;color:var(--app-muted)}
.ph-check{
  width:24px;height:24px;border-radius:50%;flex-shrink:0;
  border:1.4px solid var(--app-line);background:transparent;
  display:flex;align-items:center;justify-content:center;
  transition:background .25s var(--ease),border-color .25s;
}
.ph-check svg{width:12px;height:12px;opacity:0;transform:scale(.4);transition:opacity .25s,transform .25s var(--ease)}
.ph-dose.is-logged .ph-check{background:var(--app-sage);border-color:var(--app-sage)}
.ph-dose.is-logged .ph-check.ink{background:var(--app-ink);border-color:var(--app-ink)}
.ph-dose.is-logged .ph-check svg{opacity:1;transform:scale(1)}

/* calendar */
.ph-dow{display:flex;gap:5px;margin-bottom:5px}
.ph-dow span{flex:1;text-align:center;font-size:9px;font-weight:600;color:var(--app-muted);letter-spacing:.05em}
.ph-dow span.is-today{color:var(--app-accent)}
.ph-week{display:flex;gap:5px;margin-bottom:12px}
.ph-cell{
  flex:1;background:var(--app-surface);border:1px solid var(--app-linesoft);border-radius:11px;
  display:flex;flex-direction:column;align-items:center;padding:7px 0 6px;gap:4px;
  box-shadow:0 1px 4px rgba(28,27,24,.04);
}
.ph-cell b{font-family:'Fraunces',serif;font-weight:500;font-size:15px;color:var(--app-ink)}
.ph-cell.is-today{background:var(--app-ink);border-color:var(--app-ink);box-shadow:0 3px 10px rgba(28,27,24,.22)}
.ph-cell.is-today b{color:var(--app-bone)}
.ph-pips{display:flex;gap:2.5px}
.ph-pips i{width:5px;height:2.5px;border-radius:2px;background:var(--app-line)}
.ph-cell.is-today .ph-pips i{background:rgba(250,248,244,.35)}
.ph-cell.is-today .ph-pips i.on{background:var(--app-blue)}
.ph-journal{display:flex;align-items:center;gap:8px;padding:12px 13px}
.ph-journal-pen,.ph-journal-pin{width:15px;height:15px;fill:none;stroke:var(--app-accent);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.ph-orangedot{width:5px;height:5px;border-radius:50%;background:var(--app-accent);flex-shrink:0}
.ph-journal-hint{flex:1;font-family:'Fraunces',serif;font-style:italic;font-size:13px;color:var(--app-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ph-trend-teaser{display:flex;align-items:center;justify-content:space-between;padding:11px 13px}
.ph-trend-teaser small{font-size:11px;color:var(--app-ink2);font-weight:500}
.ph-label-muted{display:inline-flex;align-items:center;gap:5px;font-size:9px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--app-muted)}
.ph-label-muted svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.ph-label-accent{font-size:8.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--app-muted)}

/* calculate */
.ph-pillbtn{
  display:inline-flex;align-items:center;gap:5px;
  background:var(--app-accent);color:#fff;border:none;border-radius:999px;
  font-family:'Geist',sans-serif;font-weight:600;font-size:11.5px;padding:9px 14px;
  box-shadow:0 4px 12px rgba(221,90,48,.3);cursor:pointer;
}
.ph-pillbtn svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
.ph-center{display:flex;justify-content:center;margin:2px 0 12px}
.ph-outlinepill{
  display:inline-flex;align-items:center;gap:6px;
  border:1.2px solid var(--app-accent);color:var(--app-accent);border-radius:999px;
  font-size:11.5px;font-weight:600;padding:8px 15px;
}
.ph-outlinepill em{font-family:'Fraunces',serif;font-style:italic;font-weight:500;font-size:11px}
.ph-outlinepill svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ph-pepcards{display:flex;flex-direction:column;gap:9px}
.ph-pep{position:relative;overflow:hidden;padding:12px 13px 12px 16px}
.ph-pep-side{position:absolute;left:0;top:9px;bottom:9px;width:3.5px;border-radius:0 2px 2px 0;background:var(--hue)}
.ph-pep-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
.ph-pep-name{font-family:'Fraunces',serif;font-weight:500;font-size:15.5px;letter-spacing:.02em;text-transform:uppercase;color:var(--app-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ph-pep-name .n{font-family:'Fraunces',serif;font-size:17px;margin-left:4px;text-transform:none}
.ph-pep-name em{font-family:'Fraunces',serif;font-style:italic;font-weight:400;font-size:11.5px;color:var(--hue);margin-left:2px;text-transform:none}
.ph-pep-right{font-family:'Geist Mono',monospace;font-size:9px;letter-spacing:.12em;color:var(--hue);text-transform:uppercase;flex-shrink:0}
.ph-pep-dose{font-family:'Geist Mono',monospace;font-size:9.5px;letter-spacing:.06em;color:var(--app-muted);margin:3px 0 9px;text-transform:uppercase}
.ph-pep.is-unmixed .ph-pep-dose{margin-bottom:0}
.ph-pep-days{display:flex;gap:4px;margin-bottom:9px}
.ph-pep-days i{
  flex:1;text-align:center;font-style:normal;font-size:8px;font-weight:600;
  padding:4px 0;border-radius:999px;background:var(--app-bone2);color:var(--app-muted);
}
.ph-pep-days i.on{background:var(--hue);color:#fff}
.ph-pep-bar{height:4px;border-radius:2px;background:var(--app-bone2);overflow:hidden}
.ph-pep-bar i{display:block;height:100%;border-radius:2px;background:var(--hue);margin-left:auto}

/* library */
.ph-faqbtn{
  width:44px;height:44px;border-radius:50%;border:none;cursor:pointer;
  background:var(--app-accent);color:#fff;font-family:'Geist',sans-serif;font-weight:700;font-size:11px;letter-spacing:.04em;
  box-shadow:0 6px 16px rgba(221,90,48,.35);
}
.ph-search{
  display:flex;align-items:center;gap:8px;
  background:var(--app-surface);border:1px solid var(--app-linesoft);border-radius:999px;
  padding:11px 14px;font-size:12px;color:var(--app-muted);margin-bottom:11px;
  box-shadow:0 1px 5px rgba(28,27,24,.04);
}
.ph-search svg{width:14px;height:14px;fill:none;stroke:var(--app-muted);stroke-width:1.8;stroke-linecap:round;flex-shrink:0}
.ph-libcats{display:flex;flex-direction:column;gap:8px}
.ph-libcat{display:flex;align-items:center;gap:11px;padding:12px}
.ph-libicon{
  width:38px;height:38px;border-radius:11px;border:1.2px solid var(--app-accent);
  display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--app-accent);
}
.ph-libicon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.ph-libtext{flex:1;min-width:0;display:flex;flex-direction:column}
.ph-libtext .ph-label-accent{margin-bottom:1px}
.ph-libtext b{font-family:'Fraunces',serif;font-weight:500;font-size:16px;color:var(--app-ink)}
.ph-libtext small{font-size:10px;color:var(--app-ink2);line-height:1.4}
.ph-chev{width:13px;height:13px;fill:none;stroke:var(--app-muted);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.ph-popgrid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.ph-pop{padding:11px 12px;display:flex;flex-direction:column;gap:3px}
.ph-pop-dash{width:16px;height:3.5px;border-radius:2px}
.ph-pop b{font-family:'Fraunces',serif;font-weight:500;font-size:14.5px;color:var(--app-ink)}
.ph-pop small{font-size:9.5px;color:var(--app-ink2);line-height:1.4}

/* insights */
.ph-seg{
  display:flex;background:var(--app-surface);border:1px solid var(--app-line);border-radius:999px;
  padding:3px;margin-bottom:10px;
}
.ph-seg-item{flex:1;text-align:center;font-size:10.5px;font-weight:600;color:var(--app-ink);padding:6px 0;border-radius:999px}
.ph-seg-item.is-active{background:var(--app-accent);color:#fff}
.ph-inshero{padding:12px 13px;margin-bottom:9px}
.ph-inshero-top{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--app-linesoft);padding-bottom:9px;margin-bottom:10px}
.ph-inshero-top .ph-label{margin-bottom:0}
.ph-nextpin{
  display:inline-flex;align-items:center;gap:4px;
  border:1.2px solid var(--app-accent);color:var(--app-accent);border-radius:999px;
  font-size:8.5px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;padding:4px 9px;
}
.ph-nextpin svg{width:11px;height:11px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ph-insrings{display:flex;justify-content:space-between;gap:4px}
.ph-ringblock{position:relative;display:flex;flex-direction:column;align-items:center;flex:1}
.ph-ring{width:66px;height:66px;transform:rotate(-90deg)}
.ph-ring-bg,.ph-ring-fg{fill:none;stroke-width:6.5;stroke-linecap:round}
.ph-ring-bg{stroke:var(--app-bone2)}
.ph-ring-fg{stroke-dasharray:157;stroke-dashoffset:157;transition:stroke-dashoffset 1s var(--ease)}
.ph-ringnum{position:absolute;top:24px;font-family:'Fraunces',serif;font-weight:500;font-size:15px;color:var(--app-ink)}
.ph-ringlabel{display:inline-flex;align-items:center;gap:3px;font-size:7px;font-weight:600;letter-spacing:.09em;text-transform:uppercase;color:var(--app-muted);margin-top:5px;text-align:center}
.ph-ringlabel svg{width:10px;height:10px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.ph-inscard{padding:11px 13px;margin-bottom:8px}
.ph-insrow{display:flex;justify-content:space-between;align-items:center;margin-top:4px}
.ph-insbig{font-family:'Fraunces',serif;font-weight:500;font-size:21px;color:var(--app-ink)}
.ph-insbig-it{display:block;font-family:'Fraunces',serif;font-style:italic;font-weight:500;font-size:16px;color:var(--app-ink);margin-top:4px}
.ph-inshint{display:block;font-family:'Fraunces',serif;font-style:italic;font-size:11.5px;color:var(--app-muted);margin-top:2px}
.ph-dots{display:flex;gap:5px;flex-wrap:wrap;max-width:84px;justify-content:flex-end}
.ph-dots i{width:9px;height:9px;border-radius:50%}
.ph-spark{width:64px;height:24px}
.ph-mooddot{width:11px;height:11px;border-radius:50%;background:var(--app-sage)}

/* toast */
.app-toast{
  position:absolute;left:50%;bottom:150px;transform:translate(-50%,14px);
  background:var(--app-ink);color:var(--app-bone);
  font-size:12.5px;font-weight:500;padding:9px 18px;border-radius:999px;
  opacity:0;pointer-events:none;z-index:7;white-space:nowrap;
  transition:opacity .3s var(--ease),transform .3s var(--ease);
}
.app-toast.is-show{opacity:1;transform:translate(-50%,0)}

/* floating log-all pill */
.ph-logall{
  position:absolute;right:14px;bottom:80px;z-index:6;
  display:inline-flex;align-items:center;gap:6px;
  background:var(--app-accent);color:#fff;border:none;border-radius:999px;
  font-family:'Geist',sans-serif;font-weight:600;font-size:12.5px;padding:11px 17px;
  box-shadow:0 8px 20px rgba(221,90,48,.38);cursor:pointer;
  transition:transform .15s var(--ease),opacity .3s var(--ease);
}
.ph-logall svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.ph-logall:active{transform:scale(.95)}
.ph-logall.is-hidden{opacity:0;pointer-events:none;transform:translateY(6px)}

/* tab bar · floating capsule like the native bar */
.phone-tabbar{
  position:absolute;left:10px;right:10px;bottom:10px;z-index:5;
  display:flex;justify-content:space-between;align-items:center;
  background:rgba(250,248,244,.92);
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  border:1px solid rgba(28,27,24,.06);
  border-radius:30px;
  padding:6px 7px;
  box-shadow:0 8px 24px rgba(28,27,24,.12);
}
.ph-tab{
  flex:1;background:none;border:none;cursor:pointer;
  display:flex;flex-direction:column;align-items:center;gap:2px;
  color:var(--app-muted);padding:7px 2px;border-radius:22px;
  font-family:'Geist',sans-serif;
  transition:color .2s,background .25s var(--ease),transform .15s var(--ease);
}
.ph-tab:active{transform:scale(.93)}
.ph-tab svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.ph-tab span{font-size:8.5px;font-weight:600}
.ph-tab.is-active{color:var(--app-accent);background:var(--app-accent-wash)}

/* ============================================================
   APP TOUR · five tabs, one big phone
   ============================================================ */
.tour-section{padding:20px 0 110px}
.tour-tabs{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:30px 0 38px}
.tour-tab{
  background:var(--card);border:1px solid var(--line);border-radius:999px;
  font-family:'Geist',sans-serif;font-weight:600;font-size:15px;color:var(--ink-60);
  padding:11px 22px;cursor:pointer;
  transition:color .1s var(--ease-hover),border-color .1s var(--ease-hover),background .18s var(--ease-hover),transform .12s var(--ease-hover);
}
.tour-tab:hover{border-color:var(--terracotta);color:var(--ink)}
.tour-tab:active{transform:scale(.97)}
.tour-tab.is-active{background:var(--ink);border-color:var(--ink);color:var(--bone)}
.tour-stage{
  display:grid;grid-template-columns:auto 1fr;gap:64px;align-items:center;
  max-width:860px;margin:0 auto;
}
.phone--tour .app-screen{pointer-events:none}
.tour-copy{position:relative;min-height:240px;display:flex;flex-direction:column;justify-content:center}
.tour-panel{
  position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;
  opacity:0;transform:translateY(12px);pointer-events:none;
  transition:opacity .35s var(--ease),transform .35s var(--ease);
}
.tour-panel.is-active{position:relative;inset:auto;opacity:1;transform:none;pointer-events:auto}
.tour-panel .eyebrow{margin-bottom:10px}
.tour-panel h3{margin-bottom:12px}
.tour-panel p{color:var(--ink-60);font-size:16px;max-width:38ch}
.tour-panel .tour-detail{
  font-size:14px;color:var(--ink-40);
  margin-top:16px;padding-top:16px;border-top:1px solid var(--line);
}
@media(max-width:860px){
  .tour-stage{grid-template-columns:1fr;gap:36px;justify-items:center}
  .tour-copy{min-height:200px;text-align:center}
  .tour-panel p{margin:0 auto}
}
@media(max-width:760px){
  .tour-tabs{gap:6px}
  .tour-tab{padding:9px 15px;font-size:13.5px}
}


/* ============================================================
   PROBLEM (type only, airy)
   ============================================================ */
.problem{padding:130px 0;text-align:center}
.problem .eyebrow{color:var(--ink-40)}
.problem-lines{margin:44px 0}
.problem-lines p{
  font-size:clamp(17px,2.2vw,21px);color:var(--ink-60);
  padding:14px 0;max-width:46ch;margin:0 auto;
}
.problem-lines p + p{border-top:1px solid var(--line)}
.problem-close{
  font-size:clamp(26px,3.4vw,36px);font-weight:500;
}

/* ============================================================
   DARK CARD · pillar 1 + calculator
   ============================================================ */
.math-section{padding:20px 0 90px}
.dark-card{
  background:var(--ink);color:var(--bone);border-radius:28px;
  padding:clamp(36px,5vw,64px);
  display:grid;grid-template-columns:1fr 1fr;gap:clamp(32px,4vw,64px);
  align-items:center;
}
.dark-card h2{color:var(--bone);margin-bottom:18px}
.dark-card p{color:rgba(245,241,234,.68);max-width:46ch}
.dark-hint{font-size:13px;margin-top:18px;color:rgba(245,241,234,.42) !important}

.calc{
  background:rgba(245,241,234,.05);
  border:1px solid rgba(245,241,234,.14);
  border-radius:22px;padding:26px;
  display:flex;flex-direction:column;gap:16px;
}
.calc-field label{
  display:block;font-size:11px;font-weight:600;letter-spacing:.1em;
  text-transform:uppercase;color:rgba(245,241,234,.5);margin-bottom:7px;
}
.calc-input{
  display:flex;align-items:center;
  background:rgba(245,241,234,.08);
  border:1px solid rgba(245,241,234,.16);
  border-radius:14px;overflow:hidden;
  transition:border-color .2s;
}
.calc-input:focus-within{border-color:var(--terracotta)}
.calc-input input{
  flex:1;background:none;border:none;outline:none;
  color:var(--bone);font-family:'Geist Mono',monospace;font-size:17px;
  padding:12px 16px;min-width:0;
}
.calc-input input::-webkit-outer-spin-button,
.calc-input input::-webkit-inner-spin-button{-webkit-appearance:none}
.calc-input input[type=number]{-moz-appearance:textfield;appearance:textfield}
.calc-input .unit{padding:0 16px;font-size:13px;color:rgba(245,241,234,.5)}

.calc-result{
  border-top:1px solid rgba(245,241,234,.14);
  padding-top:18px;text-align:left;
}
.calc-result-label{
  font-size:11px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;
  color:rgba(245,241,234,.5);
}
.calc-units{font-size:clamp(40px,4vw,54px);font-weight:500;line-height:1.05;margin:4px 0 10px}
.calc-units b{font-weight:600;color:var(--bone)}
.calc-units span{font-size:22px;color:rgba(245,241,234,.55)}
.syr-size{display:flex;gap:8px;margin:14px 0 12px}
.syr-size button{
  flex:1;display:flex;flex-direction:column;align-items:center;gap:1px;
  background:rgba(245,241,234,.08);border:1px solid rgba(245,241,234,.16);
  color:var(--bone);border-radius:12px;padding:8px 6px;cursor:pointer;
  font-family:'Geist Mono',monospace;font-size:13px;letter-spacing:.02em;
  transition:background .15s var(--ease-hover),border-color .15s var(--ease-hover),transform .12s var(--ease-hover);
}
.syr-size button small{font-size:10px;opacity:.55}
.syr-size button:hover{border-color:rgba(245,241,234,.4)}
.syr-size button:active{transform:scale(.97)}
.syr-size button.is-active{background:var(--terracotta);border-color:var(--terracotta)}
.syr-size button.is-active small{opacity:.75}
.syr-panel{background:#FAF8F4;border-radius:14px;padding:14px 16px 10px}
.syringe{width:100%;display:block}
.syr-scale{display:flex;justify-content:space-between;font-size:11px;color:#7A756C;margin-top:6px}
.syr-drawn{color:#DD5A30}
#syrFill,#syrClipRect{transition:width .5s cubic-bezier(.3,1.35,.45,1)}
.syr-mono{font-family:'Geist Mono',monospace;font-size:8.5px;fill:rgba(245,241,234,.4);text-anchor:middle}
.calc-note{font-size:12.5px;margin-top:10px;color:rgba(245,241,234,.45) !important}
.calc-note.is-warn{color:#E5A98C !important}

/* ============================================================
   SCHEDULE + FUN CARDS (family.co energy)
   ============================================================ */
.schedule-section{padding:90px 0}
.section-head{max-width:62ch;margin-bottom:52px}
.section-head.centered{margin-left:auto;margin-right:auto;text-align:center}
.section-head h2{margin-bottom:16px}
.section-head p{color:var(--ink-60);font-size:17px}

.cards-trio{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.fun-card{
  background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
  padding:24px;
  transition:transform .2s var(--ease-hover),box-shadow .25s var(--ease-hover);
}
.fun-card:hover{transform:translateY(-4px);box-shadow:0 18px 44px rgba(28,27,24,.10)}
.fun-card h3{margin:18px 0 8px}
.fun-card > p{font-size:14.5px;color:var(--ink-60)}
.fun-stage{
  background:var(--bone);border-radius:16px;height:150px;
  display:flex;align-items:center;justify-content:center;
  overflow:hidden;position:relative;
}

/* card 1 · notification */
.notif{
  display:flex;align-items:center;gap:10px;
  background:rgba(253,252,250,.95);
  border:1px solid var(--line);border-radius:16px;
  padding:11px 14px;width:88%;
  box-shadow:0 8px 24px rgba(28,27,24,.10);
  opacity:0;transform:translateY(-46px);
}
.notif.is-play{animation:notifIn 3.6s var(--ease) forwards}
@keyframes notifIn{
  0%{opacity:0;transform:translateY(-46px)}
  14%,80%{opacity:1;transform:translateY(0)}
  100%{opacity:1;transform:translateY(0)}
}
.notif-icon{
  width:34px;height:34px;border-radius:9px;background:var(--bone);
  border:1px solid var(--line);
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.notif-text{flex:1;min-width:0;line-height:1.3}
.notif-text b{font-size:12.5px;display:block}
.notif-text span{font-size:11.5px;color:var(--ink-60);display:block}
.notif-time{font-size:10px;color:var(--ink-40);align-self:flex-start}

/* card 2 · one tap log */
.minilog{width:88%;position:relative}
.minilog-row{
  display:flex;align-items:center;gap:10px;
  background:var(--card);border:1px solid var(--line);border-radius:16px;
  padding:12px 14px;
}
.pep-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0}
.minilog-text{flex:1;line-height:1.25}
.minilog-text b{font-size:13px;display:block}
.minilog-text small{font-size:10.5px;color:var(--ink-40)}
.minilog-btn{
  position:relative;
  background:var(--terracotta);color:#fff;border:none;border-radius:999px;
  font-family:'Geist',sans-serif;font-weight:600;font-size:12.5px;
  padding:8px 18px;cursor:pointer;overflow:hidden;
  transition:background .3s,transform .15s var(--ease);
  min-width:64px;
}
.minilog-btn:active{transform:scale(.94)}
.minilog-btn.is-done{background:var(--pep-sage)}
.mlb-check{
  position:absolute;inset:0;margin:auto;width:15px;height:15px;
  opacity:0;transform:scale(.4);
  transition:opacity .25s,transform .3s var(--ease);
}
.minilog-btn.is-done .mlb-label{opacity:0}
.minilog-btn.is-done .mlb-check{opacity:1;transform:scale(1)}
.mlb-label{transition:opacity .2s}
.minilog-toast{
  position:absolute;left:50%;transform:translate(-50%,8px);bottom:-34px;
  background:var(--ink);color:var(--bone);border-radius:999px;
  font-size:11px;font-weight:500;padding:6px 14px;white-space:nowrap;
  opacity:0;transition:opacity .3s var(--ease),transform .3s var(--ease);
}
.minilog-toast.is-show{opacity:1;transform:translate(-50%,0)}

/* card 3 · vial level */
.vial-stage{display:flex;align-items:center;gap:18px}
#vialFill{transition:y 1s var(--ease),height 1s var(--ease),fill .4s}
.vial-readout{display:flex;flex-direction:column;gap:7px}
.vial-readout b{font-size:13px}
.lowchip{
  background:var(--terracotta-soft);color:var(--terracotta);
  font-size:10.5px;font-weight:600;border-radius:999px;padding:5px 11px;
  opacity:0;transform:translateY(4px);
  transition:opacity .4s var(--ease),transform .4s var(--ease);
}
.lowchip.is-show{opacity:1;transform:none}

/* ============================================================
   BENTO · the library, card by card
   ============================================================ */
.bento-section{padding:20px 0 130px}
.bento{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}
.bento-card{
  background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
  padding:26px;display:flex;flex-direction:column;gap:16px;position:relative;overflow:hidden;
  transition:transform .2s var(--ease-hover),box-shadow .25s var(--ease-hover);
}
.bento-card:hover{transform:translateY(-3px);box-shadow:0 16px 40px rgba(28,27,24,.09)}
.b-peptides{grid-column:span 4}
.b-stacks{grid-column:span 2;grid-row:span 2}
.b-small{grid-column:span 2}
.bento-icon{
  width:44px;height:44px;border-radius:13px;flex-shrink:0;
  border:1.3px solid var(--terracotta);color:var(--terracotta);
  display:flex;align-items:center;justify-content:center;
}
.bento-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.bento-body{display:flex;flex-direction:column;gap:8px}
.bento-toprow{display:flex;align-items:baseline;justify-content:space-between}
.bento-card h3{font-size:19px}
.bento-n{font-size:34px;font-weight:500;line-height:1;color:var(--terracotta)}
.bento-card p{font-size:14.5px;color:var(--ink-60);line-height:1.55}
.bento-chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:6px}
.bento-chips span{
  background:var(--bone);border:1px solid var(--line);border-radius:999px;
  font-size:11px;padding:5px 11px;color:var(--ink-60);
}
.bento-vials{display:flex;gap:12px;justify-content:center;align-items:flex-end;margin-top:auto;padding-top:10px}
.bento-vials svg{width:34px;height:auto}
.bento-vials svg:nth-child(2){width:38px}

/* icon idle animations · slow but clearly alive. The global
   prefers-reduced-motion rule disables all of these. */
.bento-icon svg *{transform-origin:center;transform-box:fill-box}

.icon-pill g{animation:pillRock 3.4s ease-in-out infinite;transform-origin:center;transform-box:fill-box}
@keyframes pillRock{0%,100%{transform:rotate(52deg)}50%{transform:rotate(28deg)}}

.icon-vials .v1{animation:vialBob 2.6s ease-in-out infinite}
.icon-vials .v2{animation:vialBob 2.6s ease-in-out .3s infinite}
.icon-vials .v3{animation:vialBob 2.6s ease-in-out .6s infinite}
@keyframes vialBob{0%,100%{transform:none}50%{transform:translateY(-2.6px)}}

.icon-play .tri{animation:playPulse 2.4s ease-in-out infinite}
@keyframes playPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.22)}}

.icon-doc svg{animation:docFloat 3.4s ease-in-out infinite}
@keyframes docFloat{0%,100%{transform:translateY(1.2px) rotate(-2deg)}50%{transform:translateY(-1.8px) rotate(3deg)}}

.icon-chat svg{animation:faqShake 3.8s ease-in-out infinite;transform-origin:center bottom}
.icon-chat circle{fill:currentColor;stroke:none}
@keyframes faqShake{0%,74%,100%{transform:none}78%{transform:rotate(6deg)}84%{transform:rotate(-6deg)}90%{transform:rotate(3deg)}95%{transform:rotate(-1.5deg)}}

.icon-book .page{animation:pageFlick 3.2s var(--ease) infinite;transform-origin:left center}
@keyframes pageFlick{0%,64%,100%{transform:none}74%{transform:rotate(-30deg)}84%{transform:rotate(8deg)}}

/* the stacks card's big vials breathe on the same rhythm */
.bento-vials svg{animation:vialBobBig 3s ease-in-out infinite}
.bento-vials svg:nth-child(2){animation-delay:.35s}
.bento-vials svg:nth-child(3){animation-delay:.7s}
@keyframes vialBobBig{0%,100%{transform:none}50%{transform:translateY(-4px)}}

@media(max-width:980px){
  .bento{grid-template-columns:repeat(2,1fr)}
  .b-peptides{grid-column:span 2}
  .b-stacks{grid-column:span 2;grid-row:auto}
  .b-small{grid-column:span 1}
}
@media(max-width:560px){
  .bento{grid-template-columns:1fr}
  .b-peptides,.b-stacks,.b-small{grid-column:span 1}
}

/* ============================================================
   FOR HER
   ============================================================ */
.forher-section{padding:130px 0;text-align:center;background:var(--bone-deep)}
.forher-section h2{margin-bottom:18px}
.forher-section p{color:var(--ink-60);font-size:18px;max-width:52ch;margin:0 auto}

/* ============================================================
   THE THIRD OPTION · full-bleed dark, display type, the screenshot
   ============================================================ */
.third-section{
  background:var(--ink);color:var(--bone);
  padding:170px 0;text-align:center;
}
.third-setup{
  font-size:19px;color:rgba(245,241,234,.6);
  max-width:52ch;margin:26px auto 0;
}
.third-close{
  font-family:'Fraunces',serif;font-weight:500;letter-spacing:-.01em;
  font-size:clamp(38px,5.5vw,64px);line-height:1.15;color:var(--bone);
  max-width:18ch;margin:38px auto 0;
}

/* ============================================================
   SOCIAL PROOF · quotes from the TestFlight
   ============================================================ */
.proof-section{padding:20px 0 120px}
.proof-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.proof-card{
  background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
  padding:28px;display:flex;flex-direction:column;gap:16px;margin:0;
}
.proof-quote{font-size:16px;line-height:1.55;color:var(--ink)}
.proof-quote::before{
  content:"\201C";display:block;
  font-family:'Fraunces',serif;font-size:34px;line-height:.6;color:var(--terracotta);
  margin-bottom:10px;
}
.proof-who{font-family:'Geist Mono',monospace;font-size:12px;color:var(--ink-40);margin-top:auto}
.proof-stat{text-align:center;margin-top:38px;font-size:14.5px;color:var(--ink-40)}
.proof-stat .mono{color:var(--ink);font-weight:500}
@media(max-width:860px){.proof-grid{grid-template-columns:1fr;max-width:480px;margin:0 auto}}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-section{padding:110px 0 90px}
.price-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.price-card{
  background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
  padding:28px 24px;position:relative;
  transition:transform .2s var(--ease-hover),box-shadow .25s var(--ease-hover),border-color .3s;
}
.price-card:hover{transform:translateY(-4px);box-shadow:0 18px 44px rgba(28,27,24,.10)}
.price-card.is-popular{border-color:var(--terracotta)}
.pop-tag{
  position:absolute;top:-11px;left:24px;
  background:var(--terracotta);color:#fff;
  font-size:10.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;
  border-radius:999px;padding:4px 12px;
}
.price-card h3{font-size:16px;margin-bottom:10px}
.price{font-size:34px;font-weight:600;margin-bottom:10px}
.price span{font-size:15px;font-weight:500;color:var(--ink-40)}
.price-card p{font-size:13.5px;color:var(--ink-60)}
.price-note{text-align:center;color:var(--ink-40);font-size:13px;margin-top:26px}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section{padding:90px 0}
.faq{display:flex;flex-direction:column;gap:12px}
.faq-item{
  background:var(--card);border:1px solid var(--line);border-radius:18px;
  overflow:hidden;
  transition:border-color .25s;
}
.faq-item[open]{border-color:rgba(184,89,58,.4)}
.faq-item summary{
  list-style:none;cursor:pointer;
  display:flex;justify-content:space-between;align-items:center;gap:16px;
  padding:20px 24px;font-weight:600;font-size:16.5px;
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-x{
  position:relative;width:14px;height:14px;flex-shrink:0;
  transition:transform .35s var(--ease);
}
.faq-x::before,.faq-x::after{
  content:"";position:absolute;background:var(--terracotta);border-radius:2px;
}
.faq-x::before{left:0;right:0;top:6px;height:2px}
.faq-x::after{top:0;bottom:0;left:6px;width:2px;transition:opacity .3s}
.faq-item[open] .faq-x{transform:rotate(90deg)}
.faq-item[open] .faq-x::after{opacity:0}
.faq-item p{
  padding:0 24px 22px;color:var(--ink-60);font-size:15px;max-width:64ch;
}
.faq-item a{color:var(--terracotta);font-weight:500}

/* ============================================================
   FINAL CTA + FOOTER
   ============================================================ */
.cta-section{padding:20px 0 100px}
.cta-card{
  display:flex;flex-direction:column;align-items:center;text-align:center;
  gap:0;
}
.cta-card h2{margin-bottom:14px}
.cta-card p{margin-bottom:30px}

.footer{border-top:1px solid var(--line);padding:64px 0 40px}
.footer-grid{
  display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:32px;
  padding-bottom:44px;
}
.footer-brand p{color:var(--ink-60);font-size:14px;margin-top:12px}
.footer-disclaimer{font-size:12px;color:var(--ink-40);max-width:38ch;line-height:1.6}
.footer-col{display:flex;flex-direction:column;gap:10px}
.footer-col b{font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.1em;color:var(--ink-40);margin-bottom:4px}
.footer-col a{text-decoration:none;color:var(--ink-60);font-size:14.5px;transition:color .1s var(--ease-hover)}
.footer-col a:hover{color:var(--ink)}
.footer-base{
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;
  border-top:1px solid var(--line);padding-top:26px;
  font-size:12.5px;color:var(--ink-40);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media(max-width:980px){
  .cards-trio{grid-template-columns:1fr;max-width:480px;margin:0 auto}
  .price-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:860px){
  .hero{padding:130px 0 70px}
  .hero-grid{grid-template-columns:1fr;gap:56px;text-align:center}
  .hero-copy p.lead{margin:0 auto}
  .hero-ctas{justify-content:center}
  .dark-card{grid-template-columns:1fr}
}
@media(max-width:560px){
  .price-grid{grid-template-columns:1fr}
  .phone{width:300px;height:620px}
  .footer-grid{grid-template-columns:1fr 1fr}
}
