/* ============================================================
   Nobri — landing
   Warm sand ground, indigo actions, lavender/coral/amber accents.
   Fraunces for headlines (echoes the app's serif), Manrope for text.
   ============================================================ */

:root {
  --sand: #F6F3EE;
  --sand-2: #EFEAE2;
  --surface: #FFFFFF;
  --ink: #1F1D3A;
  --ink-2: #4E4C6A;   /* secondary text — passes AA on sand and white */
  --ink-3: #6B6986;   /* hints, captions */
  --line: #E7E2DA;
  --indigo: #4B4F9D;
  --indigo-deep: #41448A;
  --indigo-soft: #E9EAF7;
  --lavender: #8C82E6;
  --lavender-soft: #EEEBFB;
  --coral: #E9846E;
  --coral-soft: #FCEDE8;
  --amber: #D9A03F;
  --amber-soft: #FBF1DC;
  --sky: #4C9BE8;
  --sky-soft: #E6F1FC;
  --mint: #4FB08E;
  --mint-soft: #E3F4EC;

  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 12px; --r-md: 18px; --r-lg: 26px; --r-xl: 34px;
  --shadow-sm: 0 1px 2px rgba(31,29,58,.04), 0 8px 24px -12px rgba(31,29,58,.12);
  --shadow-md: 0 2px 4px rgba(31,29,58,.04), 0 24px 48px -20px rgba(31,29,58,.22);
  --shadow-lg: 0 30px 80px -30px rgba(31,29,58,.35), 0 10px 30px -18px rgba(75,79,157,.25);
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 72px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--sand);
  line-height: 1.6; font-size: 16px; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3 { margin: 0; font-family: var(--font-head); font-weight: 500; letter-spacing: -.01em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3.1rem); }
