/* ============================================================
   Savor AI — marketing site
   Spacing system: every section uses --sp-section rhythm and
   .sec-head blocks; never per-element ad-hoc margins.
   ============================================================ */

:root {
  /* palette (from the app icon) */
  --cream: #FAF5EC;
  --cream-deep: #F1E8D8;
  --card: #FFFFFF;
  --ink: #1F2B25;
  --muted: #5F6D64;
  --leaf: #4E7C34;
  --leaf-deep: #2C4A20;
  --teal: #136F5C;
  --teal-bright: #2FB49B;
  --salmon: #EF8354;
  --sun: #E7C46A;
  --line: #E7DCC9;

  /* elevation */
  --shadow-sm: 0 2px 10px rgba(46, 75, 33, .07);
  --shadow-md: 0 14px 34px rgba(46, 75, 33, .12), 0 3px 9px rgba(46, 75, 33, .06);
  --shadow-lg: 0 30px 60px rgba(46, 75, 33, .16), 0 8px 18px rgba(46, 75, 33, .08);

  /* spacing rhythm */
  --sp-section: clamp(88px, 12vw, 140px);
  --sp-head: clamp(40px, 6vw, 60px);
  --sp-gap: 24px;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--teal); }
:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 3px; border-radius: 8px; }

.wrap { max-width: 1080px; margin: 0 auto; padding-inline: 24px; }

/* ---------- ambient background ---------- */
.blob {
  position: fixed; z-index: -1; border-radius: 50%;
  filter: blur(90px); opacity: .5; pointer-events: none;
}
.blob-a { width: 560px; height: 560px; top: -160px; right: -120px;
  background: radial-gradient(circle, #D9EBC8, transparent 65%);
  animation: drift-a 26s ease-in-out infinite alternate; }
.blob-b { width: 480px; height: 480px; top: 46%; left: -180px;
  background: radial-gradient(circle, #FBE3CF, transparent 65%);
  animation: drift-b 32s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(-60px, 90px) scale(1.12); } }
@keyframes drift-b { to { transform: translate(70px, -70px) scale(1.08); } }

/* Scroll-driven parallax (pure CSS, progressive enhancement): the background layers
   move at their own speeds as you scroll, so the page has depth without WebGL. */
@keyframes para-down { to { translate: 0 260px; } }
@keyframes para-up { to { translate: 0 -320px; } }
@supports (animation-timeline: scroll()) {
  .blob-a {
    animation: drift-a 26s ease-in-out infinite alternate, para-down linear both;
    animation-timeline: auto, scroll(root);
  }
  .blob-b {
    animation: drift-b 32s ease-in-out infinite alternate, para-up linear both;
    animation-timeline: auto, scroll(root);
  }
  .scroll-cue { animation: cue-hide linear both; animation-timeline: scroll(root);
    animation-range: 0 240px; }
}
@keyframes cue-hide { to { opacity: 0; } }

/* ---------- header ---------- */
header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250, 245, 236, .78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: box-shadow .25s ease;
}
header.scrolled { box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(46, 75, 33, .07); }
.nav { display: flex; align-items: center; gap: 24px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 19px;
  color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.brand img { width: 36px; height: 36px; transition: transform .3s ease; }
.brand:hover img { transform: rotate(-8deg) scale(1.08); }
.nav nav { display: flex; gap: 26px; margin-left: auto; }
.nav nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600;
  transition: color .15s ease; }
.nav nav a:hover { color: var(--teal); }
@media (max-width: 680px) { .nav nav { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #126857 0%, #0C594A 100%);
  color: #fff; border: 0; border-radius: 15px;
  padding: 15px 28px; font-size: 16.5px; font-weight: 700;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 6px 18px rgba(23, 128, 107, .28);
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(23, 128, 107, .38); }
.btn:active { transform: translateY(-1px); }
.btn .arr { transition: transform .18s ease; }
.btn:hover .arr { transform: translateX(4px); }
.btn.small { padding: 10px 20px; font-size: 14.5px; border-radius: 12px; }
.btn.ghost { background: transparent; color: var(--teal); border: 2px solid var(--teal);
  box-shadow: none; }
.btn.ghost:hover { background: rgba(23, 128, 107, .08); box-shadow: none; }

.cta-quiet {
  font-size: 13.5px; font-weight: 700; color: var(--leaf-deep);
  background: rgba(78, 124, 52, .12); border-radius: 999px; padding: 10px 18px;
  text-decoration: none; white-space: nowrap; transition: background .2s ease;
}
.cta-quiet:hover { background: rgba(78, 124, 52, .2); }

/* ---------- hero (immersive: fills the first screen, invites the dive) ---------- */
.hero {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
  padding-block: clamp(40px, 6vw, 72px) 24px;
}
@media (min-width: 861px) {
  .hero { min-height: min(calc(100svh - 68px), 780px); align-content: center; }
}
.scroll-cue {
  grid-column: 1 / -1; justify-self: center;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--muted); text-decoration: none; font-size: 13.5px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; padding: 10px 6px;
}
.scroll-cue i {
  width: 12px; height: 12px; border-right: 2.5px solid var(--teal);
  border-bottom: 2.5px solid var(--teal); transform: rotate(45deg);
  animation: cue-bob 1.7s ease-in-out infinite;
}
@keyframes cue-bob { 50% { translate: 0 7px; opacity: .45; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--leaf-deep); background: rgba(78, 124, 52, .12);
  border-radius: 999px; padding: 8px 16px; margin: 0 0 22px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal-bright); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.8); } }
