/* bitecountapp.com, following the BiteCount Brand Guidelines (v1.0):
 * headers in All Round Gothic Demi, sub-headers in Gilroy Bold, body and
 * buttons in Gilroy; #FF681E primary, #069C56 secondary, #1E1E24 tertiary,
 * #F7F2F0 cream. Section backgrounds come from the admin panel's theme
 * picker (theme-cream / white / sand / dark / orange).
 *
 * Phone first: base rules are the phone layout; wider screens add to it at
 * 768px (tablet) and 1024px (desktop). */

@font-face { font-family: 'Gilroy'; font-weight: 400; font-display: swap; src: url('/assets/fonts/gilroy-regular.woff2') format('woff2'); }
@font-face { font-family: 'Gilroy'; font-weight: 600; font-display: swap; src: url('/assets/fonts/gilroy-semibold.woff2') format('woff2'); }
@font-face { font-family: 'Gilroy'; font-weight: 700; font-display: swap; src: url('/assets/fonts/gilroy-bold.woff2') format('woff2'); }
@font-face { font-family: 'All Round Gothic'; font-weight: 600; font-display: swap; src: url('/assets/fonts/allroundgothic-demi.woff2') format('woff2'); }

:root {
  --orange: #FF681E;
  --orange-hover: #F25A10;
  --orange-deep: #C4470A;   /* small orange text on light backgrounds */
  --orange-text: #E5540D;   /* large orange text on light backgrounds */
  --green: #069C56;
  --ink: #1E1E24;
  --ink-2: #4A4A55;
  --ink-3: #6E6E78;
  --cream: #F7F2F0;
  --sand: #F1E8E3;
  --mint: #13F68C;

  --font: 'Gilroy', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'All Round Gothic', 'Gilroy', ui-rounded, system-ui, sans-serif;
  --font-ui: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
  --wrap: 1180px;
  --gutter: 20px;
  --pad: 76px;
  --radius: 28px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);

  --bg: var(--cream);
  --fg: var(--ink);
  --fg-2: var(--ink-2);
  --fg-3: var(--ink-3);
  --line: rgba(30, 30, 36, .1);
  --accent: var(--orange-text);
  --accent-small: var(--orange-deep);
  --surface: #fff;
}
@media (min-width: 768px) { :root { --gutter: 32px; --pad: 104px; --radius: 32px; } }
@media (min-width: 1024px) { :root { --gutter: 40px; --pad: 132px; --radius: 36px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; -webkit-tap-highlight-color: transparent; background: var(--cream); }
/* iPhone Safari shows the page background behind the status bar at the top
   and past the footer at the end, so it lives here (body has none) and
   starts as the first section's colour; site.js switches it to the
   footer's on the way down. No fixed bars at the bottom: iOS 26 Safari
   paints a solid block under them, behind its address bar. */
html:has(main > .theme-dark:first-child) { background: #17171C; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: calc(760px + 2 * var(--gutter)); }

/* ── Themes ──────────────────────────────────────────────────────────── */

.theme-cream { --bg: var(--cream); --surface: #fff; }
.theme-white { --bg: #fff; --surface: var(--cream); }
.theme-sand { --bg: var(--sand); --surface: #fff; }
.theme-dark {
  --bg: #17171C; --fg: var(--cream); --fg-2: #CDC8CB; --fg-3: #A19CA3; --line: rgba(255, 255, 255, .12);
  --accent: #FF8A4C; --accent-small: #FF9A62; --surface: #26262D;
}
.theme-orange {
  --bg: var(--orange); --fg: #fff; --fg-2: #FFF1E9; --fg-3: #FFE3D3; --line: rgba(255, 255, 255, .3);
  --accent: var(--ink); --accent-small: #fff; --surface: rgba(255, 255, 255, .16);
}

.s { position: relative; background: var(--bg); color: var(--fg); padding: var(--pad) 0; }
main > .s:first-child { padding-top: calc(var(--pad) + 64px); }

/* The brand glows: orange from the bottom left, green from the top right. */
.theme-dark.s::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(70% 45% at 0% 100%, rgba(255, 104, 30, .34), transparent 70%),
    radial-gradient(65% 40% at 100% 0%, rgba(6, 156, 86, .38), transparent 70%);
}
.theme-dark.s > :not(.hero-glow):not(.cta-mark) { position: relative; }

/* ── Type ────────────────────────────────────────────────────────────── */

.display, .title { font-family: var(--font-head); font-weight: 600; letter-spacing: -.025em; color: var(--fg); text-wrap: balance; }
.display { font-size: clamp(2.6rem, 11vw, 5.6rem); line-height: 1.02; }
.title { font-size: clamp(2.05rem, 8.4vw, 3.6rem); line-height: 1.06; }
.display em, .title em { font-style: normal; color: var(--accent); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 14px;
  font: 700 .875rem/1.2 var(--font); letter-spacing: .02em; color: var(--accent-small);
}
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255, 104, 30, .2); }
.theme-orange .eyebrow::before { background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .25); }
.lede { font-size: clamp(1.0625rem, 4.4vw, 1.375rem); line-height: 1.5; color: var(--fg-2); max-width: 34ch; text-wrap: pretty; }
.intro { font-size: clamp(1rem, 4vw, 1.25rem); line-height: 1.55; color: var(--fg-2); max-width: 46ch; text-wrap: pretty; }
.note { font-size: .9375rem; color: var(--fg-3); }
.s-head { margin-bottom: 36px; }
.s-head-center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.s-head-center .title { max-width: 16ch; }
.s-head .intro { margin-top: 16px; }
@media (min-width: 1024px) { .s-head { margin-bottom: 64px; } .s-head .intro { margin-top: 20px; } }

/* ── Buttons ─────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 0;
  font: 700 1.0625rem/1 var(--font); text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s;
}
@media (hover: hover) { .btn:hover { transform: translateY(-1px); } }
.btn:active { transform: scale(.97); }
.btn-lg { min-height: 58px; padding: 0 30px; font-size: 1.125rem; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .9375rem; }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 14px 30px -14px rgba(255, 104, 30, .9); }
.btn-orange:hover { background: var(--orange-hover); }
.btn-ink { background: var(--ink); color: #fff; box-shadow: 0 14px 30px -14px rgba(30, 30, 36, .7); }
.theme-dark .btn-ink { background: var(--cream); color: var(--ink); }
.btn-ghost { background: rgba(30, 30, 36, .06); color: var(--fg); }
.theme-dark .btn-ghost, .theme-orange .btn-ghost { background: rgba(255, 255, 255, .1); }
.theme-orange .btn-orange { background: var(--ink); box-shadow: 0 14px 30px -14px rgba(30, 30, 36, .7); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ── Navigation ──────────────────────────────────────────────────────── */

.banner { position: relative; z-index: 60; background: var(--orange); color: #fff; text-align: center; font-weight: 700; font-size: .9375rem; padding: 10px var(--gutter); }
.banner a { text-decoration: none; }

.nav { position: sticky; top: 10px; z-index: 50; margin: 10px 12px -66px; }
.nav-inner {
  display: flex; align-items: center; gap: 10px;
  max-width: 1120px; height: 56px; margin: 0 auto; padding: 0 8px 0 18px;
  background: rgba(23, 23, 28, .78); border: 1px solid rgba(255, 255, 255, .1); border-radius: 999px; color: var(--cream);
  -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6);
  transition: box-shadow .3s var(--ease), background-color .3s;
}
.nav.is-scrolled .nav-inner { background: rgba(23, 23, 28, .9); box-shadow: 0 16px 40px -18px rgba(30, 30, 36, .55); }
.nav-logo { display: flex; flex-shrink: 0; }
.nav-logo img { display: block; width: 122px; height: auto; }
.nav-links { display: none; }
.nav-spacer { margin-left: auto; }
.nav-cta { margin-left: auto; }
.nav-toggle { flex-shrink: 0; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); cursor: pointer; position: relative; }
.nav-toggle span, .nav-toggle span::before { position: absolute; left: 12px; width: 16px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease); }
.nav-toggle span { top: 16px; }
.nav-toggle span::before { content: ''; left: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] span { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(-6px) rotate(-90deg); }
/* Floats under the bar; in the page flow it would push the page down. */
.nav-menu {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  display: flex; flex-direction: column; gap: 2px; max-width: 1120px; margin: 0 auto; padding: 10px;
  background: rgba(23, 23, 28, .95); border: 1px solid rgba(255, 255, 255, .1); border-radius: 26px; color: var(--cream);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
  transform-origin: top center; animation: menu-in .35s var(--spring);
}
@keyframes menu-in { from { opacity: 0; transform: scale(.96) translateY(-6px); } }
.nav-menu[hidden] { display: none; }
.nav-menu a:not(.btn) { padding: 15px 16px; border-radius: 16px; font-weight: 600; font-size: 1.125rem; text-decoration: none; }
.nav-menu a:not(.btn):active { background: rgba(255, 255, 255, .08); }
.nav-menu .btn { margin-top: 6px; min-height: 54px; }

