/* bekachi.uz — the app's own tokens: indigo, lavender, peach and mint on a soft mesh. */

:root {
  --ink: #10132a;
  --ink-2: #4a5070;
  --ink-3: #7a8099;
  --bg: #f7f8fc;
  --surface: #ffffff;
  --line: rgba(16, 19, 42, 0.08);
  --brand: #3b4bd8;
  --brand-2: #6f7bea;
  --brand-soft: #eef0ff;
  --lavender: #e0e4ff;
  --peach: #ffe3d1;
  --mint: #d6f5e7;
  --mint-ink: #127a4f;
  --sun: #ffd98a;

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --shadow: 0 1px 2px rgba(16, 19, 42, 0.04), 0 12px 32px -12px rgba(40, 52, 140, 0.18);
  --shadow-lg: 0 2px 4px rgba(16, 19, 42, 0.05), 0 40px 80px -24px rgba(40, 52, 140, 0.35);

  --font: 'Plus Jakarta Sans', 'Onest', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.skip:focus { top: 16px; }

.eyebrow {
  font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--brand);
}
.eyebrow--light { color: #c8d0ff; }

h1 {
  font-size: clamp(40px, 6.4vw, 76px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 800;
  margin-top: 18px;
}
h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--brand) 10%, #8a5cf0 60%, #f08a5c 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
h2 { font-size: clamp(30px, 4.2vw, 50px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; }
h3 { font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; font-weight: 700; }

.sec-head { max-width: 760px; margin-bottom: 48px; }
.sec-head h2 { margin-top: 12px; }
.sec-sub { margin-top: 14px; color: var(--ink-2); font-size: 18px; }

section { position: relative; padding-block: clamp(72px, 10vw, 128px); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 700 16px/1 var(--font); text-decoration: none; white-space: nowrap;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), background-color 200ms;
  touch-action: manipulation; border: 0; cursor: pointer;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 24px -10px rgba(59, 75, 216, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(59, 75, 216, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn--primary:active { transform: translateY(0) scale(0.98); }

/* ── Store buttons ── */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 8px 22px 8px 18px; border-radius: 16px;
  color: #fff; background: var(--ink); text-decoration: none;
  box-shadow: 0 10px 24px -12px rgba(11, 18, 32, 0.55);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
  touch-action: manipulation;
}
.store:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -14px rgba(11, 18, 32, 0.6); }
.store:active { transform: translateY(0) scale(0.98); }
.store:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 3px; }
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: grid; text-align: left; line-height: 1.1; }
.store small { font: 500 12px/1.2 var(--font); opacity: 0.8; }
.store b { font: 700 19px/1.15 var(--font); letter-spacing: -0.01em; }
/* iPhones see their own store first. */
.apple .store--apple { order: -1; }
.final .stores { justify-content: center; margin-top: 10px; }
.btn--ghost { color: var(--ink); background: rgba(255, 255, 255, 0.7); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: #fff; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 248, 252, 0.72);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms, background-color 200ms;
}
.nav.is-scrolled { border-color: var(--line); background: rgba(247, 248, 252, 0.9); }
.nav__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; text-decoration: none; }
.brand img { border-radius: 10px; }
.nav__links { display: flex; gap: 6px; }
.nav__links a {
  padding: 10px 14px; border-radius: 999px; text-decoration: none; color: var(--ink-2);
  font-weight: 600; font-size: 15px; transition: background-color 200ms, color 200ms;
}
.nav__links a:hover { background: rgba(59, 75, 216, 0.08); color: var(--ink); }
.nav__end { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(16, 19, 42, 0.06); }
.lang button {
  min-width: 44px; min-height: 38px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font: 600 13px/1 var(--mono); letter-spacing: 0.06em; color: var(--ink-3);
  transition: background-color 200ms, color 200ms;
}
.lang button[aria-pressed='true'] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(16, 19, 42, 0.12); }

