@font-face { font-family: "Instrument Serif"; src: url("../fonts/InstrumentSerif-Italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/Geist-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/Geist-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/Geist-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/Geist-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/GeistMono-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/GeistMono-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --base: #07070A;
  --surface: #0F0F14;
  --surface-2: #15151C;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --ink: #F5F2EC;
  --ink-2: #A6A4AD;
  --ink-3: #8B8994;
  --aura: #3D5BFF;
  --aura-mist: #C9D4FF;
  --aura-numeral: #9FB0FF;
  --aura-tint: #B9C5FF;
  --recovery: #3EF0A0;
  --strain: #FF3DA8;
  --strain-text: #FF8CCB;
  --intake: #FFB547;
  --orb-light: #FFD89A;
  --bone: #F5F2EC;
  --lit-bone: #EDE6D8;
  --glow: drop-shadow(0 0 12px rgba(255, 181, 71, 0.55)) drop-shadow(0 0 36px rgba(255, 181, 71, 0.32));
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Geist", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --r-md: 18px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-xxl: 36px;
  --gutter: clamp(20px, 5vw, 64px);
  --max: 1200px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --glass-bg: rgba(255, 255, 255, 0.07);
  --glass-edge: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0; background: var(--base); color: var(--ink);
  font-family: var(--sans); font-size: 15.5px; line-height: 1.55; letter-spacing: -0.005em;
  font-feature-settings: "tnum" 1; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
.mono { font-family: var(--mono); }

:focus-visible { outline: 2px solid var(--aura-tint); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 12px; padding: 8px 14px; background: var(--bone); color: var(--base); border-radius: 999px; z-index: 20; }
.skip:focus { left: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2 { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; line-height: 1.02; text-wrap: pretty; }
h1 { font-size: clamp(44px, 6.4vw, 82px); }
h1 span { display: block; }
h2 { font-size: clamp(34px, 4.4vw, 56px); letter-spacing: -0.015em; max-width: 16ch; }
h3 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 28px; letter-spacing: -0.01em; line-height: 1.1; }
.wordmark { font-weight: 700; font-size: 21px; letter-spacing: -0.055em; text-decoration: none; color: var(--ink); }

.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 16px/1 var(--sans); letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; color: var(--ink);
  transition: transform 0.28s var(--ease-out), background-color 0.2s;
}
.pill:active { transform: scale(0.97); }
.pill-small { height: 42px; padding: 0 18px; font-size: 14px; }
.pill-glass { background: var(--glass-bg); backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4); box-shadow: var(--glass-edge); }
.pill-glass:hover { background: rgba(255, 255, 255, 0.12); }
.pill-primary { background: var(--bone); color: var(--base); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 12px 32px -14px rgba(245, 242, 236, 0.45); }
.pill-primary:hover { background: #fff; }
.pill:disabled { cursor: default; }

.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 10px; border-radius: 999px;
  font: 500 13px/1 var(--sans); letter-spacing: -0.005em; color: var(--ink);
  background: var(--glass-bg); box-shadow: var(--glass-edge);
}
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--intake); box-shadow: 0 0 10px var(--intake); }

.top { position: sticky; top: 0; z-index: 10; padding: max(10px, env(safe-area-inset-top)) var(--gutter) 10px; pointer-events: none; }
.top::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: calc(max(10px, env(safe-area-inset-top)) + 24px); background: linear-gradient(var(--base) 55%, rgba(7, 7, 10, 0)); pointer-events: none; }
.top-bar {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; pointer-events: auto;
  max-width: var(--max); margin: 0 auto; height: 60px; padding: 0 10px 0 20px; border-radius: 999px;
  background: rgba(15, 15, 20, 0.52);
  backdrop-filter: blur(24px) saturate(1.7); -webkit-backdrop-filter: blur(24px) saturate(1.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 -1px 0 rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.07), 0 20px 50px -24px rgba(0, 0, 0, 0.9);
}
.top-nav { display: flex; gap: 26px; }
.top-nav a { font: 500 14px var(--sans); letter-spacing: -0.005em; color: var(--ink-2); text-decoration: none; padding: 8px 0; }
.top-nav a:hover { color: var(--ink); }

