/* Lista website. The app's sky, fonts and blue; Hebrew (RTL) first. */
@font-face { font-family: Heebo; font-weight: 400; font-display: swap; src: url(fonts/Heebo_400Regular.ttf) format("truetype"); }
@font-face { font-family: Heebo; font-weight: 700; font-display: swap; src: url(fonts/Heebo_700Bold.ttf) format("truetype"); }
@font-face { font-family: Heebo; font-weight: 800; font-display: swap; src: url(fonts/Heebo_800ExtraBold.ttf) format("truetype"); }
@font-face { font-family: Poppins; font-weight: 400; font-display: swap; src: url(fonts/Poppins_400Regular.ttf) format("truetype"); }
@font-face { font-family: Poppins; font-weight: 600; font-display: swap; src: url(fonts/Poppins_600SemiBold.ttf) format("truetype"); }

:root {
  --ink: #0F1B33; --ink-2: #33415C; --muted: #5E6B84; --accent: #3662D3; --accent-ink: #2A50B5; --on-accent: #fff;
  --page: #FCFDFF; --card: #FFFFFF; --line: rgba(15, 27, 51, 0.08); --tile: #EEF3FD; --chip: #F2F5FB;
  --sky: linear-gradient(180deg, #8BAEEC 0%, #C3CFF1 30%, #FCE7EF 54%, #FCFDFF 78%);
  --material: rgba(252, 253, 255, 0.72);
  --shadow-sm: 0 1px 2px rgba(15, 27, 51, 0.05), 0 2px 8px rgba(15, 27, 51, 0.04);
  --shadow-lg: 0 1px 2px rgba(15, 27, 51, 0.04), 0 12px 40px -8px rgba(15, 27, 51, 0.14), 0 32px 80px -24px rgba(54, 98, 211, 0.18);
  --green: #1E9A63; --green-tile: #DCF2E5; --green-panel: #F0FAF4; --green-ink: #123A29; --green-card: #FFFFFF;
  --stage-lists: linear-gradient(160deg, #DCE6FB, #F4E9F6);
  --stage-shop: linear-gradient(160deg, #D5F1E1, #EEF8E6);
  --stage-chef: linear-gradient(160deg, #EBDDF8, #FBE5EE);
  --stage-price: linear-gradient(160deg, #FDEBCF, #FBE3E0);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --gutter: max(20px, env(safe-area-inset-left), env(safe-area-inset-right));
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #EAF0FA; --ink-2: #C2CCDD; --muted: #95A3BA; --accent: #5AAEEA; --accent-ink: #7CC0F0; --on-accent: #04121F;
    --page: #05080F; --card: #0D1626; --line: rgba(255, 255, 255, 0.08); --tile: #142340; --chip: #13203A;
    --sky: linear-gradient(180deg, #33628B 0%, #1D4568 30%, #0E2034 58%, #05080F 82%);
    --material: rgba(8, 13, 24, 0.7);
    --shadow-sm: none;
    --shadow-lg: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 24px 60px -20px rgba(0, 0, 0, 0.6);
    --green: #3FCB8A; --green-tile: #153224; --green-panel: #06130D; --green-ink: #E6F7EE; --green-card: #0B1D15;
    --stage-lists: linear-gradient(160deg, #13284A, #1E1A38);
    --stage-shop: linear-gradient(160deg, #0B2A1D, #132A1A);
    --stage-chef: linear-gradient(160deg, #24173D, #2E1628);
    --stage-price: linear-gradient(160deg, #2E2212, #2E1717);
  }
}

/* ---------- base */
* { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth; scroll-padding-top: 80px;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--page); color: var(--ink); overflow-x: clip;
  font: 400 1.0625rem/1.65 Heebo, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
html[lang="en"] body { font-family: Poppins, system-ui, -apple-system, "Segoe UI", Arial, sans-serif; font-size: 1rem; }
html[lang="he"] [data-l="en"], html[lang="en"] [data-l="he"] { display: none !important; }
a { color: var(--accent); text-underline-offset: 3px; }
img { max-width: 100%; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 780px; }

/* Controls: instant press feedback, no long-press text selection. */
.btn, .store, .lang, .nav-links a {
  touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px;
  background: var(--accent); color: var(--on-accent); border: 0; border-radius: 999px; cursor: pointer;
  font: inherit; font-weight: 700; text-decoration: none;
  transition: transform 140ms var(--ease-out), background-color 200ms ease;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 6px 18px -6px rgba(54, 98, 211, 0.55);
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn { white-space: nowrap; }
.btn.ghost { background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--accent-ink); }
  .btn.ghost:hover { background: var(--tile); }
}

/* ---------- navigation: a translucent layer the page scrolls under */
.nav {
  position: sticky; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top);
  transition: background-color 240ms ease, box-shadow 240ms ease;
}
.nav.scrolled {
  background: var(--material);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 var(--line);
}
.nav-in { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; flex: none; border-radius: 10px; }
.brand img { height: 30px; width: auto; display: block; }
.brand .ink { display: none; }
.nav.scrolled .brand .white { display: none; }
.nav.scrolled .brand .ink { display: block; }
@media (prefers-color-scheme: dark) {
  .nav.scrolled .brand .white { display: block; }
  .nav.scrolled .brand .ink { display: none; }
}
.nav-links { display: flex; gap: 4px; margin-inline-start: auto; }
.nav-links a {
  color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 700; padding: 8px 12px; border-radius: 999px;
  transition: background-color 160ms ease, transform 140ms var(--ease-out);
}
html[lang="en"] .nav-links a { font-weight: 600; font-size: 14px; }
.nav-links a:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .nav-links a:hover { background: rgba(255, 255, 255, 0.4); } .nav.scrolled .nav-links a:hover { background: var(--chip); } }
.lang {
  font: inherit; font-size: 14px; font-weight: 700; color: var(--ink); cursor: pointer; flex: none;
  background: rgba(255, 255, 255, 0.45); border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px; min-height: 36px; padding: 0 14px;
  transition: transform 140ms var(--ease-out), background-color 160ms ease;
}
.lang:active { transform: scale(0.95); }
.nav.scrolled .lang { background: var(--chip); border-color: var(--line); }
@media (prefers-color-scheme: dark) { .lang { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.16); } }
.nav .btn { min-height: 38px; padding: 0 16px; font-size: 14px; }
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-in { height: 58px; gap: 10px; }
  .nav .btn { margin-inline-start: auto; }
}

/* ---------- hero */
.sky { background: var(--sky); background-repeat: no-repeat; background-size: 100% min(1100px, 130svh); margin-top: calc(-64px - env(safe-area-inset-top)); padding-top: calc(64px + env(safe-area-inset-top)); }
.hero { text-align: center; padding-block: clamp(28px, 6vw, 72px) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 12px; border-radius: 999px; margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.55); border: 1px solid rgba(255, 255, 255, 0.7); color: var(--ink-2);
  font-size: 14px; font-weight: 700; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
@media (prefers-color-scheme: dark) { .eyebrow { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.12); } }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: #2FBF71; box-shadow: 0 0 0 4px rgba(47, 191, 113, 0.18); }
.hero h1 { font-weight: 800; font-size: clamp(2.5rem, 7.2vw, 5rem); line-height: 1.04; letter-spacing: -0.015em; }
html[lang="en"] .hero h1 { font-weight: 600; letter-spacing: -0.035em; line-height: 1.06; }
.hero h1 .tint { color: var(--accent); }
.lead { font-size: clamp(1.0625rem, 2.1vw, 1.3125rem); line-height: 1.55; color: var(--ink-2); max-width: 600px; margin: 20px auto 30px; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.store {
  display: inline-flex; align-items: center; gap: 10px; padding: 0 18px 0 16px; min-height: 54px; min-width: 176px;
  background: #0B1220; color: #fff; border-radius: 14px; text-decoration: none; line-height: 1.15; text-align: start;
  box-shadow: var(--shadow-sm);
}
@media (prefers-color-scheme: dark) { .store { background: #fff; color: #0B1220; } }
.store svg { width: 24px; height: 24px; flex: none; }
.store small { display: block; font-size: 11.5px; opacity: 0.72; }
.store b { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; font-family: Poppins, Heebo, sans-serif; }
.store[aria-disabled="true"] { cursor: default; }

.stage-hero { position: relative; width: min(820px, 100%); margin: clamp(28px, 5vw, 48px) auto 0; }
.hint {
  display: inline-flex; align-items: center; gap: 8px; margin: 12px auto 0; padding: 6px 14px; border-radius: 999px;
  font-size: 13.5px; color: var(--muted); background: var(--chip);
}
.hint svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
.hint .touch { display: none; }
@media (pointer: coarse) { .hint .touch { display: inline; } .hint .mouse { display: none; } }

/* ---------- chefs (assets/chefs.js) */
.crew { position: relative; width: 100%; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: manipulation; cursor: grab; }
.crew:active { cursor: grabbing; }
.chef { position: absolute; pointer-events: none; }
.chef.is-held { z-index: 5; }
.chef-drag, .chef-body { position: absolute; inset: 0; will-change: transform; }
.chef-drag { transform-origin: 50% 70%; }
.chef-body { transform-origin: 50% 100%; }
.chef-img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.chef-part { position: absolute; will-change: transform; }
.chef-part img { display: block; width: 100%; height: 100%; }
.chef-eyes { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.chef-fx { position: absolute; inset: 0; }
.chef-heart { position: absolute; top: 14%; width: 14%; min-width: 14px; aspect-ratio: 1; }
.chef-heart svg { width: 100%; height: 100%; display: block; }
.chef.is-held .chef-drag { filter: drop-shadow(0 18px 18px rgba(15, 27, 51, 0.18)); }

/* ---------- feature sections */
.section { padding-block: clamp(56px, 10vw, 120px); }
.feature { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.feature.flip .copy { order: 2; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--accent); margin-bottom: 14px; }
.kicker svg { width: 18px; height: 18px; }
.feature.shop .kicker { color: var(--green); }
.copy h2, .center h2, .cta h2 { font-size: clamp(2rem, 4.6vw, 3.25rem); line-height: 1.08; font-weight: 800; letter-spacing: -0.012em; }
html[lang="en"] .copy h2, html[lang="en"] .center h2, html[lang="en"] .cta h2 { font-weight: 600; letter-spacing: -0.03em; }
.copy p { color: var(--ink-2); font-size: clamp(1.0625rem, 1.6vw, 1.1875rem); margin: 16px 0 0; max-width: 480px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 16px; }
.ticks li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%;
  background: var(--tile) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233662D3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.feature.shop .ticks li::before {
  background: var(--green-tile) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E9A63' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.stage {
  position: relative; border-radius: 36px; padding: clamp(40px, 5vw, 56px) clamp(18px, 4vw, 44px);
  min-height: 440px; display: grid; place-items: center;
}
.stage.lists { background: var(--stage-lists); }
.stage.shop { background: var(--stage-shop); }
.stage.chefai { background: var(--stage-chef); }
.stage.price { background: var(--stage-price); }
.stage .mascot { position: absolute; width: clamp(96px, 22%, 150px); z-index: 2; }
.stage.lists .mascot { inset-inline-end: -14px; top: -48px; }
.stage.shop .mascot { inset-inline-start: -18px; bottom: -26px; }
.stage.chefai .mascot { inset-inline-end: -10px; bottom: -22px; width: clamp(92px, 20%, 136px); }
.stage.price .mascot { inset-inline-start: -16px; top: -42px; width: clamp(104px, 23%, 160px); }

/* mock app cards */
.mock {
  position: relative; width: 100%; max-width: 380px; background: var(--card); border-radius: 26px; padding: 18px;
  box-shadow: var(--shadow-lg); font-size: 15px; line-height: 1.35;
}
.mock-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.mock-title { font-weight: 800; font-size: 18px; }
html[lang="en"] .mock-title { font-weight: 600; font-size: 17px; }
.mock-sub { color: var(--muted); font-size: 13px; }
.avatars { display: flex; }
.av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; border: 2px solid var(--card); margin-inline-start: -8px; flex: none; }
.av:first-child { margin-inline-start: 0; }
.av.a { background: #3662D3; } .av.b { background: #E0598B; } .av.c { background: #E8912A; }
.items { display: grid; gap: 6px; }
.item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; background: var(--chip); }
.box {
  flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #A9B9DD; display: grid; place-items: center;
  transition: background-color 220ms var(--ease-out), border-color 220ms var(--ease-out), transform 220ms var(--ease-out);
}
.box svg { width: 13px; height: 13px; color: #fff; opacity: 0; transform: scale(0.6); transition: opacity 200ms var(--ease-out), transform 260ms var(--ease-out); }
.item .name { flex: 1; transition: color 220ms ease; position: relative; justify-self: start; }
.item .name span { position: relative; }
.item .name span::after {
  content: ""; position: absolute; inset-inline: 0; top: 55%; height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 320ms var(--ease-out);
}
html[lang="en"] .item .name span::after { transform-origin: left; }
.qty { font-size: 12.5px; font-weight: 700; color: var(--accent); background: var(--tile); padding: 2px 8px; border-radius: 999px; transition: opacity 200ms ease; }
.item .av { width: 22px; height: 22px; font-size: 10px; border-width: 0; margin: 0; opacity: 0; transform: scale(0.6); transition: opacity 200ms ease, transform 300ms var(--ease-out); }
.item.done .box { background: var(--accent); border-color: var(--accent); }
.item.done .box svg { opacity: 1; transform: scale(1); }
.item.done .name { color: var(--muted); }
.item.done .name span::after { transform: scaleX(1); }
.item.done .av { opacity: 1; transform: scale(1); }
.item.done .qty { opacity: 0.45; }
.item.new { animation: pop-in 420ms var(--ease-out) both; }
@keyframes pop-in { from { opacity: 0; transform: translateY(-6px) scale(0.97); } }

.mock.green { background: var(--green-panel); color: var(--green-ink); }
.mock.green .item { background: var(--green-card); }
.mock.green .item .av { display: none; }
.mock.green .box { border-color: #93D2AF; }
@media (prefers-color-scheme: dark) { .mock.green .box { border-color: #2E6A4D; } .box { border-color: #3A4D72; } }
.mock.green .item.done .box { background: var(--green); border-color: var(--green); }
.mock.green .qty { color: var(--green); background: var(--green-tile); }
.mock.green .item.done .name { color: inherit; opacity: 0.55; }
.mode { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--green); background: var(--green-tile); padding: 4px 10px; border-radius: 999px; flex: none; }
.mode i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
.progress { height: 8px; border-radius: 999px; background: var(--green-tile); overflow: hidden; margin: 2px 0 14px; }
.progress i { display: block; height: 100%; border-radius: inherit; background: var(--green); transform-origin: right; transform: scaleX(var(--p, 0.2)); transition: transform 500ms var(--ease-out); }
html[lang="en"] .progress i { transform-origin: left; }
.count { font-size: 13px; opacity: 0.75; font-variant-numeric: tabular-nums; }

.chat { display: grid; gap: 10px; }
.bubble { max-width: 88%; padding: 10px 14px; border-radius: 20px; }
.bubble.me { justify-self: end; background: var(--accent); color: var(--on-accent); border-end-end-radius: 6px; }
.bubble.bot { justify-self: start; background: var(--chip); border-end-start-radius: 6px; }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: dot 1.1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; } .typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }
.recipe { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 12px; margin-top: 8px; display: grid; gap: 10px; }
.recipe-top { display: flex; gap: 10px; align-items: center; }
.dish { width: 46px; height: 46px; border-radius: 14px; flex: none; background: radial-gradient(circle at 36% 38%, #FFE08A 0 14%, #FFF6DD 15% 24%, #E8553A 25% 62%, #2B2B33 63%); }
.recipe b { display: block; font-size: 15px; }
.recipe small { color: var(--muted); font-size: 12.5px; }
.add { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; border-radius: 12px; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 13.5px; transition: background-color 240ms ease; }
.add.ok { background: var(--green); color: #fff; }
.add .ok-text { display: none; align-items: center; gap: 6px; }
.add .ok-text svg { width: 15px; height: 15px; }
.add.ok .todo { display: none; }
.add.ok .ok-text { display: inline-flex; }
.step { transition: opacity 300ms var(--ease-out), transform 420ms var(--ease-out); }
.step.off { opacity: 0; transform: translateY(8px) scale(0.98); }
.step.gone { display: none; }

.chains { display: grid; gap: 14px; }
.chain { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
.chain .bar { height: 12px; border-radius: 999px; background: var(--chip); overflow: hidden; }
.chain .bar i { display: block; height: 100%; border-radius: inherit; background: #A9B9DD; transform-origin: right; transform: scaleX(0.04); transition: transform 1000ms var(--ease-out); }
html[lang="en"] .chain .bar i { transform-origin: left; }
.chain.best .bar i { background: var(--accent); }
.chain .sum { font-weight: 800; font-variant-numeric: tabular-nums; min-width: 4.4em; text-align: end; }
.chain.best .sum { color: var(--accent); }
.in .chain .bar i { transform: scaleX(var(--w)); }
.in .chain:nth-child(2) .bar i { transition-delay: 90ms; } .in .chain:nth-child(3) .bar i { transition-delay: 180ms; }
.save { margin-top: 16px; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 14px; background: var(--tile); font-size: 13.5px; font-weight: 700; color: var(--accent); }
.save svg { width: 16px; height: 16px; flex: none; }
.fine { font-size: 12px; color: var(--muted); margin: 10px 0 0; }

/* small features */
.center { text-align: center; }
.center .lead { margin-bottom: 0; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(32px, 5vw, 52px); }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 22px; box-shadow: var(--shadow-sm); }
.tile .ic { width: 42px; height: 42px; border-radius: 13px; background: var(--tile); color: var(--accent); display: grid; place-items: center; margin-bottom: 14px; }
.tile .ic svg { width: 21px; height: 21px; }
.tile h3 { font-size: 17.5px; font-weight: 700; line-height: 1.3; }
html[lang="en"] .tile h3 { font-weight: 600; font-size: 16px; }
.tile p { margin: 6px 0 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* closing call */
.cta { position: relative; text-align: center; border-radius: 40px; padding: clamp(36px, 6vw, 60px) var(--gutter) clamp(36px, 6vw, 60px); background: var(--stage-lists); }
.cta .solo { width: clamp(120px, 18vw, 160px); margin: 0 auto 10px; }
.cta p { color: var(--ink-2); max-width: 520px; margin: 14px auto 26px; font-size: 1.125rem; }
.cta .row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* reveal on scroll: rises a little and fades in, once */
.js .rise { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); }
.js .rise.in { opacity: 1; transform: none; }
.rise.d1 { transition-delay: 70ms; } .rise.d2 { transition-delay: 140ms; }
@media (prefers-reduced-motion: reduce) {
  .js .rise { transform: none; transition: opacity 300ms ease; }
  .mode i, .typing i, .item.new { animation: none; }
  .step { transform: none !important; }
}

/* ---------- documents (terms, privacy, support, delete account) */
.doc { padding-block: 8px 72px; }
.doc .sheet { background: var(--card); border: 1px solid var(--line); border-radius: 32px; padding: clamp(24px, 5vw, 48px); box-shadow: var(--shadow-lg); }
.doc h1 { font-size: clamp(2rem, 5vw, 2.75rem); line-height: 1.1; margin: 0 0 8px; font-weight: 800; letter-spacing: -0.012em; }
html[lang="en"] .doc h1 { font-weight: 600; letter-spacing: -0.03em; }
.doc .updated { color: var(--muted); font-size: 14.5px; margin: 0 0 28px; }
.doc h2 { font-size: 1.1875rem; margin: 32px 0 6px; font-weight: 700; }
html[lang="en"] .doc h2 { font-weight: 600; font-size: 1.0625rem; }
.doc p, .doc li { color: var(--ink-2); }
.doc p { margin: 0 0 10px; }
.doc ol, .doc ul { padding-inline-start: 22px; margin: 0 0 10px; }
.doc li { margin-bottom: 6px; }
.mail { font-weight: 700; direction: ltr; unicode-bidi: isolate; }
.doc-top { padding-top: clamp(12px, 3vw, 32px); }
.nf { text-align: center; padding-block: clamp(32px, 8vw, 80px); min-height: calc(100svh - 180px); }
.nf .solo { width: 150px; margin: 0 auto 12px; }
.nf h1 { font-size: clamp(2.25rem, 6vw, 3.5rem); font-weight: 800; }

/* ---------- footer */
footer { padding: 36px 0 calc(40px + env(safe-area-inset-bottom)); color: var(--muted); font-size: 14px; }
footer .wrap > div { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 28px; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
footer a { color: var(--muted); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { footer a:hover { color: var(--ink); text-decoration: underline; } }

/* ---------- smaller screens */
@media (max-width: 900px) {
  .feature, .feature.flip { grid-template-columns: 1fr; }
  .feature.flip .copy { order: 0; }
  .copy { text-align: center; }
  .copy p { margin-inline: auto; }
  .ticks { width: fit-content; max-width: 100%; margin-inline: auto; text-align: start; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .stage { min-height: 0; }
}
@media (max-width: 520px) {
  .store { flex: 1 1 100%; justify-content: center; }
  .grid { grid-template-columns: 1fr; }
  .stage { border-radius: 28px; padding: 64px 14px 40px; }
  .stage.shop, .stage.chefai { padding: 36px 14px 72px; }
  .stage .mascot { width: 98px; }
  .stage.lists, .stage.price { margin-top: 28px; }
  .stage.lists .mascot { top: -40px; inset-inline-end: -4px; }
  .stage.price .mascot { top: -40px; inset-inline-start: -4px; width: 104px; }
  .stage.shop .mascot { inset-inline-start: -4px; bottom: -22px; }
  .stage.chefai .mascot { inset-inline-end: -2px; bottom: -18px; width: 90px; }
  .mock { padding: 14px; border-radius: 22px; }
  .cta { border-radius: 30px; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav.scrolled { background: var(--page); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  .tile, .mock, .doc .sheet { border: 1px solid var(--ink); }
}