h1 {
  font-size: clamp(42px, 6.4vw, 68px); line-height: 1.02; letter-spacing: -.03em;
  margin: 0 0 22px; font-weight: 800; text-wrap: balance;
}
h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--teal) 10%, var(--leaf) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { font-size: 19px; color: var(--muted); margin: 0 0 34px; max-width: 50ch; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-stats { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 40px; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat b { font-size: 22px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat b em { font-style: normal; color: var(--teal); }
.stat span { font-size: 13.5px; color: var(--muted); font-weight: 500; }

.hero-art { position: relative; display: flex; justify-content: center; perspective: 1000px; }
@keyframes bob { 50% { translate: 0 -14px; } }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; gap: 44px; }
  .lede { margin-inline: auto; }
  .cta-row, .hero-stats { justify-content: center; }
  .hero-art { order: -1; }
}

/* ---------- marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--card);
  overflow: hidden; white-space: nowrap;
  padding-block: 16px;
  display: flex;
}
.marquee-track {
  display: inline-flex; gap: 44px; padding-right: 44px;
  animation: ticker 30s linear infinite;
  font-weight: 600; color: var(--muted); font-size: 15.5px;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track i { font-style: normal; color: var(--teal); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* big display marquee: the brand promise, said loudly */
.marquee-big { border: 0; background: transparent; padding-block: 6px; }
.marquee-big .marquee-track {
  animation-duration: 46s;
  font-size: clamp(36px, 6vw, 60px); font-weight: 800; letter-spacing: -.02em;
  color: var(--ink); gap: 0; padding-right: 0;
}
.marquee-big .line { color: var(--leaf-deep); }
.marquee-big i { color: var(--salmon); font-weight: 400; margin-inline: 26px; }

/* ---------- steps (snap → confirm → coached) ---------- */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-gap);
  margin-top: var(--sp-head); position: relative;
}
.steps::before {
  content: ""; position: absolute; top: 26px; left: 12%; right: 12%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--line) 15%, var(--line) 85%, transparent);
}
.step { text-align: center; padding-inline: 12px; position: relative; }
.step .num {
  display: inline-grid; place-items: center; width: 52px; height: 52px;
  border-radius: 50%; font-weight: 800; font-size: 19px; color: #fff;
  background: linear-gradient(135deg, var(--teal-bright), #0C594A);
  box-shadow: 0 8px 20px rgba(23, 128, 107, .3); margin-bottom: 16px;
}
.step h3 { margin: 0 0 8px; font-size: 18.5px; letter-spacing: -.01em; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 680px) {
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .steps::before { display: none; }
}

/* ---------- mid-page CTA ---------- */
.midcta {
  margin-top: var(--sp-section);
  background: linear-gradient(135deg, #126857, #0C594A);
  color: #fff; border-radius: 26px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  flex-wrap: wrap; padding: 34px 40px;
}
.midcta p { margin: 0; font-size: clamp(20px, 2.6vw, 26px); font-weight: 800; letter-spacing: -.02em; }
.midcta .btn { background: #fff; color: #0C594A; box-shadow: 0 8px 22px rgba(0, 0, 0, .22); }
.midcta .btn:hover { box-shadow: 0 14px 30px rgba(0, 0, 0, .3); }
@media (max-width: 680px) { .midcta { justify-content: center; text-align: center; } }

/* ---------- sections ---------- */
section { padding-block: var(--sp-section) 0; }
section:last-of-type { padding-bottom: var(--sp-section); }
.sec-head { text-align: center; margin-bottom: var(--sp-head); }
.sec-head .eyebrow { margin-bottom: 16px; }
h2 {
  font-size: clamp(30px, 4.4vw, 44px); letter-spacing: -.025em; line-height: 1.1;
  margin: 0 0 16px; font-weight: 800; text-wrap: balance;
}
.sub { color: var(--muted); max-width: 58ch; margin: 0 auto; font-size: 18px; }

/* ---------- scan demo ---------- */
.demo { display: grid; grid-template-columns: 1.06fr .94fr; gap: var(--sp-gap); align-items: stretch; }
.term {
  margin: 0; background: #1B2620; color: #D9E6DE;
  border-radius: var(--radius); padding: 24px 26px;
  font: 14px/1.75 ui-monospace, "SF Mono", Menlo, monospace;
  box-shadow: var(--shadow-lg); overflow-x: auto; min-height: 300px;
  position: relative;
}
.term::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07); pointer-events: none;
}
.term .dots { display: flex; gap: 7px; margin-bottom: 18px; }
.term .dots i { width: 12px; height: 12px; border-radius: 50%; background: #37473F; }
.term .dots i:first-child { background: var(--salmon); }
.term .dots i:nth-child(2) { background: var(--sun); }
.term .dots i:nth-child(3) { background: var(--teal-bright); }
.term .k { color: #8FD4C2; } .term .n { color: #F2B482; }
.term .ok { color: #A4DE8F; font-weight: 700; }
.term .caret { display: inline-block; width: 8px; height: 16px; background: #8FD4C2;
  vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.result-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; gap: 12px; justify-content: center;
}
.food-row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 18px; background: var(--cream); border-radius: 14px; font-weight: 600;
  transition: opacity .5s ease, transform .5s ease;
}
.js .food-row { opacity: 0; transform: translateX(18px); }
.js .result-card.play .food-row { opacity: 1; transform: none; }
.js .result-card.play .food-row:nth-child(1) { transition-delay: .15s; }
.js .result-card.play .food-row:nth-child(2) { transition-delay: .3s; }
.js .result-card.play .food-row:nth-child(3) { transition-delay: .45s; }
.food-row small { color: var(--muted); font-weight: 500; }
.kcal { color: var(--teal); font-weight: 800; font-variant-numeric: tabular-nums; }
.total {
  display: flex; justify-content: space-between; font-weight: 800; font-size: 18px;
  padding: 8px 18px 0; transition: opacity .5s ease .65s;
}
.js .total { opacity: 0; }
.js .result-card.play .total { opacity: 1; }
@media (max-width: 860px) { .demo { grid-template-columns: 1fr; } }

/* ---------- features ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-gap); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
@media (hover: hover) {
  .card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg);
    border-color: rgba(47, 180, 155, .45); }
  .card:hover .ico { transform: rotate(-6deg) scale(1.1); }
}
.ico {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  font-size: 25px; transition: transform .25s ease;
}
.ico-teal   { background: linear-gradient(135deg, #DDF3EC, #BCE7DB); }
.ico-leaf   { background: linear-gradient(135deg, #E5F0DA, #CFE5BC); }
.ico-salmon { background: linear-gradient(135deg, #FDE8DB, #FAD3BC); }
.ico-sun    { background: linear-gradient(135deg, #FBF1D8, #F5E3B4); }
.ico-sky    { background: linear-gradient(135deg, #DFEFF6, #C4E2EF); }
.ico-berry  { background: linear-gradient(135deg, #F3E4EE, #E6CCDF); }
.card h3 { margin: 0; font-size: 19.5px; letter-spacing: -.015em; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
@media (max-width: 860px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }

/* ---------- privacy band ---------- */
.band-wrap { padding-top: var(--sp-section); }
.band {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, #33531F 0%, var(--leaf-deep) 55%, #1F3616 100%);
  color: #F2F7EE; border-radius: 34px;
  padding: clamp(56px, 8vw, 88px) clamp(28px, 5vw, 72px);
  text-align: center;
}
.band::before, .band::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5;
}
.band::before { width: 380px; height: 380px; top: -140px; right: -80px;
  background: radial-gradient(circle, rgba(47, 180, 155, .55), transparent 70%); }
.band::after { width: 320px; height: 320px; bottom: -130px; left: -70px;
  background: radial-gradient(circle, rgba(231, 196, 106, .35), transparent 70%); }
.band > * { position: relative; z-index: 1; }
.band h2 { color: #fff; }
.band .sub { color: #C9DABD; }
.chips { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.chip {
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px; padding: 10px 20px; font-size: 14.5px; font-weight: 600;
  transition: background .2s ease, transform .2s ease;
}
.chip:hover { background: rgba(255, 255, 255, .2); transform: translateY(-2px); }

/* ---------- compare ---------- */
.tbl {
  overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); box-shadow: var(--shadow-md);
}
table { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 540px; }
th, td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }
th { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
td:nth-child(2), th:nth-child(2) { background: rgba(23, 128, 107, .06); }
th:nth-child(2) { color: var(--teal); }
td.yes { color: var(--teal); font-weight: 800; }
td.no { color: #B5502F; font-weight: 700; }
tbody tr { transition: background .15s ease; }
tbody tr:hover { background: rgba(78, 124, 52, .04); }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-gap); align-items: stretch; }
.price-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
@media (hover: hover) {
  .price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(47, 180, 155, .4); }
}
.pc-head h3 { margin: 0 0 4px; font-size: 20px; letter-spacing: -.015em; }
.pc-head p { margin: 0; color: var(--muted); font-size: 14.5px; }
.pc-price { display: flex; align-items: baseline; gap: 6px; margin-top: 6px; }
.pc-price b { font-size: 40px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pc-price span { color: var(--muted); font-size: 15px; font-weight: 600; }
.pc-was { margin: -6px 0 0; font-size: 13px; color: var(--muted); font-weight: 500; }
.pc-was s { color: var(--muted); opacity: .7; margin-right: 5px; }
.pc-list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pc-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--ink); }
.pc-list li::before { content: "✓"; color: var(--teal); font-weight: 800; line-height: 1.5; flex: none; }
.pc-cta { justify-content: center; width: 100%; margin-top: 8px; }
.price-note { text-align: center; color: var(--muted); font-size: 13.5px; margin: var(--sp-gap) 0 0; }

/* the featured card: same size/shadow as its siblings, told apart only by its
   badge and a light reflection that sweeps the full card at an angle. */
.price-card-pro { position: relative; isolation: isolate; }
.price-card-pro .pc-price b { color: var(--teal); }
/* Same technique as .scanTip::after below: a wide gradient band, on a
   background twice the element's width, swept across via background-position.
   Because the element's own box never moves (just its background), it's
   automatically clipped to border-radius with no separate masking needed, so
   the "Best value" badge (which pokes out above the card's top edge) is
   never at risk of being clipped. */
.price-card-pro::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(112deg, transparent 36%, rgba(255, 255, 255, .9) 50%, transparent 64%);
  background-size: 260% 100%;
  animation: pc-sheen 5s ease-in-out infinite;
}
@keyframes pc-sheen {
  0%  { background-position: 130% 0; }
  40% { background-position: -60% 0; }
  100% { background-position: -60% 0; }
}
.pc-badge {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center;
  background: linear-gradient(135deg, var(--sun), #D9A83F);
  color: #4A3510; font-size: 12.5px; font-weight: 800; letter-spacing: .03em;
  text-transform: uppercase; padding: 7px 18px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 8px 20px rgba(202, 160, 60, .45);
  animation: pc-badge-glow 2.6s ease-in-out infinite;
}
@keyframes pc-badge-glow {
  0%, 100% { box-shadow: 0 8px 20px rgba(202, 160, 60, .45); transform: translateX(-50%) translateY(0); }
  50% { box-shadow: 0 12px 28px rgba(202, 160, 60, .7); transform: translateX(-50%) translateY(-3px); }
}
@media (max-width: 860px) { .price-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .price-card, .price-card-pro { transition: none; }
  .price-card-pro::before { animation: none; opacity: 0; }
  .pc-badge { animation: none; }
}

/* ---------- faq ---------- */
.faq-wrap { max-width: 780px; margin-inline: auto; }
details {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding-inline: 24px; margin-bottom: 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
details:hover { border-color: rgba(47, 180, 155, .5); }
details[open] { box-shadow: var(--shadow-md); }
summary {
  cursor: pointer; font-weight: 700; padding-block: 19px; font-size: 16.5px;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; color: var(--teal); font-size: 24px; font-weight: 400; line-height: 1;
  transition: transform .25s ease;
}
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0; padding-bottom: 22px; color: var(--muted); }

/* ---------- coming soon (closing section, no email capture) ---------- */
.launch-panel {
  background: var(--card); border: 1px solid var(--line); border-radius: 34px;
  box-shadow: var(--shadow-lg); text-align: center;
  padding: clamp(48px, 7vw, 76px) clamp(24px, 5vw, 64px);
  position: relative; overflow: hidden;
}
.launch-panel::before {
  content: ""; position: absolute; width: 420px; height: 420px; top: -220px; left: 50%;
  transform: translateX(-50%); border-radius: 50%; filter: blur(80px);
  background: radial-gradient(circle, rgba(47, 180, 155, .18), transparent 70%);
}
.launch-panel > * { position: relative; }
.soon-badge {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 32px;
  background: var(--cream); border: 1px solid var(--line); border-radius: 18px;
  padding: 12px 26px 12px 12px; text-align: left;
}
.soon-badge img { width: 44px; height: 44px; border-radius: 12px; display: block; }
.soon-badge b { display: block; font-size: 15.5px; letter-spacing: -.01em; }
.soon-badge small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; margin-top: 1px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); margin-top: var(--sp-section);
  padding-block: 44px 56px; color: var(--muted); font-size: 14.5px; }
.foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.foot .brand { font-size: 16px; }
.foot .brand img { width: 28px; height: 28px; }
.foot nav { display: flex; gap: 20px; margin-left: auto; }
.foot nav a { color: var(--muted); text-decoration: none; }
.foot nav a:hover { color: var(--teal); }
.legal { margin: 0; max-width: 78ch; }

/* ---------- reveal (only hidden when JS is running) ---------- */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .65s ease, transform .65s ease; }
.js .rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; }
.rv-d3 { transition-delay: .24s; } .rv-d4 { transition-delay: .32s; }
.rv-d5 { transition-delay: .4s; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .blob-a, .blob-b, .eyebrow::before { animation: none; }
  .marquee-track { animation: none; }
  .term .caret { animation: none; }
  .scroll-cue, .scroll-cue i { animation: none; }
  .js .food-row, .js .total { opacity: 1; transform: none; transition: none; }
  .btn, .card, .chip, .ico { transition: none; }
}

/* ============================================================
   Dynamic layer 2.0 — Fraunces display type, hover systems,
   and the "scan what you hover" signature. Appended after the
   base so overrides are ordering-based, not specificity wars.
   ============================================================ */

/* Self-hosted (not Google Fonts): keeps the page from making any
   third-party request, which matters on a privacy-first product's
   own site. Same variable font Google serves, just local. */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../assets/fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url("../assets/fonts/fraunces-latin-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root { --display: "Fraunces", "Iowan Old Style", Georgia, serif; }

/* ---------- typographic identity ---------- */
h1, h2, .midcta p, .marquee-big .marquee-track {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -.01em;
  font-variation-settings: "SOFT" 60, "WONK" 0;
}
h1 { line-height: 1.05; }
h1 em {
  font-style: italic;
  font-variation-settings: "SOFT" 80, "WONK" 1; /* the wonky italic = the brand wink */
}
.brand { font-family: var(--display); font-weight: 640; letter-spacing: 0; }

/* ---------- sticky-header anchor fix ---------- */
section, .band-wrap, [id] { scroll-margin-top: 84px; }

/* ---------- nav: sliding gradient underline ---------- */
.nav nav a { position: relative; }
.nav nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px;
  background: linear-gradient(90deg, var(--teal-bright), var(--leaf));
  border-radius: 2px; transition: right .28s cubic-bezier(.6, .1, .2, 1);
}
@media (hover: hover) { .nav nav a:hover::after { right: 0; } }