main { display: block; }
.hero > *, .story-grid > *, .friends > *, .fitscore > *, .feed-body, .feed { min-width: 0; }
section { padding: clamp(72px, 9vw, 128px) var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }

.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: clamp(32px, 5vw, 72px); min-height: min(calc(100svh - 80px), 820px); padding-top: clamp(16px, 3vw, 40px); padding-bottom: clamp(48px, 6vw, 96px); }
.hero-copy { max-width: 640px; }
.hero h1 { margin-top: 22px; }
.lede { margin-top: 22px; max-width: 30ch; font-size: 19px; line-height: 1.45; color: var(--ink-2); }
.hero .waitlist-form { margin-top: 32px; max-width: 520px; }
.fineprint { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; font-size: 13.5px; color: var(--ink-3); }
.proof { display: flex; align-items: center; gap: 16px; margin-top: 28px; font-size: 14px; color: var(--ink-2); }
.faces { display: flex; }
.faces span { display: grid; place-items: center; width: 34px; height: 34px; margin-right: -9px; border-radius: 50%; font: 600 11px var(--sans); color: var(--base); background: var(--bone); box-shadow: 0 0 0 3px var(--base); }
.faces span:last-child { margin-right: 0; }
.faces span:nth-child(2) { background: var(--aura-mist); }
.faces span:nth-child(3) { background: var(--orb-light); }
.faces span:nth-child(4) { background: #BFF2D9; }

.hero-visual { position: relative; justify-self: center; width: min(100%, 520px); aspect-ratio: 1 / 1.08; }
.orb-wrap { position: absolute; top: 0; right: 0; width: 80%; aspect-ratio: 1; display: grid; place-items: center; }
.orb-glow { position: absolute; inset: 4% 2% 0 8%; pointer-events: none; border-radius: 46% 54% 58% 42% / 52% 38% 62% 48%; background: radial-gradient(62% 56% at 38% 42%, rgba(255, 181, 71, 0.4), rgba(255, 181, 71, 0) 72%), radial-gradient(52% 62% at 70% 28%, rgba(255, 216, 154, 0.24), rgba(255, 216, 154, 0) 74%), radial-gradient(72% 52% at 56% 80%, rgba(217, 137, 42, 0.36), rgba(217, 137, 42, 0) 72%); filter: blur(30px); animation: blob 18s ease-in-out infinite alternate; }
@keyframes blob {
  0% { border-radius: 46% 54% 58% 42% / 52% 38% 62% 48%; translate: 0 0; rotate: 0deg; scale: 1; }
  50% { border-radius: 54% 46% 48% 52% / 44% 58% 42% 56%; translate: -2% 2%; rotate: -4deg; scale: 1.04; }
  100% { border-radius: 58% 42% 44% 56% / 40% 60% 46% 54%; translate: 2% -2%; rotate: 6deg; scale: 0.98; }
}
.orb { position: relative; width: 100%; height: 100%; }
.orb-center { position: absolute; display: grid; place-items: center; pointer-events: none; margin-left: 12%; text-shadow: 0 10px 28px rgba(0, 0, 0, 0.7); }
.orb-numeral { font-family: var(--serif); font-style: italic; font-size: clamp(64px, 13vw, 96px); line-height: 0.9; background: linear-gradient(#fff, var(--lit-bone)); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: var(--glow); }
.orb-sub { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--ink); margin-top: 2px; }
.hero-phone { position: absolute; left: 0; bottom: 0; width: 46%; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.75)); }

.orb-center .orb-numeral { min-width: 4ch; text-align: center; }

