/* RecipeScoop — landing page. No framework, no tracking. */

:root {
  /* Typography B: one Fraunces 72/600 cut for every main heading.
     Wordmark: Fraunces 36/700. Cards, controls and illustrated UI: system sans. */
  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Morning Room. Warm light, cool shadow, one herb green.
     Names kept from the previous palette so the rest of the sheet still resolves. */
  --paper: #F6F3EA;          /* ground-50  Morning Linen - the canvas */
  --sun: #FBF7EA;            /* ground-25  Sun Wash - morning light only */
  --oat: #EFEADE;            /* ground-100 Oat - quiet band */
  --flax: #E6E1D1;           /* ground-200 Flax - fills */
  --card: #FDFCF8;           /* ground-00  Porcelain - raised, never white */
  --ink: #2B2A24;            /* ink-900    Bark */
  --muted: #655F53;          /* ink-600    Oak */
  --line: #D6CFBC;           /* ground-300 Chalk - hairline */
  --edge: #C3B9A1;           /* ground-400 Twine - card edge */
  --rope: #918670;           /* ground-450 Rope - control boundary, 3.24:1 */
  --media-edge: #C1C6C9;     /* quartz-200 Window Line - 1px on every photo */
  --accent: #4F6A35;         /* herb-600   Herb - the tint, ink and fill */
  --accent-ink: #35442A;     /* herb-800   Deep Olive - emphasis, buttons */
  --accent-soft: #E6ECDA;    /* herb-100   Herb Wash - OPAQUE, never a wash */
  --warm: #E0A87A;           /* ember-300  Apricot - badges and demo tap cues */
  --warm-ink: #7C3A22;       /* ember-800  Clay Ink */
  --cream: #FCFAF4;          /* ink-00     content on a dark fill */
  --ok: #4F6A35;
  --bad: #7F2A1E;            /* brick-700 */

  /* Retained names, now pointing at the deep band used once, on the closing CTA. */
  --black: #35442A;
  --ink-d: #FCFAF4;
  --muted-d: #C6D0B4;
  --line-d: rgba(252, 250, 244, 0.22);
  --panel-d: #2A361F;

  --radius: 24px;
  --radius-s: 16px;
  --header-h: 4rem;
  --section: clamp(4.5rem, 8vw, 7.5rem);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
@media (min-width: 760px) { body { font-size: 1.125rem; } }
img, canvas, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
[id] { scroll-margin-top: calc(var(--header-h) + 0.5rem); }

.wrap { width: min(100% - 2.5rem, 72rem); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--accent); color: var(--cream); padding: 0.6rem 1rem; border-radius: 999px; font-weight: 700; }
.skip:focus { top: 1rem; }

.theme-dark { background: var(--oat); color: var(--ink); --fg: var(--ink); --fg-muted: var(--muted); --eyebrow: var(--accent); --focus: var(--accent); }
.theme-deep { background: var(--black); color: var(--ink-d); --fg: var(--ink-d); --fg-muted: var(--muted-d); --eyebrow: var(--warm); --focus: var(--warm); }
.theme-light { background: var(--paper); color: var(--ink); --fg: var(--ink); --fg-muted: var(--muted); --eyebrow: var(--accent-ink); --focus: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--focus, var(--accent-ink)); outline-offset: 3px; }

/* ---------- Type ---------- */
.eyebrow { color: var(--eyebrow, var(--accent)); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.9rem; }
h1, h2 { font-family: var(--display); font-weight: 600; font-synthesis: none; }
h1 { font-size: clamp(2.5rem, 7.2vw, 4rem); line-height: 1.06; letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); line-height: 1.1; letter-spacing: -0.012em; text-wrap: balance; max-width: 20ch; }
h3 { font-family: var(--font); font-size: 1.2rem; line-height: 1.25; letter-spacing: -0.015em; font-weight: 600; }
.lead { color: var(--fg-muted); max-width: 34rem; font-size: 1.1rem; margin-top: 1rem; text-wrap: pretty; }
.fine { color: var(--fg-muted); font-size: 0.9rem; margin-top: 1.4rem; }
.fine a { color: var(--accent-ink); font-weight: 600; }
.section-head { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head--center { text-align: center; }
.section-head--center h2, .section-head--center .lead { margin-inline: auto; }
.arrow { color: var(--accent); }
section { padding: var(--section) 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.7rem 1.5rem; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--accent); color: var(--cream); font: inherit; text-decoration: none; white-space: nowrap;
  /* after `font: inherit` — the shorthand resets font-family, so these must follow it */
  font-family: var(--font); font-weight: 600; font-synthesis: none;
  font-size: 1rem; letter-spacing: -0.005em;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { background: var(--accent-ink); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.7; cursor: progress; }
.btn--sm { min-height: 40px; padding: 0.45rem 1.1rem; font-size: 0.92rem; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--rope); }
.btn--ghost:hover { background: var(--flax); box-shadow: inset 0 0 0 1.5px var(--accent-ink); }
/* Sits on a Forest scrim over a photo, so its ink is Cream, not the tint. Herb on
   that scrim measures 2.09:1 - it worked only while the accent was bright orange
   on black. Cream is 12.22:1. */
.pill { display: inline-block; border: 1px solid var(--cream); color: var(--cream); border-radius: 999px; padding: 0.3rem 0.8rem; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(42, 54, 31, 0.82); }

