/* ==========================================================================
   CalorieCounter website — styles
   Tokens mirror the app's design system (CCColor / CCRadius / CCSpacing).
   ========================================================================== */

:root {
  --yellow-500: #FDD006;
  --yellow-400: #FFDD47;
  --yellow-600: #E0B800;
  --yellow-700: #B19204;
  --yellow-800: #8E7403;
  --yellow-100: #FFF6CC;
  --ink-900: #111111;
  --ink-800: #2A2925;
  --ink-600: #5C5C5C;
  --ink-400: #8E8E93;
  --ink-200: #D1D1D6;
  --ink-100: #ECECEF;
  --bg: #FFFFFF;
  --surface: #F7F7F7;
  --elev: #FFFFFF;
  --success: #2E9E5B;
  --warning: #F28C28;
  --danger: #E0393E;
  --info: #2F7CF6;
  --protein: #D64545;
  --carbs: #FDD006;
  --fat: #3A6FF7;
  --fiber: #2E9E5B;
  --voice: #8B5CF6;
  --trend: #2E9E8F;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-2xl: 36px;

  --font-display: "Inter Tight", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --font-num: "Nunito", "SF Pro Rounded", var(--font-display);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 72px;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --shadow-card: 0 2px 8px rgba(0, 0, 0, .06), 0 0 0 1px rgba(17, 17, 17, .05);
  --shadow-sheet: 0 12px 32px rgba(0, 0, 0, .10), 0 0 0 1px rgba(17, 17, 17, .05);
  --shadow-phone: 0 40px 80px -20px rgba(17, 17, 17, .35), 0 20px 40px -20px rgba(17, 17, 17, .25);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; } /* Lenis and JS handle smooth scrolling; CSS smooth scrolling breaks ScrollTrigger's measurements */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-900);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
h2 { font-size: clamp(34px, 4.8vw, 62px); letter-spacing: -0.035em; }
h3 { font-size: 22px; letter-spacing: -0.02em; }
em { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.num, .card__kcal, .ring__big, .macro b, .timer__num, .stepper__value, .stepper__kcal, .plan__amount, .trend__value, .chip__kcal {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
:focus-visible { outline: 3px solid var(--yellow-500); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--yellow-400); color: var(--ink-900); }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink-900); color: #fff; padding: 10px 14px; border-radius: 999px; z-index: 1000; }
.skip:focus { top: 16px; }

/* ---------- progressive enhancement: hidden only once GSAP is confirmed ---------- */
html.js [data-reveal], html.js [data-reveal-children] > * { opacity: 0; transform: translateY(28px); }
html.js [data-hero] { opacity: 0; }
html.js .hero__title .line > span { display: inline-block; }