.waitlist-form { width: 100%; }
.field { display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: var(--glass-bg); backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4); box-shadow: var(--glass-edge); transition: box-shadow 0.2s; }
.field input { flex: 1; min-width: 0; height: 48px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: 400 16px var(--sans); -webkit-appearance: none; appearance: none; transition: box-shadow 0.2s; }
.field input:-webkit-autofill, .field input:-webkit-autofill:focus { -webkit-text-fill-color: var(--ink); -webkit-box-shadow: 0 0 0 100px var(--surface) inset; box-shadow: 0 0 0 100px var(--surface) inset; caret-color: var(--ink); transition: background-color 9999s; }
.field input::placeholder { color: var(--ink-3); }
.field input:focus { outline: none; }
.field:focus-within { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 rgba(0, 0, 0, 0.35), 0 0 0 1.5px var(--aura-tint), 0 0 28px -8px rgba(185, 197, 255, 0.5); }
.is-invalid .field { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 rgba(0, 0, 0, 0.35), 0 0 0 1.5px var(--strain); }
.field .pill { height: 48px; padding: 0 20px; }
.form-note { min-height: 20px; margin-top: 10px; font-size: 13.5px; color: var(--ink-2); }
.form-note:empty { margin-top: 0; min-height: 0; }
.form-note.is-error { color: var(--strain-text); }
.form-privacy { margin-top: 10px; max-width: 52ch; font-size: 12.5px; line-height: 1.45; color: var(--ink-3); }
.spinner { display: none; width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(7, 7, 10, 0.25); border-top-color: var(--base); animation: spin 0.8s linear infinite; }
.pill.is-loading { pointer-events: none; opacity: 0.85; }
.pill.is-loading .spinner { display: block; }
@keyframes spin { to { rotate: 360deg; } }

.success { max-width: 520px; }
.glass-card .success, .cta-strip .success { margin-top: 28px; }
.success-title { font-family: var(--serif); font-style: italic; font-size: 34px; line-height: 1.05; outline: none; }
.success-body { margin-top: 8px; color: var(--ink); font-weight: 500; }
.referral { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.referral-link { flex: 1 1 220px; min-width: 0; height: 42px; padding: 0 16px; border: 0; border-radius: 999px; background: rgba(7, 7, 10, 0.6); box-shadow: 0 0 0 1px var(--line-2); color: var(--ink); font: 400 16px var(--mono); }

.story-grid { --story-dur: 0.5s; --story-ease: cubic-bezier(0.2, 0.7, 0.2, 1); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); margin-top: clamp(24px, 3vw, 40px); align-items: start; }
.steps { padding: calc(50svh - 90px) 0; }
.step { display: flex; flex-direction: column; justify-content: center; min-height: 180px; transition: opacity var(--story-dur) var(--story-ease); }
.js .step:not(.is-active) { opacity: 0; }
.step h3 { font-size: clamp(30px, 3vw, 40px); }
.step p { margin-top: 10px; max-width: 34ch; font-size: 17px; color: var(--ink-2); }
.stage { position: sticky; top: max(0px, calc(50svh - 330px)); height: 660px; display: grid; align-content: center; justify-items: center; gap: 22px; }
.stage-phone { position: relative; width: 300px; height: 613px; }
.stage-phone::before { content: ""; position: absolute; inset: 10% 8%; border-radius: 48px; box-shadow: 0 50px 70px rgba(0, 0, 0, 0.75); }
.stage-phone img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; will-change: opacity; transition: opacity var(--story-dur) var(--story-ease); }
.stage-phone img.is-on { opacity: 1; }
.stage-progress { display: flex; justify-content: space-between; width: 86px; height: 4px; }
.stage-progress span { display: block; width: 12px; height: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); transition: width var(--story-dur) var(--story-ease), background-color var(--story-dur) var(--story-ease), box-shadow var(--story-dur) var(--story-ease); }
.stage-progress span.is-done { background: var(--aura-tint); }
.stage-progress span.is-on { width: 26px; background: var(--aura-tint); box-shadow: 0 0 12px rgba(185, 197, 255, 0.6); }