/* ---------- Header ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 30; padding-top: env(safe-area-inset-top); color: var(--ink); transition: background-color 0.3s var(--ease); }
.top.is-scrolled { background: rgba(246, 243, 234, 0.86); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 1px 0 var(--edge); }
.top__row { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1rem; }
.brand { font-family: var(--display); font-weight: 700; font-synthesis: none; font-size: 1.15rem; letter-spacing: -0.01em; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.brand em { font-style: normal; color: var(--accent); }
.top__nav { display: flex; align-items: center; gap: 1.25rem; }
.top__nav a:not(.btn) { color: var(--muted); text-decoration: none; font-size: 0.95rem; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; transition: color 0.2s; }
.top__nav a:not(.btn):hover { color: var(--ink); }
.top :focus-visible { outline-color: var(--accent); }
.top__menu { display: none; }
@media (max-width: 640px) {
  .top__nav { display: none; }
  .top__menu { display: block; }
  .top:has(.top__menu[open]) { background: var(--paper); box-shadow: 0 1px 0 var(--edge); }
  .top__menu-toggle { display: flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 44px; padding: 0.45rem 0.85rem; border: 1px solid var(--rope); border-radius: 999px; color: var(--accent-ink); background: var(--card); font-size: 0.92rem; font-weight: 600; list-style: none; cursor: pointer; }
  .top__menu-toggle::-webkit-details-marker { display: none; }
  .top__menu-toggle svg { width: 20px; height: 20px; }
  .menu__close, .top__menu[open] .menu__bars { display: none; }
  .top__menu[open] .menu__close { display: block; }
  .top__menu[open] .top__menu-toggle { background: var(--accent-soft); }
  .top__menu-panel { position: absolute; top: calc(100% + 0.5rem); right: 1.25rem; width: min(calc(100% - 2.5rem), 22rem); max-height: calc(100vh - var(--header-h) - env(safe-area-inset-top) - 1.5rem); max-height: calc(100svh - var(--header-h) - env(safe-area-inset-top) - 1.5rem); overflow-y: auto; overscroll-behavior: contain; display: grid; padding: 0.6rem 1.1rem 1.1rem; border: 1px solid var(--edge); border-radius: 20px; background: var(--card); box-shadow: 0 16px 36px rgba(90, 75, 51, 0.16); }
  .top__menu-panel a:not(.btn) { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 52px; padding: 0.55rem 0.2rem; color: var(--ink); border-bottom: 1px solid var(--line); font-size: 1rem; font-weight: 600; text-decoration: none; }
  .top__menu-panel a:not(.btn):hover { color: var(--accent); }
  .top__menu-panel a span { color: var(--accent); }
  .top__menu-panel .btn { margin-top: 1rem; white-space: normal; text-align: center; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(72% 118% at 8% -20%, var(--sun) 0%, rgba(251, 247, 234, 0.55) 34%, rgba(246, 243, 234, 0) 70%),
    linear-gradient(168deg, var(--sun) 0%, var(--oat) 100%);
}
.hero { padding: calc(var(--header-h) + env(safe-area-inset-top) + clamp(1.5rem, 5vw, 4rem)) 0 clamp(2rem, 5vw, 3rem); }
.hero__grid { display: grid; gap: 2.5rem; }
.hero__copy { text-align: center; max-width: 36rem; margin-inline: auto; }
.hero__sub { color: var(--muted); font-size: 1.1rem; max-width: 32rem; margin: 1.1rem auto 0; text-wrap: pretty; }
.hero__trust { color: var(--muted); font-size: 0.92rem; margin-top: 0.9rem; }
.hero__trust b { color: var(--ink); font-weight: 600; }
.hero__visual { display: grid; justify-items: center; gap: 1.1rem; }
.sources { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.4rem; font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.sources span:not(.sources__label) { border: 1px solid var(--rope); border-radius: 999px; padding: 0.28rem 0.7rem; }
.sources__label { margin-right: 0.2rem; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.72rem; }
.hero__stage { position: relative; width: min(100%, 440px); aspect-ratio: 4 / 5; }
.hero__poster, .hero__poster img, .hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__poster img { object-fit: contain; }
.hero__canvas { opacity: 0; transition: opacity 0.3s ease; }
.hero__stage.is-live .hero__canvas { opacity: 1; }
.hero__stage.is-live .hero__poster { visibility: hidden; }
@media (min-width: 900px) {
  .hero { padding-top: calc(var(--header-h) + env(safe-area-inset-top) + 3rem); padding-bottom: 1rem; }
  .hero__grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); align-items: center; gap: 3rem; }
  .hero__copy { text-align: left; margin-inline: 0; max-width: 33rem; }
  h1 { font-size: clamp(2.6rem, 4.2vw, 4rem); }
  .hero__sub { margin-inline: 0; }
  .hero__stage { width: min(100%, calc(80vh * 5 / 6), 620px); aspect-ratio: 5 / 6; }
  .sources { justify-content: flex-start; }
}

/* ---------- App Store badge + coming-soon stamp ---------- */
.store { position: relative; display: inline-block; margin-top: 1.9rem; margin-right: 1.5rem; }
.store--center { margin-top: 1.6rem; }
.store__badge { display: block; height: 56px; width: auto; }
.store__stamp { position: absolute; top: -1.45rem; right: -2.1rem; transform: rotate(-6deg); background: var(--accent); color: var(--cream); font-weight: 800; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; border-radius: 999px; padding: 0.35rem 0.75rem; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35); white-space: nowrap; }
.hero__copy .store { margin-top: 1.6rem; }

/* ---------- Three promises, then a clear recipe-to-kitchen story ---------- */
.benefits { padding: 0 0 2.5rem; }
.benefits__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--edge); }
.benefits__list li { padding: 1.6rem 2rem; }
.benefits__list li:first-child { padding-left: 0; }
.benefits__list li:last-child { padding-right: 0; }
.benefits__list li + li { border-left: 1px solid var(--edge); }
.benefits__list strong { display: block; color: var(--accent-ink); font-family: var(--font); font-weight: 600; font-size: 1.18rem; line-height: 1.25; }
.benefits__list span { display: block; color: var(--muted); font-size: 0.9rem; margin-top: 0.4rem; }
.chapter-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: end; }
.chapter-head .lead { margin-top: 0; max-width: 29rem; }

/* ---------- A completely illustrated import, on a single screen ---------- */
.flow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.flow__head { margin-bottom: 2rem; }
.flow__steps { display: grid; gap: 1.3rem; }
.flow__steps li { display: flex; align-items: start; gap: 0.8rem; }
.flow__num { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; margin-top: 0.15rem; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); font-size: 0.8rem; font-weight: 700; flex: none; }
.flow__steps strong { color: var(--accent-ink); font-size: 1rem; }
.flow__steps p { max-width: 27rem; color: var(--muted); font-size: 0.94rem; margin-top: 0.25rem; line-height: 1.5; }
.flow__note { color: var(--muted); font-size: 0.9rem; border-top: 1px solid var(--line); margin-top: 1.6rem; padding-top: 1rem; }
.flow__media { min-width: 0; display: grid; justify-items: center; gap: 1rem; }
.flow__player { width: min(100%, 380px); display: grid; justify-items: center; gap: 0.85rem; scroll-margin-top: calc(var(--header-h) + 1rem); }
.flow__caption { display: grid; align-content: center; gap: 0.2rem; min-height: 4rem; width: 100%; text-align: center; line-height: 1.3; }
.flow__count { color: var(--accent); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; }
.flow__instruction { color: var(--ink); font-size: 0.98rem; }
/* Shared iPhone 16 Pro geometry from tools/frame.py: 1350×2760 body,
   1206×2622 screen at (72,69). The screen is never stretched to fit the art. */
