/* The home page (nutria.cc/). Its own sheet: the marketing bands are
   wider and louder than the app's column, which .claude/rules/web.md §4
   leaves free. One family, Schibsted Grotesk, at the app's variable
   weights (400 to 900, subset from app/assets/fonts). Letter spacing 0,
   no uppercase label, radii from the contract (14, 20, 28, 999), plus the
   phone's own corner. */

@font-face {
  font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("schibsted-grotesk-var.woff2") format("woff2");
}

:root {
  /* a chapter's room above and below, shared with the pins that cancel it */
  --chap-pt: clamp(72px, 9vw, 130px); --chap-pb: clamp(80px, 9vw, 140px);
  --f: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --night-0: #070C20; --night-1: #0B1330; --night-2: #16225A;
  --sun: #FFD166; --sun-2: #FFE08A;
  --ink: #233650; --muted: #495C75; --accent: #4056A4; --secondary: #2D636A;
  --canvas: #EDF4FC;
  --r-control: 14px; --r-card: 20px; --r-sheet: 28px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --phone-w: clamp(250px, 26vw, 340px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--night-0); color: #fff;
  font: 400 17px/1.55 var(--f); letter-spacing: 0;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
em { font-style: normal; }
.hl { color: var(--hl, var(--sun)); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: var(--r-control); }

.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.eyebrow { font-weight: 700; font-size: 15px; opacity: .78; margin-bottom: 14px; }
.h1 { font-weight: 850; font-size: clamp(40px, 6.4vw, 92px); line-height: .98; }
.h2 { font-weight: 800; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.05; }
.body { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; max-width: 34em; opacity: .88; margin-top: 22px; }

/* ---------- Tones: the store set's worlds ---------- */
.tone-night { --bg: radial-gradient(90% 70% at 15% 0%, #23307A 0%, transparent 60%), linear-gradient(160deg, var(--night-1), var(--night-2) 55%, #0A1026); --hl: var(--sun); }
.tone-warm { --bg: radial-gradient(60% 50% at 90% 5%, rgba(255, 208, 138, .7), transparent 70%), radial-gradient(70% 60% at 0% 100%, rgba(59, 16, 96, .7), transparent 70%), linear-gradient(160deg, #FF9A5A, #F0566F 50%, #9B2F7A); --hl: #2A1450; }
.tone-teal { --bg: radial-gradient(60% 50% at 10% 5%, rgba(127, 227, 210, .35), transparent 70%), linear-gradient(160deg, #0F3B40, #1D6A70 55%, #0B2D33); --hl: var(--sun-2); }
.tone-indigo { --bg: radial-gradient(60% 50% at 95% 10%, rgba(155, 176, 255, .45), transparent 70%), linear-gradient(160deg, #101A44, #2B3C9A 60%, #4056A4); --hl: var(--sun); }
.tone-light { --bg: radial-gradient(60% 50% at 10% 0%, #fff, transparent 70%), radial-gradient(60% 50% at 95% 95%, rgba(143, 166, 255, .45), transparent 70%), linear-gradient(160deg, #F4F8FF, #CBD7FA 60%, #C6E4E6); --hl: var(--accent); color: var(--ink); }
.tone-mint { --bg: radial-gradient(60% 50% at 90% 0%, #fff, transparent 70%), radial-gradient(60% 50% at 5% 95%, rgba(127, 209, 196, .5), transparent 70%), linear-gradient(160deg, #F2FBF8, #CFEDE8 60%, #C6D8FA); --hl: var(--secondary); color: var(--ink); }
.tone-sky { --bg: radial-gradient(50% 50% at 15% 5%, #fff, transparent 70%), radial-gradient(60% 50% at 95% 90%, rgba(143, 166, 255, .55), transparent 70%), linear-gradient(170deg, #F4F8FF, #CBD7FA 70%, #B9C8F6); --hl: var(--accent); color: var(--ink); }
.tone-amber { --bg: radial-gradient(60% 50% at 5% 0%, rgba(255, 243, 184, .9), transparent 70%), radial-gradient(60% 50% at 95% 100%, rgba(229, 91, 45, .45), transparent 70%), linear-gradient(160deg, #FFD76A, #FFB347 55%, #FF8A3D); --hl: #C2410C; color: #2A1A08; }
.tone-ink { --bg: radial-gradient(60% 60% at 50% 60%, rgba(91, 115, 214, .45), transparent 70%), linear-gradient(180deg, #05080F, #0C1424 60%, #05080F); --hl: #B0BEF3; }

@media (prefers-color-scheme: dark) {
  .tone-light { --bg: radial-gradient(55% 45% at 8% 0%, rgba(109, 131, 255, .45), transparent 70%), radial-gradient(50% 50% at 100% 100%, rgba(127, 227, 210, .25), transparent 70%), linear-gradient(160deg, #10182E, #1B2A55 60%, #13233A); --hl: #B0BEF3; color: #E8EDF5; }
  .tone-mint { --bg: radial-gradient(55% 45% at 92% 0%, rgba(127, 227, 210, .4), transparent 70%), radial-gradient(50% 50% at 0% 100%, rgba(109, 131, 255, .3), transparent 70%), linear-gradient(160deg, #0C2428, #164046 60%, #12263E); --hl: #8FE3D2; color: #E8EDF5; }
  .tone-sky { --bg: radial-gradient(55% 45% at 15% 5%, rgba(155, 176, 255, .45), transparent 70%), radial-gradient(50% 50% at 95% 95%, rgba(255, 209, 102, .16), transparent 70%), linear-gradient(170deg, #121A3A, #23306A 70%, #1A2550); --hl: var(--sun); color: #E8EDF5; }
}

.chapter, .hero, .finale {
  position: relative; background: var(--bg);
  border-radius: 44px 44px 0 0; margin-top: -44px;
  box-shadow: 0 -30px 60px rgba(0, 0, 0, .18);
}
.hero { border-radius: 0; margin-top: 0; box-shadow: none; }
.chapter { padding: var(--chap-pt) 0 var(--chap-pb); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; z-index: 50; top: 14px; left: 50%; translate: -50% 0;
  display: flex; align-items: center; gap: 28px;
  padding: 8px 8px 8px 18px; border-radius: 999px;
  background: rgba(10, 16, 38, .55); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .12); color: #fff;
  transition: translate .5s var(--ease-out), background .3s;
}
.nav.hide { translate: -50% -140%; }
.nav-brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 19px; text-decoration: none; }
.nav-links { display: flex; gap: 22px; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 15px; opacity: .8; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-cta { text-decoration: none; font-weight: 700; font-size: 15px; background: var(--sun); color: #1B1A2E; padding: 10px 18px; border-radius: 999px; transition: transform .25s var(--ease-spring); }
.nav-cta:hover { transform: scale(1.05); }
@media (max-width: 940px) { .nav-links { display: none; } .nav { gap: 16px; } }

/* ---------- Store badges ---------- */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.store {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  padding: 11px 20px 11px 16px; border-radius: var(--r-control);
  background: #fff; color: #0B1330; font-weight: 700; font-size: 19px; line-height: 1.05;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25); transition: transform .3s var(--ease-spring), box-shadow .3s;
}
.store small { display: block; font-weight: 500; font-size: 11px; opacity: .7; }
.store svg { width: 26px; height: 26px; }
.store:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 16px 40px rgba(0, 0, 0, .3); }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: grid; align-items: center; overflow: hidden; padding: 110px 0 90px; isolation: isolate; }
.hero-sky, .hero-sky > * { position: absolute; inset: 0; pointer-events: none; }
.hero-sky { z-index: -1; }
.sky-photo { background: url("toast-salad.webp") center / cover; filter: blur(46px) saturate(1.6) brightness(.7); opacity: .32; transform: scale(1.2); }
.sky-glow.g1 { background: radial-gradient(40% 40% at 78% 40%, rgba(109, 131, 255, .55), transparent 70%); }
.sky-glow.g2 { background: radial-gradient(30% 30% at 10% 90%, rgba(255, 209, 102, .2), transparent 70%); }
.sky-rings i { position: absolute; left: 74%; top: 50%; border: 2px solid rgba(255, 255, 255, .07); border-radius: 50%; translate: -50% -50%; }
.sky-rings i:nth-child(1) { width: 560px; height: 560px; }
.sky-rings i:nth-child(2) { width: 780px; height: 780px; border-color: rgba(255, 255, 255, .05); }
.sky-rings i:nth-child(3) { width: 1020px; height: 1020px; border-color: rgba(255, 255, 255, .035); }
/* The glows hold still: animated under the nav's backdrop blur, they made the
   bar flicker on every frame (Joachim, 2026-11-22). */

.hero-in { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); font-weight: 600; font-size: 14px; }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 0 rgba(255, 209, 102, .7); animation: ping 2.2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(255, 209, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 209, 102, 0); } }

.hero-h1 { font-weight: 880; font-size: clamp(50px, 6.7vw, 100px); line-height: .92; margin-top: 26px; }
.hero-h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-h1 .word { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); }
.hero-h1.in .word { transform: none; }
.hero-h1 .line:nth-child(1) .word:nth-child(2) { transition-delay: .07s; }
.hero-h1 .line:nth-child(2) .word:nth-child(1) { transition-delay: .14s; }
.hero-h1 .line:nth-child(2) .word:nth-child(2) { transition-delay: .2s; }
.hero-h1 .line:nth-child(2) .word:nth-child(3) { transition-delay: .26s; }
.hero-h1 .hl { display: inline-block; background: linear-gradient(100deg, var(--sun), #FFB36B 50%, var(--sun)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 5s linear infinite; }
@keyframes sheen { to { background-position: -200% 0; } }
.hero-lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; max-width: 31em; margin-top: 26px; opacity: .86; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* Floating tiles */
.floaters { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.tile { position: absolute; width: clamp(54px, 6vw, 92px); filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .35)); will-change: transform; }
.tile.t1 { left: 50%; top: 14%; }
.tile.t2 { left: 92%; top: 18%; width: clamp(46px, 5vw, 76px); }
.tile.t3 { left: 47%; top: 78%; }
.tile.t4 { left: 95%; top: 72%; width: clamp(40px, 4vw, 64px); }
.tile.t5 { left: 6%; top: 88%; width: clamp(44px, 4.5vw, 70px); opacity: .8; }
.tile.t6 { left: 38%; top: 6%; width: clamp(36px, 3.6vw, 56px); opacity: .7; }
.tile > * { pointer-events: none; }

/* ---------- Phones ---------- */
.phone {
  position: relative; width: var(--phone-w); aspect-ratio: 9 / 19.5;
  border-radius: calc(var(--phone-w) * .16); padding: calc(var(--phone-w) * .035);
  background: linear-gradient(145deg, #3A4560, #121A2E 40%, #2A3550);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14) inset, 0 50px 100px -20px rgba(0, 0, 0, .55), 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.phone-glass, .phone.shot img { width: 100%; height: 100%; border-radius: calc(var(--phone-w) * .13); overflow: hidden; }
.phone.shot { margin: 0; }
.phone.shot img { object-fit: cover; object-position: top; background: #EDF4FC; }

.hero-stage { position: relative; display: grid; justify-items: center; z-index: 1; perspective: 1400px; }
.hero-phone { transform: rotateY(-14deg) rotateX(6deg) rotateZ(2deg); transform-style: preserve-3d; transition: transform 1.2s var(--ease-out); --phone-w: clamp(260px, 25vw, 340px); }
.hero-phone.tilt { transition: transform .2s linear; }

.cam { position: relative; width: 100%; height: 100%; background: #000; overflow: hidden; }
.cam-photo { position: absolute; top: 0; left: 50%; height: 100%; aspect-ratio: 864 / 1536; translate: -50% 0; transform: scale(1.18) translate(var(--sx, 0), var(--sy, 0)); transition: transform 1.1s var(--ease-out); will-change: transform; }
.cam-photo img { width: 100%; height: 100%; object-fit: cover; }
.cam-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .45), transparent 18%, transparent 72%, rgba(0, 0, 0, .6)); transition: opacity .6s; }
.cam-top { position: absolute; top: 5%; left: 6%; right: 6%; display: flex; justify-content: space-between; align-items: center; }
.cam-x { width: 14px; height: 14px; position: relative; opacity: .9; }
.cam-x::before, .cam-x::after { content: ""; position: absolute; left: 50%; top: 0; width: 2px; height: 100%; background: #fff; border-radius: 2px; transform: rotate(45deg); }
.cam-x::after { transform: rotate(-45deg); }
.cam-status { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 12px; font-weight: 700; opacity: 0; transform: translateY(-8px); transition: .4s var(--ease-out); }
.cam-status b { width: 7px; height: 7px; border-radius: 50%; background: var(--sun); animation: ping 1.2s infinite; }
.cam-bottom { position: absolute; bottom: 4.5%; left: 0; right: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; justify-items: center; transition: opacity .4s, transform .6s var(--ease-out); }
.cam-thumb { width: 34px; height: 34px; border-radius: 10px; background: url("pizza.webp") center / cover; border: 2px solid rgba(255, 255, 255, .8); }
.cam-mode { font-size: 13px; font-weight: 700; color: var(--sun); }
.shutter { width: 64px; height: 64px; border-radius: 50%; border: 4px solid #fff; display: grid; place-items: center; }
.shutter i { width: 50px; height: 50px; border-radius: 50%; background: #fff; transition: transform .18s; }
.cam-reticle { position: absolute; left: 50%; top: 42%; width: 58%; aspect-ratio: 1; translate: -50% -50%; opacity: 0; transform: scale(1.3); transition: opacity .4s, transform .7s var(--ease-out); }
.cam-reticle i { position: absolute; width: 22%; height: 22%; border: 3px solid var(--sun); }
.cam-reticle i:nth-child(1) { left: 0; top: 0; border-width: 3px 0 0 3px; border-top-left-radius: 14px; }
.cam-reticle i:nth-child(2) { right: 0; top: 0; border-width: 3px 3px 0 0; border-top-right-radius: 14px; }
.cam-reticle i:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 3px 3px; border-bottom-left-radius: 14px; }
.cam-reticle i:nth-child(4) { right: 0; bottom: 0; border-width: 0 3px 3px 0; border-bottom-right-radius: 14px; }
.cam-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.cam-scan { position: absolute; left: 0; right: 0; top: -30%; height: 30%; background: linear-gradient(180deg, transparent, rgba(255, 209, 102, .0) 40%, rgba(255, 209, 102, .35) 92%, rgba(255, 240, 200, .95) 100%); opacity: 0; mix-blend-mode: screen; }
.cam-boxes { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cam-boxes rect, .ing-boxes rect { fill: rgba(255, 209, 102, .08); stroke: var(--sun); stroke-width: 3; vector-effect: non-scaling-stroke; rx: 22; stroke-dasharray: var(--len) var(--len); stroke-dashoffset: var(--len); opacity: 0; transition: stroke-dashoffset .9s var(--ease-out), opacity .2s, fill .4s; }
.cam-boxes rect.on, .ing-boxes rect.on { stroke-dashoffset: 0; opacity: 1; }
.cam-chips, .ing-tags { position: absolute; inset: 0; pointer-events: none; }
.tag {
  position: absolute; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 5px 9px 5px 7px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: #1B2745;
  font-size: 11px; font-weight: 700; box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
  transform: translate(-4px, -50%) scale(.4); opacity: 0; transform-origin: left center; transition: transform .55s var(--ease-spring), opacity .25s;
}
.tag b { width: 7px; height: 7px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 2px rgba(255, 209, 102, .35); }
.tag em { color: #4056A4; font-weight: 800; }
.tag.on { transform: translate(-4px, -50%) scale(1); opacity: 1; }

.result {
  position: absolute; left: 3%; right: 3%; bottom: 2.5%; padding: 10px 16px 16px; border-radius: 22px;
  background: rgba(255, 255, 255, .94); color: #1B2745; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  transform: translateY(115%); transition: transform .9s var(--ease-out);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, .3);
}
.result-grab { width: 34px; height: 4px; border-radius: 4px; background: #CBD5E5; margin: 0 auto 10px; }
.result-title { font-weight: 750; font-size: 15px; line-height: 1.25; }
.result-kcal { font-weight: 850; font-size: 40px; line-height: 1.1; margin-top: 4px; font-variant-numeric: tabular-nums; }
.result-kcal small { font-size: 15px; font-weight: 600; margin-left: 4px; color: #495C75; }
.result-macros { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: #495C75; font-weight: 600; margin-top: 2px; }
.result-macros span { display: inline-flex; align-items: center; gap: 5px; }
.result-macros em { color: #1B2745; font-weight: 800; font-variant-numeric: tabular-nums; }
.result-macros b { width: 8px; height: 8px; border-radius: 3px; }
.m-p, .bp { background: #4056A4; } .m-c, .bc { background: #2D9C8F; } .m-f, .bf { background: #F0A23C; }
.result-bar { display: flex; height: 7px; border-radius: 999px; overflow: hidden; margin-top: 12px; gap: 2px; background: #E5ECF8; }
.result-bar i { height: 100%; width: 0; transition: width 1.1s var(--ease-out) .25s; border-radius: 999px; }

.speed {
  position: absolute; top: 7%; right: -12%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 98px; height: 98px; border-radius: 50%; background: var(--sun); color: #2A1450; font-weight: 900; font-size: 19px; line-height: 1;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .35); transform: scale(0) rotate(-30deg); transition: transform .7s var(--ease-spring); transform-style: preserve-3d; translate: 0 0 60px;
}
.speed svg { width: 26px; height: 26px; fill: #2A1450; margin-bottom: 3px; }

/* the state machine (home.js) */
.cam[data-state="aim"] .cam-reticle { opacity: 1; transform: scale(1); }
.cam[data-state="shot"] .shutter i { transform: scale(.82); }
.cam[data-state="scan"] .cam-photo, .cam[data-state="found"] .cam-photo, .cam[data-state="done"] .cam-photo { transform: scale(1); }
.cam[data-state="scan"] .cam-status, .cam[data-state="found"] .cam-status { opacity: 1; transform: none; }
.cam[data-state="scan"] .cam-scan { animation: scan 1.1s var(--ease-out) forwards; }
@keyframes scan { 0% { opacity: 1; top: -30%; } 85% { opacity: 1; } 100% { opacity: 0; top: 100%; } }
.cam[data-state="found"] .cam-bottom, .cam[data-state="done"] .cam-bottom, .cam[data-state="scan"] .cam-bottom { opacity: 0; transform: translateY(30px); }
.cam[data-state="done"] .result { transform: none; }
.cam[data-state="done"] .cam-photo { transform: scale(1) translateY(-10%); }
.cam[data-state="done"] .tag { opacity: 0; transform: translate(-4px, -50%) scale(.6); transition-duration: .3s; }
.cam[data-state="done"] .cam-boxes rect { opacity: .35; }
.cam.flash .cam-flash { animation: flash .5s ease-out; }
@keyframes flash { 0% { opacity: .95; } 100% { opacity: 0; } }
.hero-phone.done .speed { transform: scale(1) rotate(-8deg); }

.replay { position: relative; margin-top: 30px; display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 15px; cursor: pointer; transition: background .2s; }
.replay:hover { background: rgba(255, 255, 255, .18); }
.replay svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.replay[hidden] { display: none; }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; width: 28px; height: 46px; border: 2px solid rgba(255, 255, 255, .4); border-radius: 999px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 9px; margin-left: -2px; border-radius: 4px; background: #fff; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80% { opacity: 0; transform: translateY(14px); } 100% { opacity: 0; } }

@media (max-width: 900px) {
  .hero { padding-top: 96px; }
  .hero-in { grid-template-columns: 1fr; gap: 56px; }
  .hero-stage { padding-bottom: 20px; }
  .hero-phone { --phone-w: min(72vw, 300px); transform: rotateY(-8deg) rotateX(4deg) rotateZ(1deg); }
  .speed { right: -6%; width: 80px; height: 80px; font-size: 16px; }
  .tile.t1 { left: 72%; top: 9%; } .tile.t3 { left: 4%; top: 62%; } .tile.t2 { left: 86%; top: 56%; }
  .tile.t4, .tile.t6 { display: none; }
  .scroll-cue { display: none; }
}

/* ---------- It asks ---------- */
.tone-warm { color: #fff; overflow: clip; }
.asks-pin { height: 160vh; margin-top: calc(-1 * var(--chap-pt)); }
.asks-sticky { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.mega { font-weight: 900; font-size: clamp(54px, 11vw, 190px); line-height: .9; text-align: center; position: relative; z-index: 1; }
.mega > span { display: block; }
.mega-a { transform: translateY(calc((1 - var(--a, 0)) * 40px)); opacity: calc(.25 + var(--a, 0) * .75); }
.mega-b { color: #2A1450; transform: scale(calc(.6 + var(--b, 0) * .4)) translateY(calc((1 - var(--b, 0)) * 80px)); opacity: var(--b, 0); filter: blur(calc((1 - var(--b, 0)) * 12px)); }
.mega-b .hl { color: inherit; }
.shake { display: inline-block; color: rgba(255, 255, 255, calc(1 - var(--b, 0) * .55)); text-decoration: line-through; text-decoration-color: rgba(42, 20, 80, var(--b, 0)); text-decoration-thickness: .08em; animation: wobble 1.6s ease-in-out infinite; }
@keyframes wobble { 25% { transform: rotate(-2deg) translateX(-3px); } 75% { transform: rotate(2deg) translateX(3px); } }
.guess-wrap { position: absolute; inset: 0; pointer-events: none; opacity: calc(1 - var(--b, 0)); }
.guess-num { position: absolute; font-weight: 900; font-size: clamp(30px, 5vw, 72px); color: rgba(255, 255, 255, .22); font-variant-numeric: tabular-nums; }
.guess-num::after { content: " kcal?"; font-size: .45em; font-weight: 700; }
.guess-num:nth-child(1) { left: 8%; top: 16%; rotate: -8deg; }
.guess-num:nth-child(2) { right: 9%; top: 22%; rotate: 6deg; }
.guess-num:nth-child(3) { left: 12%; bottom: 18%; rotate: 5deg; }
.guess-num:nth-child(4) { right: 12%; bottom: 14%; rotate: -5deg; }

.asks-demo { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 64px); align-items: center; margin-top: 24px; }
.asks-copy .body { opacity: .95; }
.note { margin-top: 26px; font-weight: 700; font-size: 16px; display: inline-flex; gap: 10px; align-items: center; }
.note::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.quiz { display: grid; grid-template-columns: .8fr 1fr; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); border-radius: var(--r-sheet); padding: 12px; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 40px 80px -30px rgba(59, 16, 96, .6); }
.quiz-photo { border-radius: 20px; overflow: hidden; min-height: 100%; }
.quiz-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; transform: scale(1.5); transform-origin: 46% 52%; }
.quiz-card { background: #fff; color: #1B2745; border-radius: 20px; padding: 22px; margin-left: 12px; display: flex; flex-direction: column; }
.quiz-q { font-weight: 800; font-size: 21px; line-height: 1.2; }
.quiz-why { font-size: 14px; color: #495C75; margin-top: 6px; }
.quiz-opts { display: grid; gap: 8px; margin-top: 18px; }
.quiz-opts button { text-align: left; padding: 12px 16px; border-radius: var(--r-control); border: 1.5px solid #CBD5E5; background: #fff; font-weight: 650; font-size: 15px; cursor: pointer; transition: border-color .2s, background .2s, transform .25s var(--ease-spring); }
@media (hover: hover) {
  .quiz-opts button:hover { border-color: #4056A4; }
  .quiz-opts button:active { transform: scale(.97); }
}
.quiz-opts button[aria-checked="true"] { background: #DFE7FC; border-color: #4056A4; color: #233D8A; }
.quiz-out { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px 14px; margin-top: auto; padding-top: 22px; border-top: 1px solid #E5ECF8; }
.quiz-out .big { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 8px; }
.qo-v { display: block; font-weight: 850; font-size: 22px; font-variant-numeric: tabular-nums; }
.qo.big .qo-v { font-size: 46px; line-height: 1; }
.qo-l { font-size: 12px; color: #495C75; font-weight: 600; }
.qo.big .qo-l { font-size: 16px; }
.qo-v.bump { animation: bump .5s var(--ease-spring); }
@keyframes bump { 40% { transform: scale(1.12); color: #F0566F; } }
.quiz-delta { min-height: 22px; font-size: 13px; font-weight: 700; color: #9B2F7A; margin-top: 8px; }
@media (max-width: 900px) {
  .asks-demo { grid-template-columns: 1fr; }
  .quiz { grid-template-columns: 1fr; }
  .quiz-photo { height: 220px; }
  .quiz-card { margin: 12px 0 0; }
}

/* ---------- Ingredients ---------- */
.ing-pin { height: 330vh; margin-top: calc(-1 * var(--chap-pt)); margin-bottom: calc(-1 * var(--chap-pb)); }
.ing-sticky { position: sticky; top: 0; height: 100svh; width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; display: grid; grid-template-rows: auto 1fr auto; padding: 96px 0 34px; gap: 20px; }
.ing-head .h1 { font-size: clamp(38px, 5.4vw, 80px); }
.ing-stage { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; min-height: 0; }
.ing-photo { position: relative; height: 100%; max-height: 64svh; aspect-ratio: 864 / 1536; border-radius: var(--r-sheet); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.ing-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.08 - var(--p, 0) * .08)); }
.ing-boxes { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ing-tags .tag { font-size: 12px; }
.ing-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; align-content: center; max-width: 640px; }
.ing-row {
  display: grid; grid-template-columns: 1fr auto auto; gap: 1px 16px; align-items: baseline;
  padding: 10px 18px; border-radius: var(--r-card); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16);
  opacity: .18; transform: translateX(40px); transition: opacity .6s var(--ease-out), transform .7s var(--ease-out), background .4s, border-color .4s;
}
.ing-row.on { opacity: 1; transform: none; }
.ing-row.cur { background: rgba(255, 224, 138, .16); border-color: rgba(255, 224, 138, .7); }
.ing-name { font-weight: 750; font-size: clamp(15px, 1.25vw, 19px); }
.ing-g, .ing-k { font-variant-numeric: tabular-nums; font-weight: 700; }
.ing-g { opacity: .7; }
.ing-k { font-weight: 850; color: var(--sun-2); min-width: 4.5em; text-align: right; }
.ing-src { grid-column: 1 / -1; font-size: 12.5px; opacity: .75; display: flex; align-items: center; gap: 8px; }
.ing-src::before { content: ""; width: 14px; height: 2px; background: currentColor; flex: none; }
.ing-row[data-kind="estimate"] .ing-src::before { background: none; border-top: 2px dashed currentColor; }
.ing-row[data-kind="asked"] .ing-src { color: var(--sun-2); opacity: 1; }
.ing-total { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 20px 0; font-weight: 800; font-size: clamp(18px, 1.8vw, 26px); opacity: 0; transition: opacity .6s; }
.ing-total.on { opacity: 1; }
.ing-total b { font-size: 1.5em; color: var(--sun-2); font-variant-numeric: tabular-nums; }
.ing-foot { font-weight: 650; opacity: .85; }
@media (max-width: 900px) {
  .ing-sticky { padding-top: 84px; }
  .ing-stage { grid-template-columns: 1fr; grid-template-rows: 40svh 1fr; justify-items: center; gap: 14px; }
  .ing-photo { max-height: 40svh; }
  .ing-list { width: 100%; gap: 6px; align-content: start; }
  .ing-row { padding: 8px 14px; }
  .ing-src { display: none; }
  .ing-foot { font-size: 14px; }
}

/* ---------- Nutrients ---------- */
#nutrients { overflow: clip; }
.nut-head { text-align: center; display: grid; justify-items: center; }
.nut-head .h1 { font-size: clamp(44px, 7.4vw, 112px); }
.nut-head .h1 .hl { font-variant-numeric: tabular-nums; }
.lanes { display: grid; gap: 14px; margin: clamp(48px, 6vw, 80px) 0; transform: rotate(-4deg) scale(1.08); }
.lane { display: flex; gap: 14px; width: max-content; will-change: transform; }
.nchip { display: inline-flex; align-items: baseline; gap: 10px; padding: 14px 22px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font-weight: 700; font-size: clamp(16px, 1.5vw, 21px); white-space: nowrap; }
.nchip strong { color: var(--sun); font-weight: 850; font-variant-numeric: tabular-nums; }
.nchip.lit { background: var(--sun); color: #1B1A2E; border-color: var(--sun); }
.nchip.lit strong { color: #2A1450; }
.nut-phones { position: relative; display: grid; justify-items: center; }
.tilt-l { transform: rotate(-3deg); }
.nut-chips { position: absolute; inset: 0; pointer-events: none; }
.nut-chips .chip { position: absolute; display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: #fff; color: #1B2745; font-weight: 700; font-size: 18px; box-shadow: 0 20px 40px rgba(0, 0, 0, .35); }
.nut-chips .chip strong { font-weight: 850; }
.nut-chips .chip:nth-child(1) { left: calc(50% + var(--phone-w) * .36); top: 15%; }
.nut-chips .chip:nth-child(2) { right: calc(50% + var(--phone-w) * .4); top: 54%; }
.nut-chips .chip:nth-child(3) { left: calc(50% + var(--phone-w) * .42); top: 88%; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #E0475B; } .dot.blue { background: #4056A4; } .dot.amber { background: #F0A23C; }
[data-parallax] { will-change: transform; }
@media (max-width: 700px) {
  .nut-chips .chip { font-size: 14px; padding: 9px 14px; }
  .nut-chips .chip:nth-child(1) { left: auto; right: 2%; }
  .nut-chips .chip:nth-child(2) { right: auto; left: 2%; }
  .nut-chips .chip:nth-child(3) { left: auto; right: 4%; }
}

/* ---------- Ways in (bento) ---------- */
#ways .h1 { max-width: 12em; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: clamp(40px, 5vw, 72px); }
.card {
  position: relative; border-radius: var(--r-sheet); padding: 22px 24px 26px; overflow: hidden;
  background: rgba(255, 255, 255, .72); border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 20px 50px -24px rgba(35, 54, 80, .35); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: transform .5s var(--ease-out), box-shadow .5s, opacity .9s var(--ease-out);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -24px rgba(35, 54, 80, .45); }
.card h3 { font-weight: 850; font-size: 26px; margin-top: 18px; }
.card p { font-size: 16px; opacity: .8; margin-top: 4px; }
.c-photo, .c-barcode, .c-voice { grid-column: span 2; }
.c-fix { grid-column: span 4; }
.c-again { grid-column: span 2; }
@media (prefers-color-scheme: dark) {
  .tone-light .card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
}
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; } .c-photo, .c-barcode, .c-voice, .c-fix, .c-again { grid-column: span 2; } }
@media (min-width: 560px) and (max-width: 900px) { .c-photo, .c-barcode { grid-column: span 1; } }

.art { position: relative; height: 190px; border-radius: 20px; overflow: hidden; background: linear-gradient(150deg, #DFE7FC, #C6E4E6); }
@media (prefers-color-scheme: dark) { .tone-light .art { background: linear-gradient(150deg, #2A3A78, #1D4C56); } }
.art-photo .stack { position: absolute; inset: 0; display: grid; place-items: center; }
.art-photo .stack img { grid-area: 1 / 1; width: 96px; height: 150px; object-fit: cover; border-radius: 14px; border: 3px solid #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); transition: transform .8s var(--ease-spring); }
.art-photo .stack img:nth-child(1) { transform: rotate(-12deg) translateX(-56px); }
.art-photo .stack img:nth-child(2) { transform: rotate(10deg) translateX(56px); }
.art-photo .stack img:nth-child(3) { transform: rotate(-1deg); z-index: 1; }
.c-photo:hover .stack img:nth-child(1) { transform: rotate(-18deg) translateX(-80px) translateY(-6px); }
.c-photo:hover .stack img:nth-child(2) { transform: rotate(16deg) translateX(80px) translateY(-6px); }
.mini-shutter { position: absolute; right: 16px; bottom: 16px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 3px solid #fff; display: grid; place-items: center; }
.mini-shutter i { width: 32px; height: 32px; border-radius: 50%; background: #fff; animation: press 3s infinite; }
@keyframes press { 0%, 80%, 100% { transform: scale(1); } 86% { transform: scale(.78); } }

.art-barcode { display: grid; place-items: center; background: linear-gradient(150deg, #fff, #E5ECF8); }
@media (prefers-color-scheme: dark) { .tone-light .art-barcode { background: linear-gradient(150deg, #E8EDF5, #CBD5E5); } }
.art-barcode .bars { width: 62%; height: auto; }
.art-barcode .bars rect { fill: #121A2E; }
.laser { position: absolute; left: 12%; right: 12%; height: 3px; top: 30%; background: #E0475B; box-shadow: 0 0 14px 3px rgba(224, 71, 91, .7); border-radius: 3px; animation: laser 2.2s ease-in-out infinite; }
@keyframes laser { 50% { top: 62%; } }
.digits { position: absolute; bottom: 16px; font-weight: 700; font-size: 15px; color: #121A2E; font-variant-numeric: tabular-nums; }

.art-voice { display: grid; align-content: center; justify-items: center; gap: 18px; padding: 16px; }
.wave { display: flex; align-items: center; gap: 4px; height: 56px; }
.wave i { width: 5px; border-radius: 5px; background: #4056A4; height: 20%; animation: wave 1.1s ease-in-out infinite; animation-delay: var(--d); }
@media (prefers-color-scheme: dark) { .tone-light .wave i { background: #B0BEF3; } }
@keyframes wave { 50% { height: var(--h); } }
.said { min-height: 3em; font-weight: 700; font-size: 17px; text-align: center; max-width: 16em; }
.said::after, .fix-ask span::after { content: ""; display: inline-block; width: 2px; height: 1.05em; background: currentColor; vertical-align: -2px; margin-left: 2px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

.art-fix { padding: 18px 18px; display: grid; align-content: start; gap: 8px; background: linear-gradient(150deg, #fff, #E5ECF8); color: var(--ink); }
@media (prefers-color-scheme: dark) { .tone-light .art-fix { background: linear-gradient(150deg, #2B3748, #263142); color: #E8EDF5; } }
.fix-row { display: flex; justify-content: space-between; padding: 8px 12px; border-radius: 12px; background: rgba(64, 86, 164, .07); font-weight: 650; font-size: 15px; }
.fix-row.add { background: rgba(45, 156, 143, .16); transform-origin: top; opacity: 0; transform: scaleY(.3) translateY(-10px); transition: .6s var(--ease-spring); }
.c-fix.fixed .fix-row.add { opacity: 1; transform: none; }
.plus { color: #2D9C8F; font-weight: 800; }
.fix-ask { position: absolute; left: 18px; right: 18px; bottom: 16px; padding: 11px 14px; border-radius: 999px; background: #fff; box-shadow: 0 6px 20px rgba(35, 54, 80, .14); font-size: 14px; font-weight: 600; color: #233650; min-height: 42px; }

.art-again { display: grid; align-content: center; gap: 8px; padding: 14px; }
.usual { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 10px; padding: 7px 8px 7px 7px; background: rgba(255, 255, 255, .85); border-radius: 14px; font-weight: 650; font-size: 14px; color: #233650; }
.usual img { width: 38px; height: 38px; }
.usual b { padding: 5px 12px; border-radius: 999px; background: #4056A4; color: #fff; font-size: 13px; }
.usual:nth-child(2) b { animation: tap 3.4s infinite 1s; }
@keyframes tap { 0%, 70%, 100% { transform: scale(1); } 76% { transform: scale(.86); background: #2D9C8F; } 90% { background: #2D9C8F; } }

/* ---------- Coach ---------- */
.coach { display: grid; grid-template-columns: 1fr minmax(320px, 460px); gap: clamp(32px, 6vw, 100px); align-items: center; }
.asks-list { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.q { padding: 11px 18px; border-radius: 999px; border: 1.5px solid currentColor; font-weight: 650; font-size: 15px; opacity: .7; transition: opacity .4s, background .4s, color .4s; }
.q.now { opacity: 1; background: var(--hl); color: #fff; border-color: var(--hl); }
@media (prefers-color-scheme: dark) { .q.now { color: #0C2428; } }
.chat { border-radius: 36px; background: #fff; color: #233650; padding: 18px; box-shadow: 0 50px 90px -30px rgba(35, 54, 80, .45); display: grid; grid-template-rows: auto 1fr auto; min-height: 520px; }
.chat-head { font-weight: 800; font-size: 20px; padding: 6px 8px 14px; border-bottom: 1px solid #E5ECF8; }
.chat-body { display: flex; flex-direction: column; gap: 12px; padding: 18px 4px; justify-content: flex-end; }
.bubble { max-width: 88%; padding: 12px 16px; border-radius: 22px; font-size: 15px; line-height: 1.45; opacity: 0; transform: translateY(14px) scale(.96); transition: .55s var(--ease-spring); }
.bubble.on, .typing.on { opacity: 1; transform: none; }
.bubble.me { align-self: flex-end; background: #4056A4; color: #fff; border-bottom-right-radius: 8px; font-weight: 600; }
.bubble.it { align-self: flex-start; background: #EDF4FC; border-bottom-left-radius: 8px; max-width: 96%; }
.typing { align-self: flex-start; display: flex; gap: 5px; padding: 14px 16px; border-radius: 22px; background: #EDF4FC; opacity: 0; transform: translateY(10px); transition: .3s; }
.typing.gone { display: none; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #61748D; animation: dots 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 50% { transform: translateY(-4px); opacity: .4; } }
.bars7 { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; align-items: end; height: 120px; margin-top: 14px; padding-bottom: 18px; }
.bars7 span { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.bars7 i { width: 100%; max-width: 26px; height: 0; border-radius: 6px 6px 3px 3px; background: #9DAEE3; transition: height .9s var(--ease-out); }
.bars7 i.hit { background: #4056A4; }
.bars7 b { position: absolute; bottom: -18px; font-size: 11px; color: #61748D; }
.bars7 .target { position: absolute; left: 0; right: 0; border-top: 2px dashed #2D636A; opacity: 0; transition: opacity .5s .6s; }
.bars7.on .target { opacity: .8; }
.chat-input { display: flex; justify-content: space-between; align-items: center; padding: 12px 12px 12px 18px; border-radius: 999px; border: 1.5px solid #CBD5E5; color: #61748D; font-size: 15px; }
.chat-input b { width: 30px; height: 30px; border-radius: 50%; background: #4056A4; }
@media (max-width: 900px) { .coach { grid-template-columns: 1fr; } .chat { min-height: 460px; } }

/* ---------- Progress trio ---------- */
.prog-head { text-align: center; display: grid; justify-items: center; }
.prog-head .body { text-align: center; }
.trio { position: relative; height: clamp(520px, 58vw, 760px); margin-top: clamp(16px, 3vw, 48px); display: grid; place-items: center; perspective: 1600px; }
.trio .phone { position: absolute; --phone-w: clamp(220px, 22vw, 320px); transition: transform .1s linear; }
.p-left { transform: translateX(calc(-1 * var(--spread, 0) * var(--phone-w) * .82)) rotate(calc(var(--spread, 0) * -8deg)) translateY(calc(var(--spread, 0) * 30px)); }
.p-right { transform: translateX(calc(var(--spread, 0) * var(--phone-w) * .82)) rotate(calc(var(--spread, 0) * 8deg)) translateY(calc(var(--spread, 0) * 30px)); }
.p-mid { z-index: 2; transform: translateY(calc((1 - var(--spread, 0)) * 40px)) scale(calc(1 + var(--spread, 0) * .06)); }
@media (max-width: 700px) { .trio { height: 540px; } .trio .phone { --phone-w: 230px; } .p-left, .p-right { opacity: .9; } }

/* ---------- Made for you ---------- */
#you { overflow: clip; }
.you-head .h1 { max-width: 11em; }
.goals { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .45); margin-top: 34px; }
.goals button { border: 0; padding: 12px 22px; border-radius: 999px; background: transparent; font-weight: 750; font-size: 16px; cursor: pointer; transition: background .3s, color .3s, transform .3s var(--ease-spring); }
.goals button[aria-checked="true"] { background: #2A1A08; color: #FFD76A; }
.ticker { margin: clamp(48px, 6vw, 80px) 0; display: grid; gap: 14px; }
.ticker-row { display: flex; gap: 14px; width: max-content; animation: tick 40s linear infinite; }
.ticker-row.rev { animation-direction: reverse; animation-duration: 46s; }
.ticker-row span { padding: 16px 28px; border-radius: 999px; background: rgba(255, 255, 255, .55); font-weight: 800; font-size: clamp(20px, 2.2vw, 32px); white-space: nowrap; }
.ticker-row:not(.rev) span:nth-child(3n + 1) { background: #2A1A08; color: #FFD76A; }
.ticker:hover .ticker-row { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }
.you-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.you-cards .card { background: rgba(255, 255, 255, .6); color: #2A1A08; display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: center; }
.you-cards .card h3 { margin: 0; grid-column: 2; }
.you-cards .card p { grid-column: 2; }
.card-tile { width: 64px; grid-row: span 2; }
@media (max-width: 700px) { .you-cards { grid-template-columns: 1fr; } }

/* ---------- Promises ---------- */
.promises { display: grid; justify-items: start; }
.promise { font-weight: 900; font-size: clamp(44px, 8vw, 128px); line-height: .98; opacity: .14; }
.promise:nth-of-type(2) { color: #B0BEF3; }
.promise:nth-of-type(3) { color: var(--sun); }
.nots { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(50px, 6vw, 90px); }
.nots p { padding: 14px 22px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .3); font-weight: 700; font-size: clamp(16px, 1.5vw, 20px); }

/* ---------- Finale ---------- */
.finale { min-height: 100svh; display: grid; place-items: center; text-align: center; overflow: hidden; isolation: isolate; padding: 140px 0 160px; }
.finale-in { position: relative; z-index: 1; display: grid; justify-items: center; width: min(1100px, 100% - 2 * var(--gutter)); }
.mega.small { font-size: clamp(48px, 9vw, 150px); }
.finale .stores { justify-content: center; margin-top: 46px; }
.finale-note { margin-top: 22px; opacity: .75; font-weight: 600; }
.finale-tiles { position: absolute; inset: -160px -20vw; z-index: -1; pointer-events: none; }
.finale-tiles img { position: absolute; width: 70px; opacity: .9; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .4)); animation: fall linear infinite; }
@keyframes fall { from { transform: translateY(-20vh) rotate(0deg); } to { transform: translateY(130vh) rotate(var(--r, 180deg)); } }

/* ---------- Footer ---------- */
.foot { background: #05080F; color: rgba(255, 255, 255, .8); padding: 50px 0 60px; }
.foot-in { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; display: flex; flex-wrap: wrap; gap: 18px 36px; align-items: center; }
.foot-links, .foot-langs { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot a { text-decoration: none; font-weight: 600; font-size: 15px; }
.foot a:hover { color: #fff; }
.foot-langs a[aria-current] { color: var(--sun); }
.copy { width: 100%; font-size: 14px; opacity: .6; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  .asks-pin, .ing-pin { height: auto; }
  .asks-sticky, .ing-sticky { position: relative; height: auto; min-height: 80svh; }
  .ticker-row, .finale-tiles { animation: none; }
}

/* ---------- Small phones ---------- */
.nav-cta { white-space: nowrap; }
@media (max-width: 600px) {
  .nav { top: 10px; padding: 6px 6px 6px 14px; }
  .nav-brand { font-size: 17px; }
  .nav-cta { padding: 9px 15px; font-size: 14px; }
  .stores { gap: 10px; }
  .store { font-size: 16px; padding: 9px 14px 9px 12px; }
  .store svg { width: 22px; height: 22px; }
  .tile.t1 { display: none; }
  .tile.t2 { left: 82%; top: 64%; }
  .tile.t3 { left: 2%; top: 74%; }
  .hero { padding-bottom: 40px; }
  .chapter, .hero, .finale { border-radius: 30px 30px 0 0; margin-top: -30px; }
  .hero { border-radius: 0; margin-top: 0; }
}
@media (max-width: 600px) {
  .ing-sticky { padding: 72px 0 16px; gap: 12px; grid-template-rows: auto 1fr; }
  .ing-head .eyebrow { display: none; }
  .ing-head .h1 { font-size: 34px; }
  .ing-stage { grid-template-rows: 34svh 1fr; }
  .ing-photo { max-height: 34svh; }
  .ing-row { padding: 6px 12px; transform: translateY(10px); border-radius: 14px; }
  .ing-name { font-size: 14px; }
  .ing-g, .ing-k { font-size: 14px; }
  .ing-total { padding: 4px 12px 0; font-size: 16px; }
  .ing-foot { display: none; }
}

/* the two real questions rise in beside "Nutria asks." */
.ask-ph { position: absolute; --phone-w: clamp(200px, 17vw, 270px); z-index: 0; opacity: var(--b, 0); }
.ask-l { left: 6%; top: 50%; transform: translateY(calc(-30% + (1 - var(--b, 0)) * 60vh)) rotate(calc(-10deg + (1 - var(--b, 0)) * -12deg)); }
.ask-r { right: 6%; top: 50%; transform: translateY(calc(-62% + (1 - var(--b, 0)) * 80vh)) rotate(calc(9deg + (1 - var(--b, 0)) * 14deg)); }
@media (max-width: 900px) { .ask-ph { display: none; } }
.free { margin-top: 16px; font-size: 15px; font-weight: 600; opacity: .8; }
.free a { color: var(--sun); text-underline-offset: 3px; margin-left: 6px; }
.ask-ph { --phone-w: clamp(180px, 14vw, 230px); }
.ask-l { left: 2%; }
.ask-r { right: 2%; }
.mega { font-size: clamp(54px, 9.6vw, 160px); }
.mega.small { font-size: clamp(48px, 9vw, 150px); }
.c-fix .art, .c-again .art { height: 236px; }
.fix-row { padding: 7px 12px; font-size: 14px; }

/* ================= Round 2 (Joachim's notes, 2026-11-22) ================= */

/* "Nutria asks.": text on the left, the one real question on the right, no tricks */
.asks-sticky { grid-template-columns: 1fr auto; gap: clamp(24px, 4vw, 64px); width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.asks-sticky .mega { text-align: left; font-size: clamp(54px, 8.4vw, 140px); }
.mega-a { color: #fff; }
.ask-ph { position: relative; left: auto; right: auto; top: auto; --phone-w: clamp(220px, 19vw, 290px); }
.ask-r { transform: translateY(calc((1 - var(--b, 0)) * 50vh)) rotate(calc(6deg + (1 - var(--b, 0)) * 10deg)); }
@media (max-width: 900px) { .asks-sticky { grid-template-columns: 1fr; } }

/* the ingredients' last line clears the next chapter's rounded top */
.ing-sticky { padding-bottom: 84px; }
@media (max-width: 600px) { .ing-sticky { padding-bottom: 50px; } }

/* cards: no lift on hover, so the pointer never falls off the edge it moved */
.card:hover { transform: none; box-shadow: 0 30px 60px -24px rgba(35, 54, 80, .5); }
.reveal.in.card { transform: none; }
.card h3 { display: flex; align-items: center; gap: 10px; }
.ico { width: 24px; height: 24px; flex: none; color: var(--hl); }
.card-icon { grid-row: span 2; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: #2A1A08; color: #FFD76A; }
.card-icon .ico { width: 28px; height: 28px; color: inherit; }
.you-head .body { max-width: 30em; }
.you-cards { margin-top: clamp(40px, 5vw, 64px); }

/* coach: three questions to tap */
.asks-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.q { cursor: pointer; background: transparent; color: inherit; }
.q:hover { opacity: 1; }
.q[aria-selected="true"] { opacity: 1; background: var(--hl); color: #fff; border-color: var(--hl); }
@media (prefers-color-scheme: dark) { .q[aria-selected="true"] { color: #0C2428; } }
.chat { min-height: 560px; }
.chat-body { min-height: 380px; }
.bubble.it p + p { margin-top: 8px; color: #495C75; font-size: 14px; }
.bars7 { height: 150px; padding: 18px 0; }
.bars7 span { justify-content: flex-end; }
.bars7 em { font-size: 11px; font-weight: 700; color: #233650; opacity: 0; transition: opacity .4s; margin-bottom: 3px; }
.bars7 em.on { opacity: 1; }
.bars7 .target { position: absolute; left: 0; right: 0; border-top: 2px dashed #2D636A; opacity: 0; transition: opacity .5s .6s; text-decoration: none; }
.bars7 .target::after { content: attr(data-label); position: absolute; right: 0; top: -18px; font-size: 11px; font-weight: 700; color: #2D636A; }
.bars7.on .target { opacity: .8; }
.stat { margin-top: 12px; padding: 14px 16px; border-radius: 16px; background: #fff; }
.stat-l { font-size: 13px; font-weight: 700; color: #495C75; }
.stat-v { font-size: 30px; font-weight: 850; line-height: 1.1; margin-top: 2px; }
.stat-s { font-size: 12px; color: #61748D; }
.stat-bar { position: relative; height: 10px; border-radius: 999px; background: #E5ECF8; margin-top: 14px; }
.stat-bar .range { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: #C6E4E6; }
.stat-bar .mark { position: absolute; top: 50%; left: 0; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #4056A4; border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: left 1s var(--ease-out); }
.stat-r { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; color: #2D636A; margin-top: 6px; }

/* the finale: a slow wall of the real app behind the words */
.finale { padding: 120px 0 140px; }
.wall { position: absolute; inset: -10% -20%; z-index: -2; display: grid; gap: 28px; align-content: center; transform: perspective(1400px) rotateX(18deg) rotateZ(-9deg) scale(1.05); opacity: .55; pointer-events: none; }
.wall-row { display: flex; gap: 28px; width: max-content; animation: tick 70s linear infinite; }
.wall-row.rev { animation-direction: reverse; animation-duration: 80s; }
.wall-row img { width: clamp(180px, 16vw, 260px); aspect-ratio: 1320 / 2868; object-fit: cover; object-position: top; border-radius: 30px; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
@keyframes tick { to { transform: translateX(-50%); } }
.finale::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 55% at 50% 50%, rgba(7, 12, 32, .92), rgba(7, 12, 32, .55) 70%, rgba(7, 12, 32, .2)); pointer-events: none; }
.finale .mega.small { text-shadow: 0 6px 40px rgba(0, 0, 0, .5); }
@media (prefers-reduced-motion: reduce) { .wall-row { animation: none; } }
.ask-ph { order: 2; }
.asks-sticky { overflow: visible; }
.bars7 .target::after { right: auto; left: 0; top: -17px; background: #EDF4FC; padding-right: 4px; }
@media (max-width: 900px) {
  .ask-ph { display: block; --phone-w: min(46vw, 210px); justify-self: center; }
  .asks-sticky { align-content: center; gap: 36px; }
}
.nav { width: max-content; }

/* ================= Round 3 ================= */
/* the replay button keeps its room while hidden, so the hero never changes height */
.replay[hidden] { display: inline-flex; visibility: hidden; }
.note::before { content: none; }
.note { font-size: 18px; }
.hero-lede { max-width: 26em; }

/* footer: brand and stores, two columns, then the line with the language */
.foot { background: #05080F; color: rgba(255, 255, 255, .72); padding: 40px 0 32px; }
.foot-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px 32px; align-items: start; }
.foot-brand { display: grid; gap: 22px; justify-items: start; }
.foot-brand .nav-brand { color: #fff; font-size: 21px; }
.foot-stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store.mini { font-size: 15px; padding: 8px 14px 8px 11px; box-shadow: none; background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .14); }
.store.mini svg { width: 20px; height: 20px; }
.store.mini:hover { background: rgba(255, 255, 255, .14); box-shadow: none; transform: none; }
.foot-col { display: grid; gap: 12px; justify-items: start; }
.foot-col p { color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.foot-col a { font-weight: 500; font-size: 15px; }
.foot-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); }
.foot-bottom .copy { width: auto; }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); font-weight: 600; font-size: 14px; color: #fff; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.75; }
.lang summary::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.75px 1.75px 0; transform: rotate(45deg) translateY(-2px); margin-left: 2px; }
.lang-menu { position: absolute; right: 0; bottom: calc(100% + 8px); min-width: 160px; display: grid; padding: 6px; border-radius: 14px; background: #141C28; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 20px 40px rgba(0, 0, 0, .5); }
.lang-menu a { padding: 9px 12px; border-radius: 9px; font-size: 14px; }
.lang-menu a:hover { background: rgba(255, 255, 255, .08); }
.lang-menu a[aria-current] { color: var(--sun); }
@media (max-width: 700px) {
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-bottom { flex-direction: column-reverse; align-items: flex-start; }
  .lang-menu { left: 0; right: auto; }
}

/* ================= The other pages (web/home/page.html) ================= */
.pg { background: var(--pg-bg); color: var(--pg-ink); --pg-bg: #EDF4FC; --pg-ink: #233650; --pg-muted: #495C75; --pg-card: #fff; --pg-line: #DCE4F0; --pg-accent: #4056A4; --pg-soft: #DFE7FC; }
@media (prefers-color-scheme: dark) {
  .pg { --pg-bg: #10172A; --pg-ink: #E8EDF5; --pg-muted: #B3BDCD; --pg-card: #1B2438; --pg-line: #2B3650; --pg-accent: #B0BEF3; --pg-soft: #26314B; }
}
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--bg); color: #fff; padding: 128px 0 92px; }
.page-hero-in { width: min(880px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.page-h1 { font-weight: 880; font-size: clamp(44px, 7vw, 96px); line-height: .98; }
.page-lede { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; margin-top: 22px; max-width: 34em; opacity: .88; }
.page-lede a, .page-hero .note-line a { color: var(--sun); text-underline-offset: 3px; }
.page-hero .stores { margin-top: 30px; }
.page-hero .date { margin-top: 18px; font-weight: 600; opacity: .7; }
.page-body { position: relative; margin-top: -44px; border-radius: 44px 44px 0 0; background: var(--pg-bg); padding: 56px 0 90px; }
.page-col { width: min(880px, 100% - 2 * var(--gutter)); margin-inline: auto; display: grid; gap: 44px; }
.blk h2 { font-weight: 850; font-size: clamp(26px, 3vw, 38px); line-height: 1.1; margin-bottom: 18px; }
.blk p, .blk li { font-size: 17px; line-height: 1.6; }
.blk p + p { margin-top: 12px; }
.blk a { color: var(--pg-accent); text-underline-offset: 3px; font-weight: 600; }
.blk .muted { color: var(--pg-muted); }
.card2 { background: var(--pg-card); border: 1px solid var(--pg-line); border-radius: var(--r-sheet); padding: 24px 26px; }
@media (prefers-color-scheme: light) { .card2 { box-shadow: 0 20px 50px -30px rgba(35, 54, 80, .35); } }

/* plans */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.plan { position: relative; display: grid; gap: 6px; padding: 28px; align-content: start; }
.plan-name { font-weight: 750; font-size: 18px; color: var(--pg-muted); }
.plan-price { font-weight: 900; font-size: clamp(44px, 5vw, 60px); line-height: 1; font-variant-numeric: tabular-nums; }
.plan-per { font-weight: 650; color: var(--pg-muted); }
.plan.best { background: linear-gradient(160deg, #16225A, #2B3C9A); color: #fff; border-color: transparent; }
.plan.best .plan-name, .plan.best .plan-per { color: rgba(255, 255, 255, .75); }
.plan-sub { margin-top: 10px; font-weight: 750; font-size: 16px; }
.plan.best .plan-sub { color: #fff; }
.plans-note { margin-top: 20px; }
.plan-tag { position: absolute; top: 20px; right: 20px; padding: 5px 12px; border-radius: 999px; background: var(--sun); color: #1B1A2E; font-weight: 800; font-size: 13px; }
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; } }

/* points: a short title and a line, with a check */
.points { display: grid; gap: 12px; list-style: none; padding: 0; margin: 0; }
.points li { display: grid; grid-template-columns: 28px 1fr; gap: 4px 12px; align-items: start; }
.points li::before { content: ""; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--pg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234056A4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.points.cross li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23AB2940' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E"); }
.points li > * { grid-column: 2; }
.points b { font-weight: 750; }

/* questions, opened one at a time by the reader */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--pg-card); border: 1px solid var(--pg-line); border-radius: var(--r-card); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 750; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 9px; height: 9px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .25s var(--ease-out); opacity: .6; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details > div { padding: 0 0 20px; color: var(--pg-muted); overflow: hidden; }

/* contacts */
/* support first, then the other four two by two: three and one left one
   alone on a wide screen (Joachim) */
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .contacts { grid-template-columns: 1fr; } }
.contact { display: grid; gap: 4px; padding: 20px 22px; text-decoration: none; transition: border-color .2s; }
.contact:hover { border-color: var(--pg-accent); }
.contact b { font-weight: 750; color: var(--pg-ink); }
.contact span { color: var(--pg-accent); font-weight: 650; }
.contact small { color: var(--pg-muted); font-size: 14px; font-weight: 500; }
.contact.main { grid-column: 1 / -1; background: linear-gradient(160deg, #16225A, #2B3C9A); border-color: transparent; }
.contact.main b, .contact.main small { color: rgba(255, 255, 255, .85); }
.contact.main span { color: var(--sun); font-size: clamp(22px, 3vw, 30px); font-weight: 850; }

/* steps, numbered */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; counter-reset: step; }
.step { counter-increment: step; display: grid; gap: 8px; align-content: start; }
.step::before { content: counter(step); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--pg-soft); color: var(--pg-accent); font-weight: 850; }
.step b { font-size: 19px; font-weight: 800; }
.step .btn2 { justify-self: start; margin-top: 6px; }
.btn2 { display: inline-flex; padding: 10px 18px; border-radius: 999px; background: var(--pg-accent); color: #fff !important; text-decoration: none; font-weight: 750; }
@media (prefers-color-scheme: dark) { .btn2 { color: #141C28 !important; } }

/* two lists side by side */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pair h3 { font-weight: 800; font-size: 20px; margin-bottom: 14px; }
@media (max-width: 700px) { .pair { grid-template-columns: 1fr; } }

/* facts, a two-column table */
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 12px 28px; margin: 0; }
.facts dt { color: var(--pg-muted); font-weight: 600; }
.facts dd { margin: 0; font-weight: 700; }

/* a translation note, set apart */
.notice { padding: 16px 20px; border-radius: var(--r-card); background: var(--pg-soft); color: var(--pg-ink); font-size: 15px; }

/* press screens and the mark */
.screens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.screens a { display: block; border-radius: 22px; overflow: hidden; border: 1px solid var(--pg-line); }
.screens img { width: 100%; aspect-ratio: 1320 / 2868; object-fit: cover; object-position: top; }
.marks { display: flex; gap: 16px; align-items: center; }
.marks img { width: 84px; height: 84px; padding: 16px; border-radius: 22px; background: var(--pg-card); border: 1px solid var(--pg-line); }

/* the app link's code */
.code-card { display: grid; gap: 10px; }
.code-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.code-value { font-weight: 900; font-size: clamp(30px, 6vw, 44px); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.code-card[hidden] { display: none; }
#code-copy { border: 0; cursor: pointer; }

/* the 404's map of the site */
.sitemap { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.sitemap a { padding: 18px 20px; text-decoration: none; font-weight: 750; color: var(--pg-ink) !important; transition: border-color .2s; }
.sitemap a:hover { border-color: var(--pg-accent); }
.pg .nav-links a[aria-current] { opacity: 1; color: var(--sun); }
.blk .plan-price { font-size: clamp(44px, 5vw, 60px); line-height: 1; }
.blk .plan-name { font-size: 18px; }
.blk .plan-per { font-size: 16px; }
.blk .code-value { font-size: clamp(30px, 6vw, 44px); line-height: 1.1; }
.blk .notice, .notice { font-size: 15px; }

/* ================= Round 4: phones (Joachim's iPhone recording, 2026-11-22) ================= */
/* WebKit on iPhone can pan a page sideways past the body's clip, so each
   top-level block clips its own overflow, and the root does too. */
html { overflow-x: hidden; overscroll-behavior-x: none; }
body { overscroll-behavior-x: none; }
body > section, body > footer, body > main { overflow-x: clip; }
/* A heading's forced line break is for the desk; on a phone it left one word
   alone on a line ("However you ate it, / it's in."). The build puts a space
   before every <br>, so hiding it keeps the words apart. */
h1, h2, h3, .mega { text-wrap: balance; }
@media (max-width: 600px) {
  h1 br, h2 br, h3 br, .mega br, .page-h1 br { display: none; }
}
/* The pinned chapters do not fit a phone's screen with its toolbars, so the
   next chapter slid over the question card and the ingredient list before
   they could be read. On a phone they scroll like the rest, at their end
   state (home.js pinProgress). */
@media (max-width: 700px) {
  :root { --chap-pt: 60px; --chap-pb: 68px; }
  /* The asks chapter is pinned on a phone too ("Nutria asks." lands as you
     scroll, Joachim), with a phone small enough to fit the screen. */
  .asks-pin { height: 170vh; }
  .asks-sticky { gap: 22px; padding-top: 56px; }
  .ask-ph { --phone-w: min(38vw, 160px); }
  .finale { min-height: 0; padding: 96px 0 88px; }
  /* The ingredients chapter stays pinned (the list lights up as you scroll,
     Joachim), so on a phone everything fits one screen with its toolbars:
     a smaller photo and tighter rows. The source line stays hidden: shown
     under the lit row only, it changed that row's height at every step and
     the list jumped (Joachim). */
  .ing-sticky { padding: 64px 0 10px; gap: 8px; grid-template-rows: auto 1fr; }
  .ing-head .h1 { font-size: 30px; }
  .ing-stage { grid-template-rows: 27svh auto; gap: 10px; align-content: start; }
  .ing-photo { max-height: 27svh; margin-inline: auto; }
  .ing-list { gap: 5px; }
  .ing-row { padding: 5px 12px; }
  .ing-src { display: none; }
}
/* On a phone the two store buttons sit centered under the copy (Joachim). */
@media (max-width: 600px) {
  .hero .stores, .page-hero .stores { justify-content: center; }
}
/* Ask: the question holds its place at the top of the card while the answer
   arrives under it, instead of starting high and sliding down (Joachim). */
.chat-body { justify-content: flex-start; }
/* On a phone the coach fits one screen: the three questions and the answer
   to the one tapped, without scrolling between them (Joachim). */
@media (max-width: 600px) {
  .coach { gap: 18px; }
  .coach .body { display: none; }
  .asks-list { gap: 8px; margin-top: 16px; }
  .asks-list .q { font-size: 13.5px; padding: 8px 14px; }
  .chat { min-height: 0; padding: 14px; border-radius: 28px; }
  .chat-head { font-size: 17px; padding: 4px 6px 10px; }
  .chat-body { min-height: 250px; padding: 12px 2px; }
  .chat-input { display: none; }
}

/* ================= Legal texts (web/home/legal/), in the same shell as every page ================= */
.blk.legal { display: grid; gap: 18px; max-width: 760px; }
.legal h2 { font-weight: 800; font-size: clamp(21px, 2.2vw, 26px); line-height: 1.25; margin: 22px 0 0; }
.legal .card h2 { margin-top: 0; }
.legal h3 { font-weight: 750; font-size: 18px; line-height: 1.35; margin-top: 6px; }
.legal p, .legal li { font-size: 16.5px; line-height: 1.6; color: var(--pg-muted); }
.legal p.standfirst { font-size: 19px; color: var(--pg-ink); }
.legal p.small { font-size: 14.5px; }
.legal p.meta { font-weight: 650; font-size: 14px; }
.legal strong { color: var(--pg-ink); font-weight: 700; }
.legal ul.bullets { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.legal ul.bullets li { position: relative; padding-left: 18px; }
.legal ul.bullets li::before { content: ""; position: absolute; left: 0; top: .8em; width: 8px; height: 1.5px; background: currentColor; opacity: .6; }
.legal .card { background: var(--pg-card); border: 1px solid var(--pg-line); border-radius: 22px; padding: 22px 24px; display: grid; gap: 12px; }
.legal table.legal { display: block; overflow-x: auto; border-collapse: collapse; font-size: 15px; }
.legal table.legal th, .legal table.legal td { text-align: left; vertical-align: top; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--pg-line); color: var(--pg-muted); min-width: 96px; }
.legal table.legal th { font-weight: 700; font-size: 14px; color: var(--pg-ink); }
.legal table.legal td:first-child { color: var(--pg-ink); }

/* "Try it" points at the options, inside the card, with an arrow that nods
   down at them (Joachim, 2026-11-22). */
.quiz-try { justify-self: start; width: fit-content; display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 6px 12px 6px 14px; border-radius: 999px; background: var(--sun); color: #1B1A2E; font-weight: 800; font-size: 14px; }
.quiz-try svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; animation: nod 1.4s var(--ease-out) infinite; }
@keyframes nod { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
.quiz-try + .quiz-opts { margin-top: 12px; }
@media (prefers-reduced-motion: reduce) { .quiz-try svg { animation: none; } }

/* The food labels ride a layer over the screen with the photo's own
   geometry, so they track it exactly but may spill past the phone's edge
   (the tomato's used to be cut off, Joachim). */
.cam-float { position: absolute; inset: calc(var(--phone-w) * .035); pointer-events: none; z-index: 2; }
.hero-phone.done .cam-float .tag { opacity: 0; transform: translate(-4px, -50%) scale(.6); transition-duration: .3s; }

/* "Nutria asks." keeps some air under "Other AI apps guess.", and on a
   phone its pin is long enough for it to arrive gradually (Joachim). */
.mega-b { margin-top: .3em; }
@media (max-width: 700px) { .asks-pin { height: 230vh; } }

/* On a narrow screen a lit row eases in from below instead of sliding in
   from the side, which read as a jolt at each step. */
@media (max-width: 900px) {
  .ing-row { transform: translateY(8px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), background .5s, border-color .5s; }
}
/* A tapped question flashed: iPhone browsers paint their gray tap highlight
   over a summary, and a quick double tap selected its text (Joachim). */
.faq summary { -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; }
.faq summary:focus { outline: none; }
.faq summary:focus-visible { outline: 2px solid var(--pg-accent); outline-offset: 4px; border-radius: 8px; }