@media (min-width: 900px) {
  .nav { top: 14px; margin: 14px var(--gutter) -78px; }
  .nav-inner { height: 64px; gap: 24px; padding: 0 10px 0 24px; }
  .nav-logo img { width: 148px; }
  .nav-links { display: flex; gap: 4px; margin-left: auto; }
  .nav-links a { padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: 1rem; color: #D9D4D6; text-decoration: none; transition: color .2s, background-color .2s; }
  .nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
  .nav-cta { margin-left: 0; }
  .nav-toggle, .nav-menu { display: none !important; }
}

/* ── Phone frame ─────────────────────────────────────────────────────── */
/* Sized for full-screen iPhone captures (1206 × 2622); the screen keeps the
 * capture's shape, so nothing is cropped. Each placement sets --pw, the
 * phone's width, and the bezel is 3% of it. Corners: the screen's radius is
 * 13% of its width, the frame's is that plus the bezel. */

.phone {
  --pw: 100%;
  position: relative; width: var(--pw); padding: calc(var(--pw) * .03);
  border-radius: 15.2% / 7.24%; background: #111114;
  box-shadow:
    inset 0 0 0 1px #4A4A52,
    0 40px 80px -30px rgba(30, 30, 36, .55),
    0 18px 30px -18px rgba(30, 30, 36, .4);
}
.phone-screen { position: relative; overflow: hidden; aspect-ratio: 1206 / 2622; border-radius: 13% / 5.98%; background: #fff; isolation: isolate; }
.phone-screen > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-slide { opacity: 0; transform: scale(1.035); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.phone-slide.is-on { opacity: 1; transform: none; }
.theme-dark .phone { box-shadow: inset 0 0 0 1px #6A6A72, 0 0 0 1px rgba(255, 255, 255, .06), 0 40px 90px -30px rgba(0, 0, 0, .8); }

/* ── Floating cards ──────────────────────────────────────────────────── */

.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chip {
  display: flex; align-items: center; gap: 10px; width: max-content; max-width: 250px;
  padding: 10px 16px 10px 10px; border-radius: 18px;
  background: rgba(255, 255, 255, .92); border: 1px solid rgba(30, 30, 36, .06);
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .45);
  -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5);
  color: var(--ink); text-align: left;
}
.chip-text { min-width: 0; }
.chip b { display: block; font-weight: 700; font-size: .9rem; line-height: 1.25; }
.chip small { display: block; font-size: .8125rem; color: var(--ink-3); line-height: 1.3; margin-top: 1px; }
.chip-icon { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 12px; background: #FFE6D8; color: var(--orange-text); }
@media (min-width: 768px) {
  .chip { gap: 12px; max-width: 290px; padding: 12px 18px 12px 12px; border-radius: 20px; }
  .chip b { font-size: .975rem; }
  .chip small { font-size: .875rem; }
  .chip-icon { width: 40px; height: 40px; border-radius: 13px; }
}

/* ── Hero ────────────────────────────────────────────────────────────── */

.s-hero { overflow: hidden; padding-bottom: 0; }
.s-hero:not(.has-device) { padding-bottom: var(--pad); }
.hero-glow { position: absolute; inset: 0; pointer-events: none; }
.theme-cream .hero-glow, .theme-white .hero-glow, .theme-sand .hero-glow {
  background: radial-gradient(60% 40% at 50% 60%, rgba(255, 104, 30, .16), transparent 70%), radial-gradient(45% 30% at 85% 10%, rgba(6, 156, 86, .12), transparent 70%);
}
.hero-grid { display: flex; flex-direction: column; align-items: center; }
.hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-copy .display { max-width: 12ch; }
.hero-copy .lede { margin-top: 18px; }
.hero-copy .actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 340px; margin-top: 30px; }
.hero-copy .note { margin-top: 14px; }
.pill-badge {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px; padding: 7px 14px 7px 11px;
  border-radius: 999px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(30, 30, 36, .08);
  font: 700 .875rem/1.2 var(--font); color: var(--ink);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.theme-dark .pill-badge, .theme-orange .pill-badge { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); color: var(--fg); }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(19, 246, 140, .2); animation: pulse 2.4s ease-in-out infinite; }
.theme-cream .pill-dot, .theme-white .pill-dot, .theme-sand .pill-dot { background: var(--green); box-shadow: 0 0 0 4px rgba(6, 156, 86, .18); }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(19, 246, 140, .05); } }

