/* Oats & Olive — design system */
:root {
  --oat: #F4EDE1;
  --oat-2: #EBE1D0;
  --cream: #FBF8F2;
  --olive: #5B6B3A;
  --olive-2: #46532C;
  --ink: #23281C;
  --ink-2: #4A5040;
  --terra: #C86B4A;
  --sage: #A9B79A;
  --line: rgba(35, 40, 28, .14);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --radius: 22px;
  --max: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--oat);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--olive); color: var(--cream); }

/* Grain overlay for a printed, editorial feel */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { width: min(var(--max), 100% - 48px); margin-inline: auto; }
.serif { font-family: var(--serif); font-optical-sizing: auto; }
.eyebrow {
  font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--olive);
  font-weight: 600; display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.05; letter-spacing: -.02em; }
h1 { font-size: clamp(46px, 7.4vw, 104px); }
h2 { font-size: clamp(36px, 5vw, 68px); }
h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; }
h1 em, h2 em { font-style: italic; color: var(--olive); }
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-2); max-width: 46ch; }
section { position: relative; }
.pad { padding: clamp(80px, 12vw, 160px) 0; }

/* Buttons */
.btn {
  --bg: var(--ink); --fg: var(--cream);
  display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 28px; border-radius: 999px; background: var(--bg); color: var(--fg);
  font-weight: 500; font-size: 16px; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; background: var(--olive); z-index: -1;
  transform: translateY(101%); border-radius: inherit; transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { box-shadow: 0 18px 40px -18px rgba(70, 83, 44, .7); }
.btn .arrow { transition: transform .5s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn.ghost { --bg: transparent; --fg: var(--ink); border: 1px solid var(--line); }
.btn.ghost::before { background: var(--ink); }
.btn.ghost:hover { color: var(--cream); }
.btn.light { --bg: var(--cream); --fg: var(--ink); }
.btn.light::before { background: var(--terra); }
.btn.light:hover { color: var(--cream); }

/* Navigation */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: transform .6s var(--ease), background .4s, backdrop-filter .4s;
}
.nav.scrolled { background: rgba(244, 237, 225, .78); backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--line); }
.nav.hidden { transform: translateY(-100%); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 24px; letter-spacing: -.01em; }
.logo svg { width: 34px; height: 34px; }
.logo span em { font-style: italic; color: var(--olive); }
.nav-links { display: flex; gap: 34px; font-size: 15px; }
.nav-links a { position: relative; padding: 4px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: flex; gap: 12px; align-items: center; }
.nav-cta .btn { padding: 12px 22px; font-size: 15px; }
.login { font-size: 15px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; background: var(--olive-2); color: var(--cream); z-index: 45;
  display: flex; flex-direction: column; justify-content: center; padding: 0 32px; gap: 8px;
  clip-path: circle(0% at calc(100% - 46px) 39px); transition: clip-path .9s var(--ease);
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 46px) 39px); }
.mobile-menu a { font-family: var(--serif); font-size: 44px; line-height: 1.2; }
.menu-open .nav .logo, .menu-open .nav .burger { color: var(--cream); }
.menu-open .burger span { background: var(--cream); }