.device { position: relative; aspect-ratio: 1350 / 2760; container-type: inline-size; isolation: isolate; filter: drop-shadow(0 12px 16px rgba(90,75,51,0.15)); }
.device__screen { position: absolute; left: 5.333333%; top: 2.5%; width: 89.333333%; height: 95%; overflow: hidden; border-radius: 12% / 5.52%; background: var(--card); font-size: 4.4cqw; line-height: 1.4; }
.device__content { position: absolute; inset: 7% 0 3%; overflow: hidden; }
.device__status { position: absolute; top: 1.6%; left: 8%; right: 7%; height: 4%; display: flex; align-items: center; justify-content: space-between; color: var(--ink); font-size: 0.72em; font-weight: 700; }
.device__status svg { width: 3.7em; height: 1.1em; }
.device__home { position: absolute; bottom: 1%; left: 35%; width: 30%; height: 0.6%; border-radius: 99px; background: var(--ink); }
.device__bezel { position: absolute; inset: 0; z-index: 10; width: 100%; height: 100%; pointer-events: none; }
.flow__stage { width: min(100%, 310px, calc((100svh - 250px) * 1350 / 2760)); }
.flow__screen { isolation: isolate; }
.demo-view { position: absolute; inset: 0; background: var(--card); display: flex; flex-direction: column; transition: opacity 0.25s ease; }
.demo-top { display: flex; align-items: center; justify-content: space-between; gap: 0.5em; padding: 1em; font-size: 0.9em; font-weight: 600; color: var(--accent-ink); }
.demo-chip { background: var(--accent-soft); border-radius: 999px; padding: 0.3em 0.6em; font-size: 0.8em; white-space: nowrap; }
.demo-photo { width: calc(100% - 2em); height: auto; max-height: 33%; object-fit: contain; flex-shrink: 0; margin-inline: 1em; border: 1px solid var(--media-edge); border-radius: 0.8em; }
.demo-content { padding: 1em; }
.demo-content h3 { font-family: var(--font); font-weight: 600; font-size: 1.5em; line-height: 1.2; color: var(--accent-ink); }
.demo-content p { color: var(--muted); font-size: 0.9em; margin-top: 0.5em; }
.demo-content > strong { font-size: 0.95em; }
.demo-rule { height: 1px; background: var(--line); margin: 0.8em 0; }
.demo-meta span { margin-inline: 0.4em; }
.demo-bottom { margin-top: auto; padding: 0.8em 1em 1em; display: grid; gap: 0.6em; text-align: center; }
.demo-bottom > span:first-child { color: var(--muted); font-size: 0.8em; }
.demo-action { display: flex; justify-content: center; align-items: center; gap: 0.5em; padding: 0.8em; border-radius: 0.8em; background: var(--accent-ink); color: var(--cream); font-size: 1em; font-weight: 600; }
.demo-action svg { width: 1.2em; height: 1.2em; }
.demo__target { position: relative; }
.demo-dimmer { position: absolute; inset: 0; z-index: 2; background: rgba(53,68,42,0.14); opacity: 0; transition: opacity 0.25s ease; }
.demo-sheet { position: absolute; z-index: 3; inset: auto 0 0; padding: 0.7em 1em 1.5em; background: var(--card); border: 1px solid var(--edge); border-radius: 1.3em 1.3em 0 0; transform: translateY(105%); opacity: 0; transition: transform 0.3s ease, opacity 0.25s ease; }
.demo-handle { display: block; width: 2.8em; height: 0.2em; border-radius: 999px; background: var(--rope); margin: 0 auto 0.5em; }
.demo-sheet .demo-top { padding: 0.75em 0; font-size: 1em; }
.demo-share-item { display: flex; align-items: center; gap: 0.65em; padding: 0.9em; margin-block: 0.5em 1em; background: var(--accent-soft); border: 1px solid var(--accent); border-radius: 0.9em; }
.demo-share-item img { width: 3em; height: 3em; border-radius: 0.75em; }
.demo-share-item > span:nth-child(3) { margin-left: auto; }
.demo-share-item strong, .demo-share-item small { display: block; }
.demo-share-item small { font-size: 0.75em; color: var(--muted); margin-top: 0.2em; }
.demo-share-other { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 0.8em; color: var(--muted); font-size: 0.8em; }
.demo-app-brand { display: flex; gap: 0.55em; align-items: center; }
.demo-app-brand img { width: 1.9em; height: 1.9em; border-radius: 0.5em; }
.demo-app-brand > span { margin-left: auto; }
.demo-notice { position: absolute; z-index: 4; inset: 1em 0.7em auto; padding: 1em; border-radius: 1em; background: var(--card); border: 1px solid var(--accent); box-shadow: 0 8px 24px rgba(90,75,51,0.14); transform: translateY(-120%); opacity: 0; transition: transform 0.3s ease, opacity 0.25s ease; }
.demo-notice .demo-app-brand { font-size: 0.8em; margin-bottom: 0.8em; }
.demo-notice p { color: var(--muted); font-size: 0.9em; margin-top: 0.4em; }
.demo-notice-link { display: block; color: var(--accent-ink); font-weight: 600; font-size: 0.9em; margin-top: 0.7em; }
.demo-preparing { z-index: 5; opacity: 0; align-items: center; justify-content: center; text-align: center; gap: 1.4em; padding: 2em; }
.demo-preparing > img { width: 4em; height: 4em; border-radius: 1em; }
.demo-preparing h3 { font-family: var(--font); font-weight: 600; font-size: 1.5em; color: var(--accent-ink); }
.demo-preparing p { color: var(--muted); font-size: 0.95em; }
.screen__ring { width: 2em; height: 2em; border-radius: 50%; border: 0.2em solid var(--accent-soft); border-top-color: var(--accent); }
.demo-result { z-index: 6; opacity: 0; }
.demo-recipe-step { margin-top: 0.8em; display: flex; gap: 0.5em; align-items: center; font-size: 0.85em; }
.demo-recipe-step > span { display: grid; place-items: center; width: 1.6em; height: 1.6em; background: var(--accent-soft); border-radius: 50%; color: var(--accent-ink); }
.demo-save { margin: auto 1em 1em; }
.demo-saved { display: none; margin: auto 0.6em 1em; padding: 0.85em 0.4em; text-align: center; color: var(--accent-ink); background: var(--accent-soft); border-radius: 0.8em; font-weight: 600; font-size: 0.9em; }
.demo-saved > span { margin-right: 0.35em; }
.flow[data-scene="share"] .demo-sheet { transform: none; opacity: 1; }
.flow[data-scene="share"] .demo-dimmer, .flow[data-scene="open"] .demo-dimmer { opacity: 1; }
.flow[data-scene="open"] .demo-notice { transform: none; opacity: 1; }
.flow[data-scene="prepare"] .demo-preparing { opacity: 1; }
.flow[data-scene="prepare"][data-running="true"] .screen__ring { animation: demo-spin 1.3s linear infinite; }
.flow[data-scene="review"] .demo-result, .flow[data-scene="saved"] .demo-result { opacity: 1; }
.flow[data-scene="saved"] .demo-save { display: none; }
.flow[data-scene="saved"] .demo-saved { display: block; }
@keyframes demo-spin { to { transform: rotate(360deg); } }
.flow__controls { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 0.4rem; width: 100%; }
.flow__controls[hidden], .flow__controls button[hidden] { display: none; }
.flow__controls button { min-height: 48px; min-width: 0; padding: 0.5rem; border: 1px solid var(--rope); border-radius: 999px; background: var(--card); color: var(--accent-ink); font: inherit; font-size: 0.84rem; line-height: 1.2; font-weight: 600; cursor: pointer; }
.flow__controls .flow__play { background: var(--accent-ink); color: var(--cream); border-color: var(--accent-ink); }
.flow__controls button:disabled { opacity: 0.5; cursor: default; }
.flow__controls--manual { grid-template-columns: 1.5fr 1fr; }
.flow__disclosure { color: var(--muted); text-align: center; font-size: 0.75rem; max-width: 25rem; }
.demo__tap { position: absolute; z-index: 8; left: 86%; top: 60%; width: 2.5em; height: 2.5em; transform: translate(-50%,-50%); display: none; pointer-events: none; }
.demo__tap::before, .demo__tap::after { content: ""; position: absolute; border-radius: 50%; }
.demo__tap::before { inset: 0; border: 0.15em solid var(--warm-ink); box-shadow: 0 0 0 0.13em var(--cream); opacity: 0.85; }
.demo__tap::after { inset: 30%; background: var(--warm); border: 0.13em solid var(--cream); box-shadow: 0 0 0 0.1em var(--warm-ink); }
.flow[data-scene="find"] [data-tap-for="find"] .demo__tap,
.flow[data-scene="share"] [data-tap-for="share"] .demo__tap,
.flow[data-scene="open"] [data-tap-for="open"] .demo__tap,
.flow[data-scene="review"] [data-tap-for="review"] .demo__tap { display: block; }
.flow[data-tapping="true"] .demo__tap::before { animation: demo-contact-ring var(--demo-tap-ms,650ms) ease-out both; }
.flow[data-tapping="true"] .demo__tap::after { animation: demo-contact-dot var(--demo-tap-ms,650ms) ease-in-out both; }
.flow[data-running="false"] .demo__tap::before, .flow[data-running="false"] .demo__tap::after { animation-play-state: paused; }
@keyframes demo-contact-ring { 0% { transform: scale(0.65); opacity: 1; } 70%,100% { transform: scale(1.5); opacity: 0; } }
@keyframes demo-contact-dot { 0%,100% { transform: scale(1); } 25%,55% { transform: scale(0.7); } }