/* ---------- magnetic buttons (JS feeds --magX/--magY) ---------- */
.btn { transform: translate(var(--magX, 0px), var(--magY, 0px)); }
.btn:hover { transform: translate(var(--magX, 0px), calc(var(--magY, 0px) - 3px)); }

/* ---------- hero stats: lean in on hover ---------- */
@media (hover: hover) {
  .stat { transition: transform .22s ease; }
  .stat:hover { transform: translateY(-3px); }
  .stat:hover b { color: var(--teal); }
  .stat b { transition: color .22s ease; }
}

/* ---------- the scan marquee: hover any dish, get its macros ---------- */
.dish {
  font-weight: 700; color: var(--ink); cursor: crosshair;
  border-bottom: 2px dotted rgba(19, 111, 92, .4);
  transition: color .15s ease, border-color .15s ease;
}
@media (hover: hover) {
  .dish:hover { color: var(--teal); border-bottom-color: var(--teal-bright); }
}
.scanTip {
  position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none;
  display: flex; align-items: center; gap: 11px;
  background: var(--card); border: 1px solid var(--line); border-radius: 15px;
  padding: 9px 15px 9px 10px; box-shadow: var(--shadow-lg);
  opacity: 0; transform: translate(-50%, -100%) translateY(6px) scale(.92);
  transition: opacity .16s ease, transform .16s ease;
}
.scanTip.on { opacity: 1; transform: translate(-50%, -100%) translateY(-2px); }
.scanTip .em {
  display: grid; place-items: center; width: 42px; height: 42px; font-size: 22px;
  background: var(--cream); border: 1.5px dashed rgba(19, 111, 92, .5); border-radius: 11px;
}
.scanTip .tx b { display: block; font-size: 15.5px; letter-spacing: -.01em;
  color: var(--teal); font-variant-numeric: tabular-nums; }