/* Hero */
.hero { min-height: 100svh; display: grid; align-items: center; padding-top: 110px; padding-bottom: 60px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero h1 .word { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .08em .08em 0; margin-right: -.08em; }
.hero h1 .word > span { display: inline-block; transform: translateY(110%); transition: transform 1.2s var(--ease); }
.loaded .hero h1 .word > span { transform: translateY(0); }
.hero .lead { margin: 30px 0 40px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.trust { display: flex; gap: 18px; align-items: center; margin-top: 44px; font-size: 14px; color: var(--ink-2); }
.avatars { display: flex; }
.avatars i {
  width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--oat); margin-left: -10px;
  display: grid; place-items: center; font-style: normal; font-family: var(--serif); font-size: 15px; color: var(--cream);
}
.avatars i:first-child { margin-left: 0; }
.stars { color: var(--terra); letter-spacing: 2px; }

.plate-stage { position: relative; aspect-ratio: 1; }
.plate {
  position: absolute; inset: 8%; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #fffdf8 0 52%, #f1e8d8 53% 60%, #fffdf8 61% 66%, #e9dfcc 67%);
  box-shadow: 0 60px 90px -40px rgba(35, 40, 28, .45), inset 0 -10px 30px rgba(0,0,0,.05);
  transform: scale(.85) rotate(-20deg); opacity: 0; transition: transform 1.6s var(--ease) .2s, opacity 1.2s var(--ease) .2s;
}
.loaded .plate { transform: scale(1) rotate(0); opacity: 1; }
.float { position: absolute; will-change: transform; }
.float .in { opacity: 0; transform: translateY(40px) scale(.6); transition: opacity 1s var(--ease), transform 1.4s var(--ease); }
.loaded .float .in { opacity: 1; transform: none; }
.hero-badge {
  position: absolute; background: var(--cream); border-radius: 18px; padding: 14px 18px; font-size: 14px;
  box-shadow: 0 20px 50px -20px rgba(35, 40, 28, .35); display: flex; gap: 12px; align-items: center;
  opacity: 0; transform: translateY(20px); transition: all 1.2s var(--ease) 1.1s;
}
.loaded .hero-badge { opacity: 1; transform: none; }
.hero-badge b { display: block; font-size: 15px; }
.hero-badge small { color: var(--ink-2); }
.dot { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; }

.scroll-cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.scroll-cue::after { content: ""; width: 1px; height: 46px; background: linear-gradient(var(--ink), transparent); animation: cue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* Marquee */
.marquee { border-block: 1px solid var(--line); padding: 26px 0; overflow: hidden; background: var(--cream); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--serif); font-size: clamp(26px, 3vw, 40px); white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.marquee span::after { content: "✦"; font-size: 18px; color: var(--terra); }
.marquee span:nth-child(even) { font-style: italic; color: var(--olive); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(46px); transition: opacity 1.1s var(--ease), transform 1.3s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.reveal-line { display: block; overflow: hidden; }
.reveal-line > span { display: block; transform: translateY(105%); transition: transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.in .reveal-line > span, .reveal-line.in > span { transform: none; }

/* Intro statement */
.statement p { font-family: var(--serif); font-size: clamp(30px, 4.2vw, 58px); line-height: 1.18; letter-spacing: -.015em; max-width: 22ch; }
.statement .w { opacity: .14; transition: opacity .4s; }
.statement .w.on { opacity: 1; }
.statement .grid2 { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; }

/* How it works (pinned) */
.how { background: var(--olive-2); color: var(--cream); }
.how .eyebrow { color: var(--sage); }
.how-pin { height: 400vh; position: relative; }
.how-sticky { position: sticky; top: 0; height: 100vh; display: grid; align-items: center; overflow: hidden; }
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.steps { list-style: none; display: grid; gap: 8px; margin-top: 40px; }
.steps li { padding: 20px 0 20px 64px; border-top: 1px solid rgba(251, 248, 242, .15); position: relative; opacity: .35; transition: opacity .6s var(--ease); }
.steps li.on { opacity: 1; }
.steps li b { font-family: var(--serif); font-weight: 400; font-size: 26px; display: block; }
.steps li p { color: rgba(251, 248, 242, .72); font-size: 15px; max-height: 0; overflow: hidden; transition: max-height .8s var(--ease); }
.steps li.on p { max-height: 120px; }
.steps li .n { position: absolute; left: 0; top: 24px; font-size: 13px; letter-spacing: .1em; color: var(--sage); }
.progress { height: 2px; background: rgba(251,248,242,.15); margin-top: 24px; border-radius: 2px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--terra); }

.chart-card {
  background: var(--cream); color: var(--ink); border-radius: 28px; padding: 30px; position: relative;
  box-shadow: 0 50px 100px -40px rgba(0,0,0,.6); transform: rotate(-2deg);
}
.chart-card header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.chart-card h4 { font-family: var(--serif); font-weight: 400; font-size: 24px; }
.chart-card .tag { font-size: 12px; padding: 6px 12px; background: var(--oat); border-radius: 99px; }
.meal { display: grid; grid-template-columns: 90px 1fr auto; gap: 14px; padding: 14px 0; border-top: 1px dashed var(--line); align-items: center; opacity: 0; transform: translateX(-20px); transition: all .7s var(--ease); }
.meal.on { opacity: 1; transform: none; }
.meal small { color: var(--ink-2); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.meal span { font-size: 15px; }
.meal em { font-style: normal; font-size: 13px; color: var(--olive); font-weight: 600; }
.signed { margin-top: 18px; display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--ink-2); opacity: 0; transition: opacity .8s var(--ease); }
.signed.on { opacity: 1; }
.signed .sig { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--olive); }

/* Conditions grid */
.cond-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 60px; flex-wrap: wrap; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--cream); border-radius: var(--radius); padding: 30px; min-height: 280px; position: relative;
  display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
  transition: transform .7s var(--ease), box-shadow .7s var(--ease), background .5s;
  transform-style: preserve-3d;
}
.card:hover { box-shadow: 0 40px 70px -40px rgba(35, 40, 28, .45); }
.card .ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--oat); transition: transform .7s var(--ease); }
.card:hover .ico { transform: rotate(-8deg) scale(1.08); }
.card p { color: var(--ink-2); font-size: 15px; margin-top: 10px; }
.card .more { margin-top: 18px; font-size: 14px; display: inline-flex; gap: 8px; align-items: center; color: var(--olive); font-weight: 600; }
.card .blob { position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; background: var(--sage); opacity: .18; transition: transform 1s var(--ease); }
.card:hover .blob { transform: scale(1.6); }