/* ---------- Same recipe, same surfaces, same visual scale ---------- */
.recipe-benefits { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.2rem; }
.recipe-benefit { background: var(--card); border: 1px solid var(--edge); border-radius: var(--radius); overflow: hidden; }
.feature-art { height: 288px; display: grid; place-items: center; padding: 1.4rem; background: var(--paper); border-bottom: 1px solid var(--line); font-size: 0.88rem; }
.mini-window { display: flex; flex-direction: column; height: 238px; width: 100%; max-width: 290px; border: 1px solid var(--edge); border-radius: 13px; background: var(--card); overflow: hidden; box-shadow: 0 5px 15px rgba(90,75,51,0.04); }
.mini-label { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; color: var(--accent-ink); font-size: 0.73rem; font-weight: 600; line-height: 1.3; }
.mini-window > .mini-label { min-height: 44px; flex: none; padding: 0.9rem; border-bottom: 1px solid var(--line); }
.mini-recipe { flex: 1; padding: 0.8rem; display: flex; gap: 0.75rem; align-items: center; }
.mini-recipe img { width: 85px; height: 100px; object-fit: cover; border-radius: 8px; border: 1px solid var(--media-edge); }
.mini-recipe strong { display: block; font-family: var(--font); font-weight: 600; font-size: 1rem; line-height: 1.25; color: var(--accent-ink); }
.mini-recipe div > span { display: block; font-size: 0.7rem; color: var(--muted); margin-top: 0.5rem; }
.mini-footer { display: flex; justify-content: space-between; gap: 0.5rem; padding: 0.7rem 0.9rem; border-top: 1px solid var(--line); color: var(--accent-ink); font-size: 0.68rem; }
.translation-line { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 0.75rem 0.9rem; line-height: 1.25; }
.translation-line > span { font-size: 0.65rem; color: var(--muted); }
.translation-line strong { display: block; font-family: var(--font); font-weight: 600; color: var(--accent-ink); font-size: 1rem; line-height: 1.3; margin-block: 0.3rem; }
.translation-line p { font-size: 0.75rem; color: var(--muted); }
.translation-line--result { background: var(--accent-soft); border-top: 1px solid var(--line); }
.mini-method { flex: 1; display: flex; align-items: start; gap: 0.6rem; padding: 1rem 0.9rem; }
.mini-method > span { background: var(--accent-soft); color: var(--accent-ink); border-radius: 50%; width: 1.5rem; height: 1.5rem; text-align: center; flex: none; }
.mini-method strong { display: block; font-size: 0.85rem; }
.mini-method p { color: var(--muted); font-size: 0.75rem; line-height: 1.4; margin-top: 0.35rem; }
.mini-timer { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 0.9rem; background: var(--accent-soft); color: var(--accent-ink); font-size: 0.75rem; }
.mini-timer strong { font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.recipe-benefit__copy { padding: 1.6rem; }
.recipe-benefit__copy .eyebrow { font-size: 0.72rem; margin-bottom: 0.65rem; }
.recipe-benefit__copy h3 { font-family: var(--font); font-weight: 600; font-size: 1.3125rem; line-height: 1.25; color: var(--accent-ink); }
.recipe-benefit__copy > p:last-child { color: var(--muted); font-size: 0.95rem; margin-top: 0.75rem; }

/* ---------- One pantry-to-shopping example ---------- */
.shopping-story { background: var(--card); border: 1px solid var(--edge); border-radius: var(--radius); padding: 2rem; }
.shopping-story__title { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.shopping-story__title > span:first-child { font-family: var(--font); font-weight: 600; color: var(--accent-ink); font-size: 1.125rem; }
.shopping-story__grid { display: grid; grid-template-columns: 1fr 6rem 1fr; align-items: start; padding-top: 1.5rem; }
.shopping-list { overflow: hidden; border: 1px solid var(--edge); border-radius: 14px; }
.shopping-list__head { display: flex; align-items: center; gap: 0.5rem; padding: 1rem; background: var(--paper); border-bottom: 1px solid var(--line); }
.shopping-list__head h3 { font-size: 1rem; color: var(--accent-ink); }
.shopping-list__head > span:last-child { margin-left: auto; color: var(--muted); font-size: 0.75rem; }
.shopping-number { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; color: var(--accent-ink); background: var(--accent-soft); border-radius: 50%; font-size: 0.75rem; font-weight: 600; }
.shopping-list li { display: flex; align-items: center; gap: 0.75rem; min-height: 3.2rem; padding: 0.7rem 1rem; font-size: 0.94rem; }
.shopping-list li + li { border-top: 1px solid var(--line); }
.shopping-list .is-checked { background: var(--accent-soft); color: var(--accent-ink); }
.shopping-list small { color: var(--accent); margin-left: auto; font-size: 0.7rem; }
.check-mark { width: 1.2rem; height: 1.2rem; border: 1px solid var(--rope); border-radius: 50%; display: grid; place-items: center; font-size: 0.75rem; flex: none; }
.is-checked .check-mark { border-color: var(--accent); background: var(--accent); color: var(--cream); }
.shopping-bridge { align-self: center; text-align: center; color: var(--accent); }
.shopping-bridge > span { display: block; font-size: 2.1rem; }
.shopping-bridge small { display: block; color: var(--muted); font-size: 0.72rem; line-height: 1.4; }
.shopping-list--result .shopping-list__head { background: var(--accent-soft); }
.shopping-export { display: flex; align-items: center; justify-content: center; gap: 0.6rem; padding: 1rem; color: var(--accent-ink); font-size: 0.82rem; font-weight: 600; border-top: 1px solid var(--line); background: var(--paper); }
.shopping-export svg { width: 1.2rem; height: 1.2rem; flex: none; }
.shopping-story__note { color: var(--muted); font-size: 0.72rem; text-align: right; padding-top: 1rem; }
.kitchen-details { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 2rem; margin-top: 2.5rem; }
.kitchen-details article { border-top: 1px solid var(--edge); padding-top: 1.2rem; }
.detail-mark { display: inline-block; color: var(--accent); font-weight: 600; font-size: 1rem; min-height: 2.4rem; }
.kitchen-details h3 { font-family: var(--font); font-weight: 600; color: var(--accent-ink); font-size: 1.15rem; }
.kitchen-details p { color: var(--muted); font-size: 0.9rem; margin-top: 0.6rem; }

/* ---------- The real app, in one dedicated showcase ---------- */
.app-showcase__devices { display: flex; justify-content: center; align-items: end; gap: 2rem; max-width: 830px; margin-inline: auto; }
.app-showcase__phone { width: 26%; height: auto; }
.app-showcase__tablet { width: 66%; height: auto; }
.app-showcase figcaption { color: var(--muted); text-align: center; font-size: 0.8rem; margin-top: 1.5rem; }
.ipad + .privacy { padding-top: 0; }

@media (max-width: 899px) {
  .flow { grid-template-columns: 1fr; gap: 2rem; }
  .flow__copy { max-width: 38rem; }
  .flow__steps { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
  .flow__steps li { display: block; }
  .flow__num { margin-bottom: 0.5rem; }
  .chapter-head { gap: 2rem; }
  .recipe-benefits { grid-template-columns: 1fr; gap: 1rem; }
  .recipe-benefit { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
  .feature-art { height: 280px; padding: 1.25rem; border-bottom: 0; border-right: 1px solid var(--line); }
  .recipe-benefit__copy { padding: 1.5rem; }
  .recipe-benefit__copy h3 { font-size: 1.25rem; }
  .recipe-benefit__copy > p:last-child { font-size: 0.85rem; }
  .shopping-story { padding: 1.5rem; }
  .shopping-story__grid { grid-template-columns: 1fr 4rem 1fr; }
  .shopping-list__head { flex-wrap: wrap; }
  .kitchen-details { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .benefits { padding-bottom: 0; }
  .benefits__list { grid-template-columns: 1fr; }
  .benefits__list li, .benefits__list li:first-child, .benefits__list li:last-child { padding: 1.1rem 0; }
  .benefits__list li + li { border-left: 0; border-top: 1px solid var(--line); }
  .benefits__list strong { font-size: 1.1rem; }
  .benefits__list span { margin-top: 0.2rem; font-size: 0.85rem; }
  .chapter-head { grid-template-columns: 1fr; gap: 1rem; }
  .flow__head { margin-bottom: 1.5rem; }
  .flow__steps { grid-template-columns: 1fr; gap: 1rem; }
  .flow__steps li { display: flex; }
  .flow__steps p { font-size: 0.9rem; }
  .flow__player { gap: 0.65rem; }
  .flow__disclosure { max-width: 20rem; font-size: 0.7rem; }
  .recipe-benefits { grid-template-columns: 1fr; gap: 1.25rem; }
  .recipe-benefit { display: block; }
  .feature-art { height: 280px; padding: 1.25rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .mini-recipe { display: flex; }
  .mini-recipe img { width: 85px; height: 100px; margin: 0; }
  .art-library .mini-footer > span:last-child { display: inline; }
  .recipe-benefit__copy { padding: 1.4rem; }
  .recipe-benefit__copy h3 { font-size: 1.3125rem; }
  .recipe-benefit__copy > p:last-child { font-size: 0.94rem; }
  .shopping-story { padding: 1.1rem; }
  .shopping-story__title { display: grid; gap: 0.5rem; padding-bottom: 1rem; }
  .shopping-story__title > span:first-child { font-size: 1.125rem; }
  .shopping-story__grid { grid-template-columns: 1fr; padding-top: 1rem; }
  .shopping-list__head { padding: 0.8rem; }
  .shopping-list__head h3 { font-size: 0.93rem; }
  .shopping-list li { padding-inline: 0.8rem; font-size: 0.88rem; }
  .shopping-bridge { display: flex; gap: 0.75rem; align-items: center; justify-content: center; padding: 0.7rem 0; }
  .shopping-bridge > span { transform: rotate(90deg); font-size: 1.7rem; }
  .shopping-bridge small br { display: none; }
  .shopping-story__note { text-align: center; }
  .kitchen-details { gap: 1.25rem; margin-top: 2rem; }
  .kitchen-details h3 { font-size: 1.05rem; }
  .kitchen-details p { font-size: 0.85rem; }
  .app-showcase__devices { gap: 0.75rem; }
  .app-showcase__phone { width: 28%; }
  .app-showcase__tablet { width: 67%; }
}
@media (max-height: 500px) and (min-width: 600px) {
  .flow__player { width: min(100%, 540px); grid-template-columns: auto minmax(0,1fr); grid-template-rows: 1fr 1fr; gap: 1rem; align-items: center; }
  .flow__stage { grid-column: 1; grid-row: 1 / span 2; width: calc((100svh - 110px) * 1350 / 2760); }
  .flow__caption { grid-column: 2; grid-row: 1; align-self: end; }
  .flow__controls { grid-column: 2; grid-row: 2; align-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  .flow *, .flow *::before, .flow *::after { animation: none !important; transition: none !important; }
}

/* ---------- Privacy ---------- */
.privacy { text-align: center; }
.privacy h2 { margin-inline: auto; }
.privacy__row { display: flex; flex-direction: column; align-items: center; gap: 1rem; margin: clamp(1.5rem, 4vw, 2.2rem) auto 0; font-size: 1.1rem; font-weight: 600; }
.privacy__row li { display: inline-flex; align-items: center; gap: 0.6rem; text-align: left; }
.privacy__row svg { width: 26px; height: 26px; color: var(--accent); flex: none; }
@media (min-width: 760px) { .privacy__row { flex-direction: row; justify-content: center; gap: 2.5rem; } }

/* ---------- Pricing ---------- */
.plans { display: grid; gap: 1rem; max-width: 56rem; margin-inline: auto; align-items: start; }
.plan { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: 0.35rem; }
.plan--pro { border-color: rgba(255, 159, 10, 0.75); box-shadow: 0 0 0 1px rgba(255, 159, 10, 0.35); }
.plan__badge { position: absolute; top: 1.3rem; right: 1.3rem; background: var(--warm); color: var(--ink); box-shadow: inset 0 0 0 1px var(--warm-ink); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; border-radius: 999px; padding: 0.32rem 0.7rem; }
.plan__tier { font-size: 0.82rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.billing { display: inline-flex; align-self: flex-start; background: rgba(27, 23, 19, 0.06); border-radius: 999px; padding: 3px; margin-top: 0.7rem; }
.billing__opt { border: 0; background: transparent; font: inherit; font-weight: 700; font-size: 0.9rem; padding: 0.4rem 1.05rem; min-height: 44px; border-radius: 999px; color: var(--muted); cursor: pointer; transition: background-color 0.25s var(--ease), color 0.25s var(--ease); }
.billing__opt[aria-pressed="true"] { background: var(--accent-ink); color: var(--cream); }
.billing__opt:focus-visible { outline-offset: 1px; }
.plan__option { animation: fadein 0.3s var(--ease); }
.plan__option[hidden], [data-billing-for][hidden] { display: none !important; }
@keyframes fadein { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
.plan__price { margin-top: 0.7rem; line-height: 1; }
.plan__amount { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; }
.plan__unit { font-size: 1rem; font-weight: 600; color: var(--muted); margin-left: 0.25rem; }
.plan__per { color: var(--muted); font-size: 0.95rem; margin-top: 0.4rem; }
.plan__list { display: grid; gap: 0.4rem; margin: 1rem 0 1.3rem; font-size: 1rem; }
.plan__list li { padding-left: 1.5rem; position: relative; }
.plan__list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.9em; height: 0.5em; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg) translateY(-30%); }
.plan__limit { display: block; margin-top: 0.2rem; color: var(--muted); font-size: 0.85rem; }
.plan .btn { margin-top: auto; width: 100%; }
.pricing .fine { text-align: center; }
@media (min-width: 760px) { .plans { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 1.2rem; } }
html:not(.js) .billing { display: none; }
html:not(.js) .plan__option[hidden], html:not(.js) li[data-billing-for][hidden] { display: block; }

/* ---------- FAQ ---------- */
.faq { padding-top: 0; }
.faq__list { display: grid; align-items: start; gap: 0.75rem; }
.faq__item { background: var(--card); border: 1px solid var(--edge); border-radius: var(--radius-s); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; padding: 1.1rem 1.25rem; border-radius: inherit; list-style: none; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--accent-ink); }
.faq__item summary svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.faq__item[open] .faq__expand { display: none; }
.faq__item h3 { font-size: 1.08rem; }
.faq__item p { color: var(--muted); font-size: 0.98rem; padding: 0 1.25rem 1.25rem; text-wrap: pretty; }
@media (min-width: 900px) {
  .faq > .wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 3rem; align-items: start; }
  .faq .section-head { margin-bottom: 0; }
}

/* ---------- CTA ---------- */
.cta { padding-block: clamp(2.5rem, 6vw, 5.5rem); }
/* A light card sitting on the one deep band. It has to re-declare the theme vars,
   not just its background: .theme-deep sets the ink to Cream for the section, so the
   heading was rendering Cream on Porcelain at 1.02:1 and simply was not there. The
   card is its own light context, so it restates the light context's tokens.
   The App Store badge is Apple's black variant (white lettering on a black body),
   which needs a light ground - that is why this stays a card rather than sitting
   the content straight on the green. */
.cta__box {
  text-align: center; background: var(--card); color: var(--ink);
  --fg: var(--ink); --fg-muted: var(--muted); --eyebrow: var(--accent); --focus: var(--accent);
  border: 1px solid var(--edge); border-radius: var(--radius);
  box-shadow: 0 26px 60px rgba(90, 75, 51, 0.26);
  padding: clamp(2.2rem, 6vw, 4rem) clamp(1.2rem, 5vw, 3.5rem); max-width: 46rem; margin-inline: auto;
}
.cta__box h2, .cta__box .lead { margin-inline: auto; }
.cta__box .fine { margin-top: 1rem; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 2rem 0 calc(2.5rem + env(safe-area-inset-bottom)); color: var(--muted); font-size: 0.92rem; }
.foot__row { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: space-between; }
.foot nav { display: flex; gap: 1.4rem; }
.foot a { color: var(--muted); text-decoration: none; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; transition: color 0.2s; }
.foot a:hover { color: var(--ink); }

/* ---------- Reveal on scroll (subtle) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- No JS ---------- */
html:not(.js) .hero__canvas { display: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero__canvas { display: none; }
  .hero__stage.is-live .hero__poster { visibility: visible; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Kitchen hero: keep the full source-to-recipe story visible at every width. */
.hero--kitchen { padding-top: calc(var(--header-h) + 2.5rem); padding-bottom: 2rem; }
.hero--kitchen .hero__grid { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; }
.hero--kitchen .hero__copy { text-align: center; max-width: 54rem; margin-inline: auto; }
.hero--kitchen h1 { font-size: clamp(2.25rem, 4.4vw, 3.8rem); }
.hero--kitchen .hero__sub { max-width: 42rem; margin: 1rem auto 0; }
.hero__kitchen { width: min(100%, 960px); }
.hero__kitchen img { display: block; width: 100%; height: auto; border-radius: 24px; }
.hero__kitchen figcaption { text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 0.65rem; }
.hero__action { text-align: center; }
.hero__action .store { margin-top: 1rem; margin-right: 0; }
@media (max-width: 640px) {
  .hero--kitchen { padding-top: calc(var(--header-h) + 1.25rem); }
  .hero--kitchen .hero__grid { gap: 1.25rem; }
  .hero--kitchen .eyebrow { font-size: 0.66rem; letter-spacing: 0.1em; }
  .hero--kitchen .hero__sub { font-size: 1rem; line-height: 1.5; }
  .hero__kitchen { width: calc(100% + 1rem); }
  .hero__kitchen img { border-radius: 16px; }
  .hero__kitchen figcaption { font-size: 0.8rem; }
}

/* Launch CTA: the action sits with the introduction, before the illustration. */
.hero--kitchen { padding-top: calc(var(--header-h) + 1.5rem); }
.hero__action { margin-top: 1.25rem; }
.hero__action .hero__trust { font-size: 0.85rem; }
.hero--kitchen .hero__grid { gap: 1.5rem; }
.top__nav .btn { min-height: 44px; }
@media (min-width: 1100px) {
  .hero--kitchen .hero__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr); gap: 2rem; align-items: center; }
  .hero--kitchen .hero__copy { text-align: left; }
  .hero--kitchen h1 { font-size: clamp(2.5rem, 3.8vw, 3.3rem); }
  .hero--kitchen .hero__sub { font-size: 1.04rem; }
  .hero__action { text-align: left; }
}
.notify { max-width: 34rem; margin: 1.5rem auto 0; text-align: left; }
.notify__form label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.4rem; }
.notify__row { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.notify__row input[type="email"] { flex: 1 1 14rem; width: 100%; min-width: 0; min-height: 48px; padding: 0.65rem 1rem; border: 1px solid var(--rope); border-radius: 999px; color: var(--ink); background: var(--paper); font: inherit; font-size: 1rem; }
.notify__row input::placeholder { color: var(--muted); opacity: 1; }
.notify__row input[aria-invalid="true"] { border: 2px solid var(--bad); }
.notify__row .btn { flex: 1 1 auto; white-space: normal; }
.notify__help { margin-top: 0.8rem; color: var(--muted); font-size: 0.85rem; text-align: center; }
.notify__help a { text-underline-offset: 3px; }
.notify__status { font-size: 1rem; margin-top: 0.8rem; border-radius: 12px; }
.notify__status:empty { display: none; }
.notify[data-notify-result="success"] .notify__form { display: none; }
.notify[data-notify-result="success"] .notify__status { padding: 1rem; background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }
.notify[data-notify-result="error"] .notify__status { color: var(--bad); }
@media (max-width: 640px) {
  .hero--kitchen { padding-top: calc(var(--header-h) + 1rem); }
  .notify__row .btn { width: 100%; }
}

/* One source-to-iPhone composition at every width, over the approved kitchen. */
.hero__art { position: relative; border-radius: 24px; overflow: hidden; isolation: isolate; }
.hero__kitchen .hero__background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; z-index: 0; }
.hero__composition { display: grid; grid-template-columns: 1fr 0.92fr; gap: 12%; align-items: center; padding: 5% 7%; position: relative; z-index: 1; container-type: inline-size; text-align: left; }
.hero__source { min-width: 0; padding: 1em; background: var(--card); border: 1px solid var(--edge); border-radius: 1.2em; box-shadow: 0 8px 24px rgba(90,75,51,0.1); font-size: 2.7cqw; line-height: 1.35; }
.hero__source-label { display: flex; justify-content: space-between; color: var(--muted); font-size: 0.8em; margin-bottom: 0.6em; }
.hero__source > strong { display: block; font-size: 1.1em; font-weight: 600; margin-bottom: 0.75em; }
.hero__kitchen .hero__source > img { width: 100%; height: auto; border-radius: 0.6em; }
.hero__source-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 0.7em; }
.hero__source-actions svg { width: 1.65em; height: 1.65em; }
.hero__source-share { position: relative; display: grid; place-items: center; width: 2.8em; height: 2.8em; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 1px var(--warm); }
.hero__source-actions .hero__bridge { position: absolute; z-index: 2; left: 2.15em; bottom: 0.65em; width: 13em; max-width: none; height: auto; color: var(--accent); pointer-events: none; }
.hero__phone { width: 100%; }
.hero__kitchen .device__bezel { height: 100%; border-radius: 0; }
.hero__recipe { display: flex; flex-direction: column; font-size: 1.13em; padding-inline: 0.8em; color: var(--ink); }
.hero__recipe-brand { display: flex; align-items: center; gap: 0.35em; font-size: 0.9em; padding-block: 0.2em 0.7em; }
.hero__kitchen .hero__recipe-brand img { width: 1.9em; height: 1.9em; border-radius: 0.4em; }
.hero__recipe-language { display: flex; justify-content: space-between; align-items: center; gap: 0.5em; font-size: 0.65em; margin-bottom: 0.75em; color: var(--muted); }
.hero__recipe-language b { color: var(--accent-ink); background: var(--accent-soft); border-radius: 99px; padding: 0.25em 0.5em; white-space: nowrap; }
.hero__kitchen .hero__recipe-photo { width: 100%; height: auto; border: 1px solid var(--media-edge); border-radius: 0.7em; flex-shrink: 0; }
.hero__recipe-copy { padding-top: 0.65em; }
.hero__recipe-copy > strong { display: block; font-size: 1.13em; font-weight: 600; line-height: 1.15; }
.hero__recipe-copy > span { display: block; color: var(--muted); font-size: 0.68em; margin-top: 0.4em; }
.hero__recipe-copy h3 { font-size: 0.95em; margin: 0.35em 0 0.35em; }
.hero__recipe-copy li { display: flex; align-items: center; gap: 0.5em; font-size: 0.78em; line-height: 1.5; }
.hero__recipe-copy li::before { content: ''; width: 0.35em; height: 0.35em; border-radius: 50%; background: var(--accent); }
.hero__recipe-copy p { display: flex; align-items: center; gap: 0.45em; margin-top: 0.3em; font-size: 0.78em; }
.hero__recipe-copy p b { display: grid; place-items: center; flex: none; width: 1.4em; height: 1.4em; border-radius: 50%; color: var(--cream); background: var(--accent); font-weight: 600; }
.hero__recipe-save { margin-top: auto; padding: 0.7em 0.3em; border-radius: 99px; background: var(--accent); color: var(--cream); font-size: 0.72em; font-weight: 600; text-align: center; }
@media (max-width: 640px) {
  .hero--kitchen h1 { font-size: clamp(1.9rem, 8.2vw, 2.75rem); line-height: 1.1; letter-spacing: -0.02em; }
  .hero__action { margin-top: 1rem; }
  .hero__action .hero__trust { font-size: 0.8rem; }
  .hero__composition { padding: 5% 4%; gap: 9%; }
  .hero__source { font-size: 3cqw; padding: 0.8em; }
  .hero__source-actions .hero__bridge { width: 11.7em; }
  .hero__art { border-radius: 20px; }
  .hero__kitchen figcaption { font-size: 0.75rem; }
}

/* Keep the images readable while reducing empty space in the mobile page. */
@media (max-width: 640px) {
  :root { --section: 3rem; }
  [id] { scroll-margin-top: calc(var(--header-h) + env(safe-area-inset-top) + 1rem); }
  .section-head:not(.flow__head) { margin-bottom: 1.5rem; }
  .privacy__row { gap: 0.75rem; font-size: 1rem; }
}

/* Studio collection: actual light-theme app screens, complete device frames. */
.hero__phone--capture { position: relative; min-width: 0; filter: drop-shadow(0 12px 16px rgba(90,75,51,.15)); }
.hero__kitchen .hero__app-capture { width: 100%; height: auto; border-radius: 0; }
.hero__translation-label { position: absolute; top: -1.5em; left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--accent-ink); color: var(--cream); border-radius: 99px; padding: .3em .7em; font-size: 2.2cqw; font-weight: 600; }
/* Constrain the grid track so intrinsic image height cannot cross into the copy. */
.feature-art--screen { height: 390px; padding: 1.25rem; grid-template: minmax(0, 1fr) / minmax(0, 1fr); }
.feature-art--screen > img { min-width: 0; min-height: 0; width: 100%; height: 100%; object-fit: contain; }
.feature-art--translation { grid-template-rows: auto minmax(0, 1fr); gap: 1rem; }
.translation-badge { display: inline-flex; align-items: center; gap: .65rem; padding: .45rem 1rem; border-radius: 999px; background: var(--accent-ink); color: var(--cream); font-size: 1.125rem; font-weight: 600; line-height: 1.25; letter-spacing: .04em; white-space: nowrap; }
.translation-phones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr); gap: .65rem; width: 100%; height: 100%; min-height: 0; max-width: 320px; padding-bottom: .5rem; }
.translation-phones img { width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; filter: drop-shadow(0 5px 4px rgba(90,75,51,.16)); }
.translation-phones img:first-child { padding-bottom: 1.5rem; }
.translation-phones img:last-child { padding-top: 1.5rem; }
.shopping-captures { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2rem; max-width: 760px; margin: 2rem auto 0; }
.shopping-captures figure { min-width: 0; display: grid; grid-template-rows: auto 1fr; align-items: start; justify-items: center; gap: 1.5rem; }
.shopping-captures figcaption { display: flex; align-items: start; gap: .6rem; }
.shopping-captures h3 { font-size: 1.1rem; color: var(--accent-ink); }
.shopping-captures p { color: var(--muted); font-size: .82rem; margin-top: .3rem; }
.shopping-captures img { width: min(100%,280px); height: auto; }
@media (max-width:899px) {
  .feature-art--screen { height: 350px; }
}
@media (max-width:640px) {
  .feature-art--screen { height: 370px; }
  .shopping-captures { grid-template-columns: 1fr; gap: 2.5rem; margin-top: 1.5rem; }
  .shopping-captures figure { gap: 1rem; }
  .shopping-captures figcaption { width: min(100%,280px); }
  .hero__translation-label { font-size: 2.5cqw; }
}