.cta-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; margin-top: clamp(40px, 6vw, 80px); padding: 28px 32px; border-radius: var(--r-xxl); background: var(--glass-bg); box-shadow: var(--glass-edge); }
.cta-strip > p { font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1.1; }

.friends { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.friends-copy p, .fit-copy p { margin-top: 20px; max-width: 42ch; font-size: 17px; color: var(--ink-2); }
.feed { position: relative; padding: 6px; border-radius: var(--r-xxl); background: linear-gradient(170deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04)); border: 1px solid rgba(255, 255, 255, 0.12); backdrop-filter: blur(24px) saturate(1.5); -webkit-backdrop-filter: blur(24px) saturate(1.5); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 40px 80px -40px rgba(0, 0, 0, 0.9); }
.feed-head { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 18px 10px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.feed-count { font: 500 12px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.feed-list { display: grid; }
.feed-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 14px; transition: opacity 0.6s ease, translate 0.6s var(--ease-out); }
.feed-row + .feed-row { border-top: 1px solid var(--line); }
.feed.is-in .feed-row:nth-child(2) { transition-delay: 0.1s; }
.feed.is-in .feed-row:nth-child(3) { transition-delay: 0.2s; }
.thumb { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; object-fit: cover; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.thumb svg { width: 22px; height: 22px; }
.thumb-lunch { color: var(--intake); background: rgba(255, 181, 71, 0.14); }
.thumb-breakfast { color: var(--strain-text); background: rgba(255, 61, 168, 0.14); }
.feed-top { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.feed-name { font-weight: 600; font-size: 15px; }
.streak { font: 500 11px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--aura-tint); }
.feed-meal { margin-top: 2px; font-family: var(--serif); font-style: italic; font-size: 18px; line-height: 1.2; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reactions { display: flex; gap: 6px; margin-top: 8px; }
.reactions span { display: grid; place-items: center; height: 24px; padding: 0 8px; border-radius: 999px; font-size: 13px; background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.score { display: grid; place-items: center; min-width: 46px; height: 32px; padding: 0 10px; border-radius: 999px; font: 500 16px var(--mono); letter-spacing: -0.03em; }
.score-high { color: var(--recovery); background: rgba(62, 240, 160, 0.14); }

.fitscore { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.fit-copy h2 em, .fit-copy p em { font-style: italic; color: var(--intake); }
.fit-copy p em { font-family: var(--serif); font-size: 1.2em; line-height: 1; }
.fit-demo { padding: clamp(20px, 3vw, 32px); border-radius: var(--r-xxl); background: var(--glass-bg); backdrop-filter: blur(22px) saturate(1.5); -webkit-backdrop-filter: blur(22px) saturate(1.5); box-shadow: var(--glass-edge); transition: opacity 0.7s ease, translate 0.7s var(--ease-out); }
.fit-meal { display: flex; gap: 18px; align-items: center; }
.fit-meal img { flex: 0 0 auto; width: 84px; height: 84px; border-radius: var(--r-md); object-fit: cover; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.fit-dish { font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.1; }
.fit-macros { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; font-size: 12.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); }
.fit-macros .p { color: var(--recovery); }
.fit-macros .c { color: var(--intake); }
.fit-macros .f { color: var(--strain-text); }
.goal-toggle { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 24px; padding: 4px; border-radius: 999px; background: rgba(7, 7, 10, 0.6); box-shadow: 0 0 0 1px var(--line-2); }
.goal-thumb { position: absolute; top: 4px; left: 4px; width: calc((100% - 8px) / 3); height: calc(100% - 8px); border-radius: 999px; background: linear-gradient(rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.1)); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -1px 0 rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.12), 0 8px 20px -10px rgba(0, 0, 0, 0.9); translate: calc(var(--i, 0) * 100%) 0; transition: translate 0.26s cubic-bezier(0.2, 0, 0, 1); }
.goal-toggle[data-index="0"] .goal-thumb { --i: 0; }
.goal-toggle[data-index="1"] .goal-thumb { --i: 1; }
.goal-toggle[data-index="2"] .goal-thumb { --i: 2; }
.goal-toggle button { position: relative; z-index: 1; height: 40px; border: 0; border-radius: 999px; background: transparent; font-weight: 600; font-size: 14px; color: var(--ink-2); cursor: pointer; transition: color 0.3s; }
.goal-toggle button[aria-checked="true"] { color: var(--ink); }
.goal-toggle button:focus-visible { outline-offset: -2px; }
.fit-result { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.fit-number { width: 2.1ch; text-align: center; font-size: 64px; font-weight: 500; letter-spacing: -0.05em; line-height: 1; color: var(--intake); transition: color 0.4s ease; }
.fit-number.is-low { color: var(--strain); }
.fit-number.is-high { color: var(--recovery); }
.fit-text { display: grid; }
.fit-variant { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 0.26s ease, visibility 0s 0.26s; }
.fit-variant.is-on { opacity: 1; visibility: visible; transition-delay: 0s; }
.fit-verdict { font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.1; }
.fit-reason { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); }

.faq-list { margin-top: clamp(28px, 4vw, 48px); max-width: 760px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { margin: 0; font-size: inherit; }
.faq-trigger { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; border: 0; background: none; text-align: left; cursor: pointer; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 26px; line-height: 1.1; color: var(--ink); }
.faq-icon { position: relative; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 0 0 1px rgba(255, 255, 255, 0.08); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -0.75px 0 0 -6px; background: var(--ink); border-radius: 2px; }
.faq-icon::after { rotate: 90deg; transition: rotate 0.4s var(--ease-out), opacity 0.3s ease; }
.faq-item.is-open .faq-icon::after { rotate: 0deg; opacity: 0; }
.faq-panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.5s var(--ease-out), visibility 0s 0.5s; }
.faq-item.is-open .faq-panel { transition-delay: 0s; }
.js .faq-item:not(.is-open) .faq-panel { grid-template-rows: 0fr; visibility: hidden; }
.faq-inner { overflow: hidden; min-height: 0; }
.faq-inner p { margin: 0; padding: 0 44px 24px 0; max-width: 60ch; color: var(--ink-2); font-size: 16px; transition: opacity 0.35s ease, translate 0.35s var(--ease-out); }
.faq-item.is-open .faq-inner p { transition-delay: 0.12s; }
.js .faq-item:not(.is-open) .faq-inner p { opacity: 0; translate: 0 -4px; }
html:not(.js) .faq-icon { display: none; }

.waitlist { display: grid; place-items: center; }
.glass-card { width: min(100%, 680px); padding: clamp(32px, 5vw, 56px); border-radius: var(--r-xxl); position: relative; overflow: hidden; background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)); backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 -1px 0 rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1), 0 60px 120px -60px rgba(61, 91, 255, 0.35); }
.glass-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(360px 240px at 90% 0%, rgba(61, 91, 255, 0.22), transparent 70%); }
.glass-card > * { position: relative; }
.glass-card > p { margin-top: 18px; max-width: 44ch; color: var(--ink-2); font-size: 16px; }
.glass-card .waitlist-form { margin-top: 28px; }
.fineprint-line { margin-top: 14px; font-size: 13px; color: var(--ink-3); }