.scanTip .tx small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.scanTip::after { /* scan shimmer sweeping the card, like the in-app recognizer */
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(110deg, transparent 42%, rgba(47, 180, 155, .16) 50%, transparent 58%);
  background-size: 250% 100%; animation: scan-sweep 1.4s ease-in-out infinite;
}
@keyframes scan-sweep { from { background-position: 120% 0; } to { background-position: -60% 0; } }

/* ---------- feature cards: cursor spotlight, tinted per card ---------- */
.card { position: relative; overflow: hidden; --mx: 50%; --my: 40%; --glow: 47, 180, 155; }
.card:nth-child(2) { --glow: 120, 164, 86; }
.card:nth-child(3) { --glow: 239, 131, 84; }
.card:nth-child(4) { --glow: 226, 178, 74; }
.card:nth-child(5) { --glow: 199, 124, 169; }
.card:nth-child(6) { --glow: 94, 166, 205; }
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(240px circle at var(--mx) var(--my), rgba(var(--glow), .16), transparent 68%);
  opacity: 0; transition: opacity .3s ease;
}
@media (hover: hover) { .card:hover::before { opacity: 1; } }
.card > * { position: relative; }

/* ---------- steps: the number lights up ---------- */
.step .num { transition: transform .25s ease, box-shadow .25s ease; }
@media (hover: hover) {
  .step:hover .num {
    transform: translateY(-4px) scale(1.07);
    box-shadow: 0 0 0 7px rgba(47, 180, 155, .14), 0 12px 26px rgba(23, 128, 107, .38);
  }
}

/* ---------- demo result rows nudge on hover ---------- */
@media (hover: hover) {
  .js .result-card.play .food-row:hover { background: #F3ECDD; transform: translateX(-4px); }
}

/* ---------- privacy chips flip to their real meaning ---------- */
.chip { position: relative; overflow: hidden; cursor: default; }
.chip > span { display: block; transition: transform .32s cubic-bezier(.6, .1, .2, 1), opacity .32s ease; }
.chip::after {
  content: attr(data-alt); position: absolute; inset: 0;
  display: grid; place-items: center; padding-inline: 14px; white-space: nowrap;
  transform: translateY(110%); opacity: 0;
  transition: transform .32s cubic-bezier(.6, .1, .2, 1), opacity .32s ease;
}
@media (hover: hover) {
  .chip:hover > span { transform: translateY(-110%); opacity: 0; }
  .chip:hover::after { transform: none; opacity: 1; }
}

/* ---------- FAQ: smooth native open/close where supported ---------- */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  details::details-content {
    block-size: 0; overflow-y: clip;
    transition: content-visibility .32s allow-discrete, block-size .32s ease;
  }
  details[open]::details-content { block-size: auto; }
}

/* ---------- paper grain: the organic texture layer ---------- */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 95; pointer-events: none;
  opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- reduced motion for the new layer ---------- */
@media (prefers-reduced-motion: reduce) {
  .scanTip, .scanTip::after { animation: none; transition: none; }
  .chip > span, .chip::after, .nav nav a::after, .step .num, .stat { transition: none; }
  .btn, .btn:hover { transform: none; }
  .card::before { transition: none; }
}

/* ============================================================
   Code-drawn product demo — an animated iPhone that plays the
   whole scan→confirm→log→coach flow on a loop. No video file.
   ============================================================ */

/* Phone + terminal sit centered beside each other, not stretched to equal height. */
#demo .demo { align-items: center; }
.phone-wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.ph-caption { margin: 0; font-size: 13px; color: var(--muted); text-align: center; max-width: 34ch; }

.phone {
  position: relative; width: 292px; height: 600px; flex: none;
  background: linear-gradient(165deg, #2b2b2b, #060606);
  border-radius: 56px;
  padding: 5px;
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, .1),
    0 36px 70px rgba(23, 60, 40, .3),
    0 12px 26px rgba(23, 60, 40, .18);
}
@media (max-width: 400px) { .phone { width: 256px; height: 526px; } }
.ph-island {
  position: absolute; top: 13px; left: 50%; transform: translateX(-50%);
  width: 82px; height: 23px; background: #000; border-radius: 100px; z-index: 8;
}
.ph-screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 51px; overflow: hidden;
  background: var(--cream);
  font: 500 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
}
.ph-screen > div { position: absolute; inset: 0; }

/* ---- shared screen chrome ---- */
.ph-cam header, .ph-cam footer {
  position: absolute; left: 0; right: 0; z-index: 4;
  display: flex; align-items: center; justify-content: space-between;
  padding: 44px 22px 14px;
}
.ph-cam header { top: 0; font-weight: 700; }
.ph-cam header span { font-size: 15px; }
.ph-priv {
  font-size: 11px; font-weight: 700; color: var(--teal);
  background: rgba(19, 111, 92, .12); padding: 4px 9px; border-radius: 999px;
}
.ph-cam footer { bottom: 0; top: auto; flex-direction: column; gap: 16px; padding-bottom: 26px; }
.ph-status {
  font-size: 12.5px; color: #cfe3d8; font-weight: 600;
  background: rgba(12, 25, 20, .6); padding: 6px 14px; border-radius: 999px;
  backdrop-filter: blur(4px); opacity: 0;
}
.ph-shutter {
  width: 62px; height: 62px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .35);
}