h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.15rem; letter-spacing: 0; line-height: 1.3; text-wrap: pretty; }
h1 em, h2 em { font-style: italic; color: var(--indigo); }
p { margin: 0; text-wrap: pretty; }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.25rem); color: var(--ink-2); max-width: 56ch; line-height: 1.6; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--indigo); margin-bottom: 14px; }
.note { font-size: .98rem; line-height: 1.55; color: var(--ink-2); border-left: 3px solid var(--coral); padding-left: 14px; margin-top: 22px; }
.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
section { padding-block: clamp(64px, 9vw, 128px); position: relative; scroll-margin-top: var(--header-h); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 5vw, 64px); }
.section-head .lead { margin: 18px auto 0; }
.section-head--left { text-align: left; margin-inline: 0; }
.section-head--left .lead { margin-inline: 0; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px;
  padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: .95rem; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn--primary { background: var(--indigo); color: #fff; box-shadow: 0 10px 24px -12px rgba(75,79,157,.7); }
.btn--primary:hover { background: var(--indigo-deep); transform: translateY(-1px); box-shadow: 0 16px 30px -12px rgba(75,79,157,.7); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink-3); transform: translateY(-1px); }
.btn--lg { min-height: 54px; padding: 14px 28px; font-size: 1.02rem; }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .9rem; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid rgba(75,79,157,.45); outline-offset: 3px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================ HEADER */
.header { position: fixed; inset: 0 0 auto; z-index: 50; padding: 16px 0; transition: padding .35s var(--ease), background .35s, box-shadow .35s; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.header.is-scrolled { padding: 8px 0; background: rgba(246,243,238,.78); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 rgba(31,29,58,.06); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 34px; height: 34px; border-radius: 9px; }
.brand__name { font-family: var(--font-head); font-weight: 600; font-size: 1.45rem; letter-spacing: -.01em; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 8px 13px; border-radius: 999px; font-weight: 600; font-size: .93rem; color: var(--ink-2); transition: background .2s, color .2s; }
.nav a:hover { background: rgba(75,79,157,.08); color: var(--ink); }
.header__actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; place-items: center; gap: 5px; flex-direction: column; }
.menu-btn span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-nav { display: none; flex-direction: column; gap: 2px; padding: 6px var(--gutter) 20px; }
.mobile-nav a { padding: 13px 8px; font-weight: 600; font-size: 1.02rem; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 14px; border: 0; }
.header.is-open .mobile-nav { display: flex; }
.header.is-open { background: rgba(246,243,238,.97); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }

/* ============================================================ HERO */
.hero { padding-top: clamp(112px, 15vw, 172px); padding-bottom: clamp(48px, 7vw, 112px); overflow: hidden; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; }
.hero__glow--a { width: 60vw; height: 60vw; max-width: 720px; max-height: 720px; right: -12vw; top: -10vw; background: radial-gradient(circle, rgba(140,130,230,.45), transparent 62%); }
.hero__glow--b { width: 40vw; height: 40vw; max-width: 460px; max-height: 460px; left: -10vw; bottom: -10vw; background: radial-gradient(circle, rgba(233,132,110,.35), transparent 62%); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(24px, 5vw, 64px); }
.hero__copy h1 { max-width: 12ch; }
.hero__copy .lead { margin-top: 22px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__note { display: flex; gap: 10px; align-items: flex-start; margin-top: 26px; font-size: .95rem; line-height: 1.55; color: var(--ink-2); max-width: 48ch; }
.hero__note svg { flex: 0 0 auto; margin-top: 4px; color: var(--coral); }

.hero__stage { position: relative; display: grid; place-items: center; min-height: 660px; }
.hero__ring { position: absolute; width: min(560px, 92%); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(75,79,157,.16); background: radial-gradient(circle at 50% 40%, rgba(255,255,255,.7), rgba(255,255,255,0) 68%); }
.hero__ring::after { content: ""; position: absolute; inset: 12%; border-radius: 50%; border: 1px dashed rgba(75,79,157,.22); }

/* ------------------------------------------------------------ Device frame
   Every phone is the same object: a 9:19.4 frame, 10px bezel, camera hole.
   Screens are laid out at 280px and scaled to the frame (main.js sets --k),
   so a small phone shows exactly what a big one shows. */
.phone {
  --r: 46px; --k: 1;
  position: relative; width: 300px; aspect-ratio: 9 / 19.4; border-radius: var(--r); background: #1b1a2e;
  padding: 10px; box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,.08); flex: 0 0 auto;
}
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 14px; height: 14px; border-radius: 50%; background: #0a0a14; box-shadow: inset 0 0 0 2px #232238; z-index: 3; }
.phone__screen { width: 100%; height: 100%; border-radius: calc(var(--r) - 9px); overflow: hidden; background: #FAFAFC; position: relative; }
.phone__screen > .app { width: 280px; transform: scale(var(--k)); transform-origin: 0 0; }
.phone__screen > .app--fluid { width: 100%; transform: none; }
.phone--hero { transform: rotate(-3deg) translateY(6px); }
.phone--sm { --r: 32px; width: 200px; padding: 7px; }
.phone--sm::before { width: 9px; height: 9px; top: 13px; }

/* In-app look (mirrors the real UI: near-white ground, white cards, indigo actions) */
.app { padding: 16px 12px 0; display: flex; flex-direction: column; gap: 8px; font-size: 11px; color: #24223B; min-height: 604px; position: relative; }
.app__status { display: flex; justify-content: space-between; font-size: 10px; font-weight: 700; padding: 0 6px; }
.app__status-dots { letter-spacing: -1px; font-size: 8px; opacity: .8; }
.app__top { display: flex; justify-content: space-between; align-items: center; padding: 4px 2px 2px; }
.app__hello { font-family: var(--font-head); font-size: 18px; font-weight: 600; }
.app__sub { font-size: 10px; color: #5E5C78; margin-top: 1px; }
.app__streak { background: #E9EAF7; color: #41448A; font-weight: 800; padding: 6px 9px; border-radius: 999px; font-size: 11px; }
.app__title-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 2px 0; }
.app__title { font-family: var(--font-head); font-size: 20px; font-weight: 600; }
.app__section-row { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 2px 0; }
.app__section-row b { font-size: 13px; }
.app__section-row a, .app-link { color: #41448A; font-weight: 700; font-size: 10px; }
.app-card { background: #fff; border: 1px solid #E4E3EE; border-radius: 16px; padding: 10px 11px; }
.app-card--indigo { background: linear-gradient(135deg, #4B4F9D, #5F63B8); color: #fff; border-color: transparent; }
.app-card--indigo .app-card__label { color: #fff; }
.app-card__row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.app-card__label { font-weight: 700; font-size: 11px; }
.app-card__hint { color: #5E5C78; font-size: 9.5px; }
.app-card--indigo .app-card__hint { color: rgba(255,255,255,.75); }
.app-card__big { font-family: var(--font-head); font-size: 21px; font-weight: 600; margin: 4px 0 6px; }
.app-card__big--xl { font-size: 30px; } .app-card__big--xl small { font-size: 13px; font-weight: 700; font-family: var(--font-body); }
.app-card__meta { font-size: 9.5px; opacity: .9; margin-top: 7px; }
.app-card__meta-s { font-size: 9.5px; color: #5E5C78; margin-top: 4px; }
.app-pill { background: rgba(255,255,255,.18); color: #fff; font-size: 9.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.app-pill--outline { background: #fff; color: #24223B; border: 1px solid #E4E3EE; }
.app-tag { font-size: 9.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.app-tag--soft { background: #E9EAF7; color: #41448A; }
.app-tag--coral { background: #FCEDE8; color: #B0412C; }
.app-progress { height: 6px; border-radius: 999px; background: #EFEFF6; overflow: hidden; }
.app-progress i { display: block; height: 100%; border-radius: inherit; background: #4B4F9D; }
.app-progress--light { background: rgba(255,255,255,.25); } .app-progress--light i { background: #fff; }
.app-week { display: flex; justify-content: space-between; margin-top: 8px; }
.app-week i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 9.5px; font-weight: 700; background: #EFEFF6; color: #8F8DA8; }
.app-week i.on { background: #E3F4EC; color: #2E8B67; }
.app-week i.now { background: #4B4F9D; color: #fff; box-shadow: 0 0 0 3px #E9EAF7; }
.app-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.app-card--stack { display: flex; flex-direction: column; justify-content: space-between; gap: 8px; }
.app-ring { --v: 50; width: 62px; aspect-ratio: 1; margin: 8px auto 2px; border-radius: 50%; display: grid; place-items: center; text-align: center; position: relative; background: conic-gradient(#E9846E calc(var(--v) * 1%), #EFEFF6 0); }
.app-ring::before { content: ""; position: absolute; inset: 7px; background: #fff; border-radius: 50%; }
.app-ring b, .app-ring small { position: relative; display: block; line-height: 1.1; }
.app-ring b { font-size: 13px; } .app-ring small { font-size: 8px; color: #5E5C78; }
.app-ring--lg { width: 92px; margin: 6px 0; } .app-ring--lg::before { inset: 9px; } .app-ring--lg b { font-size: 17px; } .app-ring--lg small { font-size: 9px; }
.app-summary { display: flex; align-items: center; gap: 22px; padding: 4px 6px; }
.app-summary__side b { display: block; font-size: 16px; } .app-summary__side small { color: #5E5C78; font-size: 9.5px; }
.app-macros3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 6px; }
.app-macros3 small { font-size: 9.5px; color: #24223B; font-weight: 600; } .app-macros3 b { font-size: 10px; display: block; margin-top: 4px; } .app-macros3 em { font-style: normal; color: #5E5C78; font-weight: 500; }
.app-bar { --v: 50%; --c: #4B4F9D; height: 6px; border-radius: 999px; background: #EFEFF6; overflow: hidden; margin-top: 6px; }
.app-bar i { display: block; height: 100%; width: var(--v); background: var(--c); border-radius: inherit; }
.app-meal { font-weight: 700; margin-top: 5px; font-size: 11px; line-height: 1.3; }
.app-spark { width: 100%; height: 34px; margin-top: 4px; } .app-spark--lg { height: 60px; }
.app-good { color: #2E8B67; font-weight: 800; }
.app-slot { padding-bottom: 8px; }
.app-slot__name { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 12px; }
.app-slot__name i { width: 26px; height: 26px; border-radius: 50%; background: #EFEFF6; display: grid; place-items: center; font-style: normal; font-size: 13px; }
.app-slot__meal { border-top: 1px solid #E4E3EE; margin-top: 8px; padding-top: 7px; }
.app-slot__meal b { display: block; font-size: 11px; font-weight: 600; } .app-slot__meal small { color: #5E5C78; font-size: 9.5px; }
.app-plus { width: 26px; height: 26px; border-radius: 50%; background: #EFEFF6; display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.app-hist { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; padding: 6px 0; border-top: 1px solid #E4E3EE; margin-top: 4px; }
.app-hist span { font-weight: 700; } .app-hist small { color: #5E5C78; font-size: 9.5px; } .app-hist em { font-style: normal; color: #2E8B67; font-weight: 900; }
.app-seg { display: inline-flex; background: #EFEFF6; border-radius: 999px; padding: 2px; }
.app-seg i { font-style: normal; font-size: 9px; font-weight: 700; padding: 3px 7px; border-radius: 999px; color: #5E5C78; } .app-seg i.on { background: #fff; color: #24223B; }
.app-photos { display: flex; gap: 6px; margin: 8px 0 4px; }
.app-photos i { flex: 1; aspect-ratio: 3/4; border-radius: 8px; background: linear-gradient(160deg, #E9EAF7, #D9DCF0); }
.app__nav { margin-top: auto; margin-inline: -12px; background: #fff; border-top: 1px solid #E4E3EE; display: flex; justify-content: space-around; padding: 9px 6px 12px; }
.app__nav i { font-style: normal; font-size: 13px; display: grid; justify-items: center; gap: 2px; color: #5E5C78; }
.app__nav i b { font-size: 8.5px; font-weight: 700; } .app__nav i.on { color: #41448A; }
/* Onboarding screen */
.app--onb { gap: 10px; padding-top: 18px; }
.app-onb__step { height: 5px; border-radius: 999px; background: #EFEFF6; overflow: hidden; margin: 6px 2px 4px; } .app-onb__step i { display: block; height: 100%; background: #4B4F9D; }
.app-onb__eyebrow { font-size: 9.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #41448A; padding: 0 2px; }
.app-onb__title { font-family: var(--font-head); font-size: 19px; font-weight: 600; line-height: 1.15; padding: 0 2px 4px; }
.app-onb__opt { display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid #E4E3EE; border-radius: 14px; padding: 10px 12px; font-weight: 600; font-size: 11px; }
.app-onb__opt b { width: 26px; height: 26px; border-radius: 50%; background: #EFEFF6; display: grid; place-items: center; font-size: 13px; }
.app-onb__opt.is-on { border-color: #4B4F9D; background: #E9EAF7; }
.app-onb__field { background: #fff; border: 1px solid #E4E3EE; border-radius: 12px; padding: 8px 12px; display: grid; gap: 1px; }
.app-onb__row .app-onb__field { flex: 1; }
.app-onb__field small { font-size: 9.5px; color: #5E5C78; } .app-onb__field b { font-size: 12px; }
.app-onb__row { display: flex; gap: 8px; }
.app-onb__cta { margin-top: auto; margin-bottom: 14px; background: #4B4F9D; color: #fff; text-align: center; font-weight: 700; padding: 12px; border-radius: 999px; font-size: 12px; }

/* Floating cards */
.float {
  position: absolute; display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.9); border-radius: 18px; padding: 10px 14px 10px 10px; box-shadow: var(--shadow-md); z-index: 2;
  animation: floaty 7s ease-in-out infinite alternate; animation-delay: var(--fd, 0s);
}
.float b { display: block; font-size: .92rem; } .float small { color: var(--ink-2); font-size: .82rem; }
.float__icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 18px; }
.float__icon--indigo { background: var(--indigo-soft); } .float__icon--amber { background: var(--amber-soft); } .float__icon--mint { background: var(--mint-soft); }
.float--a { top: 5%; left: -16%; --fd: 0s; }
.float--b { top: 46%; right: -8%; --fd: -2.5s; }
.float--c { bottom: 8%; left: 0; --fd: -4s; }
@keyframes floaty { from { transform: translateY(-6px); } to { transform: translateY(8px); } }

/* ============================================================ CONVERGE */
.converge { padding: 0; height: 200vh; }
.converge__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.converge__inner { text-align: center; position: relative; width: 100%; }
.converge__title { max-width: 20ch; margin: 0 auto; font-size: clamp(1.6rem, 3.2vw, 2.6rem); }
.converge__title span { color: var(--ink-2); }
.converge__stage { position: relative; height: clamp(260px, 40vh, 400px); margin-top: 16px; }
.chip {
  --x: 0; --y: 0; --r: 0deg; --p: 0;
  position: absolute; left: 50%; top: 50%; padding: 11px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); font-weight: 700; font-size: 1rem; white-space: nowrap; display: flex; gap: 8px; align-items: center;
  transform: translate(-50%, -50%) translate(calc(var(--x) * (1 - var(--p))), calc(var(--y) * (1 - var(--p)))) rotate(calc(var(--r) * (1 - var(--p)))) scale(calc(1 - .55 * var(--p)));
  opacity: calc(1 - var(--p) * 0.9); will-change: transform, opacity;
}
.chip--1 { --x: -30vw; --y: -13vh; --r: -8deg; }
.chip--2 { --x: 27vw; --y: -14vh; --r: 6deg; }
.chip--3 { --x: -27vw; --y: 12vh; --r: 5deg; }
.chip--4 { --x: 30vw; --y: 9vh; --r: -5deg; }
.chip--5 { --x: -10vw; --y: 16vh; --r: -3deg; }
.chip--6 { --x: 8vw; --y: -12vh; --r: 4deg; }
.chip--7 { --x: 14vw; --y: 17vh; --r: -4deg; --fd: -1s; }
.converge__app {
  --p: 0; position: absolute; left: 50%; top: 50%; width: 168px; aspect-ratio: 9/16; border-radius: 30px; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); display: grid; place-items: center; align-content: center; gap: 14px;
  transform: translate(-50%, -50%) scale(calc(.6 + .4 * var(--p))); opacity: var(--p);
}
.converge__app img { width: 64px; height: 64px; border-radius: 16px; }
.converge__app-lines { display: grid; gap: 6px; width: 90px; }
.converge__app-lines i { height: 8px; border-radius: 4px; background: var(--indigo-soft); }
.converge__app-lines i:nth-child(2) { width: 70%; } .converge__app-lines i:nth-child(3) { width: 85%; background: var(--coral-soft); }
.converge__end { --p: 0; font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: clamp(1.45rem, 2.8vw, 2.2rem); opacity: var(--p); transform: translateY(calc(12px * (1 - var(--p)))); margin-top: 4px; }
.converge__end em { color: var(--indigo); }

/* ============================================================ DAY TIMELINE */
.day { background: linear-gradient(180deg, var(--sand) 0%, #fff 30%, #fff 70%, var(--sand) 100%); }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 105px; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--indigo-soft), var(--indigo), var(--indigo-soft)); }
.timeline__item { display: grid; grid-template-columns: 130px 1fr 340px; gap: clamp(20px, 3vw, 48px); align-items: center; padding: 24px 0; }
.timeline__item:nth-child(even) { grid-template-columns: 130px 340px 1fr; }
.timeline__item:nth-child(even) .timeline__text { order: 3; }
.timeline__item:nth-child(even) .timeline__mock { order: 2; }
.timeline__time { position: relative; padding-right: 44px; text-align: right; }
.timeline__time b { font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; color: var(--indigo); display: block; }
.timeline__time i { position: absolute; left: 100px; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 5px var(--sand); transform: translateY(-50%); }
.timeline__text h3 { font-family: var(--font-head); font-weight: 500; font-size: 1.65rem; }
.timeline__text p { margin-top: 10px; color: var(--ink-2); max-width: 44ch; font-size: 1.02rem; }

/* Mini mockups (shared by timeline, bento) */
.mini { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 14px; box-shadow: var(--shadow-md); display: grid; gap: 9px; font-size: 13px; }
.timeline__mock { transform: rotate(var(--tilt, -1.5deg)); }
.timeline__item:nth-child(even) .timeline__mock { --tilt: 1.5deg; }
.mini__row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mini__row small, .mini small { color: var(--ink-2); font-size: 12px; }
.mini__card { background: #FAFAFC; border: 1px solid #E4E3EE; border-radius: 13px; padding: 10px 12px; display: grid; gap: 4px; }
.mini__card--indigo { background: linear-gradient(135deg, #4B4F9D, #5F63B8); color: #fff; border-color: transparent; }
.mini__card--indigo small { color: rgba(255,255,255,.82); }
.mini__card b { font-size: 14px; }
.mini__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mini, .mini > *, .mini__card, .bcard { min-width: 0; }
.mini__bar { height: 6px; border-radius: 999px; background: #EFEFF6; overflow: hidden; display: block; }
.mini__bar i { display: block; height: 100%; background: var(--indigo); border-radius: inherit; }
.mini__bar--light { background: rgba(255,255,255,.25); } .mini__bar--light i { background: #fff; }
.mini__tabs { display: flex; gap: 6px; background: #EFEFF6; padding: 4px; border-radius: 999px; }
.mini__tabs i { flex: 1; text-align: center; font-style: normal; padding: 6px 0; border-radius: 999px; font-size: 15px; }
.mini__tabs i.on { background: var(--indigo); }
.mini__title { font-size: 14px; }
.mini__macros { display: flex; gap: 8px; }
.mini__macros span { --c: var(--indigo); flex: 1 1 0; min-width: 0; overflow: hidden; text-align: center; padding: 7px 4px; border-radius: 10px; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); font-weight: 800; font-size: 13px; display: grid; }
.mini__macros span small { color: var(--ink-2); font-weight: 600; font-size: 11px; }
.mini__macros--lg span { padding: 12px 6px; font-size: 16px; }
.mini__btn { background: var(--indigo); color: #fff; text-align: center; font-weight: 700; padding: 9px; border-radius: 12px; }
.mini__goal { display: grid; grid-template-columns: 92px 1fr auto; gap: 10px; align-items: center; }
.mini__goal b { font-size: 12px; white-space: nowrap; }
.mini__spark { width: 100%; height: 56px; }
.mini__water { display: flex; gap: 5px; }
.mini__water i { flex: 1; height: 26px; border-radius: 5px 5px 7px 7px; background: #EFEFF6; border: 1.5px solid #D9DCF0; }
.mini__water i.on { background: var(--sky); border-color: transparent; }
.mini__dots { display: flex; gap: 4px; margin-top: 4px; flex-wrap: wrap; }
.mini__dots i { width: 12px; height: 12px; flex: 0 0 auto; border-radius: 50%; background: #EFEFF6; }
.mini__dots i.on { background: var(--mint); } .mini__dots i.now { background: var(--indigo); box-shadow: 0 0 0 3px var(--indigo-soft); }

/* ============================================================ FOOD */
.food { background: var(--sand); overflow: hidden; }
.food__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 5vw, 72px); }
.food__copy .lead { margin-top: 20px; }
.checks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; font-size: 1.02rem; line-height: 1.5; color: var(--ink); }
.checks li::before { content: "✓"; flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--mint-soft); color: #2E8B67; display: grid; place-items: center; font-size: 13px; font-weight: 900; margin-top: 0; }
.food__try { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; font-size: .95rem; color: var(--indigo); font-weight: 700; background: var(--indigo-soft); padding: 8px 14px; border-radius: 999px; }
.food__stage { position: relative; display: grid; place-items: center; min-height: 680px; }
.food__blob { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 42% 58% 55% 45% / 50% 40% 60% 50%; background: linear-gradient(135deg, var(--lavender-soft), var(--coral-soft)); z-index: 0; animation: blob 14s ease-in-out infinite alternate; }
@keyframes blob { to { border-radius: 55% 45% 42% 58% / 40% 55% 45% 60%; transform: rotate(8deg) scale(1.04); } }
.phone--food { z-index: 1; width: 320px; }

.menu { padding: 12px; display: grid; gap: 10px; min-width: 0; width: 100%; }
.menu > * { min-width: 0; }
.menu__tabs { display: flex; gap: 4px; background: #EFEFF6; padding: 4px; border-radius: 999px; min-width: 0; overflow: hidden; }
.menu__tab { flex: 0 0 auto; height: 36px; min-width: 34px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0; transition: flex .35s var(--ease), background .25s; overflow: hidden; }
.menu__tab i { font-style: normal; font-size: 16px; }
.menu__tab span { display: none; font-size: 11px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.menu__tab.is-on { flex: 1 1 0; min-width: 0; background: var(--indigo); padding: 0 10px; }
.menu__tab.is-on span { display: inline; }
.menu__opt-row { display: flex; justify-content: space-between; align-items: center; }
.menu__select { position: relative; }
.menu__select-btn { display: inline-flex; align-items: center; gap: 4px; background: var(--indigo-soft); color: var(--indigo-deep); border: 1px solid rgba(75,79,157,.35); border-radius: 12px; padding: 7px 8px 7px 12px; font-weight: 700; font-size: 12px; }
.menu__list { position: absolute; top: calc(100% + 6px); left: 0; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid #E4E3EE; border-radius: 12px; box-shadow: var(--shadow-md); min-width: 150px; z-index: 5; display: none; }
.menu__select.is-open .menu__list { display: block; }
.menu__list li { padding: 9px 10px; border-radius: 8px; font-size: 12px; font-weight: 600; display: flex; justify-content: space-between; gap: 10px; cursor: pointer; }
.menu__list li:hover { background: #FAFAFC; }
.menu__list li.is-on { color: var(--indigo-deep); font-weight: 800; }
.menu__time { font-size: 11px; color: #5E5C78; }
.menu__name { font-weight: 700; font-size: 13px; line-height: 1.3; }
.menu__kcal { font-size: 12px; color: #5E5C78; margin-top: -4px; }
.menu__kcal b { font-family: var(--font-head); font-size: 26px; color: #24223B; font-weight: 600; margin-right: 3px; }
.menu__macros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.menu__macros div { --c: var(--indigo); border-radius: 12px; padding: 8px 9px; background: color-mix(in srgb, var(--c) 10%, #fff); display: grid; gap: 2px; }
.menu__macros i { display: block; width: 20px; height: 4px; border-radius: 4px; background: var(--c); margin-bottom: 3px; }
.menu__macros b { color: var(--c); font-size: 13px; } .menu__macros small { font-size: 9.5px; color: #5E5C78; }
.menu__items { list-style: none; margin: 0; padding: 6px 0 0; border-top: 1px solid #E4E3EE; display: grid; gap: 2px; }
.menu__items li { display: flex; justify-content: space-between; padding: 5px 0; font-size: 12px; }
.menu__items li span:last-child { color: #5E5C78; }
.menu__log { display: block; text-align: center; background: var(--indigo); color: #fff; font-weight: 700; padding: 10px; border-radius: 14px; font-size: 12px; transition: background .25s, transform .2s; width: 100%; }
.menu__log.is-done { background: var(--mint-soft); color: #2E8B67; }
.menu__log:active { transform: scale(.98); }
.menu.is-swapping .menu__name, .menu.is-swapping .menu__kcal, .menu.is-swapping .menu__macros, .menu.is-swapping .menu__items { animation: swap .35s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ============================================================ DOSES */
.doses { background: #fff; }
.doses__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 5vw, 72px); }
.doses__copy .lead { margin-top: 20px; }
.doses__stage { display: grid; place-items: center; }
.dose-card { width: min(440px, 100%); background: var(--sand); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 16px; display: grid; gap: 12px; box-shadow: var(--shadow-md); }
.dose-card__head { display: flex; justify-content: space-between; align-items: center; background: #fff; border-radius: var(--r-md); padding: 12px 14px; }
.dose-card__head small { display: block; color: var(--ink-2); font-size: .82rem; } .dose-card__head b { font-size: 1.05rem; }
.dose-card .app-pill { background: var(--indigo-soft); color: var(--indigo-deep); font-size: .8rem; }
.dose-card__hero { background: linear-gradient(135deg, var(--indigo), #5F63B8); color: #fff; border-radius: var(--r-md); padding: 16px; display: grid; gap: 8px; }
.dose-card__hero small { opacity: .88; font-size: .86rem; }
.dose-card__hero b { font-family: var(--font-head); font-size: 2rem; font-weight: 600; line-height: 1; }
.dose-card__hero .app-progress { background: rgba(255,255,255,.25); } .dose-card__hero .app-progress i { background: #fff; }
.dose-card__meta { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: .82rem; opacity: .92; }
.dose-card__cal { background: #fff; border-radius: var(--r-md); padding: 12px 14px; }
.dose-card__cal-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.dose-card__cal-head small { color: var(--ink-2); }
.dose-card__cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; font-size: .82rem; }
.dose-card__cal-grid s { text-decoration: none; color: var(--ink-3); font-size: .72rem; font-weight: 700; }
.dose-card__cal-grid i { font-style: normal; height: 30px; display: grid; place-items: center; border-radius: 9px; color: var(--ink-2); }
.dose-card__cal-grid i.done { background: var(--mint-soft); color: #2E8B67; font-weight: 800; }
.dose-card__cal-grid i.today { box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink); font-weight: 700; }
.dose-card__cal-grid i.next { background: var(--indigo); color: #fff; font-weight: 800; }
.dose-card__cal-grid i.due { border: 1.5px dashed var(--indigo); color: var(--indigo); font-weight: 700; }
.dose-card__hist { background: #fff; border-radius: var(--r-md); padding: 12px 14px; display: grid; gap: 2px; }
.dose-card__hist-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.dose-card__hist-head small { color: var(--indigo); font-weight: 700; }
.dose-row { display: grid; grid-template-columns: 10px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.dose-row__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--indigo); }
.dose-row b { display: block; font-size: .95rem; } .dose-row small { color: var(--ink-2); font-size: .82rem; }
.dose-row__ok { color: var(--mint); font-weight: 900; }

/* ============================================================ PROGRESS */
.progress { background: var(--sand); }
.progress__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-sm); grid-column: span 4; display: flex; flex-direction: column; gap: 8px; }
.pcard small { color: var(--ink-2); font-size: .88rem; font-weight: 600; }
.pcard p { color: var(--ink-2); font-size: .95rem; }
.pcard__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.pcard__head b { display: block; font-size: 1.3rem; font-family: var(--font-head); font-weight: 600; }
.pcard__num { font-family: var(--font-head); font-size: 2.6rem; font-weight: 600; line-height: 1; }
.pcard__example { font-size: .82rem !important; color: var(--ink-3) !important; margin-top: 4px; }
.pcard--chart { grid-column: span 8; grid-row: span 2; }
.seg { display: flex; background: var(--sand); border-radius: 999px; padding: 3px; }
.seg span { padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 700; color: var(--ink-2); }
.seg span.on { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.chart { width: 100%; height: auto; margin-top: 8px; font-family: var(--font-body); }
.chart__grid line { stroke: var(--line); stroke-width: 1; }
.chart__ylabels text, .chart__xlabels text { font-size: 13px; fill: var(--ink-3); }
.chart__goal { stroke: var(--coral); stroke-dasharray: 5 6; stroke-width: 1.5; }
.chart__goal-label { font-size: 12px; fill: #B0412C; font-weight: 700; }
.chart__line { fill: none; stroke: var(--indigo); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 900; stroke-dashoffset: 900; transition: stroke-dashoffset 1.8s var(--ease) .2s; }
.chart__area { opacity: 0; transition: opacity 1s .9s; }
.chart__dots circle { fill: #fff; stroke: var(--indigo); stroke-width: 2.5; }
.chart__dots .chart__now { fill: var(--coral); stroke: #fff; stroke-width: 3; }
.in .chart__line { stroke-dashoffset: 0; } .in .chart__area { opacity: 1; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0; }
.compare div { background: var(--sand); border-radius: 14px; padding: 12px; display: grid; gap: 2px; }
.compare span { font-size: .82rem; color: var(--ink-2); } .compare b { font-family: var(--font-head); font-size: 1.4rem; font-weight: 600; }
.pcard--weeks { grid-column: span 4; }
.weeks { display: flex; align-items: flex-end; gap: 6px; height: 90px; margin-top: 6px; }
.weeks i { flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: var(--indigo-soft); transition: height 1s var(--ease); }
.weeks i.now { background: var(--indigo); }
.pcard--goal { grid-column: span 4; align-items: flex-start; }
.goal-ring { --v: 60; width: 96px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; position: relative; margin: 6px 0; background: conic-gradient(var(--indigo) calc(var(--v) * 1%), var(--indigo-soft) 0); }
.goal-ring::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: #fff; }
.goal-ring b { position: relative; font-family: var(--font-head); font-size: 1.4rem; font-weight: 600; }
.pcard--records { grid-column: span 4; }
.rec { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.rec span { width: 34px; height: 34px; border-radius: 10px; background: var(--sand); display: grid; place-items: center; }
.rec b { display: block; font-size: .95rem; } .rec small { font-size: .82rem; }

/* ============================================================ BENTO */
.bento { background: #fff; }
.bento__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.bcard { background: var(--sand); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; display: flex; flex-direction: column; gap: 14px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.bcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.bcard--wide { grid-column: span 2; }
.bcard__text h3 { font-size: 1.08rem; }
.bcard__text p { color: var(--ink-2); margin-top: 4px; font-size: .95rem; }
.bcard__preview { margin-top: auto; box-shadow: var(--shadow-sm); padding: 12px; gap: 8px; }
.bcard--wide .bcard__preview { max-width: 380px; }

/* ============================================================ START */
.start { background: var(--sand); }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 48px); }
.steps__line { position: absolute; left: 0; right: 0; top: -32px; width: 100%; height: 120px; pointer-events: none; }
.step { display: grid; justify-items: center; text-align: center; gap: 8px; position: relative; }
.step__text { display: grid; justify-items: center; gap: 8px; }
.step__n { font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; color: var(--indigo); background: #fff; border: 1px solid var(--line); width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow-sm); position: relative; z-index: 1; }
.step h3 { margin-top: 10px; }
.step p { color: var(--ink-2); max-width: 30ch; font-size: .98rem; }
.step .phone--sm { margin-top: 14px; }
.start__cta { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: clamp(36px, 5vw, 64px); text-align: center; }
.start__cta span { font-size: .95rem; color: var(--ink-2); }

/* ============================================================ SHOWCASE */
.showcase { background: linear-gradient(180deg, var(--sand), #fff 25%, #fff 80%, var(--sand)); overflow: hidden; }
.showcase__stage { display: flex; justify-content: center; align-items: flex-end; gap: clamp(8px, 2vw, 28px); padding: 20px var(--gutter) 0; --scroll: 0; }
.phone--show { --r: 40px; width: clamp(150px, 16vw, 250px); transform: translateY(calc(var(--s) * 120px * (1 - var(--scroll)))); transition: transform .1s linear; }
.phone--show-main { width: clamp(180px, 20vw, 300px); }
.showcase__hint { display: none; }

/* ============================================================ PROOF / TRUST */
.proof { background: #fff; }
.proof__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.proof__tile { background: var(--sand); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 10px; align-content: start; }
.proof__tile span { width: 48px; height: 48px; border-radius: 14px; background: #fff; display: grid; place-items: center; font-size: 22px; box-shadow: var(--shadow-sm); }
.proof__tile p { color: var(--ink-2); font-size: .98rem; }

.trust { background: var(--sand); }
.trust__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.trust__item { text-align: center; padding: 26px 22px; background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); display: grid; gap: 12px; justify-items: center; }
.trust__item span { font-size: 28px; width: 60px; height: 60px; border-radius: 50%; background: var(--lavender-soft); display: grid; place-items: center; }
.trust__item p { color: var(--ink-2); font-size: .98rem; max-width: 32ch; margin-top: 4px; }

/* ============================================================ FAQ */
.faq { background: #fff; }
.faq__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--header-h) + 24px); }
.faq__head .lead { margin-top: 16px; }
.faq__list { display: grid; gap: 10px; }
.faq details { background: var(--sand); border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 18px; transition: background .25s; }
.faq details[open] { background: #fff; box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 40px 16px 0; font-weight: 700; position: relative; font-size: 1.02rem; line-height: 1.4; min-height: 52px; display: flex; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--indigo-soft); color: var(--indigo-deep); display: grid; place-items: center; font-weight: 800; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__a { padding: 0 0 16px; }
.faq__a p { color: var(--ink-2); font-size: 1rem; line-height: 1.6; }
.faq details[open] .faq__a { animation: faqIn .3s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ============================================================ FINAL CTA / WAITLIST */
.cta { background: linear-gradient(160deg, #4B4F9D 0%, #3E4189 55%, #2F3270 100%); color: #fff; overflow: hidden; padding-bottom: 0; }
.cta::before { content: ""; position: absolute; width: 60vw; height: 60vw; max-width: 700px; max-height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(233,132,110,.35), transparent 62%); right: -20vw; top: -20vw; filter: blur(30px); }
.cta__inner { text-align: center; display: grid; justify-items: center; gap: 18px; position: relative; }
.cta h2 { max-width: 16ch; }
.cta h2 em { color: #C9C3F5; }
.cta .lead { color: rgba(255,255,255,.86); max-width: 48ch; }
.cta__eyebrow { font-family: var(--font-head); font-style: italic; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: #C9C3F5; }
.cta__avail { color: rgba(255,255,255,.78); font-size: .95rem; margin-top: -4px; }
.cta__phone { margin-top: 36px; margin-bottom: -44%; width: min(340px, 78vw); }
.cta__phone::before { display: none; }

/* ============================================================ FOOTER */
.footer { background: #1F1D3A; color: #fff; padding: 52px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: start; }
.footer .brand__name { color: #fff; }
.footer__brand p { margin-top: 12px; color: rgba(255,255,255,.72); font-size: .98rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 22px; padding-top: 8px; }
.footer__links a { color: rgba(255,255,255,.85); font-weight: 600; font-size: .95rem; padding: 6px 0; display: inline-block; }
.footer__links a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 22px; display: grid; gap: 12px; }
.footer__disclaimer { color: rgba(255,255,255,.7); font-size: .9rem; line-height: 1.55; max-width: 90ch; }
.footer__copy { color: rgba(255,255,255,.5); font-size: .85rem; }

/* ============================================================ RESPONSIVE */
@media (max-width: 1100px) {
  .hero__grid { grid-template-columns: 1fr 1fr; }
  .hero__copy h1 { max-width: none; }
  .timeline__item, .timeline__item:nth-child(even) { grid-template-columns: 120px 1fr 300px; }
  .timeline__item:nth-child(even) .timeline__text { order: 2; } .timeline__item:nth-child(even) .timeline__mock { order: 3; }
  .bento__grid { grid-template-columns: repeat(2, 1fr); }
  .proof__grid { grid-template-columns: repeat(2, 1fr); }
  .pcard, .pcard--chart, .pcard--weeks, .pcard--goal, .pcard--records { grid-column: span 6; }
  .pcard--chart { grid-column: span 12; grid-row: auto; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .nav { display: none; }
  .menu-btn { display: grid; }
  .header__actions .btn { display: none; }
  .hero__grid, .food__grid, .doses__grid, .faq__grid { grid-template-columns: 1fr; }
  .hero { padding-top: 96px; }
  .hero__stage { min-height: 0; margin-top: 28px; padding: 24px 0 36px; }
  .hero__ring { width: min(440px, 96%); }
  .phone--hero { transform: rotate(-2deg); width: min(280px, 74vw); }
  .float--a { top: 0; left: 0; } .float--b { top: 44%; right: 0; } .float--c { bottom: 0; left: 4%; }
  .doses__stage { order: 2; }
  .faq__head { position: static; }
  .food__stage { min-height: 0; margin-top: 8px; padding: 40px 0 24px; }
  .food__blob { width: 88%; }
  .phone--food { width: min(320px, 82vw); }
  .food__copy .checks { margin-top: 22px; }
  /* timeline: rail at the left, tighter stack */
  .timeline::before { left: 8px; }
  .timeline__item, .timeline__item:nth-child(even) { grid-template-columns: 1fr; gap: 12px; padding: 14px 0 22px 34px; }
  .timeline__time { text-align: left; padding-right: 0; }
  .timeline__time i { left: -31px; }
  .timeline__item:nth-child(even) .timeline__text { order: 0; } .timeline__item:nth-child(even) .timeline__mock { order: 0; }
  .timeline__text h3 { font-size: 1.4rem; }
  .timeline__text p { margin-top: 6px; }
  .timeline__mock { max-width: 420px; --tilt: 0deg !important; }
  /* steps: number + text beside a small phone */
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .steps__line { display: none; }
  .step { grid-template-columns: 1fr 132px; align-items: center; text-align: left; justify-items: start; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; }
  .step__text { justify-items: start; gap: 4px; }
  .step__n { width: 44px; height: 44px; font-size: .95rem; margin-bottom: 4px; }
  .step h3 { margin-top: 0; font-size: 1.1rem; }
  .step p { font-size: .95rem; }
  .step .phone--sm { --r: 24px; width: 132px; padding: 5px; margin: 0; justify-self: end; }
  .step .phone--sm::before { width: 7px; height: 7px; top: 9px; }
  .trust__grid { grid-template-columns: 1fr; }
  .trust__item { grid-template-columns: 56px 1fr; text-align: left; justify-items: start; align-items: start; padding: 18px; gap: 14px; }
  .trust__item span { width: 56px; height: 56px; font-size: 26px; }
  .trust__item p { max-width: none; margin-top: 4px; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .footer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; padding-top: 0; }
  .footer__links a { padding: 8px 0; }
  /* showcase: swipe carousel, one phone at a time with neighbours peeking */
  .showcase__stage { justify-content: flex-start; align-items: stretch; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; gap: 16px; padding: 12px 0 8px; scroll-padding-inline: 15vw; }
  .showcase__stage::-webkit-scrollbar { display: none; }
  .showcase__stage::before, .showcase__stage::after { content: ""; flex: 0 0 15vw; }
  .phone--show, .phone--show-main { --r: 40px; width: min(300px, 70vw); transform: none; scroll-snap-align: center; transition: none; }
  .showcase__hint { display: flex; justify-content: center; gap: 8px; margin: 12px auto 0; font-size: .9rem; font-weight: 700; color: var(--ink-3); }
  .showcase__hint span { animation: nudge 1.4s ease-in-out infinite; }
  @keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
  /* converge: shorter run, chips closer to the message */
  .converge { height: 150vh; }
  .converge__stage { height: clamp(220px, 34vh, 300px); margin-top: 8px; }
  .converge__title { font-size: clamp(1.45rem, 5.6vw, 2rem); }
  .chip { font-size: .92rem; padding: 9px 13px; }
  .chip--1 { --x: -30vw; --y: -8vh; } .chip--2 { --x: 28vw; --y: -5vh; } .chip--3 { --x: -30vw; --y: 8vh; }
  .chip--4 { --x: 30vw; --y: 5vh; } .chip--5 { --x: -14vw; --y: 13vh; } .chip--6 { --x: 8vw; --y: -13vh; } .chip--7 { --x: 12vw; --y: 14vh; }
  .converge__app { width: 140px; }
  .converge__end { font-size: clamp(1.35rem, 5.4vw, 1.8rem); }
  .cta__phone { margin-top: 28px; margin-bottom: -58%; width: min(300px, 70vw); }
}
@media (max-width: 640px) {
}
@media (max-width: 560px) {
  :root { --gutter: 20px; }
  section { padding-block: 56px; }
  .section-head { margin-bottom: 28px; }
  h1 { font-size: clamp(2.2rem, 10.5vw, 2.9rem); }
  h2 { font-size: clamp(1.8rem, 8vw, 2.3rem); }
  .btn--lg { width: 100%; min-height: 56px; }
  .hero__cta { flex-direction: column; gap: 10px; }
  .hero__note { margin-top: 22px; }
  .float { padding: 8px 12px 8px 8px; gap: 8px; } .float b { font-size: .86rem; } .float small { font-size: .78rem; } .float__icon { width: 34px; height: 34px; font-size: 16px; }
  .bento__grid, .proof__grid { grid-template-columns: 1fr; }
  .bcard--wide { grid-column: span 1; }
  .bcard { padding: 16px; }
  .mini__macros--lg span { font-size: 14px; padding: 10px 4px; }
  .mini__goal { grid-template-columns: 80px 1fr auto; gap: 8px; }
  .pcard, .pcard--chart, .pcard--weeks, .pcard--goal, .pcard--records { grid-column: span 12; }
  .pcard { padding: 18px; }
  .pcard--chart .chart { margin-inline: -6px; width: calc(100% + 12px); }
  .progress__grid { gap: 10px; }
  .timeline__mock { padding: 12px; }
  .faq details { padding: 0 14px; }
  .faq summary { font-size: 1rem; padding-right: 36px; }
  .dose-card { padding: 12px; gap: 10px; }
  .dose-card__hero b { font-size: 1.7rem; }
  .footer { padding-top: 40px; }
}
@media (max-width: 380px) {
  .phone--hero { width: min(260px, 78vw); }
  .float--a { left: -6px; } .float--b { right: -6px; }
  .step { grid-template-columns: 1fr 110px; gap: 12px; padding: 14px; }
  .step .phone--sm { width: 110px; }
}

/* ============================================================ DOWNLOAD: badges, QR, dialog */
/* Official store badges, untouched. Google's PNG carries transparent padding (~6% x, ~16% y);
   the negative margins cancel it so both badges read as the same 40px-high object. */
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.badge { display: inline-flex; border-radius: 7px; transition: transform .2s var(--ease), opacity .2s; }
.badge:hover { transform: translateY(-1px); }
.badge img { display: block; height: 40px; width: auto; }
.badge--google img { height: 59px; margin: -9.5px -9px; }
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.stores--hero { margin-top: 18px; }
.stores--final { justify-content: center; margin-top: 4px; }
.qr { display: flex; align-items: center; gap: 12px; }
.qr__code { width: 72px; height: 72px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); }
.qr__code svg { width: 100%; height: 100%; display: block; }
.qr small { font-size: .82rem; font-weight: 700; color: var(--ink-3); max-width: 9ch; line-height: 1.3; }
.qr--hero { padding-left: 22px; border-left: 1px solid var(--line); }
.qr--final .qr__code { border-color: transparent; }
.qr--final small { color: rgba(255,255,255,.8); }
.stores--final .qr { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.25); }
.footer__stores { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; grid-column: 1 / -1; padding-top: 6px; }

.dl { border: 0; padding: 0; background: transparent; max-width: min(92vw, 460px); }
.dl::backdrop { background: rgba(31,29,58,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.dl__inner { position: relative; background: var(--sand); color: var(--ink); border-radius: var(--r-xl); padding: 32px 28px 28px; display: grid; justify-items: center; text-align: center; gap: 14px; box-shadow: var(--shadow-lg); margin: 0; }
.dl__inner h2 { font-size: 1.8rem; }
.dl__inner p { color: var(--ink-2); max-width: 34ch; }
.dl__mark { border-radius: 16px; }
.dl__close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--line); font-size: 22px; line-height: 1; color: var(--ink-2); }
.dl .badges { justify-content: center; margin-top: 4px; }
.dl .qr { flex-direction: column; gap: 8px; margin-top: 6px; }
.dl .qr__code { width: 132px; height: 132px; }
.dl .qr small { max-width: none; }

/* Welcome screen (first step: the app just installed) */
.app--welcome { align-items: center; text-align: center; padding-top: 36px; }
.app-welcome__art { width: 92px; height: 92px; border-radius: 26px; background: #E9EAF7; display: grid; place-items: center; margin: 22px 0 8px; }
.app-welcome__art img { border-radius: 18px; }
.app-welcome__title { font-size: 21px; padding: 0 6px; }
.app-welcome__sub { font-size: 11px; color: #5E5C78; padding: 0 12px; }
.app--welcome .app-onb__cta { width: 100%; margin-bottom: 6px; }
.app-welcome__alt { font-size: 11px; font-weight: 700; color: #41448A; margin-bottom: 18px; }

@media (max-width: 900px) {
  .qr, [data-qr] { display: none !important; }
  .stores--hero { margin-top: 16px; }
  .stores--final .qr { display: none; }
  .footer__stores { padding-top: 4px; }
}
@media (max-width: 560px) {
  .badges { gap: 10px 12px; }
  .stores--final .badges { justify-content: center; }
}