/* App section */
.app { background: var(--cream); overflow: hidden; }
.app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 40px; }
.features div b { display: block; font-family: var(--serif); font-weight: 400; font-size: 21px; margin-bottom: 4px; }
.features div p { font-size: 15px; color: var(--ink-2); }
.phone-wrap { display: grid; place-items: center; position: relative; }
.phone {
  width: 310px; height: 640px; border-radius: 48px; background: var(--ink); padding: 12px; position: relative;
  box-shadow: 0 80px 120px -50px rgba(35, 40, 28, .6);
}
.screen { width: 100%; height: 100%; border-radius: 38px; background: var(--oat); overflow: hidden; padding: 46px 20px 20px; position: relative; }
.notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 96px; height: 26px; background: var(--ink); border-radius: 20px; }
.screen h5 { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.1; }
.screen .hi { font-size: 12px; color: var(--ink-2); }
.rings { display: flex; justify-content: space-between; margin: 18px 0; }
.ring { width: 76px; text-align: center; font-size: 11px; color: var(--ink-2); }
.ring svg { width: 76px; height: 76px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 8; }
.ring .bg { stroke: rgba(35,40,28,.08); }
.ring .fg { stroke-linecap: round; stroke-dasharray: 201; stroke-dashoffset: 201; transition: stroke-dashoffset 2s var(--ease); }
.glass-card { background: var(--cream); border-radius: 20px; padding: 16px; display: flex; gap: 16px; align-items: center; }
.glass { width: 54px; height: 76px; border: 2px solid var(--olive); border-top: 0; border-radius: 0 0 14px 14px; position: relative; overflow: hidden; flex: none; }
.water { position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: linear-gradient(#8fb8c9, #5d93ab); transition: height 1.2s var(--ease); }
.water::before { content: ""; position: absolute; top: -6px; left: -50%; width: 200%; height: 12px; background: radial-gradient(circle at 10px -4px, transparent 9px, #8fb8c9 10px) 0 0 / 20px 12px repeat-x; animation: wave 2s linear infinite; }
@keyframes wave { to { transform: translateX(20px); } }
.glass-card b { font-size: 15px; display: block; }
.glass-card small { color: var(--ink-2); font-size: 12px; }
.add-water { margin-left: auto; width: 38px; height: 38px; border-radius: 50%; background: var(--olive); color: var(--cream); font-size: 22px; line-height: 1; transition: transform .3s var(--ease); }
.add-water:active { transform: scale(.88); }
.note { margin-top: 12px; background: var(--olive); color: var(--cream); border-radius: 20px; padding: 16px; font-size: 13px; }
.note .who { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; font-size: 12px; opacity: .85; }
.note .who i { width: 28px; height: 28px; border-radius: 50%; background: var(--terra); display: grid; place-items: center; font-style: normal; font-family: var(--serif); }
.wave-bars { display: flex; gap: 3px; align-items: center; height: 26px; margin-top: 8px; }
.wave-bars i { width: 3px; background: var(--sage); border-radius: 2px; animation: bar 1.2s ease-in-out infinite; }
@keyframes bar { 50% { transform: scaleY(.3); } }
.meal-strip { display: flex; gap: 8px; margin-top: 12px; }
.meal-strip div { flex: 1; aspect-ratio: 1; border-radius: 14px; }
.orbit { position: absolute; width: 560px; height: 560px; border: 1px dashed var(--line); border-radius: 50%; animation: spin 60s linear infinite; }
.orbit::before { content: ""; position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; border-radius: 50%; background: var(--terra); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Numbers */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; border-top: 1px solid var(--line); padding-top: 50px; }
.numbers b { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 5vw, 72px); display: block; line-height: 1; }
.numbers span { font-size: 14px; color: var(--ink-2); }

/* Dietitians */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.person { border-radius: var(--radius); overflow: hidden; background: var(--cream); }
.portrait { aspect-ratio: 4/5; position: relative; overflow: hidden; display: grid; place-items: center; }
.portrait .initial { font-family: var(--serif); font-size: 120px; color: rgba(251,248,242,.9); transition: transform 1.2s var(--ease); }
.person:hover .initial { transform: scale(1.1) rotate(-4deg); }
.portrait .ph { position: absolute; bottom: 14px; left: 14px; font-size: 11px; background: rgba(251,248,242,.85); padding: 5px 10px; border-radius: 99px; }
.person .info { padding: 22px 24px 26px; }
.person .info p { font-size: 14px; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chips span { font-size: 12px; padding: 5px 11px; border: 1px solid var(--line); border-radius: 99px; }

/* Testimonials */
.quotes { background: var(--terra); color: var(--cream); overflow: hidden; }
.quote-track { display: flex; gap: 24px; transition: transform 1s var(--ease); }
.quote { flex: 0 0 min(640px, 86vw); }
.quote blockquote { font-family: var(--serif); font-size: clamp(26px, 3.2vw, 42px); line-height: 1.2; }
.quote cite { display: block; margin-top: 24px; font-style: normal; font-size: 15px; opacity: .85; }
.quote-nav { display: flex; gap: 10px; margin-top: 50px; }
.quote-nav button { width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(251,248,242,.4); transition: background .4s; }
.quote-nav button:hover { background: var(--cream); color: var(--terra); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { background: var(--cream); border-radius: 28px; padding: 36px 32px; display: flex; flex-direction: column; position: relative; transition: transform .7s var(--ease); }
.plan:hover { transform: translateY(-8px); }
.plan.featured { background: var(--ink); color: var(--cream); }
.plan.featured .muted { color: rgba(251,248,242,.65); }
.plan .badge { position: absolute; top: 24px; right: 24px; font-size: 12px; background: var(--terra); color: var(--cream); padding: 6px 12px; border-radius: 99px; }
.plan h3 { margin-bottom: 8px; }
.price { font-family: var(--serif); font-size: 64px; line-height: 1; margin: 26px 0 6px; display: flex; align-items: baseline; gap: 6px; }
.price small { font-family: var(--sans); font-size: 15px; }
.muted { color: var(--ink-2); font-size: 15px; }
.plan ul { list-style: none; margin: 26px 0 32px; display: grid; gap: 12px; font-size: 15px; flex: 1; }
.plan li { display: flex; gap: 12px; }
.plan li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%2323281C' stroke-width='2'/%3E%3C/svg%3E") center/12px no-repeat; }
.plan .btn { justify-content: center; }
.currency { display: inline-flex; background: var(--cream); border-radius: 99px; padding: 5px; gap: 4px; margin-bottom: 40px; }
.currency button { padding: 9px 18px; border-radius: 99px; font-size: 14px; transition: background .4s, color .4s; }
.currency button.on { background: var(--ink); color: var(--cream); }
.compare { margin-top: 26px; font-size: 14px; color: var(--ink-2); }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 28px 50px 28px 0; font-family: var(--serif); font-size: 24px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 22px; font-size: 32px; font-family: var(--sans); font-weight: 300; transition: transform .5s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 0 28px; color: var(--ink-2); max-width: 70ch; }

/* CTA */
.cta { background: var(--olive-2); color: var(--cream); border-radius: 40px; padding: clamp(60px, 9vw, 120px) clamp(28px, 6vw, 80px); text-align: center; overflow: hidden; position: relative; }
.cta h2 { max-width: 16ch; margin: 0 auto 26px; }
.cta h2 em { color: var(--sage); }
.cta p { color: rgba(251,248,242,.75); margin: 0 auto 40px; max-width: 48ch; }
.cta .leaf { position: absolute; opacity: .12; }

/* Footer */
footer { padding: 90px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.foot-grid h6 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--olive); margin-bottom: 18px; font-weight: 600; }
.foot-grid a { display: block; padding: 4px 0; font-size: 15px; color: var(--ink-2); transition: color .3s; }
.foot-grid a:hover { color: var(--ink); }
.news { display: flex; margin-top: 24px; border-bottom: 1px solid var(--ink); max-width: 380px; }
.news input { flex: 1; border: 0; background: none; padding: 12px 0; font: inherit; outline: none; }
.giant { font-family: var(--serif); font-size: clamp(64px, 17vw, 250px); line-height: .9; letter-spacing: -.04em; margin-top: 80px; white-space: nowrap; color: var(--ink); }
.giant em { color: var(--olive); }
.legal { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.disclaimer { font-size: 12px; color: var(--ink-2); margin-top: 14px; max-width: 90ch; }

/* Page hero (inner pages) */
.page-hero { padding: 180px 0 80px; }
.page-hero h1 { font-size: clamp(44px, 6.4vw, 92px); max-width: 15ch; }
.page-hero .lead { margin-top: 26px; }

/* Quiz */
.quiz-shell { min-height: 100svh; display: grid; grid-template-rows: auto 1fr; padding-top: 78px; }
.quiz-bar { height: 3px; background: var(--line); }
.quiz-bar i { display: block; height: 100%; background: var(--olive); width: 0; transition: width .8s var(--ease); }
.quiz-main { display: grid; place-items: center; padding: 40px 0 80px; }
.q { width: min(760px, 100% - 48px); display: none; }
.q.on { display: block; animation: qin .9s var(--ease); }
@keyframes qin { from { opacity: 0; transform: translateY(30px); } }
.q .step { font-size: 13px; color: var(--ink-2); letter-spacing: .12em; text-transform: uppercase; }
.q h2 { font-size: clamp(32px, 4.4vw, 54px); margin: 14px 0 34px; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.opt {
  text-align: left; padding: 20px 22px; border-radius: 18px; background: var(--cream); border: 1.5px solid transparent;
  display: flex; gap: 14px; align-items: center; font-size: 16px; transition: border-color .3s, transform .4s var(--ease), background .3s;
}
.opt:hover { transform: translateY(-3px); border-color: var(--line); }
.opt.sel { border-color: var(--olive); background: #fff; }
.opt .k { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line); display: grid; place-items: center; font-size: 12px; flex: none; transition: all .3s; }
.opt.sel .k { background: var(--olive); color: var(--cream); border-color: var(--olive); }
.q-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 34px; }
.back { font-size: 15px; color: var(--ink-2); }
.field { display: grid; gap: 8px; margin-bottom: 16px; }
.field label { font-size: 14px; color: var(--ink-2); }
.field input, .field select { padding: 17px 20px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--cream); font: inherit; outline: none; transition: border-color .3s; }
.field input:focus, .field select:focus { border-color: var(--olive); }
.result-card { background: var(--cream); border-radius: 28px; padding: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.result-card .dietitian { display: flex; gap: 14px; align-items: center; margin-top: 18px; }
.result-card .dietitian i { width: 56px; height: 56px; border-radius: 50%; background: var(--olive); color: var(--cream); display: grid; place-items: center; font-style: normal; font-family: var(--serif); font-size: 24px; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0 20px; }
.slots button { padding: 12px 8px; border-radius: 12px; border: 1.5px solid var(--line); font-size: 14px; transition: all .3s; }
.slots button.sel { background: var(--olive); color: var(--cream); border-color: var(--olive); }
.done-check { width: 90px; height: 90px; margin-bottom: 26px; }
.done-check circle, .done-check path { fill: none; stroke: var(--olive); stroke-width: 3; stroke-linecap: round; }
.done-check circle { stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 1.2s var(--ease) forwards; }
.done-check path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .8s var(--ease) .8s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Prose (legal) */
.prose { max-width: 760px; padding-bottom: 120px; }
.prose h2 { font-size: 30px; margin: 46px 0 14px; }
.prose p, .prose li { color: var(--ink-2); margin-bottom: 12px; }
.prose ul { padding-left: 20px; }

/* Cursor */
.cursor { position: fixed; top: 0; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--olive); pointer-events: none; z-index: 200; transform: translate(-50%, -50%); transition: width .4s var(--ease), height .4s var(--ease), background .4s; mix-blend-mode: multiply; }
.cursor.big { width: 64px; height: 64px; background: rgba(91, 107, 58, .18); }
@media (hover: none) { .cursor { display: none; } }

/* Page transition */
.curtain { position: fixed; inset: 0; background: var(--olive-2); z-index: 300; pointer-events: none; transform: translateY(0); transition: transform 1s var(--ease); display: grid; place-items: center; }
.curtain svg { width: 60px; color: var(--cream); opacity: .9; }
.loaded .curtain { transform: translateY(-100%); }
.leaving .curtain { transform: translateY(0); transition-duration: .6s; }

/* Responsive */
@media (max-width: 980px) {
  .nav-links, .nav-cta .login { display: none; }
  .burger { display: block; }
  .hero-grid, .how-grid, .app-grid, .statement .grid2, .result-card { grid-template-columns: 1fr; }
  .plate-stage { max-width: 440px; margin: 0 auto; width: 100%; }
  .cards, .team, .plans { grid-template-columns: 1fr 1fr; }
  .numbers { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .how-pin { height: auto; }
  .how-sticky { position: relative; height: auto; padding: 100px 0; }
  .steps li { opacity: 1; } .steps li p { max-height: none; }
  .meal, .signed { opacity: 1; transform: none; }
  .chart-card { transform: none; }
  .orbit { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .cards, .team, .plans, .opts, .features { grid-template-columns: 1fr; }
  .nav-cta .btn { display: none; }
  .phone { transform: scale(.9); }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-badge { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .hero h1 .word > span, .reveal-line > span, .float .in, .plate, .hero-badge, .meal, .signed { opacity: 1 !important; transform: none !important; }
  .statement .w { opacity: 1; }
  .curtain { display: none; }
}

@media (max-width: 980px) { article.card { grid-template-columns: 1fr !important; gap: 16px !important; } }
@media (max-width: 980px) { .scroll-cue { display: none; } }

/* ---------- Funnel components ---------- */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-done { padding: 12px 0; color: var(--olive); font-weight: 500; }
.form-err { color: #a33; font-size: 14px; margin-top: 8px; }
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 16px 30px -10px rgba(0,0,0,.35); transition: transform .4s var(--ease); }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 55; display: none; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(251,248,242,.92); backdrop-filter: blur(12px); box-shadow: 0 16px 40px -16px rgba(35,40,28,.45); transform: translateY(140%); transition: transform .6s var(--ease); }
.sticky-cta .btn { flex: 1; justify-content: center; padding: 14px 16px; font-size: 15px; }
.sticky-cta.show { transform: none; }
@media (max-width: 980px) { .sticky-cta { display: flex; } .wa-float { bottom: 90px; right: 16px; } }
.magnet { position: fixed; inset: 0; z-index: 150; background: rgba(35,40,28,.45); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .5s var(--ease); }
.magnet.open { opacity: 1; pointer-events: auto; }
.magnet-card { background: var(--cream); border-radius: 28px; padding: 40px 36px 30px; max-width: 460px; width: 100%; position: relative; transform: translateY(30px) scale(.96); transition: transform .7s var(--ease); }
.magnet.open .magnet-card { transform: none; }
.magnet-x { position: absolute; top: 14px; right: 18px; font-size: 30px; line-height: 1; color: var(--ink-2); }
.magnet-form { display: flex; gap: 8px; margin: 20px 0 10px; flex-wrap: wrap; }
.magnet-form input[type=email] { flex: 1; min-width: 180px; padding: 15px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: inherit; outline: none; }
.magnet-form input:focus { border-color: var(--olive); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field textarea { padding: 17px 20px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--cream); font: inherit; outline: none; min-height: 140px; resize: vertical; }
.field textarea:focus { border-color: var(--olive); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); margin: 6px 0 18px; }
.check input { margin-top: 4px; accent-color: var(--olive); }
.contact-ways { display: grid; gap: 12px; }
.contact-ways a { display: flex; gap: 14px; align-items: center; padding: 18px 20px; background: var(--cream); border-radius: 18px; transition: transform .4s var(--ease); }
.contact-ways a:hover { transform: translateX(4px); }
.breadcrumb { font-size: 13px; color: var(--ink-2); margin-bottom: 18px; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.article { max-width: 760px; }
.article h2 { font-size: clamp(28px, 3vw, 38px); margin: 56px 0 16px; }
.article p, .article li { color: var(--ink-2); margin-bottom: 14px; font-size: 18px; }
.article ul { padding-left: 22px; }
.article .callout { background: var(--cream); border-left: 3px solid var(--olive); padding: 22px 26px; border-radius: 0 18px 18px 0; margin: 30px 0; }
.day { background: var(--cream); border-radius: 22px; padding: 26px 28px; margin-bottom: 14px; }
.day h3 { margin-bottom: 10px; }
.day dl { display: grid; grid-template-columns: 110px 1fr; gap: 6px 14px; font-size: 15px; }
.day dt { color: var(--olive); font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding-top: 3px; }
.locked { filter: blur(6px); pointer-events: none; user-select: none; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .day dl { grid-template-columns: 1fr; } }
@media print { .nav, footer, .sticky-cta, .wa-float, .cursor, .curtain, .magnet { display: none !important; } body::after { display: none; } }
.chip-link { display: inline-block; padding: 6px 14px; margin: 4px 4px 0 0; border: 1px solid var(--line); border-radius: 99px; font-size: 14px; transition: background .3s; }
.chip-link:hover { background: var(--cream); }

/* Booking page */
.booking-frame{max-width:980px;margin:0 auto;background:#fff;border-radius:28px;overflow:hidden;box-shadow:0 30px 80px -40px rgba(40,50,30,.35);border:1px solid rgba(0,0,0,.06)}
.booking-frame iframe{display:block;width:100%;height:760px;border:0}
@media (max-width:700px){.booking-frame{border-radius:18px}.booking-frame iframe{height:900px}}