/* ---------- eyebrow, badges, pills ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase;
  color: var(--yellow-800);
  padding: 6px 12px 6px 10px; border-radius: 999px;
  background: var(--yellow-100); border: 1px solid rgba(177, 146, 4, .18);
}
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow-500); box-shadow: 0 0 0 4px rgba(253, 208, 6, .25); animation: pulseDot 2s ease-in-out infinite; }
@keyframes pulseDot { 0%, 100% { box-shadow: 0 0 0 3px rgba(253, 208, 6, .25); } 50% { box-shadow: 0 0 0 7px rgba(253, 208, 6, .12); } }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; letter-spacing: .01em;
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--sure { background: #E7F6EC; color: #1F7A44; }
.badge--guess { background: var(--yellow-100); color: var(--yellow-800); }
.badge--check { background: #FDEBD3; color: #A85A0E; }
.pill { display: inline-flex; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--ink-100); font-size: 13px; font-weight: 500; white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; line-height: 1;
  transition: transform .35s var(--ease-spring), box-shadow .35s var(--ease-out), background-color .25s, color .25s, border-color .25s;
  will-change: transform;
}
.btn .ico { width: 20px; height: 20px; fill: currentColor; }
.btn:not(.magnetic):hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--ink { background: var(--ink-900); color: #fff; box-shadow: 0 10px 24px -12px rgba(17, 17, 17, .6); }
.btn--ink:hover { background: #000; box-shadow: 0 16px 30px -12px rgba(17, 17, 17, .6); }
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn--lg { padding: 18px 28px; font-size: 18px; }
.btn--block { width: 100%; }
.btn--ghost { background: rgba(255, 255, 255, .6); border: 1px solid var(--ink-200); color: var(--ink-900); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--ink-900); background: #fff; }
.btn--outline { border: 1.5px solid var(--ink-900); color: var(--ink-900); background: transparent; }
.btn--outline:hover { background: var(--ink-900); color: #fff; }
.btn--outline-light { border: 1.5px solid rgba(255, 255, 255, .35); color: #fff; background: transparent; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--store { background: var(--ink-900); color: #fff; padding: 12px 22px 12px 18px; box-shadow: 0 14px 30px -14px rgba(17, 17, 17, .7); overflow: hidden; }
.btn--store .ico { width: 26px; height: 26px; }
.btn--store__text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.05; }
.btn--store__text small { font-size: 11px; font-weight: 500; opacity: .85; letter-spacing: .01em; }
.btn--store__text strong { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.btn--store::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .22) 50%, transparent 70%); transform: translateX(-120%); }
.btn--store:hover::after { animation: shine 1.1s var(--ease-out); }
@keyframes shine { to { transform: translateX(120%); } }
.btn--lg.btn--store .btn--store__text strong { font-size: 24px; }
.btn--lg.btn--store .ico { width: 30px; height: 30px; }

/* ---------- cards ---------- */
.card { background: var(--elev); border-radius: var(--r-xl); box-shadow: var(--shadow-card); }
.card--ink { background: var(--ink-900); color: #fff; }
.card__name { font-size: 14px; font-weight: 600; color: var(--ink-800); }
.card__kcal { font-size: 30px; font-weight: 800; line-height: 1.05; color: var(--ink-900); }
.card__kcal .num { font-size: 34px; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h); display: flex; align-items: center; transition: height .35s var(--ease-out), background-color .35s, box-shadow .35s; }
.nav::before { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, 0); backdrop-filter: blur(0px); transition: background-color .35s, backdrop-filter .35s; }
.nav.is-scrolled { height: 60px; }
.nav.is-scrolled::before { background: rgba(255, 255, 255, .72); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); box-shadow: 0 1px 0 rgba(17, 17, 17, .06); }
.nav__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.nav__logo img { width: 32px; height: 32px; border-radius: 9px; box-shadow: 0 0 0 1px rgba(17, 17, 17, .08); }
.nav__links { display: flex; gap: 6px; }
.nav__links a { position: relative; padding: 8px 12px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--ink-600); transition: color .2s, background-color .2s; }
.nav__links a:hover { color: var(--ink-900); background: rgba(17, 17, 17, .05); }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__burger { display: none; position: relative; width: 44px; height: 44px; border-radius: 50%; }
.nav__burger span { position: absolute; left: 12px; top: 21px; width: 20px; height: 2px; background: var(--ink-900); border-radius: 2px; transition: transform .3s var(--ease-out); }
.nav__burger span:first-child { transform: translateY(-4px); }
.nav__burger span:last-child { transform: translateY(4px); }
.nav__burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 90; background: var(--yellow-500); display: grid; place-items: center; padding-top: var(--nav-h); }
.menu[hidden] { display: none; }
.menu__links { display: flex; flex-direction: column; gap: 6px; text-align: center; }
.menu__links a { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 8vw, 44px); letter-spacing: -0.03em; padding: 6px; }
.menu__cta { margin-top: 18px; font-size: 20px !important; background: var(--ink-900); color: #fff; border-radius: 999px; padding: 16px 28px !important; }
.peel--menu { position: absolute; right: 8%; bottom: 8%; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; min-height: 100svh; padding: calc(var(--nav-h) + 48px) 0 56px; display: flex; align-items: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.sunrise { position: absolute; inset: -20% -10% 0; background:
  radial-gradient(60% 55% at 50% 0%, #FFF0A8 0%, rgba(255, 246, 204, .75) 42%, rgba(255, 255, 255, 0) 72%); }
.sunrise::before, .sunrise::after { content: ""; position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 221, 71, .45), rgba(255, 221, 71, 0)); }
.sunrise::before { left: -10vmax; top: -6vmax; animation: drift 18s ease-in-out infinite alternate; }
.sunrise::after { right: -14vmax; top: 4vmax; width: 50vmax; height: 50vmax; background: radial-gradient(closest-side, rgba(253, 208, 6, .35), rgba(253, 208, 6, 0)); animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(6vmax, 4vmax) scale(1.12); } }
.hero__orbit { position: absolute; left: 50%; top: 50%; width: 120vmin; height: 120vmin; border-radius: 50%; border: 1.5px dashed rgba(177, 146, 4, .22); transform: translate(-50%, -50%); animation: spin 90s linear infinite; }
.hero__orbit--2 { width: 80vmin; height: 80vmin; border-style: dotted; animation-duration: 60s; animation-direction: reverse; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(24px, 4vw, 56px); }
.hero__copy { max-width: 620px; }
.hero__title { font-size: clamp(46px, 7.4vw, 100px); line-height: .96; letter-spacing: -0.045em; margin: 22px 0 22px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.08em; }
.hero__title em { color: var(--yellow-800); }
.hero__sub { font-size: clamp(17px, 1.35vw, 20px); color: var(--ink-600); max-width: 520px; text-wrap: pretty; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-size: 14px; color: var(--ink-600); font-weight: 500; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .ico { width: 16px; height: 16px; fill: var(--ink-400); }

.hero__visual { position: relative; }
.hero__scene { position: relative; height: clamp(560px, 72vh, 760px); display: grid; place-items: center; perspective: 1400px; }
.phone { position: relative; --w: 300px; width: var(--w); background: #0E0E0F; border-radius: calc(var(--w) * .165); padding: calc(var(--w) * .033);
  box-shadow: var(--shadow-phone), inset 0 0 0 1px rgba(255, 255, 255, .08), inset 0 0 0 calc(var(--w) * .012) #1C1C1E; }
.phone__screen { position: relative; overflow: hidden; border-radius: calc(var(--w) * .135); background: #FFF8DB; aspect-ratio: 640 / 1391; }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; }
.phone__island { position: absolute; left: 50%; top: calc(var(--w) * .058); width: calc(var(--w) * .29); height: calc(var(--w) * .078); background: #000; border-radius: 999px; transform: translateX(-50%); }
.phone--hero { --w: clamp(230px, 19.5vw, 282px); z-index: 2; transform-style: preserve-3d; margin-left: 8%; }

.corners { position: absolute; pointer-events: none; }
.corners i { position: absolute; width: 46px; height: 46px; border: 5px solid var(--ink-800); border-radius: 14px; }
.corners i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; border-bottom-left-radius: 0; border-top-right-radius: 0; }
.corners i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; border-bottom-right-radius: 0; border-top-left-radius: 0; }
.corners i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; border-top-left-radius: 0; border-bottom-right-radius: 0; }
.corners i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; border-top-right-radius: 0; border-bottom-left-radius: 0; }
.corners--hero { inset: 6% 8%; z-index: 1; }
.corners--hero i { border-color: rgba(42, 41, 37, .22); }

.chip { position: absolute; z-index: 3; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-radius: 18px; padding: 12px 14px; box-shadow: var(--shadow-sheet); }
.chip--result { left: -4%; top: 10%; width: 210px; display: grid; gap: 4px; }
.chip--result .chip__name { font-size: 12.5px; font-weight: 600; color: var(--ink-600); }
.chip--result .chip__kcal { font-size: 26px; font-weight: 800; line-height: 1; }
.chip--result .badge { justify-self: start; margin-top: 2px; }
.chip--edit { right: -10%; top: 52%; display: flex; align-items: center; gap: 10px; font-size: 13.5px; white-space: nowrap; }
.chip__ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--yellow-500); }
.chip__ico svg { width: 15px; height: 15px; fill: var(--ink-900); }
.chip__delta s { color: var(--ink-400); margin-right: 3px; }
.chip__delta b { color: #1F7A44; font-family: var(--font-num); font-size: 15px; }
.chip--streak { right: -2%; top: 8%; display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 10px 14px; }
.chip--streak b { font-family: var(--font-num); font-size: 18px; }
.flame { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #FFE9C7; }
.flame svg { width: 16px; height: 16px; fill: var(--warning); }

.hero__peel { position: absolute; left: -2%; bottom: 0; z-index: 4; }
.bubble { position: relative; display: inline-block; background: #fff; border: 1px solid rgba(209, 209, 214, .9); border-radius: 20px; padding: 12px 16px; font-size: 15px; font-weight: 500; line-height: 1.35; box-shadow: var(--shadow-card); }
.bubble::after { content: ""; position: absolute; left: 22px; bottom: -9px; width: 16px; height: 16px; background: #fff; border-right: 1px solid rgba(209, 209, 214, .9); border-bottom: 1px solid rgba(209, 209, 214, .9); transform: rotate(45deg); border-bottom-right-radius: 3px; }
.bubble--hero { position: absolute; left: 66%; top: -4%; white-space: nowrap; font-family: var(--font-display); font-weight: 600; }
.bubble--hero::after { left: 18px; }

.hero__scroll { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; border: 2px solid var(--ink-200); border-radius: 14px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; border-radius: 2px; background: var(--ink-400); transform: translateX(-50%); animation: scrollHint 1.8s ease-in-out infinite; }
@keyframes scrollHint { 0% { transform: translate(-50%, 0); opacity: 1; } 70% { transform: translate(-50%, 14px); opacity: 0; } 100% { opacity: 0; } }

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee { overflow: hidden; background: var(--yellow-500); color: var(--ink-900); padding: 14px 0; border-block: 1px solid rgba(17, 17, 17, .08); }
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 34s linear infinite; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; white-space: nowrap; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-900); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   STORY (sticky pin, scrubbed by ScrollTrigger)
   ========================================================================== */
.story { position: relative; height: 420vh; background: #fff; }
.story__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.story__stage { position: relative; width: 100%; height: 100%; }
.story__scene { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr auto; place-items: center; padding: calc(var(--nav-h) + 20px) var(--gutter) 40px; }
.story__scene--after { visibility: hidden; }
.story__title { text-align: center; font-size: clamp(30px, 4.6vw, 58px); letter-spacing: -0.035em; max-width: 14ch; text-wrap: balance; }
.story__punch { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 3vw, 36px); letter-spacing: -0.03em; text-align: center; color: var(--ink-900); }
.story__punch--before { color: var(--ink-600); }
.chaos { position: absolute; inset: 0; pointer-events: none; }
.chaos span { position: absolute; left: var(--x); top: var(--y); font-family: var(--font-display); font-weight: 600; font-size: clamp(13px, 1.5vw, 20px); color: var(--ink-400); white-space: nowrap; transform: rotate(var(--r, 0deg)); }
.chaos span:nth-child(3n) { color: var(--warning); }
.chaos span:nth-child(4n) { font-weight: 700; color: var(--ink-800); }
.story__peel { position: relative; height: min(46vh, 380px); aspect-ratio: 648 / 816; display: grid; place-items: center; }
.story__peel-img { position: absolute; height: 100%; width: auto; max-width: none; }
.story__peel-sleepy { opacity: 0; }
.zzz { position: absolute; right: 4%; top: 6%; font-family: var(--font-num); font-weight: 800; color: var(--ink-600); opacity: 0; }
.zzz span { display: block; line-height: .9; }
.zzz span:nth-child(1) { font-size: 22px; margin-left: 28px; }
.zzz span:nth-child(2) { font-size: 30px; margin-left: 14px; }
.zzz span:nth-child(3) { font-size: 40px; }

.scan { position: relative; width: min(46vh, 380px); aspect-ratio: 1; }
.scan__photo { position: absolute; inset: 0; border-radius: 30px; overflow: hidden; box-shadow: var(--shadow-sheet); }
.scan__photo img { width: 100%; height: 100%; object-fit: cover; }
.corners--scan { inset: -18px; }
.corners--scan i { border-color: var(--ink-900); }
.scan__beam { position: absolute; left: 6%; right: 6%; top: 0; height: 3px; background: var(--yellow-500); box-shadow: 0 0 18px 4px rgba(253, 208, 6, .8), 0 0 40px 10px rgba(253, 208, 6, .35); border-radius: 3px; opacity: 0; }
.scan__flash { position: absolute; inset: -18px; border-radius: 34px; background: #fff; opacity: 0; pointer-events: none; }
.scan__result { position: absolute; left: 50%; bottom: -14%; width: min(88%, 320px); transform: translate(-50%, 30px); padding: 16px 18px; display: grid; gap: 4px; opacity: 0; }
.scan__result .badge { justify-self: start; margin-top: 4px; }
.story__punch--after { opacity: 0; }

/* ==========================================================================
   SECTION HEADS
   ========================================================================== */
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head h2 { margin: 18px 0 14px; text-wrap: balance; }
.section-head__sub { font-size: clamp(17px, 1.3vw, 19px); color: var(--ink-600); text-wrap: pretty; }
section { scroll-margin-top: 70px; }

/* ==========================================================================
   PROMISES
   ========================================================================== */
.promises { padding: 112px 0 40px; }
.promises__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promise { padding: 20px 24px 26px; transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.promise:hover { transform: translateY(-4px); box-shadow: var(--shadow-sheet); }
.promise h3 { margin: 22px 0 8px; font-size: 24px; }
.promise p { color: var(--ink-600); font-size: 15.5px; }
.promise__demo { position: relative; height: 200px; border-radius: var(--r-lg); background: var(--surface); display: grid; place-items: center; overflow: hidden; }

.timer { width: 132px; height: 132px; transform: rotate(-90deg); }
.timer__track { fill: none; stroke: var(--ink-100); stroke-width: 10; }
.timer__fill { fill: none; stroke: var(--yellow-500); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 314.16; stroke-dashoffset: 314.16; }
.timer__label { position: absolute; display: grid; place-items: center; line-height: 1; }
.timer__num { font-size: 34px; font-weight: 800; }
.timer__label small { font-size: 12px; color: var(--ink-400); font-weight: 600; margin-top: 4px; }
.timer__done { position: absolute; right: 14px; top: 14px; opacity: 0; transform: scale(.6); }

.promise__demo--rows { display: grid; align-content: center; padding: 0 18px; }
.rows { display: grid; gap: 8px; width: 100%; }
.row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 10px 12px; box-shadow: var(--shadow-card); font-size: 13.5px; font-weight: 600; }
.row small { display: block; font-size: 11.5px; font-weight: 500; color: var(--ink-400); }
.row__kcal { font-family: var(--font-num); font-size: 16px; font-weight: 800; }
.row__kcal::after { content: " kcal"; font-family: var(--font-body); font-size: 11px; font-weight: 500; color: var(--ink-400); }

.promise__demo--stepper { display: grid; gap: 10px; place-content: center; }
.stepper { display: grid; gap: 10px; justify-items: center; background: #fff; border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow-card); min-width: 230px; }
.stepper__name { font-size: 13.5px; font-weight: 600; color: var(--ink-600); }
.stepper__controls { display: flex; align-items: center; gap: 12px; }
.stepper__btn { width: 38px; height: 38px; border-radius: 50%; background: var(--yellow-500); font-size: 22px; font-weight: 700; display: grid; place-items: center; line-height: 1; transition: transform .25s var(--ease-spring), background-color .2s; }
.stepper__btn:hover { background: var(--yellow-400); }
.stepper__btn:active { transform: scale(.9); }
.stepper__value { font-size: 22px; font-weight: 800; min-width: 74px; text-align: center; }
.stepper__kcal { font-size: 18px; font-weight: 800; color: #1F7A44; }
.stepper__hint { font-size: 12px; color: var(--ink-400); text-align: center; font-weight: 500; }

/* ==========================================================================
   BENTO
   ========================================================================== */
.bento { padding: 88px 0 40px; }
.bento__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(250px, auto); gap: 18px; }
.bento__grid > .card { padding: 22px 24px 24px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; overflow: hidden; transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.bento__grid > .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sheet); }
.bento__grid h3 { font-size: 21px; margin-top: 8px; }
.bento__grid p { color: var(--ink-600); font-size: 15px; }
.card--ink p { color: rgba(255, 255, 255, .72); }
.bento__ring { grid-column: span 2; grid-row: span 2; }
.bento__privacy { grid-column: span 2; }

.ring-hero { position: relative; display: grid; place-items: center; margin: 6px auto 4px; width: min(100%, 300px); }
.ring { width: 100%; height: auto; }
.ring__track { fill: none; stroke: #ECECEF; stroke-width: 16; }
.ring__fill { fill: none; stroke: url(#ringGrad); stroke-width: 16; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; stroke-dasharray: 578.05; stroke-dashoffset: 578.05; filter: url(#ringGlow); }
.ring__head { fill: #fff; stroke: var(--yellow-600); stroke-width: 3; transform-origin: 110px 110px; opacity: 0; }
.ring__center { position: absolute; display: grid; place-items: center; text-align: center; line-height: 1; }
.ring__big { font-size: clamp(44px, 5vw, 60px); font-weight: 800; }
.ring__label { font-family: var(--font-display); font-weight: 600; font-size: 15px; margin-top: 6px; }
.ring__of { font-size: 13px; color: var(--ink-400); font-weight: 500; margin-top: 4px; }
.macros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 8px 0 6px; }
.macro { position: relative; display: grid; grid-template-columns: 58px 1fr; align-items: center; gap: 10px; }
.macro svg { width: 58px; height: 58px; }
.macro__track { fill: none; stroke: #ECECEF; stroke-width: 7; }
.macro__fill { fill: none; stroke-width: 7; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; stroke-dasharray: 150.8; stroke-dashoffset: 150.8; }
.macro--protein .macro__fill { stroke: var(--protein); }
.macro--carbs .macro__fill { stroke: var(--carbs); }
.macro--fat .macro__fill { stroke: var(--fat); }
.macro b { position: absolute; left: 29px; top: 29px; transform: translate(-50%, -50%); font-size: 15px; font-weight: 800; }
.macro span { font-size: 13px; font-weight: 600; line-height: 1.25; }
.macro span small { font-weight: 500; color: var(--ink-400); font-size: 12px; }

.barcode { position: relative; margin-bottom: auto; padding: 14px 12px 8px; }
.barcode__bars { width: 100%; height: 60px; opacity: .9; }
.barcode__line { position: absolute; left: 4px; right: 4px; top: 14px; height: 2px; background: var(--yellow-500); box-shadow: 0 0 10px 2px rgba(253, 208, 6, .8); animation: scanline 1.6s ease-in-out infinite alternate; }
@keyframes scanline { from { top: 14px; } to { top: 72px; } }
.barcode__hit { display: grid; gap: 2px; margin-top: 14px; background: #fff; border-radius: 14px; padding: 10px 12px; box-shadow: var(--shadow-card); font-size: 14px; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease-out) .9s, transform .5s var(--ease-out) .9s; }
.is-in .barcode__hit { opacity: 1; transform: none; }
.barcode__hit .badge { justify-self: start; margin-bottom: 4px; }
.barcode__hit small { color: var(--ink-400); font-weight: 500; }

.voice { margin-bottom: auto; display: grid; gap: 12px; }
.voice__wave { display: flex; align-items: center; gap: 4px; height: 44px; }
.voice__wave i { width: 5px; height: 12px; border-radius: 3px; background: var(--voice); animation: wave 1.1s ease-in-out infinite alternate; animation-delay: calc(var(--i, 0) * .08s); }
.voice__wave i:nth-child(1) { --i: 0; } .voice__wave i:nth-child(2) { --i: 1; } .voice__wave i:nth-child(3) { --i: 2; } .voice__wave i:nth-child(4) { --i: 3; } .voice__wave i:nth-child(5) { --i: 4; } .voice__wave i:nth-child(6) { --i: 5; } .voice__wave i:nth-child(7) { --i: 6; } .voice__wave i:nth-child(8) { --i: 7; } .voice__wave i:nth-child(9) { --i: 8; } .voice__wave i:nth-child(10) { --i: 9; } .voice__wave i:nth-child(11) { --i: 10; } .voice__wave i:nth-child(12) { --i: 11; }
@keyframes wave { from { height: 8px; opacity: .6; } to { height: 40px; opacity: 1; } }
.voice__text { font-family: var(--font-display); font-weight: 600; font-size: 17px; min-height: 1.4em; letter-spacing: -0.01em; }
.voice__caret { display: inline-block; width: 2px; height: 1em; background: var(--ink-900); vertical-align: -2px; margin-left: 2px; animation: caret 1s steps(2) infinite; }
@keyframes caret { to { opacity: 0; } }
.voice__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.voice__chips .pill { opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease-out), transform .4s var(--ease-out); }
.is-in .voice__chips .pill { opacity: 1; transform: none; }
.is-in .voice__chips .pill:nth-child(1) { transition-delay: 2.2s; }
.is-in .voice__chips .pill:nth-child(2) { transition-delay: 2.4s; }
.is-in .voice__chips .pill:nth-child(3) { transition-delay: 2.6s; }

.trend { position: relative; margin-bottom: auto; }
.trend__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.trend__value { font-size: 26px; font-weight: 800; white-space: nowrap; }
.trend__delta { font-size: 12px; white-space: nowrap; font-weight: 600; color: #1F7A44; background: #E7F6EC; padding: 4px 10px; border-radius: 999px; }
.spark { width: 100%; height: 90px; }
.spark__area { fill: url(#sparkFill); opacity: 0; transition: opacity .8s .9s; }
.spark__line { fill: none; stroke: var(--trend); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 320; transition: stroke-dashoffset 1.6s var(--ease-io) .2s; }
.spark__dot { fill: var(--trend); opacity: 0; transition: opacity .3s 1.7s; }
.is-in .spark__line { stroke-dashoffset: 0; }
.is-in .spark__area, .is-in .spark__dot { opacity: 1; }
.trend__raw { position: absolute; left: 0; right: 0; top: 46px; height: 90px; pointer-events: none; }
.trend__raw i { position: absolute; top: var(--y); left: calc(var(--i) * 9.09%); width: 6px; height: 6px; border-radius: 50%; background: var(--ink-200); transform: translate(-50%, -50%); }
.trend__raw i:nth-child(1) { --i: 0; } .trend__raw i:nth-child(2) { --i: 1; } .trend__raw i:nth-child(3) { --i: 2; } .trend__raw i:nth-child(4) { --i: 3; } .trend__raw i:nth-child(5) { --i: 4; } .trend__raw i:nth-child(6) { --i: 5; } .trend__raw i:nth-child(7) { --i: 6; } .trend__raw i:nth-child(8) { --i: 7; } .trend__raw i:nth-child(9) { --i: 8; } .trend__raw i:nth-child(10) { --i: 9; } .trend__raw i:nth-child(11) { --i: 10; } .trend__raw i:nth-child(12) { --i: 11; }

.health { margin-bottom: auto; display: grid; gap: 8px; }
.health__row { display: flex; align-items: center; gap: 10px; background: var(--surface); border-radius: 14px; padding: 10px 12px; font-size: 14px; font-weight: 600; }
.health__row small { display: block; font-size: 11.5px; color: var(--ink-400); font-weight: 500; }
.health__ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #FF3B5C; flex: none; }
.health__ico svg { width: 16px; height: 16px; fill: #fff; }
.health__row:nth-child(2) .health__ico { background: var(--warning); }
.toggle { margin-left: auto; width: 44px; height: 26px; border-radius: 999px; background: var(--ink-200); position: relative; transition: background-color .4s; flex: none; }
.toggle i { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .4s var(--ease-spring); }
.is-in .toggle[data-on="true"] { background: var(--success); }
.is-in .toggle[data-on="true"] i { transform: translateX(18px); }
.is-in .health__row:nth-child(2) .toggle { transition-delay: .35s; }
.is-in .health__row:nth-child(2) .toggle i { transition-delay: .35s; }

.checks { margin-bottom: auto; display: grid; gap: 7px; }
.checks li { display: block; position: relative; padding-left: 30px; font-size: 14px; font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--yellow-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23111' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 8'/%3E%3C/svg%3E") center / 12px no-repeat; flex: none; }

.siri { margin-bottom: auto; display: grid; gap: 12px; }
.siri__widget { display: flex; align-items: center; gap: 12px; background: linear-gradient(135deg, #FFF3B8, #FFFBEA); border-radius: 18px; padding: 12px 14px; box-shadow: inset 0 0 0 1px rgba(17, 17, 17, .06); }
.siri__ring { width: 44px; height: 44px; }
.siri__ring svg circle { fill: none; stroke: #fff; stroke-width: 5; }
.siri__ring .siri__ring-fill { stroke: var(--yellow-600); stroke-dasharray: 100.5; stroke-dashoffset: 40; transform: rotate(-90deg); transform-origin: 50% 50%; stroke-linecap: round; }
.siri__text { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.siri__text b { font-family: var(--font-num); font-size: 22px; font-weight: 800; }
.siri__say { font-family: var(--font-serif); font-style: italic; font-size: 20px; color: var(--ink-600); }

.privacy { margin-bottom: auto; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.privacy__lock { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--yellow-500); }
.privacy__lock svg { width: 26px; height: 26px; fill: var(--ink-900); }
.privacy__list { display: grid; gap: 6px; font-size: 14px; color: rgba(255, 255, 255, .85); }
.privacy__list li { display: block; position: relative; padding-left: 16px; }
.privacy__list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow-500); flex: none; }

/* ==========================================================================
   GAG
   ========================================================================== */
.gag { padding: 96px 0 40px; }
.gag__inner { display: grid; justify-items: center; gap: 8px; }
.gag__title { text-align: center; }
.gag__stage { position: relative; width: min(100%, 560px); height: 460px; display: grid; place-items: center; margin-top: 8px; }
.corners--gag { width: 300px; height: 440px; left: calc(50% - 150px); top: calc(50% - 220px); opacity: 0; }
.corners--gag i { border-color: var(--ink-900); }
.gag__flash { position: absolute; inset: 0; background: #fff; opacity: 0; border-radius: 30px; pointer-events: none; }
.gag__card { position: absolute; right: 0; top: 26%; padding: 14px 18px; display: grid; gap: 3px; opacity: 0; transform: translateY(16px) scale(.9); }
.gag__card .badge { justify-self: start; margin-top: 4px; }
.gag__bubble { position: absolute; left: 4%; top: 14%; font-family: var(--font-display); font-weight: 700; font-size: 22px; padding: 10px 18px; opacity: 0; transform: scale(.7); }
.gag__bubble::after { left: auto; right: 16px; }
.gag__caption { color: var(--ink-600); text-align: center; font-size: 16px; }

/* ==========================================================================
   MEET PEEL
   ========================================================================== */
.meet { padding: 96px 0 40px; }
.meet__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.meet__copy h2 { margin: 18px 0 14px; }
.moods { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.mood { padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--ink-200); font-family: var(--font-display); font-weight: 600; font-size: 14.5px; transition: background-color .25s, border-color .25s, color .25s, transform .3s var(--ease-spring); }
.mood:hover { border-color: var(--ink-900); transform: translateY(-2px); }
.mood.is-active { background: var(--ink-900); border-color: var(--ink-900); color: #fff; }
.meet__facts { display: grid; gap: 8px; margin-top: 26px; color: var(--ink-600); font-size: 15px; }
.meet__facts b { color: var(--ink-900); font-weight: 600; }
.meet__stage { position: relative; display: grid; place-items: center; min-height: 560px; }
.bubble--meet { position: absolute; top: 4%; left: 50%; transform: translateX(-50%); width: min(92%, 380px); text-align: center; font-size: 16px; padding: 14px 18px; z-index: 3; }
.bubble--meet::after { left: 50%; margin-left: -8px; }
.peel--meet { margin-top: 70px; }
.meet__shadow { position: absolute; bottom: 4%; left: 50%; width: 220px; height: 26px; border-radius: 50%; background: radial-gradient(closest-side, rgba(17, 17, 17, .18), rgba(17, 17, 17, 0)); transform: translateX(-50%); animation: shadowBob 1.6s ease-in-out infinite alternate; }
@keyframes shadowBob { from { transform: translateX(-50%) scaleX(1); opacity: 1; } to { transform: translateX(-50%) scaleX(.9); opacity: .75; } }

/* ==========================================================================
   SCREENS RAIL
   ========================================================================== */
.screens { padding: 96px 0 40px; }
.screens__rail { display: flex; gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 16px max(var(--gutter), calc((100vw - var(--container)) / 2)) 36px; scrollbar-width: none; cursor: grab; -webkit-overflow-scrolling: touch; }
.screens__rail::-webkit-scrollbar { display: none; }
.screens__rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.phone--rail { --w: 250px; flex: none; scroll-snap-align: center; margin: 0; transition: transform .5s var(--ease-out); }
.phone--rail figcaption { position: absolute; left: 0; right: 0; top: calc(100% + 14px); text-align: center; font-size: 14px; color: var(--ink-600); }
.phone--rail figcaption b { color: var(--ink-900); font-weight: 600; }
.screens__rail figure:hover { transform: translateY(-6px); }

/* ==========================================================================
   PRICING
   ========================================================================== */
.pricing { padding: 128px 0 40px; }
.pricing__toggle-wrap { display: flex; justify-content: center; margin: -12px 0 36px; }
.pricing__toggle { position: relative; display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--ink-100); }
.pricing__toggle button { position: relative; z-index: 1; padding: 10px 18px; border-radius: 999px; font-family: var(--font-display); font-weight: 600; font-size: 14.5px; color: var(--ink-600); transition: color .3s; display: inline-flex; align-items: center; gap: 8px; }
.pricing__toggle button.is-active { color: #fff; }
.pricing__save { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--yellow-500); color: var(--ink-900); }
.pricing__thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: 100px; border-radius: 999px; background: var(--ink-900); transition: left .4s var(--ease-spring), width .4s var(--ease-spring); }
.pricing__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 900px; margin: 0 auto; align-items: start; }
.plan { position: relative; padding: 30px 30px 30px; display: grid; gap: 22px; }
.plan--premium { background: #fff; box-shadow: 0 0 0 2px var(--yellow-500), 0 24px 60px -30px rgba(253, 208, 6, .8), var(--shadow-card); }
.plan__crown { position: absolute; right: 18px; top: -46px; }
.plan__head h3 { font-size: 18px; color: var(--ink-600); font-weight: 600; letter-spacing: 0; }
.plan__price { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; }
.plan__amount { font-size: 54px; font-weight: 800; line-height: 1; display: inline-block; }
.plan__per { font-size: 15px; color: var(--ink-400); font-weight: 500; }
.plan__tag { margin-top: 8px; font-size: 14.5px; color: var(--ink-600); }
.plan__list { display: grid; gap: 10px; font-size: 15px; }
.plan__list li { display: block; position: relative; padding-left: 30px; }
.plan__list li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23111' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 8'/%3E%3C/svg%3E") center / 11px no-repeat; }
.plan--premium .plan__list li::before { background-color: var(--yellow-500); }
.plan__list small { color: var(--ink-400); font-weight: 500; }
.pricing__fine { max-width: 760px; margin: 28px auto 0; text-align: center; font-size: 13px; color: var(--ink-400); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding: 112px 0 64px; }
.faq__list { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--ink-100); }
.faq__item { border-bottom: 1px solid var(--ink-100); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: clamp(17px, 1.5vw, 20px); letter-spacing: -0.015em; }
.faq__plus { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--ink-200); transition: transform .4s var(--ease-out), background-color .3s, border-color .3s; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--ink-900); transform: translate(-50%, -50%); transition: transform .4s var(--ease-out); }
.faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__q[aria-expanded="true"] .faq__plus { background: var(--yellow-500); border-color: var(--yellow-500); transform: rotate(45deg); }
.faq__q:hover .faq__plus { border-color: var(--ink-900); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 4px 24px; color: var(--ink-600); font-size: 16px; max-width: 70ch; }
.faq__q[aria-expanded="true"] + .faq__a { grid-template-rows: 1fr; }

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.final { position: relative; background: var(--yellow-500); color: var(--ink-900); padding: 120px 0 0; overflow: hidden; }
.confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.final__inner { position: relative; display: grid; justify-items: center; text-align: center; gap: 12px; padding-bottom: 110px; }
.final__icon { width: 128px; height: 128px; border-radius: 30px; box-shadow: 0 30px 60px -20px rgba(17, 17, 17, .45); }
.final__title { font-size: clamp(44px, 7vw, 92px); letter-spacing: -0.045em; margin-top: 14px; }
.final__tag { font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 30px); font-weight: 500; letter-spacing: -0.02em; opacity: .85; }
.final .btn--store { margin-top: 18px; }
.final__note { font-size: 14px; font-weight: 500; opacity: .7; }
.peel--final { position: absolute; right: 4%; bottom: -8px; }
.btn--on-yellow { box-shadow: 0 18px 40px -16px rgba(17, 17, 17, .6); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--ink-900); color: #fff; padding: 64px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr 1fr; gap: 34px; }
.footer__brand { display: grid; gap: 14px; justify-items: start; }
.footer__brand p { color: rgba(255, 255, 255, .7); }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__col h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: rgba(255, 255, 255, .5); margin-bottom: 6px; }
.footer__col a { color: rgba(255, 255, 255, .85); font-size: 15px; width: fit-content; transition: color .2s; }
.footer__col a:hover { color: var(--yellow-500); }
.footer__bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); display: grid; gap: 6px; font-size: 12.5px; color: rgba(255, 255, 255, .5); }

/* ==========================================================================
   FILM MODAL
   ========================================================================== */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; isolation: isolate; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; z-index: 0; background: rgba(17, 17, 17, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.modal__panel { position: relative; z-index: 1; display: grid; gap: 14px; justify-items: center; will-change: transform; }
.modal__close { position: absolute; right: -6px; top: -6px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-sheet); transition: transform .3s var(--ease-spring); }
.modal__close:hover { transform: rotate(90deg); }
.modal__close svg { width: 18px; height: 18px; stroke: var(--ink-900); stroke-width: 2.2; stroke-linecap: round; fill: none; }

/* ==========================================================================
   PEEL RIG
   ========================================================================== */
.peel { position: relative; width: var(--size, 240px); aspect-ratio: 539 / 816; --tilt: 0deg; --arm: 0deg; }
.peel__stage { position: absolute; inset: 0; transform-origin: 50% 96%; transform: rotate(var(--tilt)); transition: transform .5s var(--ease-spring); animation: peelBob 1.7s ease-in-out infinite alternate; }
.peel__body { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.peel__arm { position: absolute; left: 61.967%; top: 42.402%; width: 22.078%; z-index: 0; transform-origin: 18.7% 75.5%; transform: rotate(var(--arm)); transition: transform .45s var(--ease-spring), opacity .3s; }
.peel[data-arm="rest"] .peel__arm { opacity: 0; --arm: 40deg; }
.peel[data-mood="wave"] .peel__arm { animation: peelWave .36s ease-in-out infinite alternate; }
.peel[data-mood="celebrate"] { --arm: -28deg; --tilt: -4deg; }
.peel[data-mood="celebrate"] .peel__arm { animation: peelCheer .5s ease-in-out infinite alternate; }
.peel[data-mood="happy"] { --arm: 4deg; }
.peel[data-mood="thinking"] { --tilt: -6deg; }
.peel[data-mood="sleepy"] { --tilt: 8deg; }
.peel[data-mood="worried"] { --tilt: 2deg; }
.peel[data-mood="shock"] { --tilt: -3deg; --arm: -34deg; }
.peel__face { position: absolute; left: 21.336%; top: 41.667%; width: 42.671%; height: 16.544%; z-index: 2; overflow: visible; }
.peel__eye { transform-box: fill-box; transform-origin: center; }
.peel__eye-lid { transform-box: fill-box; transform-origin: center; transition: transform .08s ease-out; }
.peel__mouth { fill: none; stroke: #1F1A12; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.peel__mouth-fill { fill: #5E1F22; }
.peel__cheek { fill: #F58A8A; opacity: .78; transition: transform .4s var(--ease-spring); transform-box: fill-box; transform-origin: center; }
.peel[data-mood="happy"] .peel__cheek, .peel[data-mood="celebrate"] .peel__cheek { transform: scale(1.15); }
.peel__extra { position: absolute; z-index: 3; opacity: 0; transition: opacity .3s; pointer-events: none; }
.peel__dots { right: -6%; top: 8%; display: flex; gap: 6px; padding: 8px 12px; background: #fff; border: 1px solid var(--ink-200); border-radius: 999px; box-shadow: var(--shadow-card); }
.peel__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-600); animation: dots 1s ease-in-out infinite; }
.peel__dots i:nth-child(2) { animation-delay: .33s; } .peel__dots i:nth-child(3) { animation-delay: .66s; }
@keyframes dots { 0%, 100% { transform: scale(.8); opacity: .5; } 33% { transform: scale(1.35); opacity: 1; } }
.peel__zzz { right: -2%; top: 10%; font-family: var(--font-num); font-weight: 800; color: var(--ink-600); line-height: .9; animation: zfloat 1.6s ease-in-out infinite alternate; }
.peel__zzz span { display: block; }
.peel__zzz span:nth-child(1) { font-size: .9em; margin-left: 1.2em; } .peel__zzz span:nth-child(2) { font-size: 1.25em; margin-left: .6em; } .peel__zzz span:nth-child(3) { font-size: 1.7em; }
@keyframes zfloat { from { transform: translateY(0); } to { transform: translateY(-12px); } }
.peel[data-mood="thinking"] .peel__dots, .peel[data-mood="sleepy"] .peel__zzz { opacity: 1; }
.peel__crown { position: absolute; left: 46%; top: -6%; width: 34%; z-index: 4; transform: rotate(-14deg); filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .18)); }
.peel__sparkles { position: absolute; inset: -10%; z-index: 0; pointer-events: none; }
.peel__sparkles i { position: absolute; left: var(--x); top: var(--y); width: 14px; height: 14px; background: var(--yellow-500); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: twinkle 1.8s ease-in-out infinite; animation-delay: var(--d); opacity: 0; }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.4) rotate(0); } 50% { opacity: 1; transform: scale(1) rotate(30deg); } }
@keyframes peelBob { from { transform: rotate(var(--tilt)) translateY(0) scale(1, 1); } to { transform: rotate(var(--tilt)) translateY(-2.5%) scale(1.01, .99); } }
@keyframes peelWave { from { transform: rotate(-12deg); } to { transform: rotate(14deg); } }
@keyframes peelCheer { from { transform: rotate(-22deg); } to { transform: rotate(-34deg); } }
.peel--hero { filter: drop-shadow(0 24px 24px rgba(17, 17, 17, .18)); }
.peel--gag { filter: drop-shadow(0 20px 20px rgba(17, 17, 17, .16)); }
.peel--meet { filter: drop-shadow(0 30px 30px rgba(17, 17, 17, .16)); }
.peel--final { filter: drop-shadow(0 16px 16px rgba(17, 17, 17, .2)); }
.peel--plan { filter: drop-shadow(0 8px 10px rgba(17, 17, 17, .18)); }

/* ==========================================================================
   MOTION PREFERENCES
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .peel__stage, .peel__arm, .marquee__track, .sunrise::before, .sunrise::after, .hero__orbit, .barcode__line, .voice__wave i, .meet__shadow, .peel__zzz, .peel__dots i, .eyebrow__dot, .hero__scroll span, .peel__sparkles i { animation: none !important; }
  .peel__sparkles i { opacity: .8; }
  html.js [data-reveal], html.js [data-reveal-children] > *, html.js [data-hero] { opacity: 1; transform: none; }
  .btn, .promise, .bento__grid > .card, .phone--rail { transition: none; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .bento__grid { grid-template-columns: repeat(2, 1fr); }
  .bento__ring { grid-column: span 2; grid-row: auto; }
  .bento__privacy { grid-column: span 2; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__actions .btn { display: none; }
  .hero { padding-top: calc(var(--nav-h) + 24px); }
  .hero__grid { grid-template-columns: 1fr; gap: 12px; }
  .hero__copy { max-width: 100%; text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero__title { font-size: clamp(44px, 12vw, 84px); }
  .hero__cta { justify-content: center; }
  .hero__trust { justify-content: center; }
  .hero__scene { height: clamp(500px, 78vw, 640px); margin-top: 18px; }
  .phone--hero { --w: clamp(220px, 38vw, 280px); }
  .chip--result { left: 0; top: 6%; }
  .chip--edit { right: 0; top: 44%; }
  .chip--streak { right: 4%; top: 2%; }
  .hero__peel { left: 0; bottom: -4%; }
  .peel--hero { --size: 150px !important; }
  .hero__scroll { display: none; }
  .promises__grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .meet__grid { grid-template-columns: 1fr; }
  .meet__copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .moods { justify-content: center; }
  .meet__facts { text-align: left; }
  .meet__stage { min-height: 520px; }
  .pricing__grid { grid-template-columns: 1fr; max-width: 520px; }
  .plan__crown { right: 14px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  h2 { font-size: clamp(32px, 9vw, 44px); }
  .hero__sub { font-size: 17px; }
  .hero__scene { height: clamp(480px, 118vw, 560px); }
  .chip--result { width: 180px; padding: 10px 12px; }
  .chip--result .chip__kcal { font-size: 22px; }
  .chip--edit { font-size: 12px; padding: 10px 12px; }
  .bubble--hero { left: 64%; top: -14%; font-size: 14px; }
  .marquee__track { font-size: 17px; gap: 26px; }
  .story { height: 380vh; }
  .story__peel { height: min(38vh, 300px); }
  .scan { width: min(78vw, 42vh); }
  .scan__result { bottom: -18%; }
  .bento__grid { grid-template-columns: 1fr; }
  .bento__ring, .bento__privacy { grid-column: auto; }
  .macros { grid-template-columns: 1fr; gap: 8px; }
  .gag__stage { height: 400px; }
  .peel--gag { --size: 250px !important; }
  .corners--gag { width: 230px; height: 340px; left: calc(50% - 115px); top: calc(50% - 170px); }
  .gag__card { right: -2%; top: 20%; padding: 12px 14px; }
  .gag__bubble { font-size: 18px; left: 0; top: 10%; }
  .meet__stage { min-height: 460px; }
  .peel--meet { --size: 300px !important; }
  .bubble--meet { font-size: 15px; }
  .phone--rail { --w: 210px; }
  .screens__rail { gap: 22px; }
  .plan { padding: 24px 22px; }
  .plan__amount { font-size: 46px; }
  .final__inner { padding-bottom: 150px; }
  .peel--final { --size: 170px !important; right: 2%; }
  .modal__close { right: 6px; top: 6px; }
}

/* ---------- late additions ---------- */
.confetti--fixed { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 150; pointer-events: none; }
.stepper__value b, .stepper__kcal b, .plan__per, .plan__amount, .btn [data-annual] { display: inline-block; }
.screens__rail img { -webkit-user-drag: none; user-select: none; }
.peel.is-hopping { animation: peelHop .6s var(--ease-out); }
@keyframes peelHop { 0% { transform: translateY(0); } 35% { transform: translateY(-9%) scale(1.02, .98); } 100% { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .story { height: auto; }
  .story__pin { position: static; height: auto; overflow: visible; }
  .story__stage { display: grid; gap: 56px; padding: 80px 0; }
  .story__scene { position: static; visibility: visible !important; padding: 0 var(--gutter); gap: 24px; }
  .chaos { position: static; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; max-width: 760px; margin: 0 auto; }
  .chaos span { position: static; transform: none; }
  .story__peel-sleepy, .zzz, .scan__beam, .scan__flash { display: none; }
  .scan { margin-bottom: 90px; }
  .scan__result { opacity: 1; transform: translate(-50%, 0); }
  .story__punch--after { opacity: 1; }
}

/* static fallback (no GSAP, or reduced motion): show everything the choreography would reveal */
html:not(.js) .corners--gag, html:not(.js) .gag__card, html:not(.js) .gag__bubble, html:not(.js) .timer__done,
html:not(.js) .scan__result, html:not(.js) .story__punch--after { opacity: 1; }
html:not(.js) .gag__card, html:not(.js) .gag__bubble, html:not(.js) .timer__done { transform: none; }
html:not(.js) .corners--gag { transform: none; }
html:not(.js) .scan__result { transform: translate(-50%, 0); }
html:not(.js) .barcode__hit, html:not(.js) .voice__chips .pill { opacity: 1; transform: none; }
html:not(.js) .spark__line { stroke-dashoffset: 0; }
html:not(.js) .spark__area, html:not(.js) .spark__dot { opacity: 1; }
html:not(.js) .ring__fill { stroke-dashoffset: 226.6; }
html:not(.js) .macro--protein .macro__fill { stroke-dashoffset: 59.4; }
html:not(.js) .macro--carbs .macro__fill { stroke-dashoffset: 30.3; }
html:not(.js) .macro--fat .macro__fill { stroke-dashoffset: 97; }
html:not(.js) .toggle[data-on="true"] { background: var(--success); }
html:not(.js) .toggle[data-on="true"] i { transform: translateX(18px); }

/* ==========================================================================
   WAITLIST MODAL
   ========================================================================== */
.modal--waitlist .modal__panel { width: min(92vw, 480px); display: block; }
.wl { position: relative; background: #fff; border-radius: var(--r-2xl); padding: 34px 32px 28px; box-shadow: var(--shadow-sheet); }
.wl__close { right: 14px; top: 14px; box-shadow: none; background: var(--surface); }
.wl__peel { position: absolute; right: 52px; top: -112px; pointer-events: none; z-index: 1; }
.modal--waitlist { padding-top: 124px; }
.wl .eyebrow { margin-bottom: 0; }
.wl__title { font-size: 34px; letter-spacing: -0.035em; margin: 14px 0 10px; }
.wl__sub { color: var(--ink-600); font-size: 16px; text-wrap: pretty; }
.wl__form { display: grid; gap: 10px; margin-top: 22px; }
.wl__input { width: 100%; height: 54px; border-radius: 999px; border: 1.5px solid var(--ink-200); padding: 0 20px; font: inherit; font-size: 16px; color: var(--ink-900); background: var(--surface); transition: border-color .2s, background-color .2s, box-shadow .2s; }
.wl__input::placeholder { color: var(--ink-400); }
.wl__input:focus { outline: none; border-color: var(--ink-900); background: #fff; box-shadow: 0 0 0 4px rgba(253, 208, 6, .35); }
.wl__input.is-invalid { border-color: var(--danger); }
.wl__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wl__submit { height: 54px; }
.wl__spinner { display: none; width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: spin1 .8s linear infinite; }
.wl__form.is-loading .wl__spinner { display: inline-block; }
.wl__form.is-loading .wl__submit { pointer-events: none; opacity: .85; }
@keyframes spin1 { to { transform: rotate(360deg); } }
.wl__error { color: var(--danger); font-size: 14px; font-weight: 500; line-height: 1.45; }
.wl__error a { text-decoration: underline; text-underline-offset: 3px; }
.wl__fine { margin-top: 14px; font-size: 12.5px; color: var(--ink-400); }
.wl__done { text-align: center; padding: 10px 0 4px; display: grid; justify-items: center; }
.wl__done-actions { display: grid; gap: 12px; justify-items: center; margin-top: 20px; }
.faq__link { color: var(--yellow-800); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }
.faq__link:hover { color: var(--ink-900); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.confetti--fixed { z-index: 300; }
@media (max-width: 640px) {
  .wl { padding: 28px 22px 22px; }
  .wl__peel { right: 40px; top: -104px; }
  .peel--wl { --size: 110px !important; }
  .modal--waitlist { padding-top: 112px; }
  .wl__title { font-size: 28px; }
}
/* waitlist modal: outrank experience.css's modal padding and close-button offsets */
.modal--waitlist .modal__panel { padding: 34px 32px 28px; }
.modal--waitlist .modal__close { right: 14px; top: 14px; box-shadow: none; background: var(--surface); }
.modal--waitlist .modal__close:hover { transform: rotate(90deg); }
.modal--waitlist .wl__title { font-family: var(--font-display); font-weight: 700; }
.wl__done { padding: 10px 44px 4px; }

/* waitlist entrance: pure CSS so a paused frame loop can never leave the panel half-faded */
.modal--waitlist:not([hidden]) .modal__panel { animation: wlIn .45s cubic-bezier(.22, 1, .36, 1) both; }
.modal--waitlist:not([hidden]) .modal__backdrop { animation: wlFade .3s ease-out both; }
@keyframes wlIn { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes wlFade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .modal--waitlist:not([hidden]) .modal__panel, .modal--waitlist:not([hidden]) .modal__backdrop { animation: none; } }
html.motion-paused .modal--waitlist:not([hidden]) .modal__panel, html.motion-paused .modal--waitlist:not([hidden]) .modal__backdrop { animation: none; }

/* ==========================================================================
   SUBPAGES (product pages, about, 404): the privacy page's document layout, shared
   ========================================================================== */
.subpage .nav__links { display: flex; }
.subpage .nav__burger { display: none; }
.doc { padding: calc(var(--nav-h) + 56px) 0 96px; }
.doc__inner { max-width: 720px; margin: 0 auto; }
.doc h1 { font-size: clamp(40px, 6vw, 68px); letter-spacing: -0.04em; margin: 16px 0 12px; }
.doc .lede { font-size: 19px; color: var(--ink-600); margin-bottom: 40px; }
.doc h2 { font-size: 26px; margin: 44px 0 12px; }
.doc h3 { font-size: 19px; margin: 26px 0 6px; letter-spacing: -0.01em; }
.doc p:not([class]), .doc li:not([class]) { color: var(--ink-800); font-size: 16.5px; }
.doc p + p { margin-top: 12px; }
.doc ul { display: grid; gap: 8px; padding-left: 0; margin: 12px 0; }
/* The bullet is positioned rather than being a flex item, so a bold lead and the sentence after it
   stay in one flowing line of text instead of becoming two columns. */
.doc ul li { display: block; position: relative; padding-left: 22px; }
.doc ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow-500); }
.doc .meta { font-size: 13px; color: var(--ink-400); }
.doc a { color: var(--yellow-800); text-decoration: underline; text-underline-offset: 3px; }
.doc a:hover { color: var(--ink-900); }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--ink-100); vertical-align: top; }
.doc th { font-family: var(--font-display); font-weight: 600; color: var(--ink-600); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.doc .steps { counter-reset: step; list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 14px; }
.doc .steps li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.doc .steps li::before { counter-increment: step; content: counter(step); width: 36px; height: 36px; border-radius: 50%; background: var(--yellow-500); color: var(--ink-900); font-family: var(--font-display); font-weight: 700; display: grid; place-items: center; }
.doc .steps b { display: block; margin-bottom: 2px; }
.doc .callout { background: var(--surface); border-left: 4px solid var(--yellow-500); border-radius: 0 18px 18px 0; padding: 16px 20px; margin: 20px 0; }
.doc .callout p { margin: 0; }
.doc .labels { display: grid; gap: 10px; margin: 16px 0; }
.doc .labels div { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 12px 14px; border: 1px solid var(--ink-100); border-radius: 16px; }
.doc .labels .badge { margin-top: 2px; }
.doc-cta { position: relative; background: var(--yellow-500); color: var(--ink-900); border-radius: 28px; padding: 32px; margin-top: 56px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; overflow: hidden; }
.doc-cta h2 { margin: 0 0 8px; font-size: 28px; }
.doc-cta p { margin: 0 0 18px; color: rgba(17, 17, 17, .75); }
.doc-cta .peel { margin-right: -6px; }
.doc-related { margin-top: 40px; display: grid; gap: 10px; }
.doc-related h2 { margin: 0 0 4px; font-size: 20px; }
.doc-related a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--ink-100); border-radius: 16px; font-weight: 600; color: var(--ink-900); text-decoration: none; transition: border-color .2s, transform .3s var(--ease-spring); }
.doc-related a:hover { border-color: var(--ink-900); transform: translateX(3px); color: var(--ink-900); }
.doc-related a span { color: var(--ink-400); font-weight: 500; font-size: 14px; }
.doc-related a::after { content: "↗"; color: var(--ink-400); }
.notfound { text-align: center; display: grid; justify-items: center; }
.notfound .peel { margin: 10px 0 18px; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 22px 0 32px; }
.notfound ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
.notfound ul li::before { display: none; }
@media (max-width: 960px) {
  .subpage .nav__links { display: none; }
  .subpage .nav__actions .btn { display: inline-flex; }
}
@media (max-width: 640px) {
  .doc-cta { grid-template-columns: 1fr; padding: 26px 22px; }
  .doc-cta .peel { display: none; }
  .doc .steps li { grid-template-columns: 30px 1fr; }
  .doc .steps li::before { width: 30px; height: 30px; }
}
.doc .btn { text-decoration: none; }
.doc .btn--ink, .doc .btn--ink:hover { color: #fff; }
.doc .btn--outline:hover { color: #fff; }

/* ==========================================================================
   BLOG
   ========================================================================== */
.post-list { display: grid; gap: 14px; margin: 8px 0 28px; }
.post-card { padding: 22px 24px; border: 1px solid var(--ink-100); border-radius: 22px; background: #fff; transition: border-color .2s, transform .35s var(--ease-spring), box-shadow .35s; }
.post-card:hover { border-color: var(--ink-900); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.post-card__meta { font-size: 13px; color: var(--ink-400); font-weight: 500; margin: 0 0 6px; }
.post-card__title { font-size: 24px; margin: 0 0 8px; letter-spacing: -0.025em; }
.post-card__title a { color: var(--ink-900); text-decoration: none; }
.post-card__title a:hover { color: var(--yellow-800); }
.post-card__excerpt { color: var(--ink-600); font-size: 15.5px; margin: 0; }
.post-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; }
.doc .pill, .doc .pill:hover { text-decoration: none; color: var(--ink-800); }
.doc .pill:hover { border-color: var(--ink-900); }
.doc .pill span { color: var(--ink-400); margin-left: 4px; }
.post-list--compact .post-card { padding: 16px 18px; }
.post-list--compact .post-card__title { font-size: 19px; }
.post-list--compact .post-card__excerpt { font-size: 14.5px; }
.post-list--compact .post-card__tags { display: none; }
.post__meta { font-size: 14px; color: var(--ink-400); font-weight: 500; margin: -28px 0 28px; }
.post__toc { border: 1px solid var(--ink-100); border-radius: 18px; padding: 16px 20px; margin: 0 0 32px; background: var(--surface); }
.post__toc-title { font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-600); margin: 0 0 8px; }
.post__toc ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; font-size: 15px; }
.post__toc a { color: var(--ink-800); text-decoration: none; }
.post__toc a:hover { color: var(--yellow-800); text-decoration: underline; }
.post__body > * + * { margin-top: 14px; }
.post__body h2 { margin-top: 40px; }
.post__body h3 { margin-top: 26px; }
.post__body ol { padding-left: 22px; display: grid; gap: 8px; margin: 12px 0; }
.post__body ol li { color: var(--ink-800); font-size: 16.5px; }
.post__body ul ul, .post__body ol ol { margin: 6px 0 0; }
.post__body figure { margin: 24px 0; }
.post__body figure img { width: 100%; height: auto; border-radius: 18px; }
.post__body figcaption { font-size: 13.5px; color: var(--ink-400); margin-top: 8px; text-align: center; }
.post__body img { max-width: 100%; height: auto; border-radius: 18px; }
.post__body pre { background: var(--ink-900); color: #fff; padding: 16px 18px; border-radius: 16px; overflow-x: auto; font-size: 14px; line-height: 1.5; }
.post__body code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; }
.post__body p code, .post__body li code { background: var(--surface); padding: 2px 6px; border-radius: 6px; }
.post__body blockquote.callout { margin: 20px 0; }
.post__body blockquote.callout p { color: var(--ink-800); }
.post__body hr { border: 0; border-top: 1px solid var(--ink-100); margin: 32px 0; }
.post__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 36px; font-size: 14px; color: var(--ink-400); }
.post-related { margin-top: 48px; }
.post-related h2 { font-size: 22px; margin: 0 0 12px; }
.post__back { margin-top: 28px; font-size: 14px; color: var(--ink-400); }
.pagination { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 8px 0 28px; font-size: 14px; color: var(--ink-400); font-weight: 500; }
.pagination a { color: var(--ink-900); font-weight: 600; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 8px; }
.tag-cloud h2 { flex-basis: 100%; font-size: 18px; margin: 0 0 4px; }
@media (max-width: 640px) {
  .post-card { padding: 18px; border-radius: 18px; }
  .post-card__title { font-size: 21px; }
}
.blog-page .eyebrow time { white-space: nowrap; }
/* post and index labels are running text ("Photo logging — 16 September 2026"): flow and wrap as text, not as flex columns */
.blog-page .doc .eyebrow { display: block; }
/* author card at the foot of a post */
.author-card { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; margin-top: 36px; padding: 20px 22px; border: 1px solid var(--ink-100); border-radius: 20px; background: var(--surface); }
.author-card img { border-radius: 14px; }
.author-card__name { font-family: var(--font-display); font-weight: 700; font-size: 16px; margin: 0 0 4px; color: var(--ink-900); }
.author-card__name a { color: var(--ink-900); text-decoration: none; border-bottom: 2px solid var(--yellow-500); }
.author-card__name a:hover { color: var(--yellow-800); }
.author-card__bio { margin: 0; font-size: 14.5px; color: var(--ink-600); line-height: 1.65; }
.post__author { color: var(--ink-900); text-decoration: none; border-bottom: 1px solid var(--ink-200); }
.post__author:hover { border-color: var(--ink-900); }
@media (max-width: 640px) { .author-card { grid-template-columns: 1fr; } .author-card img { display: none; } }
/* explore: the four deeper pages, linked from the homepage body */
.explore { padding: 96px 0 40px; }
.explore__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.explore__card { position: relative; display: block; padding: 26px 28px 24px; border: 1px solid var(--ink-100); border-radius: 24px; background: #fff; text-decoration: none; color: var(--ink-900); transition: border-color .25s, transform .4s var(--ease-spring), box-shadow .4s; }
.explore__card:hover { border-color: var(--ink-900); transform: translateY(-3px); box-shadow: var(--shadow-card); }
.explore__num { font-family: var(--font-num); font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--yellow-800); }
.explore__card h3 { font-size: 23px; margin: 8px 0 8px; letter-spacing: -0.025em; }
.explore__card p { color: var(--ink-600); font-size: 15px; margin: 0 0 14px; }
.explore__go { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--ink-900); }
.explore__card:hover .explore__go { color: var(--yellow-800); }
@media (max-width: 760px) { .explore__grid { grid-template-columns: 1fr; } .explore { padding-top: 72px; } }

/* ==========================================================================
   FAITH AND GIVING
   ========================================================================== */
.faith-page .doc__inner { max-width: 760px; }
.faith-hero { position: relative; display: grid; grid-template-columns: 262px 1fr; gap: 40px; align-items: center; margin: 10px 0 44px; padding: 40px 36px; border-radius: 30px; overflow: hidden; background: linear-gradient(160deg, #FFFBEC 0%, #FFF4CE 45%, #FFFDF7 100%); border: 1px solid rgba(177, 146, 4, .18); }
.faith-hero::before { content: ""; position: absolute; inset: -40% -20% auto; height: 120%; background: radial-gradient(60% 55% at 22% 18%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 70%); pointer-events: none; }
.faith-hero__glass { position: relative; }
.glass { width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(142, 116, 3, .22)); }
.glass__panes path, .glass__panes circle { transform-origin: 160px 230px; }
.glass__halo { animation: glassGlow 7s ease-in-out infinite alternate; transform-origin: center; }
@keyframes glassGlow { from { opacity: .35; } to { opacity: .9; } }
.glass__rays path { fill: #fff; opacity: .28; mix-blend-mode: soft-light; animation: rayDrift 9s ease-in-out infinite alternate; }
.glass__rays path:nth-child(2) { animation-duration: 11s; opacity: .2; }
.glass__rays path:nth-child(3) { animation-duration: 13s; opacity: .24; }
@keyframes rayDrift { from { transform: translateX(-6px) scaleY(.96); opacity: .12; } to { transform: translateX(6px) scaleY(1); opacity: .34; } }
.faith-hero__words h1 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.04; letter-spacing: -0.04em; margin: 10px 0 20px; text-wrap: balance; }
.faith-hero__words h1 em { display: block; color: var(--yellow-800); }
.verse { position: relative; margin: 26px 0; padding: 20px 24px 20px 30px; border-left: 3px solid var(--yellow-500); background: transparent; }
.verse p { font-family: var(--font-serif); font-style: italic; font-size: clamp(19px, 2.3vw, 25px); line-height: 1.45; color: var(--ink-900); margin: 0 0 10px; text-wrap: pretty; }
.verse cite { font-family: var(--font-display); font-style: normal; font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-400); }
.verse--lead { margin: 0; padding-left: 26px; }
.verse--lead p { font-size: clamp(18px, 2vw, 22px); }
.verse--close { text-align: center; border-left: 0; border-top: 1px solid var(--ink-100); border-bottom: 1px solid var(--ink-100); padding: 28px 24px; margin-top: 44px; }
.verse--close p { font-size: clamp(24px, 3.4vw, 34px); }
.tithe { position: relative; display: grid; place-items: center; width: min(260px, 70vw); margin: 30px auto 8px; }
.tithe__ring { width: 100%; height: auto; }
.tithe__track { fill: none; stroke: var(--ink-100); stroke-width: 18; }
.tithe__fill { fill: none; stroke: var(--yellow-500); stroke-width: 18; stroke-linecap: round; stroke-dasharray: 578; stroke-dashoffset: 520; transform: rotate(-90deg); transform-origin: 50% 50%; filter: drop-shadow(0 0 10px rgba(253, 208, 6, .55)); animation: titheFill 1.6s cubic-bezier(.22,1,.36,1) both; }
@keyframes titheFill { from { stroke-dashoffset: 578; } to { stroke-dashoffset: 520; } }
.tithe__center { position: absolute; display: grid; place-items: center; text-align: center; }
.tithe__num { font-family: var(--font-num); font-size: 52px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink-900); line-height: 1; }
.tithe__label { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--ink-600); margin-top: 6px; }
.tithe__caption { text-align: center; font-size: 13px; color: var(--ink-400); margin: 0 0 8px; }
.faith-page .doc ul li::before { background: var(--yellow-600); }
.footer__verse { display: inline-flex; align-items: center; gap: 8px; color: #d0d6c6; font-size: 12px; text-decoration: none; }
.footer__verse::before { content: ""; width: 14px; height: 1px; background: var(--yellow-500); }
.footer__verse:hover { color: var(--yellow-500); }
@media (prefers-reduced-motion: reduce) {
  .glass__halo, .glass__rays path, .tithe__fill { animation: none; }
  .tithe__fill { stroke-dashoffset: 520; }
}
@media (max-width: 760px) {
  .faith-hero { grid-template-columns: 1fr; gap: 26px; padding: 28px 22px; text-align: center; }
  .faith-hero__glass { width: min(230px, 62vw); margin: 0 auto; }
  .verse--lead { text-align: left; }
  .faith-hero__words h1 em { display: inline; }
}

/* ==========================================================================
   CALORIE CALCULATOR
   ========================================================================== */
.calculator-page .doc__inner { max-width: 1060px !important; }
.calcx { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 26px; align-items: start; margin: 6px 0 40px; }

/* inputs */
.calcx__inputs { display: grid; gap: 14px; }
.calcx__block { border: 1px solid var(--ink-100); border-radius: 22px; padding: 18px 20px 20px; margin: 0; background: #fff; }
.calcx__block legend { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: -0.01em; color: var(--ink-900); padding: 0 8px; margin-left: -4px; }
.calcx__two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.calcx__cell { min-width: 0; }
.calcx__label { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-400); margin-bottom: 7px; }
.calcx__swap { font-size: 10.5px; font-weight: 600; letter-spacing: .04em; text-transform: none; color: var(--yellow-800); border-bottom: 1px solid rgba(142, 116, 3, .35); }
.calcx__swap:hover { color: var(--ink-900); border-color: var(--ink-900); }
.calcx__input { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--ink-200); border-radius: 14px; background: var(--surface); padding: 0 14px 0 0; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.calcx__input:focus-within { border-color: var(--ink-900); background: #fff; box-shadow: 0 0 0 4px rgba(253, 208, 6, .3); }
.calcx__input input { font-family: var(--font-num); font-size: 21px; font-weight: 800; color: var(--ink-900); border: 0; background: none; padding: 12px 0 12px 14px; width: 100%; min-width: 0; -moz-appearance: textfield; }
.calcx__input input::-webkit-outer-spin-button, .calcx__input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calcx__input input:focus { outline: none; }
.calcx__input span { font-size: 13px; color: var(--ink-400); font-weight: 600; flex: none; }
.calcx__input--split input { max-width: 58px; padding-left: 14px; }
.calcx .calcx__note { font-size: 12.5px !important; color: var(--ink-400); margin: 10px 0 0; }
.seg { display: flex; gap: 6px; }
.seg label { position: relative; flex: 1; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 11px 8px; border: 1.5px solid var(--ink-200); border-radius: 12px; font-weight: 600; font-size: 14.5px; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, transform .25s var(--ease-spring); }
.seg span:hover { border-color: var(--ink-900); }
.seg input:checked + span { background: var(--ink-900); border-color: var(--ink-900); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--yellow-500); outline-offset: 2px; }
.levels { display: grid; gap: 7px; }
.levels label { position: relative; }
.levels input { position: absolute; opacity: 0; pointer-events: none; }
.levels span { display: flex; flex-direction: column; gap: 1px; padding: 11px 14px; border: 1.5px solid var(--ink-200); border-radius: 14px; cursor: pointer; transition: border-color .2s, background-color .2s; }
.levels b { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.levels small { font-size: 12.5px; color: var(--ink-400); }
.levels span:hover { border-color: var(--ink-600); }
.levels input:checked + span { border-color: var(--ink-900); background: var(--yellow-100); }
.levels input:checked + span small { color: var(--yellow-800); }
.levels input:focus-visible + span { outline: 3px solid var(--yellow-500); outline-offset: 2px; }
#paceField { margin-top: 16px; }
.paces { display: flex; flex-wrap: wrap; gap: 6px; }
.paces label { position: relative; }
.paces input { position: absolute; opacity: 0; pointer-events: none; }
.paces span { display: block; padding: 9px 14px; border: 1.5px solid var(--ink-200); border-radius: 999px; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; white-space: nowrap; }
.paces input:checked + span { background: var(--yellow-500); border-color: var(--yellow-500); color: var(--ink-900); }
.paces input:focus-visible + span { outline: 3px solid var(--ink-900); outline-offset: 2px; }

/* the result panel */
.calcx__side { align-self: stretch; }
.panel { position: sticky; top: 84px; border-radius: 28px; background: #16160F; color: #fff; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(22, 22, 15, .7); }
.panel::before { content: ""; position: absolute; inset: -60% -30% auto; height: 120%; background: radial-gradient(52% 44% at 50% 0%, rgba(253, 208, 6, .26), rgba(253, 208, 6, 0) 70%); pointer-events: none; }
.panel__inner { position: relative; padding: 26px 26px 24px; }
.panel .panel__eyebrow { font-family: var(--font-display); font-size: 11px !important; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .62); margin: 0; text-align: center; }
.panel__dial { position: relative; display: grid; place-items: center; width: min(250px, 78%); margin: 4px auto 0; }
.dial { width: 100%; height: auto; }
.dial__track { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 15; }
.dial__fill { fill: none; stroke: var(--yellow-500); stroke-width: 15; stroke-linecap: round; stroke-dasharray: 578; stroke-dashoffset: 160; transform: rotate(-90deg); transform-origin: 50% 50%; filter: drop-shadow(0 0 12px rgba(253, 208, 6, .5)); transition: stroke-dashoffset .7s var(--ease-out); }
.dial__over { fill: none; stroke: #FFDD47; stroke-width: 7; stroke-linecap: round; stroke-dasharray: 477.5; stroke-dashoffset: 477.5; transform: rotate(-90deg); transform-origin: 50% 50%; opacity: .85; transition: stroke-dashoffset .7s var(--ease-out); }
.panel__center { position: absolute; display: grid; place-items: center; text-align: center; }
.panel .panel__big { font-family: var(--font-num); font-size: clamp(42px, 6vw, 56px); font-weight: 800; letter-spacing: -0.035em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.panel .panel__unit { font-family: var(--font-display); font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, .62); margin-top: 6px; }
.panel .panel__sub { text-align: center; font-size: 14px !important; color: rgba(255, 255, 255, .78); margin: 12px 4px 0; line-height: 1.55; }
.macros3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 20px; }
.macro3 { position: relative; background: rgba(255, 255, 255, .06); border-radius: 14px; padding: 12px 12px 14px; overflow: hidden; }
.panel .macro3__n { display: block; font-family: var(--font-num); font-size: 22px; font-weight: 800; color: #fff; }
.panel .macro3__n::after { content: "g"; font-size: 12px; color: rgba(255, 255, 255, .5); margin-left: 2px; }
.panel .macro3__l { display: block; font-size: 11.5px; color: rgba(255, 255, 255, .62); margin-top: 1px; }
.macro3 i { position: absolute; left: 0; bottom: 0; height: 3px; width: var(--w); background: var(--c); }
.macro3--p { --c: #FF7070; }
.macro3--c { --c: var(--yellow-500); }
.macro3--f { --c: #6B93FF; }
.ledger { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); }
.panel .ledger__title { font-family: var(--font-display); font-size: 11px !important; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .58); margin: 0 0 10px; }
.ledger__track { position: relative; }
.ledger__bar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; background: rgba(255, 255, 255, .08); }
.ledger__rest { width: var(--w); background: rgba(255, 255, 255, .42); transition: width .6s var(--ease-out); }
.ledger__move { width: var(--w); background: var(--yellow-500); transition: width .6s var(--ease-out); }
.ledger__mark { position: absolute; top: -4px; bottom: -4px; left: var(--x); width: 3px; border-radius: 2px; background: #fff; box-shadow: 0 0 0 2px #16160F; transition: left .6s var(--ease-out); }
.panel .ledger__keys { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: 12.5px; color: rgba(255, 255, 255, .66); }
.panel .ledger__keys span { display: inline-flex; align-items: center; gap: 6px; }
.panel .ledger__keys b { font-family: var(--font-num); color: #fff; font-weight: 700; }
.k { width: 9px; height: 9px; border-radius: 3px; flex: none; }
.k--rest { background: rgba(255, 255, 255, .42); }
.k--move { background: var(--yellow-500); }
.k--mark { background: #fff; width: 3px; height: 12px; border-radius: 2px; }
.panel .panel__bananas { margin: 16px 0 0; font-size: 13px !important; color: rgba(255, 255, 255, .66); text-align: center; }
.panel .panel__flag { margin: 14px 0 0; padding: 11px 14px; background: rgba(253, 208, 6, .14); border-radius: 12px; font-size: 13px !important; line-height: 1.6; color: #FFE680; }
.panel .panel__peel { display: flex; align-items: center; gap: 12px; margin: 16px 0 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px !important; line-height: 1.55; color: rgba(255, 255, 255, .78); }
.panel .panel__peel .peel { flex: none; }
@media (max-width: 1000px) {
  .calcx { grid-template-columns: 1fr; }
  .calcx__side { align-self: auto; }
  .panel { position: relative; top: auto; }
  .panel__dial { width: min(230px, 70%); }
}
@media (max-width: 560px) {
  .calcx__two { grid-template-columns: 1fr; }
  .calcx__block { padding: 16px 16px 18px; border-radius: 18px; }
  .panel__inner { padding: 22px 18px 20px; }
  .macros3 { gap: 6px; }
  .macro3 { padding: 10px 10px 12px; }
}