.foot { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: baseline; justify-content: space-between; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 40px var(--gutter) max(32px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--ink-2); font-size: 14px; }
.foot .mono { font-size: 12.5px; letter-spacing: 0.08em; }

@media (max-width: 1100px) { .top-nav { display: none; } }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; gap: 40px; }
  .hero-visual { width: min(100%, 420px); margin: 0 auto; }
  .hero-phone { width: 44%; }
  .orb-wrap { width: 78%; }
  .story-grid { --stage-top: calc(max(10px, env(safe-area-inset-top)) + 86px); --phone-h: clamp(140px, calc(100svh - var(--stage-top) - 160px), 470px); --stage-h: calc(var(--stage-top) + var(--phone-h) + 30px); grid-template-columns: 1fr; gap: 0; margin-bottom: 160px; }
  .stage { order: -1; top: 0; padding-top: var(--stage-top); height: var(--stage-h); z-index: 1; gap: 14px; padding-bottom: 12px; background: linear-gradient(var(--base) 88%, rgba(7, 7, 10, 0)); }
  .stage-phone { width: auto; height: var(--phone-h); aspect-ratio: 720 / 1472; }
  .stage-phone::before { box-shadow: 0 30px 40px rgba(0, 0, 0, 0.7); }
  .steps { padding: 0; margin-bottom: -160px; }
  .steps::after { content: ""; display: block; height: 160px; }
  .step { min-height: 160px; justify-content: flex-start; padding-top: 14px; }
  .js .step { position: sticky; top: var(--stage-h); }
  .cta-strip { grid-template-columns: 1fr; }
  .friends, .fitscore { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  section { padding-top: 60px; padding-bottom: 60px; }
  .top { padding: max(8px, env(safe-area-inset-top)) 12px 8px; }
  .top-bar { height: 54px; padding: 0 6px 0 16px; }
  .story-grid { --stage-top: calc(max(8px, env(safe-area-inset-top)) + 78px); }
  .hero { padding-top: 8px; }
  .hero h1 { margin-top: 18px; }
  .lede { font-size: 17px; margin-top: 16px; }
  .hero .waitlist-form { margin-top: 24px; }
  .field { flex-direction: column; gap: 12px; padding: 0; border-radius: 0; background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .field:focus-within, .is-invalid .field { box-shadow: none; }
  .field input { flex: none; width: 100%; height: 52px; min-height: 52px; padding: 0 20px; background: var(--glass-bg); backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4); box-shadow: var(--glass-edge); }
  .field input:focus { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 rgba(0, 0, 0, 0.35), 0 0 0 1.5px var(--aura-tint), 0 0 28px -8px rgba(185, 197, 255, 0.5); }
  .is-invalid .field input { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 rgba(0, 0, 0, 0.35), 0 0 0 1.5px var(--strain); }
  .field input:-webkit-autofill, .field input:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 100px var(--surface) inset, 0 0 0 1px rgba(255, 255, 255, 0.1); box-shadow: 0 0 0 100px var(--surface) inset, 0 0 0 1px rgba(255, 255, 255, 0.1); }
  .field .pill { flex: none; width: 100%; height: 52px; }
  .orb-numeral { font-size: 64px; }
  .orb-sub { font-size: 18px; }
  .cta-strip { padding: 24px 20px; }
  .cta-strip > p { font-size: 26px; }
  .feed-row { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; padding: 14px 10px; }
  .thumb { width: 44px; height: 44px; }
  .feed-meal { white-space: normal; font-size: 17px; }
  .score { min-width: 42px; height: 30px; font-size: 15px; }
  .fit-result { grid-template-columns: 1fr; }
  .fit-number { font-size: 56px; }
  .faq-trigger { font-size: 22px; padding: 18px 0; }
  .faq-inner p { padding-right: 36px; }
  .foot { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: no-preference) {
  .js .feed:not(.is-in) .feed-row { opacity: 0; translate: 0 10px; }
  .js .fit-demo:not(.is-in) { opacity: 0; translate: 0 18px; }
}

@media (prefers-contrast: more), (prefers-reduced-transparency: reduce) {
  .orb-numeral { filter: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .story-grid { --story-dur: 0s; }
  .pill, .stage-phone img, .stage-progress span, .feed-row, .step, .faq-icon::after, .faq-panel, .faq-inner p, .goal-toggle button, .goal-thumb, .fit-number, .fit-variant, .fit-demo { transition: none; }
  .orb-glow { animation: none; }
  .spinner { animation-duration: 1.6s; }
}