/* ---- the "table" / camera viewfinder ---- */
.ph-table {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 40%, #6a4a34 0%, #4a3021 60%, #35211680 100%),
    #3a2417;
  overflow: hidden;
}
.ph-plate {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 208px; height: 208px; border-radius: 50%;
  background: radial-gradient(circle at 42% 38%, #fff 0%, #f4ede0 62%, #e4d7c2 100%);
  box-shadow: 0 22px 40px rgba(0, 0, 0, .4), inset 0 0 0 10px #fbf7ef;
  display: grid; place-items: center;
}
.ph-plate .f { position: absolute; font-size: 46px; filter: drop-shadow(0 5px 7px rgba(0,0,0,.3)); }
.ph-plate .f1 { top: 34px; left: 46px; transform: rotate(-8deg); }
.ph-plate .f2 { bottom: 40px; left: 58px; font-size: 40px; }
.ph-plate .f3 { top: 52px; right: 40px; font-size: 42px; transform: rotate(6deg); }

/* viewfinder corner brackets that snap in during framing */
.vf { position: absolute; width: 26px; height: 26px; border: 3px solid rgba(255,255,255,.9);
  opacity: 0; }
.vf1 { top: 26%; left: 16%; border-right: 0; border-bottom: 0; }
.vf2 { top: 26%; right: 16%; border-left: 0; border-bottom: 0; }
.vf3 { bottom: 24%; left: 16%; border-right: 0; border-top: 0; }
.vf4 { bottom: 24%; right: 16%; border-left: 0; border-top: 0; }

/* the recognizer sweep */
.ph-scanline {
  position: absolute; left: 0; right: 0; height: 130px; top: -140px;
  background: linear-gradient(180deg, transparent, rgba(47,180,155,.34) 60%, rgba(47,180,155,.7));
  border-bottom: 2px solid var(--teal-bright);
  opacity: 0;
}
.ph-tag {
  position: absolute; z-index: 3;
  font-size: 11px; font-weight: 700; color: #08201a;
  background: rgba(255,255,255,.94); padding: 4px 9px; border-radius: 8px;
  box-shadow: 0 6px 14px rgba(0,0,0,.28);
  opacity: 0; transform: scale(.7); transform-origin: left center; white-space: nowrap;
}
.ph-t1 { top: 30%; left: 30%; }
.ph-t2 { top: 60%; left: 34%; }
.ph-t3 { top: 40%; right: 20%; }

.ph-flash {
  position: absolute; inset: 0; background: #fff; opacity: 0; z-index: 6; pointer-events: none;
}

/* ---- review sheet slides up ---- */
/* `.ph-screen > .ph-sheet` (not just `.ph-sheet`) so this out-specifies the
   `.ph-screen > div { inset: 0 }` rule — otherwise top:0 wins and the sheet,
   anchored at the top, only half-hides when translated down. */
.ph-screen > .ph-sheet {
  top: auto; bottom: 0; height: 74%;
  background: var(--cream); border-radius: 26px 26px 0 0;
  box-shadow: 0 -18px 40px rgba(23,60,40,.18);
  padding: 26px 22px; transform: translateY(101%);
  display: flex; flex-direction: column; gap: 11px;
}
.ph-sheet-title { font-size: 19px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 4px; }
.ph-row {
  display: flex; justify-content: space-between; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 13px 16px; font-weight: 600; font-size: 14px;
  opacity: 0; transform: translateX(16px);
}
.ph-row small { color: var(--muted); font-weight: 500; }
.ph-row b { color: var(--teal); font-variant-numeric: tabular-nums; }
.ph-total {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 16px 0; font-weight: 800; font-size: 16px; opacity: 0;
}
.ph-total b { color: var(--ink); }
.ph-log {
  margin-top: auto; text-align: center;
  background: linear-gradient(135deg, #126857, #0C594A); color: #fff;
  padding: 15px; border-radius: 15px; font-weight: 700; font-size: 15px;
  box-shadow: 0 10px 22px rgba(23,128,107,.3); opacity: 0; transform: translateY(10px);
}
.ph-log.tap { transform: scale(.95); }

/* ---- logged confirmation + coach ---- */
.ph-done {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; padding: 30px; text-align: center; opacity: 0;
  background: var(--cream);
}
.ph-ringbox { position: relative; width: 118px; height: 118px; }
.ph-ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ph-ring .bg { fill: none; stroke: rgba(19,111,92,.16); stroke-width: 6; }
.ph-ring .fg {
  fill: none; stroke: url(#phGrad); stroke-width: 6; stroke-linecap: round;
  stroke-dasharray: 157; stroke-dashoffset: 157;
}
.ph-check {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 40px; color: var(--teal); opacity: 0; transform: scale(.4);
}
.ph-done-t { margin: 0; font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.ph-done-t small { font-weight: 600; font-size: 13px; color: var(--muted); }
.ph-bubble {
  position: relative; margin-top: 6px; max-width: 232px; min-height: 44px;
  display: flex; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 18px 18px 18px 5px;
  padding: 13px 16px; box-shadow: var(--shadow-md); text-align: left;
  font-size: 13.5px; font-weight: 500; color: var(--ink);
  opacity: 0; transform: translateY(12px) scale(.9); transform-origin: bottom left;
}
/* dots overlay the message's spot, so swapping one for the other never reflows the bubble */
.ph-dots { position: absolute; left: 16px; top: 18px; display: flex; gap: 5px; }
.ph-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-bright);
  animation: ph-typing 1.1s ease-in-out infinite; }
.ph-dots i:nth-child(2) { animation-delay: .15s; }
.ph-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes ph-typing { 50% { opacity: .3; transform: translateY(-3px); } }
.ph-msg { display: block; opacity: 0; }
/* message stays in normal flow so the bubble sizes to it; dots overlay on top */
.ph-msg { display: block; opacity: 0; transition: opacity .4s ease; }
.ph-dots { transition: opacity .3s ease; }

/* ============================================================
   Phase-driven timeline. A single JS controller sets
   #scanDemo[data-phase] through frame → snap → scan → review →
   log → done, and both the phone and the terminal react to it,
   so the story reads: take the photo, JSON fills in on the
   right, then it logs on the phone.
   ============================================================ */

/* Correct layering: each screen owns a stacking context, so the
   camera's header/shutter (z-index 4/6) can never bleed over the
   review sheet or the logged screen sitting above it. */
.ph-cam   { z-index: 1; }
.ph-sheet { z-index: 2; }
.ph-done  { z-index: 3; }

/* transitions the phase attribute drives */
.vf, .ph-status, .ph-tag, .ph-flash, .ph-shutter,
.ph-row, .ph-total, .ph-log, .ph-done, .ph-check, .ph-bubble {
  transition: opacity .35s ease, transform .35s ease;
}
.ph-sheet { transition: transform .55s cubic-bezier(.5, .05, .2, 1); }
.ph-ring .fg { transition: stroke-dashoffset 1.1s ease .25s; }

/* --- frame + snap: camera live, brackets snap in, then the flash --- */
#scanDemo[data-phase="frame"] .vf,
#scanDemo[data-phase="snap"] .vf { opacity: 1; }
#scanDemo[data-phase="snap"] .ph-flash { animation: ph-flash .5s ease; }
#scanDemo[data-phase="snap"] .ph-shutter { transform: scale(.85); }
@keyframes ph-flash { 0% { opacity: 0; } 30% { opacity: .9; } 100% { opacity: 0; } }

/* --- scan: recognizer sweeps, status shows, tags pop (synced with the JSON typing) --- */
#scanDemo[data-phase="scan"] .ph-status { opacity: 1; }
#scanDemo[data-phase="scan"] .ph-scanline { animation: ph-scan 2.1s ease-in-out .1s forwards; }
@keyframes ph-scan {
  0% { opacity: 0; top: -140px; }
  10% { opacity: 1; }
  85% { opacity: 1; top: 100%; }
  100% { opacity: 0; top: 100%; }
}
#scanDemo[data-phase="scan"] .ph-t1 { opacity: 1; transform: none; transition-delay: .8s; }
#scanDemo[data-phase="scan"] .ph-t2 { opacity: 1; transform: none; transition-delay: 1.2s; }
#scanDemo[data-phase="scan"] .ph-t3 { opacity: 1; transform: none; transition-delay: 1.6s; }

/* --- review + log: sheet slides up, rows stagger in, total, then the tap --- */
#scanDemo[data-phase="review"] .ph-sheet,
#scanDemo[data-phase="log"] .ph-sheet { transform: translateY(0); }
#scanDemo[data-phase="review"] .ph-row,
#scanDemo[data-phase="log"] .ph-row { opacity: 1; transform: none; }
#scanDemo[data-phase="review"] .ph-r1, #scanDemo[data-phase="log"] .ph-r1 { transition-delay: .2s; }
#scanDemo[data-phase="review"] .ph-r2, #scanDemo[data-phase="log"] .ph-r2 { transition-delay: .32s; }
#scanDemo[data-phase="review"] .ph-r3, #scanDemo[data-phase="log"] .ph-r3 { transition-delay: .44s; }
#scanDemo[data-phase="review"] .ph-total,
#scanDemo[data-phase="log"] .ph-total { opacity: 1; transition-delay: .56s; }
#scanDemo[data-phase="review"] .ph-log,
#scanDemo[data-phase="log"] .ph-log { opacity: 1; transform: translateY(0); transition-delay: .7s; }
#scanDemo[data-phase="log"] .ph-log { transform: scale(.94); transition-delay: 0s; }

/* --- done: logged screen fades in over everything, ring fills, coach speaks --- */
#scanDemo[data-phase="done"] .ph-done { opacity: 1; }
#scanDemo[data-phase="done"] .ph-ring .fg { stroke-dashoffset: 47; }
#scanDemo[data-phase="done"] .ph-check { opacity: 1; transform: none; transition-delay: .5s; }
#scanDemo[data-phase="done"] .ph-bubble { opacity: 1; transform: none; transition-delay: .95s; }
/* typing dots fade out as the coach's line writes in */
#scanDemo[data-phase="done"] .ph-dots { animation: ph-dots-out .4s ease 1.9s forwards; }
#scanDemo[data-phase="done"] .ph-msg { animation: ph-msg-in .4s ease 2.2s forwards; }
@keyframes ph-dots-out { to { opacity: 0; } }
@keyframes ph-msg-in { to { opacity: 1; } }

@media (max-width: 860px) {
  .demo { grid-template-columns: 1fr; justify-items: center; }
  .demo .term { display: none; } /* on mobile the phone tells the whole story */
}

@media (prefers-reduced-motion: reduce) {
  #scanDemo * { transition: none !important; animation: none !important; }
  /* Freeze on the finished "logged" state with the coach's real line */
  .ph-done { opacity: 1; }
  .ph-cam, .ph-sheet { opacity: 0; }
  .ph-ring .fg { stroke-dashoffset: 47; }
  .ph-check { opacity: 1; transform: none; }
  .ph-bubble { opacity: 1; transform: none; }
  .ph-dots { opacity: 0; }
  .ph-msg { opacity: 1; }
}

/* ============================================================
   Hero: a faithful, calm recreation of the real app's Today
   screen (nested rings + macro bars) inside the shared .phone
   frame, with two small floating context chips. No mascot, no
   scroll-scrubbed animation — just a gentle fade+fill on first
   view (reuses the site's .rv/.in reveal mechanism) and the
   existing pointer-tilt on #heroScene.
   ============================================================ */

.hero-scene {
  position: relative; display: flex; justify-content: center;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .3s ease-out;
}

.float-chip {
  position: absolute; z-index: 5; display: flex; align-items: center; gap: 10px;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 9px 16px 9px 10px; box-shadow: var(--shadow-md);
  animation: chip-float 4.6s ease-in-out infinite;
}
.fc-emoji {
  display: grid; place-items: center; width: 38px; height: 38px; font-size: 21px;
  background: var(--cream); border-radius: 11px;
}
.fc-tx { display: flex; flex-direction: column; line-height: 1.25; }
.fc-tx b { font-size: 13.5px; letter-spacing: -.01em; }
.fc-tx small { font-size: 11px; color: var(--muted); font-weight: 600; }
.fc-top { top: -68px; right: -56px; }
.fc-bottom { bottom: 132px; left: -54px; animation-delay: -2.3s; }
@keyframes chip-float { 50% { transform: translateY(-10px); } }
@media (max-width: 620px) { .float-chip { display: none; } }
@media (prefers-reduced-motion: reduce) { .float-chip { animation: none; } }

/* ---- the recreated Today screen ---- */
.ph-today { padding: 46px 22px 26px; display: flex; flex-direction: column; align-items: center; }
.pt-head { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-bottom: 18px; }
.pt-head b { font-family: var(--display); font-weight: 640; font-size: 19px; letter-spacing: -.01em; }
.pt-lock {
  font-size: 10.5px; font-weight: 700; color: var(--teal);
  background: rgba(19, 111, 92, .12); border-radius: 999px; padding: 4px 9px;
}
.pt-rings { position: relative; width: 200px; height: 200px; margin-bottom: 14px; }
.pt-rings svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.pt-track { fill: none; stroke-width: 14; }
.pt-track-food  { stroke: rgba(239, 131, 84, .18); }
.pt-track-ex    { stroke: rgba(78, 124, 52, .18); }
.pt-track-steps { stroke: rgba(47, 180, 155, .18); }
.pt-fg { fill: none; stroke-linecap: round; stroke-width: 14; }
.pt-food  { stroke: #EF8354; stroke-dasharray: 553; stroke-dashoffset: 553;
  transition: stroke-dashoffset 1.3s cubic-bezier(.3, .7, .2, 1) .35s; }
.pt-ex    { stroke: #4E7C34; stroke-dasharray: 427; stroke-dashoffset: 427;
  transition: stroke-dashoffset 1.3s cubic-bezier(.3, .7, .2, 1) .5s; }
.pt-steps { stroke: #2FB49B; stroke-dasharray: 302; stroke-dashoffset: 302;
  transition: stroke-dashoffset 1.3s cubic-bezier(.3, .7, .2, 1) .65s; }
.js .hero-phone.in .pt-food  { stroke-dashoffset: 166; }
.js .hero-phone.in .pt-ex    { stroke-dashoffset: 235; }
.js .hero-phone.in .pt-steps { stroke-dashoffset: 45; }
.pt-center {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.pt-center b { font-family: var(--display); font-size: 24px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.pt-center small { font-size: 9.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.pt-legend { display: flex; gap: 14px; font-size: 11px; font-weight: 600; color: var(--muted); margin-bottom: 20px; }
.pt-legend span { display: flex; align-items: center; gap: 5px; }
.pt-dot { width: 8px; height: 8px; border-radius: 50%; }
.pt-dot.pt-food { background: #EF8354; } .pt-dot.pt-ex { background: #4E7C34; } .pt-dot.pt-steps { background: #2FB49B; }
.pt-macros { width: 100%; display: flex; flex-direction: column; gap: 12px; }
.pt-macro { display: flex; align-items: center; gap: 10px; font-size: 11.5px; font-weight: 600; color: var(--muted); }
.pt-macro span { width: 52px; flex: none; }
.pt-macro i {
  flex: 1; height: 7px; border-radius: 999px; background: rgba(31, 43, 37, .08);
  position: relative; overflow: hidden; display: block;
}
.pt-macro i::after {
  content: ""; position: absolute; inset: 0; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, var(--teal-bright), var(--teal));
  transition: width 1s ease .8s;
}
.js .hero-phone.in .pt-macro:nth-child(1) i::after { width: 62%; }
.js .hero-phone.in .pt-macro:nth-child(2) i::after { width: 44%; }
.js .hero-phone.in .pt-macro:nth-child(3) i::after { width: 38%; }

@media (prefers-reduced-motion: reduce) {
  .pt-fg, .pt-macro i::after { transition: none; }
  .pt-food { stroke-dashoffset: 166; } .pt-ex { stroke-dashoffset: 235; } .pt-steps { stroke-dashoffset: 45; }
  .pt-macro:nth-child(1) i::after { width: 62%; }
  .pt-macro:nth-child(2) i::after { width: 44%; }
  .pt-macro:nth-child(3) i::after { width: 38%; }
}

/* ---------- simple content pages: privacy, terms, support, about ---------- */
.page-hero { padding-block: var(--sp-head) 0; }
.page-hero .eyebrow { margin: 0 0 10px; }
.page-hero h1 { margin: 0 0 10px; font-size: clamp(32px, 5vw, 44px); }
.page-hero .updated { color: var(--muted); font-size: 14px; }
.prose { max-width: 720px; margin: 0 auto; padding-block: var(--sp-section); }
.prose h2 {
  font-family: var(--display); font-weight: 600; letter-spacing: -.01em;
  font-variation-settings: "SOFT" 60, "WONK" 0;
  font-size: 24px; margin: 2.2em 0 .6em;
}
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 1em; color: var(--ink); }
.prose ul { margin: 0 0 1em; padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--teal); }
.prose .note {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px; font-size: 15px; color: var(--muted); box-shadow: var(--shadow-sm);
}
