/* HealthFit homepage v6 — a minimal hero, then Bevel-style product sections:
   real app screens doing the job, plain explanations, no decorative photo bands.
   Warm chalk ground, Inter, Iris purple, glass cards, real devices. */

:root{
  --bg:#f6f3ee;
  --bg-2:#fbfaf7;
  --card:#ffffff;
  --ink:#16131d;
  --ink-2:#3a3545;
  --muted:#6b6577;
  --line:rgba(22,19,29,.08);
  --purple:#553097;
  --purple-2:#7356c0;
  --lilac:#a48ddc;
  --mist:#efe9f8;
  --night:#140b27;
  --night-2:#24173f;
  --ok:#2f8f5b;
  --radius:22px;
  --shadow:0 1px 2px rgba(22,19,29,.04),0 12px 32px -14px rgba(52,30,92,.22);
  --shadow-lg:0 30px 80px -30px rgba(40,20,80,.35);
  --ease:cubic-bezier(.2,.7,.2,1);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:400 17px/1.55 Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;font-feature-settings:"cv11","ss01"}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
button{font:inherit;color:inherit}
h1,h2,h3,p{margin:0}
ul{margin:0;padding:0;list-style:none}
:focus-visible{outline:2px solid var(--purple);outline-offset:3px;border-radius:8px}
.skip{position:absolute;left:-9999px;top:8px;background:var(--ink);color:#fff;padding:8px 14px;border-radius:10px;z-index:99}
.skip:focus{left:12px}

.wrap{width:min(1240px,100% - 48px);margin-inline:auto}
@media (max-width:640px){.wrap{width:calc(100% - 32px)}}

svg.ico{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
svg.ico-apple{width:15px;height:18px;fill:currentColor;flex:none;margin-top:-2px}

/* ---------- type ---------- */
.eyebrow{font-size:12.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin-bottom:18px}
.eyebrow.light{color:rgba(255,255,255,.72)}
.display{font-size:clamp(46px,6.2vw,84px);line-height:.98;letter-spacing:-.045em;font-weight:600;text-wrap:balance}
.h2{font-size:clamp(34px,4.1vw,54px);line-height:1.02;letter-spacing:-.04em;font-weight:600;text-wrap:balance}
.light{color:#fff}
.grad{background:linear-gradient(95deg,var(--purple) 0%,#6a46b6 45%,var(--lilac) 100%);-webkit-background-clip:text;background-clip:text;color:transparent;padding-right:.04em}
.lead{font-size:clamp(17px,1.35vw,19px);line-height:1.55;color:var(--ink-2);max-width:34em;margin-top:22px}
.lead.light{color:rgba(255,255,255,.82)}
.lead.small{font-size:15px;color:var(--muted)}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;gap:10px;height:54px;padding:0 26px;border-radius:999px;font-size:15.5px;font-weight:600;
  text-decoration:none;border:0;cursor:pointer;white-space:nowrap;transition:transform .24s var(--ease),box-shadow .24s var(--ease),background .24s}
.btn:hover{transform:translateY(-2px)}
.btn-primary{background:linear-gradient(180deg,#5f37a6,#4b2a88);color:#fff;box-shadow:0 1px 0 rgba(255,255,255,.18) inset,0 14px 30px -12px rgba(85,48,151,.65)}
.btn-primary:hover{box-shadow:0 1px 0 rgba(255,255,255,.18) inset,0 20px 40px -14px rgba(85,48,151,.75)}
.btn-ghost{background:rgba(255,255,255,.7);color:var(--ink);box-shadow:0 0 0 1px var(--line) inset,var(--shadow);backdrop-filter:blur(10px)}
.btn-white{background:#fff;color:var(--ink);box-shadow:0 18px 40px -18px rgba(0,0,0,.5)}
.btn-sm{height:42px;padding:0 18px;font-size:14px;gap:8px}
.btn .ico{width:16px;height:16px;margin-right:-6px}
.btn.wide{width:100%;justify-content:center}
.play{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;box-shadow:0 0 0 1.5px var(--ink) inset;margin-left:-8px}
.play svg{width:11px;height:11px;fill:var(--ink);margin-left:2px}

/* ---------- nav ---------- */
.nav{position:fixed;inset:0 0 auto;z-index:50;transition:background .3s,box-shadow .3s,backdrop-filter .3s}
.nav.scrolled{background:rgba(246,243,238,.78);backdrop-filter:saturate(1.6) blur(18px);-webkit-backdrop-filter:saturate(1.6) blur(18px);box-shadow:0 1px 0 var(--line)}
.nav-bar{height:78px;display:flex;align-items:center;gap:40px}
.logo{display:inline-flex;align-items:center;gap:9px;text-decoration:none;font-weight:600;font-size:21px;letter-spacing:-.03em;color:var(--purple)}
.logo.light{color:#fff}
.nav-links{display:flex;gap:30px;margin-right:auto}
.nav-links a{font-size:14px;font-weight:500;color:var(--ink-2);text-decoration:none;position:relative;padding:6px 0}
.nav-links a::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1.5px;background:var(--purple);transform:scaleX(0);transform-origin:left;transition:transform .24s var(--ease)}
.nav-links a:hover::after{transform:scaleX(1)}
@media (max-width:900px){.nav-links{display:none}.nav-bar{justify-content:space-between;gap:12px}}
@media (max-width:360px){.nav .btn-sm{padding:0 14px;font-size:13.5px}.logo{font-size:19px}}

/* ---------- hero ---------- */
/* Minimal: the words on the chalk ground, one light photo in a clean frame,
   one glass card. Nothing fades into anything. */
.hero{position:relative;padding-top:78px;overflow:hidden;
  background:radial-gradient(38% 46% at 78% 46%,rgba(164,141,220,.16),rgba(164,141,220,0) 70%),var(--bg)}
.hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.92fr);align-items:center;gap:clamp(40px,6vw,104px);
  min-height:calc(min(880px,100svh) - 78px);padding:40px 0 72px}
.hero-copy{max-width:580px}
.hero .lead{max-width:27em}
.cta-row{display:flex;flex-wrap:wrap;gap:14px;margin-top:38px}
.trust{display:flex;flex-wrap:wrap;gap:12px 30px;margin-top:52px;font-size:13.5px;color:var(--muted)}
.trust li{display:flex;align-items:center;gap:9px}
.trust .ico{width:18px;height:18px;color:var(--purple);stroke-width:1.7}
.hero-figure{position:relative;margin:0;justify-self:end;width:min(100%,520px)}
.hero-figure img{width:100%;aspect-ratio:4/5;object-fit:cover;object-position:60% 40%;border-radius:32px;
  max-height:calc(min(880px,100svh) - 220px);box-shadow:0 40px 80px -48px rgba(52,30,92,.45)}
.hero-score{position:absolute;left:-36px;top:48px}

.glass{background:rgba(255,255,255,.56);border:1px solid rgba(255,255,255,.75);border-radius:20px;
  backdrop-filter:blur(22px) saturate(1.5);-webkit-backdrop-filter:blur(22px) saturate(1.5);
  box-shadow:0 1px 0 rgba(255,255,255,.7) inset,0 24px 50px -24px rgba(60,40,90,.4)}
.score-card{padding:14px 18px 14px 16px}
.glass-label{font-size:12px;font-weight:500;color:var(--ink-2);margin-bottom:8px}
.score-row{display:flex;align-items:center;gap:12px}
.score-row b{display:block;font-size:30px;font-weight:600;letter-spacing:-.03em;line-height:1}
.ok{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;font-weight:600;color:var(--ok);margin-top:4px}
.ok i{width:6px;height:6px;border-radius:50%;background:var(--ok)}
.ring{position:relative;width:46px;height:46px;flex:none}
.ring svg{width:100%;height:100%;transform:rotate(-90deg)}
.ring circle{fill:none;stroke:rgba(85,48,151,.14);stroke-width:5}
.ring .arc{stroke:var(--purple);stroke-linecap:round;stroke-dasharray:113.1;stroke-dashoffset:calc(113.1 * (1 - var(--v)));transition:stroke-dashoffset 1.4s var(--ease)}
.js .ring:not(.on) .arc{stroke-dashoffset:113.1}

@media (max-width:900px){
  .hero-grid{grid-template-columns:1fr;min-height:0;gap:36px;padding:28px 0 56px}
  .hero-figure{justify-self:center;width:100%;max-width:520px}
  .hero-figure img{max-height:none;border-radius:26px}
  .hero-score{left:14px;top:14px}
  .trust{margin-top:36px}
}
@media (max-width:520px){
  .btn{height:50px;padding:0 20px;font-size:15px}
  .cta-row .btn{width:100%;justify-content:center}
}

/* ---------- shared bits ---------- */
@media (max-width:360px){.h2{font-size:30px}}
.center{text-align:center}
.note{display:flex;align-items:center;gap:10px;margin-top:30px;font-size:13.5px;line-height:1.5;color:var(--muted)}
.note.center{justify-content:center;text-align:center}
@media (max-width:640px){.note.center .ico{display:none}}
.note.light{color:rgba(255,255,255,.58)}
.note .ico{width:17px;height:17px;flex:none}
.more{display:inline-flex;align-items:center;gap:6px;margin-top:16px;font-size:14px;font-weight:600;color:var(--purple);text-decoration:none}
.more .ico{width:15px;height:15px;transition:transform .24s var(--ease)}
.more:hover .ico{transform:translateX(3px)}
.more.light{color:#d6c8f5;margin-top:40px}
.round{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;border:0;background:#fff;box-shadow:var(--shadow);cursor:pointer;transition:transform .2s var(--ease)}
.round:hover{transform:scale(1.06)}
.dev{filter:drop-shadow(0 34px 44px rgba(40,20,80,.3)) drop-shadow(0 8px 14px rgba(40,20,80,.14))}
/* an iPhone made in the page: the screen (still or video) under Apple's bezel */
.device{position:relative}
.device-frame{position:relative;z-index:1;width:100%;pointer-events:none}
.device-screen{position:absolute;left:5.1%;top:2.2%;width:89.8%;height:95.6%;border-radius:12.5% / 5.8%;object-fit:cover;background:#f3eff8}
.more-device video.device-screen{display:none}
.more-device.playing video.device-screen{display:block}
.tag-pro{display:inline-block;font-size:11px;font-weight:600;padding:2px 8px;border-radius:99px;background:rgba(85,48,151,.1);color:var(--purple);margin-left:4px;vertical-align:1px}
@media (max-width:640px){
  /* trust badges: one even row, icon over label */
  .trust{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;text-align:center}
  .trust li{flex-direction:column;justify-content:flex-start;gap:8px;font-size:13px;line-height:1.3}
  .hero-grid{padding-bottom:44px}
}

/* ---------- your day, in numbers ---------- */
.day{padding:120px 0 96px;background:var(--bg-2)}
/* subgrid rows: the three titles, the three paragraphs and the three phones
   each share one line across the cards, whatever the copy length */
.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto auto auto;column-gap:22px}
.metric{display:grid;grid-row:span 3;grid-template-rows:subgrid;row-gap:0;justify-items:center;text-align:center;border-radius:30px;padding:38px 34px 0;overflow:hidden;background:linear-gradient(180deg,#efe9f9,#f6f2fc)}
.metric:nth-child(2){background:linear-gradient(180deg,#f6eee6,#faf6f1)}
.metric:nth-child(3){background:linear-gradient(180deg,#e9eef6,#f3f5fa)}
.metric h3{font-size:clamp(25px,2.2vw,31px);font-weight:600;letter-spacing:-.03em}
.metric p{max-width:34em;font-size:15.5px;line-height:1.55;color:var(--ink-2);margin-top:12px;text-wrap:balance}
.peek{width:100%;padding-top:34px;height:376px;display:flex;justify-content:center;overflow:hidden}
.peek img{width:300px;max-width:84%;height:auto;align-self:flex-start;filter:drop-shadow(0 22px 28px rgba(52,30,92,.2));transition:transform .6s var(--ease)}
.metric:hover .peek img{transform:translateY(-8px)}
@media (max-width:1000px){
  .metrics{grid-template-columns:1fr;grid-template-rows:none;row-gap:22px;max-width:560px;margin-inline:auto}
  .metric{grid-row:auto;grid-template-rows:auto auto auto}
  .peek{height:330px}
}
@media (max-width:640px){.day{padding:72px 0 64px}.metric{padding:30px 24px 0;border-radius:26px}}

/* ---------- feature panels ---------- */
.feature{padding:0 0 28px;background:var(--bg-2)}
#workouts{padding-bottom:120px}
.panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);align-items:center;gap:clamp(36px,5vw,80px);border-radius:34px;padding:clamp(44px,5.4vw,80px)}
.panel-food{background:linear-gradient(135deg,#ece4f9 0%,#f5f0fc 55%,#faf6f1 100%)}
.panel-work{grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);background:linear-gradient(135deg,#f5efe7 0%,#f9f6f1 50%,#eee8f8 100%)}
.panel-copy .lead{max-width:30em}
.steps{counter-reset:s;display:grid;gap:14px;margin:30px 0 0;padding:0;list-style:none}
.steps li{counter-increment:s;position:relative;padding-left:44px;font-size:15.5px;line-height:1.5;color:var(--ink-2)}
.steps li::before{content:counter(s);position:absolute;left:0;top:-3px;width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--purple);font-size:13px;font-weight:600;box-shadow:var(--shadow)}
.steps b,.ticks b{color:var(--ink);font-weight:600}
/* ticks: the same white circle as the numbered steps, centred on the title
   line, with the description underneath on the same left edge */
.ticks{display:grid;gap:16px;margin-top:30px}
.ticks li{display:grid;grid-template-columns:29px minmax(0,1fr);column-gap:15px;font-size:15.5px;line-height:1.5;color:var(--ink-2)}
.ticks li::before{content:"";grid-row:1 / span 2;width:29px;height:29px;border-radius:50%;
  background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23553097' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/13px no-repeat;box-shadow:var(--shadow)}
.ticks b{display:flex;align-items:center;gap:8px;min-height:29px;line-height:1.3}
.ticks b .tag-pro{margin-left:0;vertical-align:0}
.ticks li>span{grid-column:2}
/* workouts: the photo, and the finished session on the phone, centred on it */
.work-media{position:relative;padding:8% 0}
.work-photo{width:80%;aspect-ratio:4/3;object-fit:cover;border-radius:26px;box-shadow:0 30px 60px -34px rgba(52,30,92,.45)}
.work-phone{position:absolute;right:0;top:50%;width:34%;transform:translateY(-50%)}
@media (max-width:960px){.work-media{max-width:620px}}

@media (max-width:960px){
  .panel,.panel-work{grid-template-columns:1fr}
  .panel-work .panel-copy{order:-1}
}
@media (max-width:640px){
  .panel{border-radius:26px;padding:34px 20px 30px}
  .feature{padding-bottom:16px}
  #workouts{padding-bottom:72px}
}

/* eyebrow as a tinted tag, flush with the headline it introduces */
.tag-eyebrow{display:inline-flex;align-items:center;gap:7px;padding:6px 12px 6px 10px;border-radius:99px;
  background:rgba(85,48,151,.09);color:var(--purple);letter-spacing:.12em;margin-bottom:22px}
.tag-eyebrow .ico{width:15px;height:15px;stroke-width:2.1}
.tag-eyebrow.on-dark{background:rgba(214,200,245,.12);color:#d6c8f5}
.grad-light{background:linear-gradient(95deg,#ece3fd 0%,#c9b6f2 50%,#a48ddc 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
/* no single word left alone on a last line */
p,li{text-wrap:pretty}

/* food: the phone held over the plate, its camera scanning it */
.panel-food{grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr)}
.scan-media{position:relative;padding:5% 0 24%}
.scan-shot{position:relative;width:82%}
.scan-photo{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:26px;box-shadow:0 30px 60px -34px rgba(52,30,92,.45)}
.scan-phone{position:absolute;right:2%;top:0;width:41%;transform:rotate(-4deg);
  filter:drop-shadow(0 34px 40px rgba(30,15,60,.4)) drop-shadow(0 8px 14px rgba(30,15,60,.2))}
.scan-frame{position:relative;z-index:1;width:100%;pointer-events:none}
.scan-screen{position:absolute;left:5.1%;top:2.2%;width:89.8%;height:95.6%;border-radius:12.5% / 5.8%;overflow:hidden;background:#000}
.scan-screen>img{width:100%;height:100%;object-fit:cover}
/* the app's "Reading your meal" screen: its photo slot (63,378 1194x1292 on the
   1320x2868 capture) is rebuilt from the clean plate, so the scan can move */
.scan-screen{container-type:inline-size}
.scan-view{position:absolute;left:4.773%;top:13.18%;width:90.455%;height:45.049%;border-radius:8.5% / 7.9%;overflow:hidden;background:#1a1b1e}
.scan-view>img{width:100%;height:100%;object-fit:cover}
/* one tall strip: dots above the line, the line, the dim below it; it slides down the photo */
.scanner{position:absolute;left:0;right:0;top:0;height:200%;transform:translateY(-20%)}
.scan-line{position:absolute;left:0;right:0;top:50%;height:.55cqw;margin-top:-.275cqw;background:#fff;box-shadow:0 0 2.4cqw .5cqw rgba(255,255,255,.65)}
.scan-dim{position:absolute;left:0;right:0;top:50%;bottom:0;background:rgba(10,10,16,.6)}
.scan-dots{position:absolute;left:0;right:0;bottom:50%;height:9%;
  background:radial-gradient(circle,rgba(255,255,255,.85) 0 .3cqw,rgba(255,255,255,0) .38cqw) 1.6cqw 1.2cqw / 5.4cqw 5.4cqw;
  -webkit-mask:linear-gradient(to top,#000,rgba(0,0,0,0));mask:linear-gradient(to top,#000,rgba(0,0,0,0))}
.scan-result{position:absolute;inset:0;width:100%;height:100%;opacity:0}
/* one 8s loop: the line reads the plate, then the app's result fades in */
.scan-media.in .scanner{animation:scanmove 8s cubic-bezier(.45,.05,.55,.95) .3s infinite}
.scan-media.in .scan-result{animation:scanresult 8s linear .3s infinite}
@keyframes scanmove{0%{transform:translateY(-50%);opacity:0}5%{opacity:1}50%{transform:translateY(-2.5%);opacity:1}56%,100%{transform:translateY(-2.5%);opacity:0}}
@keyframes scanresult{0%,55%{opacity:0}62%,93%{opacity:1}100%{opacity:0}}
.analysing{position:absolute;left:3.4%;bottom:3.1%;display:flex;align-items:center;gap:1.4cqw;height:6.5cqw;padding:0 3cqw 0 2.5cqw;border-radius:99px;
  background:rgba(18,18,22,.62);border:1px solid rgba(255,255,255,.22);color:#fff;font-size:2.9cqw;font-weight:600;letter-spacing:-.01em;white-space:nowrap}
.analysing svg{width:2.7cqw;height:2.7cqw;fill:#fff;stroke:none}
.scan-chip{position:absolute;left:4%;bottom:6%;z-index:2;display:grid;grid-template-columns:auto auto;align-items:center;column-gap:9px;row-gap:1px;
  white-space:nowrap;padding:9px 15px 9px 12px;border-radius:16px;font-size:13px;line-height:1.3;font-weight:500;color:var(--ink);
  background:rgba(255,255,255,.88);backdrop-filter:blur(14px) saturate(1.4);-webkit-backdrop-filter:blur(14px) saturate(1.4);
  box-shadow:0 10px 24px -12px rgba(20,11,39,.5)}
.scan-chip b{grid-column:2;font-weight:600;color:var(--purple)}
.pulse{grid-row:1 / span 2;width:8px;height:8px;border-radius:50%;background:var(--purple);box-shadow:0 0 0 0 rgba(85,48,151,.5)}
.scan-media.in .pulse{animation:pulse 1.8s ease-out infinite}
@keyframes pulse{70%{box-shadow:0 0 0 8px rgba(85,48,151,0)}100%{box-shadow:0 0 0 0 rgba(85,48,151,0)}}
@media (max-width:960px){.panel-food{grid-template-columns:1fr}.scan-media{max-width:620px}}
@media (max-width:640px){
  .scan-media{padding:4% 0 18%}
  .scan-shot{width:80%}
  .scan-photo{border-radius:20px}
  .scan-phone{width:38%}
  .scan-chip{bottom:5%;column-gap:7px;font-size:11px;padding:7px 11px 7px 9px;border-radius:13px}
  .pulse{width:7px;height:7px}
}
@media (max-width:400px){.scan-phone{width:35%}}
@media (max-width:360px){.chip-name{display:none}.scan-chip{row-gap:0}.pulse{grid-row:auto}}

/* ---------- coach ---------- */
.coach{padding:120px 0 104px;color:#fff;background:radial-gradient(55% 45% at 50% 0%,#3d2675 0%,rgba(61,38,117,0) 100%),var(--night)}
.h2 .dim{color:rgba(255,255,255,.5)}
/* four equal cards, two each side, stretched to the phone's height; each one
   the same: icon, title, one line, and an example pinned to the bottom */
.coach-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,320px) minmax(0,1fr);grid-template-rows:1fr 1fr;
  grid-template-areas:"a phone b" "c phone d";gap:20px;align-items:stretch;margin-top:8px}
.coach-grid>.ask:nth-of-type(1){grid-area:a}
.coach-grid>.ask:nth-of-type(2){grid-area:b}
.coach-grid>.ask:nth-of-type(3){grid-area:c}
.coach-grid>.ask:nth-of-type(4){grid-area:d}
.coach-phone{grid-area:phone;align-self:center;padding:0 8px}
.coach-phone .dev{width:100%}
/* the same cards as "Your day": soft tints, ink text, centred */
.ask{display:flex;flex-direction:column;align-items:center;text-align:center;border-radius:30px;padding:32px 30px 28px;color:var(--ink);
  background:linear-gradient(180deg,#efe9f9,#f6f2fc)}
.coach-grid>.ask:nth-of-type(2){background:linear-gradient(180deg,#f6eee6,#faf6f1)}
.coach-grid>.ask:nth-of-type(3){background:linear-gradient(180deg,#e9eef6,#f3f5fa)}
.coach-grid>.ask:nth-of-type(4){background:linear-gradient(180deg,#f3ebf4,#faf6f9)}
.ask-ico{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#fff;color:var(--purple);box-shadow:var(--shadow);margin-bottom:18px}
.ask-ico .ico{width:20px;height:20px}
.ask h3{font-size:clamp(20px,1.7vw,23px);font-weight:600;letter-spacing:-.025em}
.ask>p:not(.ask-eg){font-size:15px;line-height:1.55;color:var(--ink-2);margin-top:10px;max-width:28em}
.ask-eg{margin-top:auto;padding-top:22px}
.bubble{display:inline-block;padding:10px 16px;border-radius:18px 18px 6px 18px;font-size:14px;line-height:1.4;color:#fff;background:linear-gradient(180deg,#6d49ba,#553097);box-shadow:0 10px 20px -12px rgba(85,48,151,.7)}
.listen,.orb-pill{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 16px 0 14px;border-radius:99px;font-size:13.5px;font-weight:500;color:var(--ink);
  background:#fff;box-shadow:var(--shadow)}
.listen .ico{width:16px;height:16px;color:var(--purple)}
.listen i{width:3px;height:14px;border-radius:2px;background:var(--purple);transform-origin:center}
.listen i:last-of-type{margin-right:4px}
.listen i{animation:wave 1.1s ease-in-out infinite}
.listen i:nth-of-type(2){animation-delay:-.2s!important}.listen i:nth-of-type(3){animation-delay:-.4s!important}
.listen i:nth-of-type(4){animation-delay:-.6s!important}.listen i:nth-of-type(5){animation-delay:-.8s!important}
@keyframes wave{0%,100%{transform:scaleY(.35)}50%{transform:scaleY(1)}}
.orb{width:22px;height:22px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#efe6ff 0,#b49ae8 38%,#6d49ba 75%);box-shadow:0 0 0 4px rgba(85,48,151,.1)}
@media (max-width:1000px){
  .coach-grid{grid-template-columns:1fr 1fr;grid-template-rows:none;grid-template-areas:"phone phone" "a b" "c d"}
  .coach-phone{width:min(290px,66vw);justify-self:center;margin-bottom:12px}
}
@media (max-width:640px){
  .coach{padding:80px 0 72px}
  .coach-grid{grid-template-columns:1fr;grid-template-areas:"phone" "a" "b" "c" "d"}
  .ask{padding:28px 22px 24px;border-radius:26px}
}

/* ---------- and there's more ---------- */
.more-sec{padding:120px 0 104px;background:var(--bg)}
.more-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,360px);gap:clamp(40px,9vw,140px);align-items:center}
.more-list{display:grid;gap:8px;margin-top:34px;max-width:540px}
.more-list button{display:grid;gap:4px;text-align:left;padding:18px 22px;border-radius:20px;border:0;background:transparent;cursor:pointer;transition:background .3s var(--ease),box-shadow .3s var(--ease)}
.more-list b{font-size:17px;font-weight:600;letter-spacing:-.01em;color:var(--muted);transition:color .3s}
.more-list span{font-size:14.5px;line-height:1.5;color:var(--muted);opacity:.8}
.more-list button:hover{background:rgba(255,255,255,.55)}
.more-list [aria-selected="true"],.more-list [aria-selected="true"]:hover{background:#fff;box-shadow:var(--shadow)}
.more-list [aria-selected="true"] b{color:var(--ink)}
.more-list [aria-selected="true"] span{color:var(--ink-2);opacity:1}
.more-phone{display:flex;justify-content:center}
.more-phone .dev{width:100%;max-width:340px}
.more-device .device-screen{transition:opacity .3s var(--ease)}
.more-device.swap .device-screen{opacity:0}
@media (max-width:900px){
  .more-grid{grid-template-columns:1fr;gap:28px}
  .more-phone{order:-1}
  .more-phone .dev{max-width:min(260px,62vw)}
  .more-copy .h2,.more-copy .lead{text-align:center;margin-inline:auto}
  .more-copy .tag-eyebrow{display:flex;width:fit-content;margin-inline:auto}
  .more-list{margin-inline:auto}
}
@media (max-width:640px){.more-sec{padding:72px 0}.more-list button{padding:14px 16px}}

/* ---------- privacy: the receipt ---------- */
/* The same two-column panel as Food and Workouts. Instead of icon cards, a
   paper receipt prints out of a slot and lists what HealthFit keeps. */
.privacy{padding:0 0 120px;background:var(--bg)}
.panel-privacy{background:linear-gradient(160deg,#ebe3f8 0%,#f4effb 52%,#f8f5f0 100%)}
.panel-privacy .more{margin-top:30px}
.receipt-stage{justify-self:center;width:min(100%,452px)}
.slot{position:relative;z-index:2;height:16px;border-radius:99px;background:linear-gradient(180deg,#2a1c48,var(--night));
  box-shadow:0 1px 0 rgba(255,255,255,.7),inset 0 3px 6px rgba(0,0,0,.55)}
/* the receipt starts inside the slot and prints downwards */
.receipt-clip{margin-top:-8px;padding:0 26px 8px;clip-path:inset(0 -120px -160px -120px)}
.receipt-lift{filter:drop-shadow(0 26px 30px rgba(52,30,92,.2)) drop-shadow(0 3px 6px rgba(52,30,92,.08));transition:transform 1.9s cubic-bezier(.22,.8,.24,1) .25s}
.js .receipt-stage:not(.in) .receipt-lift{transform:translateY(-101%)}
.receipt{padding:34px 30px 30px;background:linear-gradient(180deg,#f3eff8 0,#fff 26px);font-variant-numeric:tabular-nums;
  -webkit-mask:conic-gradient(from -45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) 50%/18px 100%;
          mask:conic-gradient(from -45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) 50%/18px 100%;padding-bottom:40px}
.receipt-head{display:grid;justify-items:center;gap:6px;text-align:center;padding-bottom:20px;border-bottom:1.5px dashed rgba(22,19,29,.16)}
.receipt-head b{font-size:19px;font-weight:600;letter-spacing:-.02em;color:var(--purple)}
.receipt-head span{font-size:11.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.receipt dl{margin:0}
.receipt dl>div{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:10px;padding:11px 0}
.receipt dt{display:flex;flex:1;align-items:baseline;gap:10px;min-width:0;font-size:14.5px;color:var(--ink-2)}
.receipt dt::after{content:"";flex:1;min-width:16px;border-bottom:1.5px dotted rgba(22,19,29,.24);transform:translateY(-4px)}
.receipt dd{margin:0;font-size:14.5px;font-weight:600;color:var(--purple);text-align:right}
.receipt dd.sub{flex-basis:100%;margin-top:4px;font-size:12.5px;font-weight:400;line-height:1.45;color:var(--muted);text-align:left;max-width:30em}
.receipt-lines{padding:8px 0 10px}
.receipt-total{border-top:1.5px dashed rgba(22,19,29,.16);border-bottom:1.5px dashed rgba(22,19,29,.16);padding:6px 0}
.receipt-total dt,.receipt-total dd{font-size:19px;font-weight:700;letter-spacing:-.02em;color:var(--ink)}
.receipt-total dt::after{border-bottom-style:dotted;border-bottom-color:rgba(22,19,29,.3)}
.receipt-foot{display:grid;justify-items:center;gap:16px;padding-top:20px;text-align:center}
.receipt-foot p{font-size:12.5px;line-height:1.55;color:var(--muted)}
.barcode{display:block;width:72%;height:38px;opacity:.82;
  background:repeating-linear-gradient(90deg,var(--ink) 0 2px,transparent 2px 4px,var(--ink) 4px 5px,transparent 5px 8px,var(--ink) 8px 11px,transparent 11px 13px,var(--ink) 13px 14px,transparent 14px 17px)}
@media (max-width:960px){.receipt-stage{margin-top:8px}}
@media (max-width:640px){
  .privacy{padding-bottom:72px}
  .panel-privacy{padding:30px 16px 22px}
  .receipt-clip{padding:0 6px 8px}
  .receipt{padding:26px 18px 34px}
  .receipt dt,.receipt dd{font-size:13.5px}
  .receipt-total dt,.receipt-total dd{font-size:17px}
}

@media (max-width:380px){
  .panel-privacy{padding:28px 12px 20px}
  .receipt-clip{padding:0 4px 8px}
  .receipt{padding:24px 14px 32px}
  .receipt dt,.receipt dd{font-size:12.5px}
  .receipt dt{gap:6px}
  .receipt dt::after{min-width:8px}
}

/* ---------- pricing ---------- */
.pricing{padding:120px 0;background:var(--bg-2)}
.center-head{text-align:center;max-width:720px;margin:0 auto 56px}
.center-head .lead{margin-inline:auto;text-wrap:balance}
.center-head .lead{margin-inline:auto}
.plans{display:grid;grid-template-columns:repeat(2,minmax(0,420px));justify-content:center;gap:22px}
.plan{background:#fff;border-radius:26px;padding:34px 32px 30px;box-shadow:var(--shadow);display:flex;flex-direction:column}
.plan-hot{background:radial-gradient(130% 90% at 100% 0%,#3a2470 0%,var(--night) 70%);color:#fff;box-shadow:var(--shadow-lg)}
.plan-name{font-size:15px;font-weight:600;display:flex;align-items:center;gap:10px}
.pill{font-size:11px;font-weight:600;padding:4px 10px;border-radius:99px;background:rgba(185,163,230,.2);color:#d6c8f5}
.plan-price{font-size:48px;font-weight:600;letter-spacing:-.04em;margin-top:14px;line-height:1}
.plan-price small{font-size:16px;font-weight:500;letter-spacing:0;opacity:.7}
.plan-note{font-size:14px;color:var(--muted);margin-top:10px}
.plan-hot .plan-note{color:rgba(255,255,255,.7)}
.plan-per{font-size:14px;font-weight:500;color:var(--lilac);margin-top:8px}
.plan-alt{font-size:14.5px;color:rgba(255,255,255,.72);margin-top:12px}
.plan-alt b{color:#fff;font-weight:600}
.plan-disclose{font-size:12.5px;line-height:1.5;color:rgba(255,255,255,.62);text-align:center;margin-top:12px}
.plan ul{margin:26px 0 30px;display:grid;gap:12px;flex:1;align-content:start}
.plan li{position:relative;padding-left:28px;font-size:15px;line-height:1.45;color:var(--ink-2)}
.plan-hot li{color:rgba(255,255,255,.88)}
.plan li::before{content:"";position:absolute;left:0;top:3px;width:18px;height:18px;border-radius:50%;
  background:var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23553097' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat}
.plan-hot li::before{background-color:rgba(185,163,230,.22);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d6c8f5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")}
.plan-hot .btn-primary{background:#fff;color:var(--purple);box-shadow:none}
.fine{max-width:700px;margin:30px auto 0;text-align:center;font-size:12.5px;line-height:1.55;color:var(--muted)}
@media (max-width:760px){.plans{grid-template-columns:1fr}.pricing{padding:88px 0}}
@media (max-width:400px){
  .plan{padding:28px 20px 24px}
  .plan .btn{white-space:normal;height:auto;min-height:50px;padding:12px 18px;text-align:center;line-height:1.3}
}

/* ---------- faq ---------- */
.faq{padding:120px 0;background:var(--bg)}
.faq-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:64px;align-items:start}
.faq-head{position:sticky;top:110px}
.faq-list details{border-bottom:1px solid var(--line)}
.faq-list summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:20px;padding:22px 0;font-size:17.5px;font-weight:600;letter-spacing:-.01em}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary::after{content:"";flex:none;width:28px;height:28px;border-radius:50%;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23553097' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/13px no-repeat;box-shadow:var(--shadow);transition:transform .3s var(--ease)}
.faq-list details[open] summary::after{transform:rotate(45deg)}
.faq-list details p{padding:0 48px 24px 0;color:var(--ink-2);font-size:15.5px;line-height:1.65}
@media (max-width:900px){.faq-grid{grid-template-columns:1fr;gap:28px}.faq-head{position:static}.faq{padding:88px 0}}

/* ---------- ready when you are ---------- */
.ready{padding:120px 0 72px;overflow:hidden;background:radial-gradient(42% 36% at 22% 74%,rgba(164,141,220,.24),rgba(164,141,220,0) 70%),radial-gradient(40% 34% at 80% 66%,rgba(242,190,160,.2),rgba(242,190,160,0) 70%),var(--bg-2)}
.ready .center-head{margin-bottom:10px}
.ready-cta{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:18px 22px;margin-top:34px}
.qr-inline{display:flex;align-items:center;gap:12px;padding:8px 18px 8px 8px;border-radius:18px;background:#fff;box-shadow:var(--shadow);font-size:13px;line-height:1.35;color:var(--ink-2);text-align:left}
.qr-inline img{width:72px;height:72px;padding:5px}
.ready-devices{position:relative;height:600px;max-width:960px;margin:24px auto 0}
.ready-devices .dev{position:absolute}
/* two iPhones in the app's current UI, and the watch with its real notification */
.dev-iphone2{width:258px;left:22%;bottom:0;transform:rotate(-4deg);z-index:1}
.dev-iphone3{width:270px;left:46%;bottom:30px;transform:rotate(3deg)}
.dev-watch{width:142px;right:10%;bottom:4px;z-index:2}
@media (max-width:900px){
  .ready-devices{height:min(118vw,560px)}
  .dev-iphone2{width:42vw;left:4%;bottom:12px}
  .dev-iphone3{width:44vw;left:auto;right:12%;bottom:40px}
  .dev-watch{width:22vw;right:0;bottom:8px}
}
@media (max-width:640px){.ready{padding:80px 0 48px}.qr-inline{display:none}}

/* a QR code for people reading on a computer, the way to get it on their phone */
.qr-float{position:fixed;right:22px;bottom:22px;z-index:40;display:flex;align-items:center;gap:12px;padding:10px 42px 10px 10px;border-radius:20px;
  background:rgba(255,255,255,.86);backdrop-filter:blur(18px) saturate(1.4);-webkit-backdrop-filter:blur(18px) saturate(1.4);
  box-shadow:0 0 0 1px var(--line),0 20px 44px -18px rgba(40,20,80,.4);transition:opacity .35s var(--ease),transform .35s var(--ease)}
.qr-float[hidden]{display:none}
.qr-float.off{opacity:0;transform:translateY(12px);pointer-events:none}
.qr-float img{width:64px;height:64px;padding:4px;border-radius:10px;background:#fff}
.qr-float b{display:block;font-size:14px;font-weight:600}
.qr-float span{display:block;font-size:12.5px;color:var(--muted);margin-top:2px}
.qr-x{position:absolute;top:6px;right:6px;display:grid;place-items:center;width:28px;height:28px;border:0;border-radius:50%;background:transparent;color:var(--muted);cursor:pointer}
.qr-x:hover{background:rgba(22,19,29,.06)}
.qr-x .ico{width:14px;height:14px}
@media (max-width:1100px),(hover:none){.qr-float{display:none!important}}

/* ---------- footer ---------- */
.foot{background:#0f0a1d;color:rgba(255,255,255,.72)}
.foot-bar{display:flex;align-items:center;gap:40px;padding:34px 0;flex-wrap:wrap}
.foot-links{display:flex;gap:26px;margin-right:auto}
.foot-links a,.foot-legal a{font-size:14px;text-decoration:none;color:rgba(255,255,255,.78)}
.foot-links a:hover,.foot-legal a:hover{color:#fff}
.foot-legal{font-size:12.5px;line-height:1.6;text-align:right}
@media (max-width:760px){.foot-bar{flex-direction:column;align-items:flex-start;gap:18px}.foot-links{flex-wrap:wrap;gap:12px 22px;margin-right:0}.foot-legal{text-align:left}}

/* ---------- tour ---------- */
.tour{position:fixed;inset:0;z-index:100;display:grid;place-items:center;background:rgba(12,7,24,.86);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);padding:24px}
.tour[hidden]{display:none}
.tour-inner{position:relative;display:grid;grid-template-columns:auto 320px;gap:56px;align-items:center;color:#fff}
.tour-x{position:absolute;right:-8px;top:-8px;z-index:2;color:var(--ink)}
.tour-device{position:relative;width:min(340px,38vh)}
.tour-frame{position:relative;width:100%;pointer-events:none}
.tour-screen{position:absolute;left:5.1%;top:2.2%;width:89.8%;height:95.6%;border-radius:12.5% / 5.8%;overflow:hidden;background:#000}
.tour-screen img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .6s var(--ease)}
.tour-screen img.on{opacity:1}
.tour-copy h3{font-size:30px;letter-spacing:-.03em;font-weight:600;margin-top:4px}
.tour-copy p:not(.eyebrow){font-size:16px;line-height:1.55;color:rgba(255,255,255,.78);margin-top:14px}
.tour-progress{display:flex;gap:6px;margin-top:30px}
.tour-progress i{flex:1;height:3px;border-radius:2px;background:rgba(255,255,255,.18);overflow:hidden}
.tour-progress i b{display:block;height:100%;width:0;background:#fff}
.tour-progress i.done b{width:100%}
.tour-progress i.run b{animation:tourbar var(--dur,4.2s) linear forwards}
@keyframes tourbar{to{width:100%}}
@media (max-width:760px){.tour-inner{grid-template-columns:1fr;gap:20px;justify-items:center;text-align:center}.tour-device{width:min(250px,56vw)}.tour-copy{max-width:320px}}

/* ---------- motion ---------- */
.js .reveal{opacity:0;transform:translateY(26px);transition:opacity .9s var(--ease),transform .9s var(--ease)}
.js .reveal.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
  .js .reveal{opacity:1;transform:none}
}