.hero-device {
  --pw: min(72vw, 300px);
  position: relative; width: 100%; margin-top: 40px;
  display: flex; flex-direction: column; align-items: center;
  height: calc(var(--pw) * 1.78 + 64px); overflow: hidden;
}
/* Crop the phone at the bottom only, so floating cards can sit beside it. */
@supports (overflow: clip) { .hero-device { overflow: visible clip; } }
/* The phone fades out just above the section's bottom edge. */
.hero-phone {
  position: relative; z-index: 2; flex-shrink: 0;
  -webkit-mask-image: linear-gradient(#000 calc(var(--pw) * 1.36), transparent calc(var(--pw) * 1.7));
  mask-image: linear-gradient(#000 calc(var(--pw) * 1.36), transparent calc(var(--pw) * 1.7));
}
.hero-ring {
  position: absolute; z-index: 0; top: calc(64px + var(--pw) * .25); left: 50%;
  width: calc(var(--pw) * 2.2); aspect-ratio: 1; transform: translateX(-50%);
  border-radius: 50%; opacity: .75; filter: blur(46px);
  background: conic-gradient(from 0deg, rgba(255, 104, 30, .9), rgba(255, 173, 133, .35), rgba(6, 156, 86, .55), rgba(255, 104, 30, .9));
  animation: spin 22s linear infinite;
}
.theme-cream .hero-ring, .theme-white .hero-ring, .theme-sand .hero-ring { opacity: .35; }
@keyframes spin { to { transform: translateX(-50%) rotate(1turn); } }

.cycle-dots {
  position: relative; z-index: 3; display: flex; gap: 4px; margin-bottom: 18px; padding: 4px;
  border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  order: -1;
}
.theme-cream .cycle-dots, .theme-white .cycle-dots, .theme-sand .cycle-dots { background: rgba(30, 30, 36, .06); border-color: rgba(30, 30, 36, .06); }
.cycle-dot {
  position: relative; overflow: hidden; min-width: 14px; height: 34px; padding: 0 15px; border: 0; border-radius: 999px;
  background: transparent; color: var(--fg-3); font: 700 .875rem/1 var(--font); cursor: pointer; transition: color .3s, background-color .3s;
}
.cycle-dot:not(:has(span)) { width: 34px; padding: 0; }
.cycle-dot:not(:has(span))::after { content: ''; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: currentColor; }
.cycle-dot.is-on { background: var(--cream); color: var(--ink); }
.theme-cream .cycle-dot.is-on, .theme-white .cycle-dot.is-on, .theme-sand .cycle-dot.is-on { background: #fff; box-shadow: 0 2px 8px rgba(30, 30, 36, .12); }

.hero-chip {
  position: absolute; z-index: 4; left: 50%; top: calc(64px + var(--pw) * 1.22);
  transform: translate(-50%, 14px) scale(.96); opacity: 0;
  transition: opacity .45s var(--ease), transform .55s var(--spring);
}
.hero-chip.is-on { opacity: 1; transform: translate(-50%, 0) scale(1); transition-delay: .25s; }

@media (min-width: 768px) {
  .hero-device { --pw: 320px; height: calc(var(--pw) * 1.72 + 70px); }
  /* Beside the phone, overlapping its left edge. */
  .hero-chip { left: calc(50% - var(--pw) * .5 - 30px); top: calc(64px + var(--pw) * 1.02); transform: translate(-50%, 14px) scale(.96); }
}
@media (min-width: 1024px) {
  .s-hero.has-device { padding-bottom: 0; }
  .hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; column-gap: 40px; }
  .hero-copy { align-items: flex-start; text-align: left; padding-bottom: 80px; }
  .hero-copy .display { max-width: 14ch; font-size: clamp(3.2rem, 5vw, 4.9rem); }
  .hero-copy .actions { flex-direction: row; max-width: none; width: auto; }
  .hero-device { --pw: clamp(300px, 26vw, 350px); margin-top: 0; height: calc(var(--pw) * 1.7 + 90px); padding-top: 26px; }
  .hero-chip { left: calc(50% - var(--pw) * .5 - 40px); top: calc(90px + var(--pw) * 1.02); }
}

/* ── Food ticker ─────────────────────────────────────────────────────── */

.s-marquee { padding: 56px 0; overflow: hidden; }
.s-marquee .s-head { margin-bottom: 24px; }
.s-marquee .title { font-size: clamp(1.6rem, 6.4vw, 2.6rem); }
.marquee { display: grid; gap: 12px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-row { overflow: hidden; }
.marquee-track { display: flex; gap: 10px; width: max-content; animation: ticker 60s linear infinite; }
.marquee-row.is-reverse .marquee-track { animation-direction: reverse; animation-duration: 70s; }
@keyframes ticker { to { transform: translateX(-50%); } }
.food-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 10px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); white-space: nowrap;
  box-shadow: 0 6px 18px -12px rgba(30, 30, 36, .3);
}
.food-icon { display: block; flex-shrink: 0; width: 26px; height: 26px; }
.food-pill b { font-weight: 700; font-size: .975rem; }
.food-pill small { font-size: .875rem; color: var(--fg-3); font-weight: 600; }
@media (min-width: 1024px) { .s-marquee { padding: 80px 0; } .marquee { gap: 14px; } .food-pill { padding: 11px 22px 11px 12px; } .food-icon { width: 30px; height: 30px; } }

/* ── Stats ───────────────────────────────────────────────────────────── */

.s-stats { padding: 48px 0 56px; }
.s-stats .s-head { margin-bottom: 26px; }
.stats { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); }
.stats-1 { --n: 1; } .stats-2 { --n: 2; } .stats-3 { --n: 3; } .stats-4 { --n: 2; row-gap: 24px; }
.stats li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 4px 8px; }
.stats li + li { border-left: 1px solid var(--line); }
.stats-4 li:nth-child(3) { border-left: 0; }
.stats strong { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.9rem, 9vw, 5rem); line-height: 1; letter-spacing: -.03em; color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stats span { font-weight: 600; font-size: .8125rem; line-height: 1.35; color: var(--fg-2); max-width: 18ch; }
@media (min-width: 768px) {
  .s-stats { padding: 72px 0 84px; }
  .stats-4 { --n: 4; }
  .stats-4 li:nth-child(3) { border-left: 1px solid var(--line); }
  .stats span { font-size: 1.0625rem; }
}