/* ── Mesh backdrop ── */
.mesh {
  position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(40% 50% at 12% 18%, var(--lavender) 0%, transparent 70%),
    radial-gradient(38% 46% at 88% 12%, var(--peach) 0%, transparent 70%),
    radial-gradient(40% 40% at 78% 88%, var(--mint) 0%, transparent 70%),
    radial-gradient(30% 30% at 30% 90%, #efe4ff 0%, transparent 70%);
}

/* ── Hero ── */
.hero { padding-top: clamp(40px, 7vw, 88px); padding-bottom: clamp(64px, 9vw, 120px); isolation: isolate; }
.hero .mesh { top: -72px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.lead { margin-top: 24px; font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 34ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; color: var(--ink-2); font-size: 15px; }
.hero__facts b { font-size: 22px; color: var(--ink); font-weight: 800; margin-right: 4px; font-variant-numeric: tabular-nums; }

.hero__stage { position: relative; display: grid; place-items: center; min-height: 620px; }
.phone {
  position: relative; border-radius: 44px; padding: 10px; background: #0d0f1f;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #2a2e48;
}
.phone img { border-radius: 34px; width: 100%; height: auto; aspect-ratio: 1 / 2; object-fit: cover; object-position: top; }
.phone--hero { width: min(320px, 78vw); rotate: 3deg; }

.float {
  position: absolute; z-index: 3; background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: var(--r-md); box-shadow: var(--shadow); border: 1px solid rgba(255, 255, 255, 0.8);
  animation: bob 7s var(--ease) infinite;
}
.float__k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); }
.float__v { font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.float__s { font-size: 13px; color: var(--ink-3); }
.float--dish { left: -4%; top: 16%; display: flex; gap: 12px; align-items: center; padding: 12px 18px 12px 12px; }
.float--dish img { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; }
.float--list { right: -2%; top: 46%; padding: 16px 18px; width: 220px; animation-delay: -2.4s; }
.float--list ul { margin-top: 10px; display: grid; gap: 8px; font-size: 14px; font-weight: 600; }
.float--list li { display: flex; align-items: center; gap: 10px; }
.float--list i { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--brand); flex: none; }
.float--list i.tick { background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.float--list li:has(.tick) span { color: var(--ink-3); text-decoration: line-through; }
.float--badge {
  left: 4%; bottom: 10%; display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  font-size: 14px; font-weight: 700; animation-delay: -4.2s;
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: #1fb57a; box-shadow: 0 0 0 5px rgba(31, 181, 122, 0.18); }

/* transform, not translate: positioning below uses `translate`, and an
   animation on the same property would override it. */
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ── Problem ── */
.problem { background: var(--surface); }
.big {
  font-size: clamp(26px, 3.4vw, 42px); line-height: 1.25; letter-spacing: -0.02em; font-weight: 700;
  max-width: 24ch; color: var(--ink-3);
}
.big span { color: var(--ink); }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.trio article { padding: 28px; border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line); }
.trio p { margin-top: 10px; color: var(--ink-2); font-size: 16px; }
.ico {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 20px;
  background: var(--brand-soft); color: var(--brand);
}
.ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── How ── */
.how { isolation: isolate; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); counter-reset: s; }
.step .phone { width: min(260px, 100%); margin: 0 auto 28px; }
.step:nth-child(2) .phone { translate: 0 28px; }
.step__n { font-family: var(--mono); font-size: 13px; color: var(--brand); letter-spacing: 0.1em; margin-top: 8px; }
.step h3 { margin-top: 6px; font-size: 22px; }
.step p:last-child { margin-top: 8px; color: var(--ink-2); font-size: 16px; }
.step:nth-child(2) .step__n { margin-top: 36px; }