/* ── Stages (tinted panels a phone rises out of) ─────────────────────── */

.stage { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius); transition: background-color .6s var(--ease); }
.stage::before { content: ''; position: absolute; z-index: -1; inset: 0; background: radial-gradient(70% 60% at 50% 30%, rgba(255, 255, 255, .55), transparent 70%); }
.stage.tint-orange { background: #FFD7C1; }
.stage.tint-green { background: #C8EBD7; }
.stage.tint-blue { background: #D3DEF6; }
.stage.tint-sand { background: #EEE2DA; }
.stage.tint-ink { background: #2A2A31; }
.theme-dark .stage.tint-orange { background: #3A2219; }
.theme-dark .stage.tint-green { background: #15301F; }
.theme-dark .stage.tint-blue { background: #1D2436; }
.stage-phone { --pw: min(66vw, 290px); position: absolute; left: 50%; top: 36px; transform: translateX(-50%); }
.stage-chip { position: absolute; z-index: 3; left: 16px; bottom: 18px; }
@media (min-width: 1024px) {
  .stage-phone { --pw: clamp(270px, 24vw, 320px); top: 56px; }
  .stage-chip { left: 28px; bottom: 32px; }
}

/* ── Showcase (tabbed phone) ─────────────────────────────────────────── */

.showcase { display: grid; gap: 18px; }
.showcase-tabs {
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 5px;
  border-radius: 999px; background: rgba(30, 30, 36, .06);
}
.theme-dark .showcase-tabs { background: rgba(255, 255, 255, .08); }
.showcase-tab {
  position: relative; overflow: hidden; min-height: 46px; padding: 0 10px; border: 0; border-radius: 999px;
  background: transparent; color: var(--fg-3); font: 700 1rem/1 var(--font); cursor: pointer; transition: color .3s, background-color .3s, box-shadow .3s;
}
.showcase-tab.is-on { background: var(--surface); color: var(--fg); box-shadow: 0 4px 14px -6px rgba(30, 30, 36, .35); }
.theme-white .showcase-tab.is-on { background: #fff; }
.tab-progress { position: absolute; left: 22%; right: 22%; bottom: 6px; height: 3px; border-radius: 3px; background: rgba(255, 104, 30, .18); opacity: 0; }
.tab-progress::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--orange); transform: scaleX(0); transform-origin: left; }
.is-playing .showcase-tab.is-on .tab-progress { opacity: 1; }
.is-playing .showcase-tab.is-on .tab-progress::after { animation: progress var(--dur, 5s) linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }
.showcase-body { display: grid; gap: 18px; }
.showcase-copy { display: grid; min-height: 7.5em; }
.showcase-panel { grid-area: 1 / 1; opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease), transform .45s var(--ease); pointer-events: none; text-align: center; }
.showcase-panel.is-on { opacity: 1; transform: none; pointer-events: auto; transition-delay: .08s; }
.showcase-panel h3 { font-weight: 700; font-size: clamp(1.4rem, 5.6vw, 2.2rem); line-height: 1.15; letter-spacing: -.02em; }
.showcase-panel h3 em { font-style: normal; color: var(--accent); }
.showcase-panel p { margin: 10px auto 0; color: var(--fg-2); max-width: 36ch; line-height: 1.55; }
.showcase-stage { height: clamp(380px, 112vw, 520px); }
@media (min-width: 1024px) {
  .showcase { grid-template-columns: .9fr 1.1fr; grid-template-areas: "tabs stage" "copy stage"; grid-template-rows: auto 1fr; column-gap: 64px; row-gap: 36px; align-items: start; }
  .showcase-tabs { grid-area: tabs; align-self: end; }
  .showcase-body { display: contents; }
  .showcase-copy { grid-area: copy; }
  .showcase-panel { text-align: left; }
  .showcase-panel p { margin-left: 0; font-size: 1.1875rem; }
  .showcase-stage { grid-area: stage; height: 620px; }
  .s-showcase .s-head { margin-bottom: 56px; }
}

/* ── Live coach chat ─────────────────────────────────────────────────── */

.convo { display: grid; gap: 40px; }
.convo-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.convo-body { margin-top: 18px; font-size: clamp(1.0625rem, 4.2vw, 1.25rem); line-height: 1.55; color: var(--fg-2); max-width: 40ch; }
.convo-device { display: flex; justify-content: center; }
/* The same screen shape as the screenshots (1206 × 2622); positions below
 * are measured from the app's chat screen. */
.phone-chat { --pw: min(80vw, 330px); }
.phone-chat .phone-screen { background: #fff; }
.chat {
  display: flex; flex-direction: column; color: #1C1C1E;
  font: 400 calc(var(--pw) * .038) / 1.36 var(--font-ui); letter-spacing: -.01em;
}
.chat-island { position: absolute; top: 1.6%; left: 50%; width: 31%; height: 4.15%; transform: translateX(-50%); border-radius: 999px; background: #000; }
.chat-status { position: absolute; top: 1.6%; left: 0; right: 0; height: 4.15%; display: flex; align-items: center; justify-content: space-between; padding: 0 9% 0 12%; font-weight: 600; font-size: 1.02em; letter-spacing: -.02em; }
.chat-sb { display: flex; align-items: center; gap: .35em; }
.chat-sb-signal { display: flex; align-items: flex-end; gap: .1em; height: .7em; }
.chat-sb-signal i { width: .2em; border-radius: .06em; background: #1C1C1E; }
.chat-sb-signal i:nth-child(1) { height: 35%; } .chat-sb-signal i:nth-child(2) { height: 55%; } .chat-sb-signal i:nth-child(3) { height: 78%; } .chat-sb-signal i:nth-child(4) { height: 100%; }
.chat-sb-wifi { width: 1.05em; height: .8em; fill: #1C1C1E; }
.chat-sb-battery { position: relative; width: 1.55em; height: .72em; border-radius: .22em; background: #1C1C1E; }
.chat-sb-battery::after { content: ''; position: absolute; right: -.16em; top: 50%; width: .1em; height: .3em; margin-top: -.15em; border-radius: 0 .1em .1em 0; background: rgba(28, 28, 30, .4); }
.chat-head { display: flex; align-items: center; justify-content: space-between; padding: 17% 5% 2%; }
.chat-head b { font-weight: 600; font-size: 1.05em; }
.chat-btn { display: grid; place-items: center; width: 2.6em; height: 2.6em; border-radius: 50%; border: 1px solid #E6E6EA; color: #1C1C1E; box-shadow: 0 2px 6px rgba(0, 0, 0, .05); }
.chat-btn svg { width: 1.35em; height: 1.35em; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.chat-btn-more { font-size: .8em; letter-spacing: .05em; }
.chat-msgs { flex: 1; display: flex; flex-direction: column; gap: .85em; padding: 6% 5% 2%; overflow: hidden; }
.msg { display: none; align-items: flex-end; gap: .55em; }
.msg.is-shown { display: flex; animation: pop .45s var(--spring) both; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } }
.msg p { margin: 0; }
.msg-user { justify-content: flex-end; }
.msg-user p { max-width: 86%; padding: .62em .95em; border-radius: 1.3em 1.3em .35em 1.3em; background: #FF681E; color: #fff; }
.msg-coach p { max-width: 82%; padding: .1em 0; }
.coach-avatar { position: relative; flex-shrink: 0; width: 2.1em; height: 2.1em; border-radius: 50%; background: #0D9A52; }
.coach-avatar i { position: absolute; top: 41%; width: 15%; height: 26%; border-radius: 50%; background: #121212; animation: blink 4.5s infinite; }
.coach-avatar i:first-child { left: 30%; }
.coach-avatar i:last-child { right: 30%; }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.15); } }
.msg-typing p { display: flex; gap: .3em; padding: .7em .9em; border-radius: 1.2em; background: #F0F0F3; }
.msg-typing p i { width: .45em; height: .45em; border-radius: 50%; background: #9A9AA2; animation: typing 1.1s infinite ease-in-out; }
.msg-typing p i:nth-child(2) { animation-delay: .15s; }
.msg-typing p i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-.25em); opacity: 1; } }
.food-card {
  display: none; align-items: center; gap: .5em; padding: .7em .6em .7em .75em; border-radius: 1.1em; background: #EEEFF2;
}
.food-card.is-shown { display: flex; animation: pop .5s var(--spring) both; }
.food-card .food-icon { width: 1.9em; height: 1.9em; }
.food-card-text { flex: 1; min-width: 0; }
.food-card-text b { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.food-card-text small { display: block; font-size: .78em; color: #8E8E93; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.food-card-kcal { flex-shrink: 0; font-size: .78em; color: #8E8E93; white-space: nowrap; }
.food-card-kcal b { font-size: 1.28em; color: #1C1C1E; font-weight: 600; }
.food-card-x { display: grid; place-items: center; flex-shrink: 0; width: 1.9em; height: 1.9em; border-radius: 50%; background: #DCDCE1; color: #636366; font-size: .8em; transition: opacity .3s, width .3s; }
.food-card-log { position: relative; flex-shrink: 0; display: grid; place-items: center; height: 2em; padding: 0 .8em; border-radius: 999px; background: #FF681E; color: #fff; font-weight: 700; font-size: .9em; transition: background-color .35s, transform .2s; }
.food-card-log .icon { width: 1.1em; height: 1.1em; stroke-width: 3; }
.log-done { display: none; align-items: center; gap: .3em; }
.food-card.is-tapping .food-card-log { transform: scale(.9); }
.food-card.is-logged .food-card-log { background: #0D9A52; }
.food-card.is-logged .log-label { display: none; }
.food-card.is-logged .log-done { display: inline-flex; }
/* "Logged" is wider than "Log": the calories make way. */
.food-card.is-logged .food-card-kcal { display: none; }
.food-card.is-logged .food-card-x { opacity: 0; width: 0; margin-left: -.6em; }
.chat-input { display: flex; align-items: center; justify-content: space-between; margin: 3% 3.5% 10%; padding: .45em .45em .45em 1.1em; border-radius: 999px; border: 1px solid #E6E6EA; color: #9A9AA2; box-shadow: 0 4px 14px rgba(0, 0, 0, .05); }
.chat-input i { display: grid; place-items: center; width: 2.4em; height: 2.4em; border-radius: 50%; background: #FF681E; }
.chat-input svg { width: 1.3em; height: 1.3em; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; }
@media (min-width: 1024px) {
  .convo { grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
  .convo-copy { text-align: left; align-items: flex-start; }
  .phone-chat { --pw: 340px; }
}

/* ── Checklist ───────────────────────────────────────────────────────── */

.checks { list-style: none; padding: 0; margin-top: 24px; display: grid; gap: 12px; text-align: left; }
.checks li { position: relative; padding-left: 36px; font-weight: 600; font-size: 1.0625rem; line-height: 1.45; color: var(--fg); }
.checks li::before {
  content: ''; position: absolute; left: 0; top: -1px; width: 25px; height: 25px; border-radius: 50%;
  background: rgba(255, 104, 30, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E5540D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.theme-dark .checks li::before { background-color: rgba(255, 138, 76, .18); }

/* ── Spotlight ───────────────────────────────────────────────────────── */

.spot { display: grid; gap: 32px; }
.spot-copy .title { font-size: clamp(2rem, 8vw, 3.3rem); }
.spot-body { margin-top: 16px; font-size: clamp(1.0625rem, 4.2vw, 1.25rem); line-height: 1.55; color: var(--fg-2); max-width: 44ch; }
.spot-stage { height: clamp(360px, 104vw, 480px); }
.stage-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) {
  .spot { grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
  .media-left .spot-stage { order: -1; }
  .spot-stage { height: 600px; }
}

/* ── Card grid (photo / text cards) ──────────────────────────────────── */

.cards { display: grid; gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); padding: 28px; background: var(--surface); color: var(--ink); }
.card-eyebrow { font: 600 1rem/1 var(--font-head); color: var(--orange-deep); margin-bottom: 12px; }
.card h3 { font-weight: 700; font-size: clamp(1.35rem, 5vw, 1.75rem); line-height: 1.15; letter-spacing: -.02em; }
.card h3 em { font-style: normal; color: var(--orange-text); }
.card-copy p:not(.card-eyebrow) { margin-top: 10px; color: var(--ink-2); }
.card-photo { margin: 24px -28px -28px; }
.card-photo .photo { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-media { margin-top: auto; padding-top: 28px; display: flex; justify-content: center; }
.phone-peek { --pw: min(80%, 260px); margin-bottom: -30%; }
@media (min-width: 768px) { .cards-2, .cards-3, .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } .cards-4 { grid-template-columns: repeat(4, 1fr); } .card { padding: 36px; } .card-photo { margin: 28px -36px -36px; } }

.tint-orange { background: linear-gradient(180deg, #FFF0E7, #FFD5BF); }
.tint-green { background: linear-gradient(180deg, #EAF7EF, #C9EBD7); }
.tint-blue { background: linear-gradient(180deg, #EEF2FB, #D5DFF4); }
.tint-sand { background: linear-gradient(180deg, #FBF7F5, #EDE2DC); }
.tint-ink { background: linear-gradient(180deg, #2B2B33, #1E1E24); color: var(--cream); }
.tint-ink p, .tint-ink .bento-copy p, .tint-ink .card-copy p { color: #CDC8CB; }
.tint-ink h3 em { color: #FF8A4C; }

/* ── Gallery ─────────────────────────────────────────────────────────── */

.gallery {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; scroll-padding: 0 var(--gutter); scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.tile { position: relative; flex: 0 0 min(80vw, 340px); scroll-snap-align: start; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; background: #222; isolation: isolate; }
.tile-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
@media (hover: hover) { .tile:hover .tile-img { transform: scale(1.045); } }
.tile figcaption { position: absolute; inset: auto 0 0; z-index: 1; padding: 80px 22px 22px; background: linear-gradient(180deg, transparent, rgba(20, 16, 14, .55) 40%, rgba(20, 16, 14, .86)); color: #fff; }
.tile h3 { font-weight: 700; font-size: 1.3rem; line-height: 1.15; }
.tile p { margin-top: 6px; font-size: .975rem; line-height: 1.45; color: rgba(255, 255, 255, .86); }
@media (min-width: 1024px) {
  .gallery { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 20px; overflow: visible; margin: 0; padding: 0; }
  .gallery-1 { --n: 1; } .gallery-2 { --n: 2; } .gallery-4 { --n: 4; }
  .tile { aspect-ratio: 3 / 4; }
  .tile figcaption { padding: 90px 30px 30px; }
}

/* ── Bento ───────────────────────────────────────────────────────────── */

.bento { display: grid; gap: 12px; }
.bento-tile { position: relative; isolation: isolate; display: flex; flex-direction: column; overflow: hidden; min-height: 210px; padding: 26px; border-radius: var(--radius); color: var(--ink); }
.bento-tile.tint-ink { color: var(--cream); }
.bento-num { font: 600 2.6rem/1 var(--font-head); letter-spacing: -.03em; color: var(--orange-text); margin-bottom: auto; padding-bottom: 28px; }
.tint-green .bento-num { color: var(--green); }
.tint-ink .bento-num { color: #FF9A62; }
.bento-copy h3 { font-weight: 700; font-size: 1.4rem; line-height: 1.15; letter-spacing: -.015em; }
.bento-copy h3 em { font-style: normal; color: var(--orange-text); }
.bento-copy p { margin-top: 8px; color: var(--ink-2); max-width: 46ch; }
.bento-tile.tint-ink::after { content: ''; position: absolute; z-index: -1; right: -56px; top: -60px; width: 190px; aspect-ratio: 1689 / 1803; background: url('/assets/img/mark.svg') center / contain no-repeat; opacity: .9; }
.bento-media { margin-top: auto; padding-top: 24px; display: flex; justify-content: center; }
.bento-media .phone-peek { --pw: min(60%, 220px); margin-bottom: calc(-26px - 22%); }
.bento-photo { margin: 22px -26px -26px; }
.bento-photo .photo { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
@media (min-width: 768px) { .bento { grid-template-columns: 1fr 1fr; gap: 16px; } .bento-wide { grid-column: span 2; } }
@media (min-width: 1024px) { .bento { grid-template-columns: repeat(3, 1fr); gap: 20px; } .bento-tile { min-height: 280px; padding: 36px; } .bento-num { font-size: 3.4rem; } .bento-copy h3 { font-size: 1.65rem; } .bento-tile.tint-ink::after { width: 260px; right: -70px; top: -80px; } }

/* ── Testimonials ────────────────────────────────────────────────────── */

.quotes { display: grid; gap: 14px; }
.quote { padding: 28px; border-radius: var(--radius); background: var(--surface); display: flex; flex-direction: column; gap: 22px; }
.quote blockquote { font-weight: 600; font-size: 1.1875rem; line-height: 1.45; color: var(--fg); }
.quote figcaption { margin-top: auto; display: flex; flex-direction: column; }
.quote figcaption span { color: var(--fg-3); font-size: .9375rem; }
@media (min-width: 768px) { .quotes { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; } }

/* ── FAQ ─────────────────────────────────────────────────────────────── */

.faq-layout { display: grid; gap: 8px; }
.faq-layout .title { font-size: clamp(2rem, 8vw, 3.2rem); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 64px; padding: 18px 0; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 1.125rem; line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: rgba(30, 30, 36, .06); transition: transform .35s var(--ease), background-color .2s; }
.theme-dark .faq-icon { background: rgba(255, 255, 255, .1); }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: currentColor; }
.faq-icon::after { transform: rotate(90deg); transition: transform .35s var(--ease); }
.faq-item[open] .faq-icon { transform: rotate(180deg); background: var(--orange); color: #fff; }
.faq-item[open] .faq-icon::after { transform: rotate(0); }
.faq-answer { padding: 0 0 22px; }
.faq-item[open] .faq-answer { animation: fade-down .35s var(--ease); }
@keyframes fade-down { from { opacity: 0; transform: translateY(-6px); } }
@media (min-width: 1024px) {
  .faq-layout { grid-template-columns: .8fr 1.2fr; gap: 96px; align-items: start; }
  .faq-layout .s-head { position: sticky; top: 120px; margin-bottom: 0; }
  .faq-item summary { font-size: 1.3125rem; padding: 24px 0; }
  .faq-answer { padding-right: 56px; }
}

/* ── Download banner ─────────────────────────────────────────────────── */
/* The brand's cover move: a giant logomark rising out of the bottom edge. */

.s-cta { overflow: hidden; text-align: center; padding: 84px 0 calc(min(66vw, 380px) * .55 + 40px); }
.cta-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.cta-icon { width: 84px; height: 84px; border-radius: 22.5%; margin-bottom: 24px; box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .2); }
.s-cta .title { max-width: 13ch; font-size: clamp(2.3rem, 9.6vw, 4.6rem); }
.s-cta .intro { margin-top: 16px; }
.s-cta .actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 340px; margin-top: 28px; }
.s-cta .note { margin-top: 14px; }
.cta-mark { position: absolute; left: 50%; bottom: 0; z-index: 0; width: min(80vw, 460px); height: auto; transform: translate(-50%, 56%); pointer-events: none; }
@media (min-width: 1024px) {
  .s-cta { padding: 140px 0 300px; }
  .s-cta .actions { flex-direction: row; justify-content: center; max-width: none; }
  .cta-icon { width: 104px; height: 104px; }
  .cta-mark { width: 620px; transform: translate(-50%, 58%); }
}

/* ── Text pages & prose ──────────────────────────────────────────────── */

.text-title { margin-bottom: 32px; }
main > .s-text:first-child { background: linear-gradient(180deg, var(--cream) 0, var(--bg) 420px); }
.prose { color: var(--fg-2); font-size: 1.0625rem; line-height: 1.72; }
.prose > * + * { margin-top: 1.05em; }
.prose h2, .prose h3, .prose h4 { color: var(--fg); line-height: 1.2; scroll-margin-top: 100px; }
.prose h2 { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.4rem, 5.4vw, 1.8rem); letter-spacing: -.015em; margin-top: 2.1em; }
.prose h3 { font-weight: 700; font-size: 1.2rem; margin-top: 1.8em; }
.prose h4 { font-weight: 700; font-size: 1.0625rem; margin-top: 1.5em; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .6em; }
.prose > :first-child { margin-top: 0; }
.prose strong { color: var(--fg); font-weight: 700; }
.prose a { color: var(--accent-small); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; word-break: break-word; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .45em; }
.prose ul li::marker { color: var(--orange); }
.prose blockquote { padding: 4px 0 4px 20px; border-left: 3px solid var(--orange); color: var(--fg); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose em { font-style: italic; }

.legal-head { position: relative; padding: calc(var(--pad) + 56px) 0 36px; background: var(--cream); overflow: hidden; }
.legal-head::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 90% at 0% 100%, rgba(255, 104, 30, .14), transparent 70%), radial-gradient(50% 90% at 100% 0%, rgba(6, 156, 86, .1), transparent 70%); }
.legal-head .wrap { position: relative; }
.legal-head .title { font-size: clamp(2.4rem, 10vw, 4.25rem); }
.legal-meta { margin-top: 14px; font-weight: 600; color: var(--ink-3); }
.legal-layout { padding-top: 32px; padding-bottom: var(--pad); }
.page-legal main { background: #fff; }

/* ── Image ───────────────────────────────────────────────────────────── */

.figure-img { display: block; width: 100%; border-radius: var(--radius); }
.s-image-full .figure-img { border-radius: 0; }
.figure figcaption { margin-top: 12px; text-align: center; color: var(--fg-3); font-size: .9375rem; }

/* ── Footer ──────────────────────────────────────────────────────────── */

.footer { position: relative; overflow: hidden; background: var(--ink); color: var(--cream); padding: 64px 0 calc(40px + env(safe-area-inset-bottom)); }
.footer::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at 100% 0%, rgba(6, 156, 86, .3), transparent 70%); }
.footer .wrap { position: relative; }
.footer-top { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-logo { display: block; width: 150px; height: auto; }
.footer-tagline { margin-top: 22px; font-family: var(--font-head); font-weight: 600; font-size: clamp(2rem, 9vw, 3.6rem); line-height: 1.02; letter-spacing: -.025em; max-width: 12ch; }
.footer-tagline em { font-style: normal; color: #FF8A4C; }
.footer .btn-orange { min-height: 56px; padding: 0 28px; font-size: 1.0625rem; }
.footer-bottom { display: flex; flex-direction: column; gap: 22px; padding-top: 26px; }
.footer-links { display: flex; flex-direction: column; gap: 4px; }
.footer-links a { color: #CDC8CB; text-decoration: none; font-weight: 600; font-size: 1rem; padding: 6px 0; }
.footer-links a:hover { color: #fff; }
.footer-copy { color: #94909A; font-size: .9375rem; }
@media (min-width: 768px) {
  .footer { padding: 88px 0 40px; }
  .footer-top { flex-direction: row; align-items: flex-end; justify-content: space-between; padding-bottom: 64px; }
  .footer-logo { width: 170px; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
  .footer-links { flex-direction: row; flex-wrap: wrap; gap: 6px 28px; }
}

/* ── 404 ─────────────────────────────────────────────────────────────── */

.s-404 { min-height: 86vh; display: grid; align-items: center; padding-bottom: var(--pad); }
.s-404 .hero-copy .actions { max-width: 280px; }

/* ── Preview (admin panel) ───────────────────────────────────────────── */

.preview-bar {
  position: fixed; left: 50%; bottom: 16px; z-index: 90; transform: translateX(-50%);
  padding: 8px 16px; border-radius: 999px; background: var(--orange); color: #fff;
  font-weight: 700; font-size: .8125rem; letter-spacing: .02em; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); pointer-events: none;
}

/* ── Motion ──────────────────────────────────────────────────────────── */

.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--delay, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .hero-device[data-reveal] { transform: translateY(70px); transition-duration: 1.2s; }
.js .hero-device[data-reveal].is-in { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .pill-dot, .hero-ring, .marquee-track, .coach-avatar i, .msg-typing p i { animation: none; }
  .marquee-row { overflow-x: auto; scrollbar-width: none; }
  .phone-slide, .hero-chip, .showcase-panel { transition: none; }
  .msg, .food-card { animation: none !important; }
}