/* ── Bento ── */
.features { background: linear-gradient(180deg, var(--bg) 0%, #eef0fb 100%); }
.bento {
  display: grid; gap: 20px;
  grid-template-columns: repeat(12, 1fr);
  grid-template-areas:
    'plan plan plan plan plan plan aisles aisles aisles aisles aisles aisles'
    'plan plan plan plan plan plan budget budget budget kcal kcal kcal'
    'pantry pantry pantry pantry pantry pantry offline offline offline offline offline offline';
}
.tile {
  position: relative; overflow: hidden; padding: 32px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.tile p { margin-top: 10px; color: var(--ink-2); font-size: 16px; }
.tile--plan { grid-area: plan; display: flex; flex-direction: column; background: linear-gradient(160deg, #fff 30%, var(--brand-soft)); padding-bottom: 0; }
.tile--plan h3 { font-size: 28px; letter-spacing: -0.02em; }
.tile__shot { margin-top: 32px; flex: 1; display: flex; justify-content: center; align-items: flex-end; min-height: 300px; }
.tile__shot img {
  width: min(300px, 80%); border-radius: 32px 32px 0 0; box-shadow: var(--shadow-lg);
  border: 8px solid #0d0f1f; border-bottom: 0; height: 400px; object-fit: cover; object-position: top;
}
.tile--aisles { grid-area: aisles; }
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 24px; }
.cats li { display: grid; justify-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); text-align: center; }
.cats img { width: 72px; height: 72px; border-radius: 20px; object-fit: cover; background: var(--bg); }
.tile--budget { grid-area: budget; }
.meter { margin-top: 24px; padding: 18px; border-radius: var(--r-md); background: var(--bg); }
.meter__top { display: flex; align-items: baseline; gap: 6px; }
.meter__top b { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.meter__top span { color: var(--ink-3); font-size: 14px; }
.meter__bar { height: 10px; border-radius: 999px; background: #dfe2f3; margin-top: 12px; overflow: hidden; }
.meter__bar i { display: block; height: 100%; width: 89%; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--brand-2)); transform-origin: left; }
.meter__foot { display: flex; justify-content: space-between; margin-top: 8px; font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.tile--kcal { grid-area: kcal; background: linear-gradient(170deg, #fff 40%, #fff3ea); }
.macros { display: flex; align-items: flex-end; gap: 12px; height: 120px; margin-top: 20px; }
.macros span { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; }
.macros i { display: block; height: 72%; border-radius: 12px; background: var(--peach); }
/* Heights live here, not in style attributes: the CSP forbids inline styles. */
.macros span:nth-child(2) i { height: 48%; background: var(--sun); }
.macros span:nth-child(3) i { height: 90%; background: var(--lavender); }
.macros b { font-size: 12px; color: var(--ink-3); font-weight: 600; text-align: center; }
.tile--pantry, .tile--offline { display: flex; gap: 24px; align-items: center; }
.tile--pantry { grid-area: pantry; background: linear-gradient(160deg, #fff 40%, #eafaf2); }
.tile--offline { grid-area: offline; background: linear-gradient(160deg, #fff 40%, #fff4ec); }
.tile--pantry img, .tile--offline img { width: 120px; height: 120px; flex: none; object-fit: contain; }

/* ── Dishes marquee ── */
.dishes { overflow: hidden; }
.marquee { display: flex; gap: 20px; width: max-content; padding-block: 10px; animation: slide 60s linear infinite; }
.marquee + .marquee { margin-top: 20px; }
.marquee--rev { animation-direction: reverse; animation-duration: 70s; }
.dishes:hover .marquee { animation-play-state: paused; }
.dish {
  margin: 0; width: 240px; flex: none; border-radius: var(--r-lg); overflow: hidden; background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.dish img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.dish div { padding: 14px 18px 18px; }
.dish b { display: block; font-size: 18px; letter-spacing: -0.01em; }
.dish span { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ── Companion ── */
.companion { background: var(--surface); overflow: hidden; }
.companion__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.companion__art { margin: 0; position: relative; }
.companion__art::before {
  content: ''; position: absolute; inset: 8% -6% -4% 6%; z-index: 0; border-radius: 40px;
  background: linear-gradient(160deg, var(--lavender), var(--peach));
}
.companion__art img { position: relative; z-index: 1; width: 100%; max-width: 400px; border-radius: 32px; box-shadow: var(--shadow-lg); }
.companion__copy h2 { margin-top: 12px; }
.checks { margin-top: 36px; display: grid; gap: 22px; }
.checks li { position: relative; padding-left: 52px; }
.checks li::before {
  content: ''; position: absolute; left: 0; top: 2px; width: 34px; height: 34px; border-radius: 12px;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B4BD8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.checks p { margin-top: 4px; color: var(--ink-2); font-size: 16px; }

/* ── Official prices ── */
.prices {
  color: #fff; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(50% 60% at 90% 10%, rgba(138, 92, 240, 0.55) 0%, transparent 70%),
    radial-gradient(40% 60% at 0% 100%, rgba(240, 138, 92, 0.35) 0%, transparent 70%),
    linear-gradient(135deg, #1d2477, #3b4bd8);
}
.prices__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.prices h2 { margin-top: 12px; }
.prices p:not(.eyebrow) { margin-top: 18px; color: #d8dcff; font-size: 18px; max-width: 46ch; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0; }
.stats div {
  padding: 24px; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14); display: flex; flex-direction: column-reverse; gap: 4px;
}
.stats dd { margin: 0; font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.stats dt { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: #c8d0ff; }

/* ── FAQ ── */
.faq__wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.faq .sec-head { position: sticky; top: 104px; }
.faq__list { display: grid; gap: 12px; }
details {
  border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line);
  transition: box-shadow 200ms, border-color 200ms;
}
details[open] { box-shadow: var(--shadow); border-color: rgba(59, 75, 216, 0.25); }
summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative;
  font-weight: 700; font-size: 17px; min-height: 44px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ''; position: absolute; right: 22px; top: 50%; width: 22px; height: 22px; translate: 0 -50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B4BD8' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: rotate 250ms var(--ease);
}
details[open] summary::after { rotate: 45deg; }
details p { padding: 0 24px 22px; color: var(--ink-2); font-size: 16px; }

/* ── Final CTA ── */
.final { isolation: isolate; text-align: center; }
.mesh--final { inset: 0; }
.final__box {
  display: grid; justify-items: center; gap: 18px; padding: clamp(40px, 6vw, 72px) 24px;
  border-radius: 40px; background: rgba(255, 255, 255, 0.7); border: 1px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: var(--shadow-lg);
}
.final__logo { width: 112px; height: 112px; margin-bottom: 4px; }
.final h2 { max-width: 18ch; }
.final p { color: var(--ink-2); font-size: 18px; max-width: 40ch; }
.final .btn { margin-top: 10px; }
.final__meta { font-family: var(--mono); font-size: 12px !important; letter-spacing: 0.08em; color: var(--ink-3) !important; }

/* ── Footer ── */
.foot { padding-block: 36px; border-top: 1px solid var(--line); }
.foot__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--ink-3); font-size: 14px; }
.foot .brand { color: var(--ink); font-size: 17px; }
.foot a:not(.brand) { color: var(--ink-2); text-underline-offset: 3px; }
.foot a:not(.brand):hover { color: var(--brand); }

/* ── Reveal ── */
.js .reveal { opacity: 0; translate: 0 24px; transition: opacity 700ms var(--ease), translate 700ms var(--ease); }
.js .reveal.is-in { opacity: 1; translate: 0 0; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { text-align: center; }
  .lead { margin-inline: auto; }
  .hero__cta, .hero__facts { justify-content: center; }
  .hero__stage { min-height: 560px; }
  .bento {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: 'plan aisles' 'plan budget' 'kcal budget' 'pantry offline';
  }
  .companion__grid, .prices__grid, .faq__wrap { grid-template-columns: 1fr; }
  .companion__art { max-width: 340px; margin-inline: auto; }
  .faq .sec-head { position: static; margin-bottom: 8px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { width: min(1160px, 100% - 32px); }
  .nav__row { height: 64px; }
  .nav .btn--sm { display: none; }
  .hero__stage { min-height: 520px; }
  .phone--hero { width: min(270px, 70vw); }
  .float--dish { left: 0; top: 6%; }
  .float--list { right: 0; top: auto; bottom: 16%; width: 200px; }
  .float--badge { left: 50%; bottom: -2%; translate: -50% 0; white-space: nowrap; }
  .trio, .steps { grid-template-columns: 1fr; }
  .step { text-align: center; }
  .step:nth-child(2) .phone { translate: 0 0; }
  .step:nth-child(2) .step__n { margin-top: 8px; }
  .step .phone { width: min(240px, 70vw); }
  .bento { grid-template-columns: 1fr; grid-template-areas: 'plan' 'aisles' 'budget' 'kcal' 'pantry' 'offline'; }
  .tile { padding: 24px; }
  .tile--plan { padding-bottom: 0; }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .tile--pantry, .tile--offline { flex-direction: column; align-items: flex-start; }
  .tile--pantry img, .tile--offline img { width: 96px; height: 96px; }
  .dish { width: 200px; }
  .stats dd { font-size: 32px; }
  .hero__cta .btn, .stores { width: 100%; }
  .stores .store { flex: 1 1 200px; justify-content: center; }
}

@media (max-width: 380px) {
  .btn--lg { padding: 12px 18px; font-size: 16px; white-space: normal; text-align: center; line-height: 1.25; }
  .hero__grid > *, .final__box > * { min-width: 0; }
  .float--list { width: 180px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float, .marquee { animation: none; }
  .marquee { flex-wrap: wrap; width: auto; justify-content: center; padding-inline: 16px; }
  .marquee--rev { display: none; }
  .js .reveal { opacity: 1; translate: none; transition: none; }
  .btn { transition: none; }
}
