/* PrepNow landing page. Brand: docs/BRAND.md (violet, night and lime, Manrope). */
@font-face { font-family: Manrope; src: url(../fonts/Manrope_400Regular.ttf) format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Manrope; src: url(../fonts/Manrope_500Medium.ttf) format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: Manrope; src: url(../fonts/Manrope_600SemiBold.ttf) format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: Manrope; src: url(../fonts/Manrope_700Bold.ttf) format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: Manrope; src: url(../fonts/Manrope_800ExtraBold.ttf) format('truetype'); font-weight: 800; font-display: swap; }

:root {
  --violet: #5d48db;
  --violet-deep: #4a37c4;
  --iris: #9685ff;
  --lime: #c5f06a;
  --leaf: #2fa86a;
  --amber: #e0a12b;
  --night: #110e24;
  --night-2: #1b1734;
  --ink: #0f0e14;
  --stone: #6a6a70;
  --canvas: #f7f6fb;
  --lavender: #ecebfa;
  --lilac: #ddd7f2; /* the table the dish pictures are shot on */
  --card: #ffffff;
  --on-night: #ffffff;
  --on-night-soft: rgba(255, 255, 255, 0.72);
  --on-night-faint: rgba(255, 255, 255, 0.5);
  --on-night-line: rgba(255, 255, 255, 0.12);
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2));
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: Manrope, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 8px; }
.night :focus-visible { outline-color: var(--lime); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--lime); color: var(--night); padding: 10px 16px; border-radius: 12px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.display {
  font-weight: 800;
  font-size: clamp(44px, 7.4vw, 104px);
  line-height: 0.96;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.display--md { font-size: clamp(34px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -0.04em; }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--stone); max-width: 36em; text-wrap: pretty; }
.night { background: var(--night); color: var(--on-night); }
.night .lead { color: var(--on-night-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  font: 700 16px/1 Manrope, sans-serif; text-decoration: none; border: 0; cursor: pointer;
  transition: transform 0.25s var(--spring), background-color 0.2s, box-shadow 0.25s;
}
.btn:active { transform: scale(0.97); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn--lime { background: var(--lime); color: var(--night); box-shadow: 0 10px 30px -10px rgba(197, 240, 106, 0.6); }
.btn--lime:hover { box-shadow: 0 14px 40px -10px rgba(197, 240, 106, 0.85); transform: translateY(-1px); }
.btn--ghost { color: var(--on-night); background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px var(--on-night-line); backdrop-filter: blur(10px); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.14); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 12px var(--gutter) auto; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  max-width: var(--max); margin: 0 auto; padding: 8px 8px 8px 16px;
  border-radius: 999px; color: var(--on-night);
  transition: background-color 0.35s, box-shadow 0.35s, color 0.35s, transform 0.5s var(--ease-out);
}
.nav.is-scrolled { background: rgba(17, 14, 36, 0.72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: inset 0 0 0 1px var(--on-night-line), 0 20px 40px -20px rgba(0, 0, 0, 0.5); }
.nav.is-day { background: rgba(255, 255, 255, 0.88); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(17, 14, 36, 0.08), 0 20px 40px -24px rgba(17, 14, 36, 0.35); }
.nav.is-day.is-top { background: transparent; box-shadow: none; }
.nav.is-hidden { transform: translateY(-120%); }
.nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; text-decoration: none; }
.nav__mark--day { display: none; }
.nav.is-day .nav__mark--day { display: block; }
.nav.is-day .nav__mark--night { display: none; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; opacity: 0.8; transition: opacity 0.2s, background-color 0.2s; }
.nav__links a:hover { opacity: 1; background: rgba(127, 127, 160, 0.14); }
@media (max-width: 860px) { .nav__links { display: none; } .nav .btn { margin-left: auto; } }

/* ---------- Hero: the app's first-run sky (light violet, drifting clouds), Boksie and real dishes ---------- */
.sky-hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(100svh, 980px);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(16px, 3vw, 48px);
  padding: clamp(112px, 15vh, 150px) max(var(--gutter), calc((100vw - var(--max)) / 2)) clamp(48px, 8vh, 96px);
  background:
    radial-gradient(60% 50% at 78% 30%, rgba(150, 133, 255, 0.42), transparent 70%),
    radial-gradient(40% 35% at 10% 85%, rgba(197, 240, 106, 0.22), transparent 70%),
    linear-gradient(180deg, #ebe6ff 0%, #f3f0ff 48%, #f7f5ff 100%);
}
.sky-hero__sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cloud { position: absolute; width: clamp(180px, 22vw, 340px); opacity: 0.9; animation: drift var(--t, 60s) linear infinite; }
.cloud--1 { top: 12%; left: -10%; --t: 70s; }
.cloud--2 { top: 26%; left: 40%; width: clamp(140px, 15vw, 240px); opacity: 0.55; --t: 95s; animation-delay: -40s; }
.cloud--3 { top: 46%; left: 70%; width: clamp(120px, 13vw, 200px); opacity: 0.55; --t: 80s; animation-delay: -25s; }
@keyframes drift { from { transform: translateX(-30vw); } to { transform: translateX(110vw); } }
.cloud-bank { position: absolute; left: -4%; right: -4%; bottom: -6%; width: 108%; max-width: none; opacity: 0.95; }

.sky-hero__copy { position: relative; z-index: 2; display: grid; gap: 24px; justify-items: start; }
.pill-new {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.75); backdrop-filter: blur(10px); text-decoration: none;
  font-weight: 700; font-size: 14.5px; color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(93, 72, 219, 0.14), 0 10px 30px -18px rgba(93, 72, 219, 0.6);
  opacity: 0; animation: fade-up 0.8s 0.1s var(--ease-out) forwards;
  transition: transform 0.3s var(--spring), box-shadow 0.3s;
}
.pill-new:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px rgba(93, 72, 219, 0.3), 0 14px 34px -16px rgba(93, 72, 219, 0.7); }
.pill-new span { padding: 4px 10px; border-radius: 99px; background: var(--violet); color: #fff; font-size: 12.5px; font-weight: 800; }
.pill-new i { font-style: normal; color: var(--violet); }
.pill-new b { font-weight: inherit; }
.pill-new em { font-style: normal; }
.sky-hero__title { font-size: clamp(44px, 5.6vw, 84px); color: var(--ink); }
.sky-hero__title .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.sky-hero__title .line > span { display: block; transform: translateY(105%); animation: line-up 1s var(--ease-out) forwards; }
.sky-hero__title .line:nth-child(2) > span { animation-delay: 0.12s; }
.sky-hero__title em { font-style: normal; background: linear-gradient(100deg, var(--violet), #8a72ff 60%, var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes line-up { to { transform: none; } }
.sky-hero__lead { max-width: 30em; font-size: clamp(17px, 1.4vw, 20px); color: var(--stone); text-wrap: pretty; opacity: 0; animation: fade-up 0.9s 0.4s var(--ease-out) forwards; }
.sky-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; opacity: 0; animation: fade-up 0.9s 0.55s var(--ease-out) forwards; }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.sky-hero__facts { margin: 8px 0 0; display: flex; gap: clamp(18px, 3vw, 48px); flex-wrap: nowrap; opacity: 0; animation: fade-up 0.9s 0.75s var(--ease-out) forwards; }
.sky-hero__facts div { display: grid; gap: 2px; }
.sky-hero__facts dd { margin: 0; font-weight: 800; font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--ink); }
.sky-hero__facts dt { font-size: 14px; color: var(--stone); font-weight: 600; text-wrap: balance; }

/* store badges: black like the stores' own, "coming soon" until the listings are live */
.store {
  display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 20px 8px 16px; border-radius: 16px;
  background: var(--ink); color: #fff; text-decoration: none; line-height: 1.1;
  font-weight: 800; font-size: 18px; letter-spacing: -0.01em;
  box-shadow: 0 16px 34px -18px rgba(17, 14, 36, 0.7);
  transition: transform 0.3s var(--spring), box-shadow 0.3s;
}
.store:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -18px rgba(17, 14, 36, 0.8); }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: 11.5px; font-weight: 600; opacity: 0.72; letter-spacing: 0; }
.store--light { background: #fff; color: var(--ink); }

/* the stage: a phone in the clouds with Boksie, boxes and dishes floating round it (Duolingo / Zipline) */
.sky-hero__stage { position: relative; height: min(76vh, 700px); min-height: 520px; }
.glow-disc { position: absolute; left: 50%; top: 50%; width: 90%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.4) 55%, transparent); }
.float { position: absolute; transform: translate3d(calc(var(--mx, 0) * var(--d, 1) * 1px), calc(var(--my, 0) * var(--d, 1) * 1px), 0); transition: transform 0.6s var(--ease-out); will-change: transform; }
.float > * { animation: bob var(--bob, 6s) ease-in-out infinite alternate; }
@keyframes bob { to { transform: translateY(-10px) rotate(var(--tilt, 0deg)); } }
.f-phone { left: 50%; top: 50%; width: min(290px, 48%); margin: 0 0 0 calc(min(290px, 48%) / -2); translate: 0 -50%; animation: rise 1.2s 0.25s var(--ease-out) both; }
.f-phone > * { animation: none; }
@keyframes rise { from { opacity: 0; translate: 0 calc(-50% + 70px); } }
.phone--hero { transform: rotate(-4deg); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.16), inset 0 0 0 4px #0a0816, 0 60px 90px -40px rgba(60, 40, 160, 0.65), 0 20px 40px -20px rgba(17, 14, 36, 0.4); }
.f-boksie { left: -4%; bottom: 2%; width: min(190px, 30%); --bob: 3.2s; animation: pop 0.9s 1.1s var(--spring) both; }
.boksie3d { width: 100%; filter: drop-shadow(0 18px 18px rgba(60, 40, 160, 0.25)); }
.say {
  position: absolute; left: 4%; top: -34%; white-space: nowrap; padding: 9px 14px; border-radius: 16px 16px 16px 4px;
  background: #fff; font-weight: 800; font-size: 14px; color: var(--ink); box-shadow: 0 14px 30px -14px rgba(60, 40, 160, 0.55);
  animation: pop 0.7s 1.7s var(--spring) both !important;
}
@keyframes pop { from { opacity: 0; transform: scale(0.4) translateY(20px); } }
.f-box1 { right: 0; top: 6%; width: min(150px, 24%); --tilt: 4deg; --bob: 5s; animation: pop 0.9s 1.3s var(--spring) both; }
.f-box2 { left: 6%; top: 10%; width: min(120px, 19%); --tilt: -5deg; --bob: 7s; animation: pop 0.9s 1.45s var(--spring) both; }
.f-box1 img, .f-box2 img { width: 100%; filter: drop-shadow(0 16px 16px rgba(60, 40, 160, 0.28)); }
.f-star { right: 14%; bottom: 30%; width: 56px; --bob: 4s; --tilt: 18deg; animation: pop 0.8s 1.9s var(--spring) both; }
.f-dish1 { right: -8%; bottom: 3%; animation: pop 0.9s 1.55s var(--spring) both; --bob: 5.5s; }
.f-dish2 { left: -15%; top: 34%; animation: pop 0.9s 1.7s var(--spring) both; --bob: 6.5s; }
.f-tag { right: -4%; top: 44%; animation: pop 0.9s 1.85s var(--spring) both; --bob: 4.6s; --tilt: -3deg; }
.f-tag .tag { transform: rotate(5deg) scale(0.86); }
.chip-dish {
  display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 20px;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px -20px rgba(60, 40, 160, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}
.chip-dish img { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; }
.chip-dish b { display: block; font-size: 14px; letter-spacing: -0.01em; white-space: nowrap; }
.chip-dish span { display: flex; gap: 6px; margin-top: 4px; }
.chip-dish em { font-style: normal; font-size: 11.5px; font-weight: 800; padding: 3px 8px; border-radius: 99px; background: var(--lavender); color: var(--violet); }
.chip-dish em.kr { background: #e6f8ef; color: #0f7a4f; }

@media (max-width: 960px) {
  .sky-hero { grid-template-columns: 1fr; text-align: center; padding-top: 104px; }
  .sky-hero__copy { justify-items: center; }
  .sky-hero__cta, .sky-hero__facts { justify-content: center; }
  .sky-hero__facts div { justify-items: center; }
  .sky-hero__stage { height: 560px; min-height: 0; width: min(560px, 100%); justify-self: center; }
}
@media (max-width: 560px) {
  .sky-hero { padding-top: 88px; gap: 4px; }
  .sky-hero__copy { gap: 18px; }
  .sky-hero__title { font-size: clamp(38px, 11vw, 46px); }
  .pill-new__more { display: none; }
  .sky-hero__facts { display: grid; grid-template-columns: repeat(3, auto); gap: 18px; margin-top: 0; }
  .sky-hero__facts dd { font-size: 24px; }
  .sky-hero__facts dt { font-size: 12px; line-height: 1.3; }
  .sky-hero__stage { height: 470px; }
  .f-phone { width: 210px; margin-left: -105px; }
  .f-boksie { width: 128px; left: -2%; bottom: 2%; }
  .say { font-size: 12px; padding: 7px 11px; }
  .f-box1 { width: 96px; right: -4%; }
  .f-box2 { width: 80px; left: 0; top: 4%; }
  .f-dish2, .f-tag { display: none; }
  .f-dish1 { right: -6%; bottom: 2%; }
  .f-boksie { width: 92px; left: 0; bottom: -2%; }
  .say { top: -52%; left: 0; white-space: normal; width: 7.5em; }
  .chains .chains__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .chains .chains__list li { justify-content: flex-start; gap: 8px; padding: 11px 14px; font-size: 16px; }
  .chains .chains__list b { margin-left: auto; font-size: 12.5px; }
  .chains .chains__list b::after { content: ''; }
  .chains .chains__list b { white-space: nowrap; }
  .chip-dish img { width: 42px; height: 42px; }
  .chip-dish b { font-size: 12.5px; }
  .store { min-height: 52px; font-size: 16px; padding: 8px 16px 8px 12px; }
}

/* labels over sections */
.eyebrow { display: inline-flex; align-self: start; justify-self: start; padding: 6px 12px; border-radius: 999px; background: var(--lavender); color: var(--violet); font-weight: 800; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }
.eyebrow--lime { background: rgba(197, 240, 106, 0.14); color: var(--lime); }
.btn--violet { background: var(--violet); color: #fff; box-shadow: 0 10px 30px -12px rgba(93, 72, 219, 0.8); }
.btn--violet:hover { transform: translateY(-1px); box-shadow: 0 14px 36px -12px rgba(93, 72, 219, 0.95); }
.nav:not(.is-day) .btn--violet { background: var(--lime); color: var(--night); box-shadow: 0 10px 30px -10px rgba(197, 240, 106, 0.6); }

/* ---------- Prep-aften: the week's boxes fly from two evenings to their days ---------- */
.prep { position: relative; overflow: hidden; isolation: isolate; padding: clamp(88px, 11vw, 150px) var(--gutter) clamp(56px, 7vw, 96px); background: linear-gradient(180deg, #1d1650 0%, #15103a 45%, var(--night) 100%); }
.prep__aurora { position: absolute; inset: -20%; z-index: -1; background: radial-gradient(35% 30% at 78% 30%, rgba(93, 72, 219, 0.6), transparent 70%), radial-gradient(30% 25% at 15% 80%, rgba(197, 240, 106, 0.1), transparent 70%); filter: blur(20px); animation: aurora 18s ease-in-out infinite alternate; }
.prep__inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.prep__copy { display: grid; gap: 22px; }
.prep__stats { display: flex; gap: 10px; flex-wrap: wrap; }
.stat { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-weight: 800; font-size: 15px; color: #fff; box-shadow: inset 0 0 0 1px var(--on-night-line); background: rgba(255, 255, 255, 0.06); }
.stat svg { width: 18px; height: 18px; }
.stat--lime { background: var(--lime); color: var(--night); box-shadow: 0 10px 30px -12px rgba(197, 240, 106, 0.7); }
.prep__note { max-width: var(--max); margin: 40px auto 0; font-size: 14px; color: var(--on-night-faint); }

.shelf { --cols: 7; position: relative; padding: clamp(18px, 2.4vw, 30px); border-radius: 32px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--on-night-line), 0 40px 80px -40px rgba(0, 0, 0, 0.6); backdrop-filter: blur(6px); }
.shelf__days, .shelf__grid { display: grid; grid-template-columns: repeat(var(--cols), 1fr); }
.shelf__days span { text-align: center; font-weight: 700; font-size: clamp(12px, 1.1vw, 15px); color: var(--on-night-faint); margin-bottom: 10px; }
.shelf__grid { grid-template-rows: auto auto; row-gap: 10px; }
.slot { position: relative; display: grid; justify-items: center; gap: 6px; }
.slot img { width: 92%; max-width: 86px; will-change: transform, opacity; }
.slot i { width: 46%; height: 4px; border-radius: 9px; background: var(--c); opacity: 0.9; transform: scaleX(0); transition: transform 0.5s var(--spring); }
.slot.is-landed i { transform: none; }
.slot.is-landed img { animation: squash 0.42s var(--ease-out); }
@keyframes squash { 30% { transform: scale(1.1, 0.84) translateY(4px); } 65% { transform: scale(0.96, 1.05); } }
.slot__ice { position: absolute; top: 4px; right: 10%; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: #6fd0ff; color: #0b2a44; font-size: 12px; font-weight: 800; box-shadow: 0 0 0 2px rgba(17, 14, 36, 0.6); }
.shelf__rail { position: relative; height: 54px; margin-top: 16px; }
.shelf__rail::before { content: ''; position: absolute; left: 0; right: 0; top: 10px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.14); }
.shelf__mark { position: absolute; top: 0; left: calc(var(--at) / var(--cols, 7) * 100%); transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; }
.shelf__mark[data-mark='0'] { transform: none; justify-items: start; }
.shelf__mark i { width: 22px; height: 22px; border-radius: 50%; background: var(--c, var(--lime)); box-shadow: 0 0 0 5px rgba(197, 240, 106, 0.18), 0 0 24px var(--c, var(--lime)); }
.shelf__mark[data-mark='1'] { --c: #a493ff; }
.shelf__mark[data-mark='1'] i { box-shadow: 0 0 0 5px rgba(164, 147, 255, 0.2), 0 0 24px #a493ff; }
.shelf__mark b { font-size: 14px; color: var(--c, var(--lime)); white-space: nowrap; }
.shelf__key { text-align: center; font-size: 13px; color: var(--on-night-faint); margin-top: 6px; }
.evenings { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.evening { padding: 14px 16px; border-radius: 20px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 3px 0 0 var(--c); display: grid; gap: 2px; }
.evening b { font-size: 15px; }
.evening span { font-size: 13.5px; color: var(--on-night-soft); }
@media (max-width: 960px) {
  .prep__inner { grid-template-columns: 1fr; gap: 22px; }
  .prep__copy { display: contents; }
  .prep__copy > * { order: 1; }
  .prep__copy .prep__stats { order: 3; }
  .prep__copy .ticks { order: 4; }
  .shelf { order: 2; }
}
@media (max-width: 520px) { .evenings { grid-template-columns: 1fr; } .shelf { padding: 14px 10px; border-radius: 24px; } .shelf__mark b { font-size: 12px; } }

/* ---------- Flyer tags (the price splash of a Danish tilbudsavis, in brand colours) ---------- */
.tag {
  --c: var(--violet);
  display: grid; grid-template-columns: auto auto; grid-template-areas: 'store price' 'name price';
  align-items: center; column-gap: 14px;
  padding: 10px 10px 10px 14px; border-radius: 18px;
  background: #fff; color: var(--ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 18px 40px -12px rgba(0, 0, 0, 0.45), 0 2px 6px rgba(0, 0, 0, 0.12);
  white-space: nowrap;
}
.tag[data-store='netto'] { --c: #f2c400; }
.tag[data-store='rema'] { --c: #014693; }
.tag[data-store='lidl'] { --c: #0050aa; }
.tag[data-store='foetex'] { --c: #1d2f54; }
.tag[data-store='bilka'] { --c: #00aeef; }
.tag[data-store='kvickly'] { --c: #d1202b; }
.tag__store { grid-area: store; display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: var(--stone); }
.tag__store::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.tag__name { grid-area: name; font-size: 14px; font-weight: 700; letter-spacing: -0.01em; }
.tag__price {
  grid-area: price; display: grid; place-items: center; min-width: 58px; height: 58px; padding: 0 8px;
  border-radius: 16px; background: var(--lime); color: var(--night);
  font-weight: 800; font-size: 26px; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums;
}
.tag__price small { font-size: 11px; letter-spacing: 0; font-weight: 700; margin-top: -10px; }

/* ---------- Chains ---------- */
.chains { padding: clamp(48px, 6vw, 80px) var(--gutter) clamp(32px, 4vw, 56px); text-align: center; background: linear-gradient(#f7f5ff, var(--canvas) 140px); }
.chains__title { font-size: clamp(20px, 2vw, 26px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 28px; }
.chains__list { list-style: none; margin: 0 auto; padding: 0; max-width: var(--max); display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.chains__list li {
  display: flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px;
  background: var(--card); font-weight: 800; font-size: clamp(17px, 1.6vw, 21px); letter-spacing: -0.02em;
  box-shadow: 0 1px 2px rgba(17, 14, 36, 0.06), 0 12px 30px -18px rgba(17, 14, 36, 0.3);
}
.chains__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.chains__list b { font-weight: 600; font-size: 14px; color: var(--stone); font-variant-numeric: tabular-nums; }
.chains__list b::after { content: ' tilbud'; }
.chains__note { margin-top: 20px; color: var(--stone); font-size: 15px; }

/* ---------- Phone frame ---------- */
.phone {
  position: relative; aspect-ratio: 390 / 844; width: 100%;
  padding: 3.2%; border-radius: 15% / 7%;
  background: linear-gradient(145deg, #3b3654, #15122a 40%, #2a2544);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.16), inset 0 0 0 4px #0a0816, 0 50px 100px -30px rgba(17, 14, 36, 0.55), 0 30px 60px -30px rgba(93, 72, 219, 0.4);
}
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: 12.5% / 5.8%; overflow: hidden; background: var(--sb, #271e65); padding-top: 11%; transition: background-color 0.5s; }
/* the web recordings have no status bar: the screen starts below one, in the colour of the app's top */
.phone[data-tone='dark'] .phone__screen { --sb: #c8bafe; }
.phone__screen > img, .phone__screen > video { width: 100%; height: 100%; object-fit: cover; object-position: top; }
/* the status bar the web recordings don't have */
.phone__status {
  position: absolute; z-index: 2; top: 3.2%; left: 3.2%; right: 3.2%; height: 6.2%;
  display: flex; align-items: center; justify-content: space-between; padding: 0 9% 0 10%;
  color: #fff; font-weight: 700; font-size: clamp(9px, 1.05vw, 15px); letter-spacing: -0.01em; pointer-events: none;
  transition: color 0.4s;
}
.phone[data-tone='dark'] .phone__status { color: var(--ink); }
.phone__status svg { height: 0.95em; width: auto; }
.phone__status span:last-child { display: flex; gap: 0.35em; align-items: center; }
.phone__island { z-index: 3; position: absolute; top: 4.6%; left: 50%; width: 29%; height: 3.6%; transform: translateX(-50%); border-radius: 99px; background: #05040b; }

/* ---------- How it works ---------- */
.how { padding: clamp(24px, 3vw, 48px) var(--edge) clamp(64px, 8vw, 120px); overflow-x: clip; }
.how__intro { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 820px; }
.how__grid { display: grid; grid-template-columns: 1fr minmax(260px, 380px); gap: clamp(32px, 7vw, 120px); align-items: start; }
.how__steps { list-style: none; margin: 0; padding: 0 0 18vh; }
@media (min-width: 861px) { .step:first-child { align-content: start; padding-top: 14vh; } }
.step { position: relative; min-height: 62vh; display: grid; grid-template-columns: 48px 1fr; column-gap: 24px; row-gap: 12px; align-content: center; opacity: 0.32; transition: opacity 0.5s var(--ease-out); }
.step h3, .step p { grid-column: 2; }
.step.is-active { opacity: 1; }
.step__n {
  grid-row: 1 / span 2; align-self: start; margin-top: -4px;
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px;
  background: var(--lavender); color: var(--violet); font-weight: 800; font-size: 20px;
  transition: background-color 0.4s, color 0.4s, transform 0.5s var(--spring);
}
.step.is-active .step__n { background: var(--violet); color: #fff; transform: rotate(-6deg) scale(1.06); }
.step h3 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.step p { color: var(--stone); max-width: 30em; font-size: 18px; }
.how__phone { position: sticky; top: calc(50vh - min(38vh, 380px)); height: min(76vh, 760px); display: grid; justify-items: center; }
.how__phone .phone { width: auto; height: 100%; }
.how__glow { position: absolute; inset: 10% -20%; z-index: -1; background: radial-gradient(closest-side, rgba(150, 133, 255, 0.45), transparent); filter: blur(30px); }
.phone__layer { position: absolute; inset: 11% 0 0; opacity: 0; transform: scale(1.04); transition: opacity 0.6s var(--ease-out), transform 0.8s var(--ease-out); }
.phone__layer.is-on { opacity: 1; transform: none; }
.step__shot { display: none; }
@media (max-width: 860px) {
  .how__grid { grid-template-columns: 1fr; }
  .how__phone { display: none; }
  .how__steps { padding: 0; display: grid; gap: 44px; }
  .step { min-height: 0; opacity: 1; grid-template-columns: 40px 1fr; column-gap: 16px; align-content: start; }
  .step__n { width: 40px; height: 40px; font-size: 17px; border-radius: 13px; }
  .step p { font-size: 16px; }
  .step__shot {
    display: block; grid-column: 1 / -1; grid-row: 1; justify-self: center; width: min(250px, 70vw); height: auto; margin-bottom: 18px;
    border-radius: 34px; border: 7px solid #15122a; box-shadow: 0 30px 60px -30px rgba(17, 14, 36, 0.5); padding-top: 9%; background: #c8bafe;
  }
  .step .step__n { grid-row: 2 / span 2; }
  .step h3 { grid-row: 2; }
  .step p { grid-row: 3; }
}

/* ---------- Build: one dish from the flyers ---------- */
.build { position: relative; height: 340vh; background: var(--lilac); }
.build__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; }
.build__table { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.06 + var(--p, 0) * 0.08)); filter: saturate(0.9); }
.build__wash { position: absolute; inset: 0; background: radial-gradient(ellipse at 100% 50%, rgba(236, 235, 250, 0.92), transparent 48%), linear-gradient(90deg, rgba(236, 235, 250, 0.96) 0%, rgba(236, 235, 250, 0.86) 34%, rgba(236, 235, 250, calc(0.25 + var(--p, 0) * 0.35)) 62%, rgba(236, 235, 250, calc(0.2 + var(--p, 0) * 0.4)) 100%); }
.build__copy { position: absolute; left: var(--edge); top: clamp(96px, 14vh, 140px); max-width: min(520px, 42vw); display: grid; gap: 16px; }
.build__box {
  position: absolute; left: 62%; top: 52%; width: min(54vw, 800px); aspect-ratio: 900 / 672;
  transform: translate(-50%, -50%) scale(calc(0.86 + var(--fill, 0) * 0.14));
}
/* the dish photo's own table fades into this one, so the box seems to stand on it */
.build__box::before { content: ''; position: absolute; inset: 26% 32% 20%; border-radius: 40px; background: rgba(17, 14, 36, 0.28); filter: blur(40px); opacity: var(--fill, 0); transform: translateY(12%); }
.build__dish {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 28px;
  clip-path: inset(23% 30.5% 22% 29.6% round 4% / 5%); opacity: var(--fill, 0);
  transform: scale(calc(0.92 + var(--fill, 0) * 0.08));
}
.build__ring { display: none; }
.build__tags { position: absolute; inset: 0; pointer-events: none; }
.build__tags .tag { position: absolute; left: 0; top: 0; will-change: transform, opacity; }
.receipt {
  position: absolute; left: var(--edge); bottom: clamp(24px, 6vh, 56px); width: min(400px, calc(100% - 2 * var(--gutter)));
  padding: 22px; border-radius: 26px; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(14px);
  box-shadow: 0 30px 60px -30px rgba(17, 14, 36, 0.4);
  opacity: calc(var(--receipt, 0)); transform: translateY(calc((1 - var(--receipt, 0)) * 24px));
}
.receipt__title { font-size: 16px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 10px; }
.receipt__lines { list-style: none; margin: 0 0 10px; padding: 0; display: grid; align-content: start; gap: 2px; }
.receipt__lines li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--stone); animation: line-in 0.4s var(--ease-out); }
.receipt__lines li b { color: var(--ink); font-variant-numeric: tabular-nums; font-weight: 700; }
@keyframes line-in { from { opacity: 0; transform: translateX(-8px); } }
.receipt__total, .receipt__per { display: flex; justify-content: space-between; border-top: 1px dashed rgba(17, 14, 36, 0.16); padding-top: 8px; margin-top: 4px; font-variant-numeric: tabular-nums; }
.receipt__per b { font-size: 26px; letter-spacing: -0.03em; color: var(--violet); }
.receipt__per { align-items: baseline; }
.receipt__macros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: calc(var(--macros, 0) * 14px); opacity: var(--macros, 0); height: calc(var(--macros, 0) * 58px); overflow: hidden; }
.macro { display: grid; gap: 2px; font-size: 12px; color: var(--stone); }
.macro b { color: var(--ink); font-size: 18px; letter-spacing: -0.02em; }
.macro i { display: block; height: 6px; border-radius: 9px; background: var(--lavender); position: relative; overflow: hidden; }
.macro i::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--violet); transform-origin: left; transform: scaleX(calc(var(--v) * var(--macros, 0))); }
.macro i.macro--leaf::after { background: var(--leaf); }
.macro i.macro--amber::after { background: var(--amber); }
.receipt__keeps { margin-top: calc(var(--macros, 0) * 12px); font-size: 13px; font-weight: 600; color: var(--leaf); opacity: var(--macros, 0); height: calc(var(--macros, 0) * 20px); overflow: hidden; }
@media (max-width: 860px) {
  .build__copy { max-width: none; right: var(--gutter); top: 84px; gap: 10px; }
  .build__copy .lead { font-size: 15px; }
  .build__box { left: 50%; top: 52%; width: 84vw; }
  /* on a phone the flying tags show the items; the receipt keeps only the sums */
  .receipt { padding: 14px 16px; border-radius: 22px; }
  .receipt__title, .receipt__lines, .receipt__keeps { display: none; }
  .receipt__total { border-top: 0; margin-top: 0; padding-top: 0; }
}
@media (max-width: 860px) and (max-height: 760px) { .receipt__macros, .receipt__keeps { display: none; } }

/* ---------- Features ---------- */
.features { padding: clamp(80px, 10vw, 140px) var(--edge); }
.features__intro { display: grid; gap: 18px; margin-bottom: 48px; max-width: 820px; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card {
  position: relative; overflow: hidden; border-radius: 32px; padding: clamp(22px, 2.4vw, 32px);
  background: var(--card); box-shadow: 0 1px 2px rgba(17, 14, 36, 0.05);
  display: flex; flex-direction: column; gap: 10px;
}
.card h3 { font-size: clamp(21px, 1.9vw, 26px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.card p { color: var(--stone); font-size: 16px; max-width: 32em; }
.card--night { background: var(--night); color: #fff; }
.card--night p { color: var(--on-night-soft); }

.card--macros { grid-column: span 4; grid-row: span 2; display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; background: var(--lavender); }
.card--macros .card__text { display: flex; flex-direction: column; gap: 12px; }
.seg { display: grid; gap: 8px; margin-top: 14px; }
.seg button {
  display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center;
  font: 700 15px/1.25 Manrope, sans-serif; text-align: left; border: 0; cursor: pointer;
  padding: 8px 14px 8px 8px; border-radius: 18px; background: rgba(255, 255, 255, 0.6); color: var(--ink);
  box-shadow: inset 0 0 0 1.5px transparent;
  transition: background-color 0.2s, box-shadow 0.25s, transform 0.3s var(--spring);
}
.seg button img { grid-row: 1 / span 2; width: 56px; height: 42px; object-fit: cover; border-radius: 11px; }
.seg button small { font-size: 13px; font-weight: 600; color: var(--stone); }
.seg button:hover { background: #fff; }
.seg button[aria-selected='true'] { background: #fff; box-shadow: inset 0 0 0 2px var(--violet), 0 12px 24px -16px rgba(93, 72, 219, 0.6); transform: translateX(4px); }
.macros { display: grid; gap: 18px; align-content: start; }
.goals { margin-top: auto; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.goals__title { flex-basis: 100%; font-size: 13px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--stone); }
.goal { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px 7px 9px; border-radius: 999px; background: #fff; font-size: 13.5px; font-weight: 700; color: var(--ink); box-shadow: 0 6px 16px -12px rgba(93, 72, 219, 0.6); }
.goal::before { content: ''; width: 16px; height: 16px; border-radius: 50%; background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; }
.macros__img { width: 100%; aspect-ratio: 900 / 672; object-fit: cover; border-radius: 22px; transition: opacity 0.35s, transform 0.5s var(--ease-out); }
.macros__img.is-swapping { opacity: 0; transform: scale(0.97); }
.macros__rings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ring { position: relative; display: grid; place-items: center; text-align: center; }
.ring svg { width: 100%; max-width: 120px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: rgba(93, 72, 219, 0.14); stroke-width: 10; }
.ring .ring__v { stroke: var(--violet); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: calc(326.7 * (1 - var(--v, 0))); transition: stroke-dashoffset 1.1s var(--ease-out); }
.ring--leaf circle { stroke: rgba(47, 168, 106, 0.16); }
.ring--leaf .ring__v { stroke: var(--leaf); }
.ring--amber circle { stroke: rgba(224, 161, 43, 0.18); }
.ring--amber .ring__v { stroke: var(--amber); }
.ring b { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -62%); font-size: clamp(20px, 2vw, 28px); font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.ring span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, 55%); font-size: 12px; color: var(--stone); font-weight: 600; white-space: nowrap; }
.macros__meta { font-size: 14px; color: var(--stone); font-weight: 600; }

.card--list { grid-column: span 2; grid-row: span 2; }
.list { margin-top: 10px; display: grid; gap: 2px; font-size: 14px; }
.list__store { display: flex; align-items: center; gap: 8px; font-weight: 800; margin-top: 12px; padding-bottom: 4px; }
.list__store span { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.list__store b { margin-left: auto; font-weight: 700; color: var(--stone); font-variant-numeric: tabular-nums; }
.list__aisle { font-size: 12px; font-weight: 700; color: var(--stone); margin: 8px 0 2px; }
.list__item { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid rgba(17, 14, 36, 0.06); transition: color 0.3s; }
.list__item b { margin-left: auto; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--stone); }
.list__item i { flex: none; width: 20px; height: 20px; border-radius: 7px; box-shadow: inset 0 0 0 2px rgba(17, 14, 36, 0.18); position: relative; transition: background-color 0.25s, box-shadow 0.25s; }
.list__item i::after { content: ''; position: absolute; left: 6.5px; top: 3px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); transition: transform 0.35s var(--spring); }
.list__item.is-done { color: var(--stone); }
.list__item.is-done i { background: var(--leaf); box-shadow: none; }
.list__item.is-done i::after { transform: rotate(45deg) scale(1); }

.card__icon { width: 64px; height: 64px; object-fit: contain; margin: -4px 0 4px -4px; filter: drop-shadow(0 10px 12px rgba(60, 40, 160, 0.2)); }
.card--streak { grid-column: span 3; min-height: 300px; background: radial-gradient(90% 70% at 85% 100%, rgba(255, 140, 50, 0.35), transparent 60%), radial-gradient(120% 80% at 100% 100%, rgba(93, 72, 219, 0.6), transparent 60%), var(--night); }
.card--streak p { max-width: 70%; }
.chip { align-self: flex-start; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.chip--lime { background: var(--lime); color: var(--night); }
.streak-flame { position: absolute; right: 18px; bottom: 16px; width: 104px; height: auto; transform-origin: 50% 100%; animation: flicker 2.4s ease-in-out infinite; filter: drop-shadow(0 0 24px rgba(255, 150, 60, 0.55)); }
@keyframes flicker { 0%, 100% { transform: scale(1, 1); } 30% { transform: scale(1.04, 0.96) rotate(-2deg); } 60% { transform: scale(0.97, 1.05) rotate(2deg); } }

.card--notify { grid-column: span 3; background: linear-gradient(160deg, #eceafc, #f7f6fb); }
.notes { margin-top: auto; padding-top: 14px; display: grid; gap: 8px; }
.note { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: start; padding: 10px 12px; border-radius: 18px; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(10px); box-shadow: 0 10px 24px -14px rgba(17, 14, 36, 0.35); font-size: 13px; transform: translateY(18px) scale(0.96); opacity: 0; transition: transform 0.7s var(--spring), opacity 0.4s; }
.note img { width: 34px; height: 34px; border-radius: 9px; }
.note b { display: block; font-size: 13px; }
.note span { color: var(--stone); line-height: 1.35; display: block; }
.note time { font-size: 12px; color: var(--stone); }
.notes.is-in .note { transform: none; opacity: 1; }
.notes.is-in .note:nth-child(2) { transition-delay: 0.25s; }

.card--cook { grid-column: span 3; grid-row: span 2; display: grid; grid-template-columns: 1fr 1fr; align-items: end; background: var(--night); color: #fff; padding-bottom: 0; }
.card--cook p { color: var(--on-night-soft); }
.card--cook .card__text { align-self: start; display: grid; gap: 10px; }
.phone--crop { width: 100%; max-width: 250px; justify-self: end; margin-bottom: -38%; }

.card--family { grid-column: span 3; }
/* a plate per person, filled as far as their portion goes */
@property --grow { syntax: '<number>'; inherits: true; initial-value: 0; }
.people { display: flex; align-items: flex-end; gap: 12px; margin-top: auto; padding-top: 16px; }
.people span { flex: 1; display: grid; justify-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--stone); text-align: center; }
.people span::before {
  content: ''; width: 100%; max-width: 76px; aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(var(--violet) calc(var(--s) * var(--grow, 0) * 360deg), var(--lavender) 0);
  -webkit-mask: radial-gradient(circle, transparent 38%, #000 39%); mask: radial-gradient(circle, transparent 38%, #000 39%);
  transition: --grow 1.2s var(--ease-out);
}
.people.is-in { --grow: 1; }
.people span:nth-child(2)::before { transition-delay: 0.1s; }
.people span:nth-child(3)::before { transition-delay: 0.2s; }
.people span:nth-child(4)::before { transition-delay: 0.3s; }
.people b { color: var(--violet); font-size: 15px; }

.card--deals { grid-column: span 3; }
.deal { margin-top: auto; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 12px; border-radius: 20px; background: var(--canvas); }
.deal__badge { padding: 8px 10px; border-radius: 12px; background: var(--night); color: var(--lime); font-weight: 800; font-size: 15px; }
.deal div b { display: block; font-size: 15px; }
.deal div span { font-size: 13px; color: var(--stone); }
.deal__price { text-align: right; }
.deal__price s { display: block; font-size: 13px; color: var(--stone); }
.deal__price b { font-size: 20px; letter-spacing: -0.02em; }

@media (max-width: 1020px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card--macros { grid-column: span 2; grid-row: auto; }
  .card--list, .card--streak, .card--notify, .card--family, .card--deals { grid-column: span 1; grid-row: auto; }
  .card--cook { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 680px) {
  .card--macros .card__text { display: contents; }
  .card--macros .macros { order: 1; }
  .card--macros .goals { order: 2; }
  .bento { grid-template-columns: 1fr; }
  .card--macros { grid-template-columns: 1fr; }
  .card, .card--macros, .card--cook { grid-column: auto; }
  .card--cook { grid-template-columns: 1fr; }
  .phone--crop { justify-self: center; margin-bottom: -60%; max-width: 220px; }
}

/* ---------- Dishes ---------- */
.dishes { padding: clamp(80px, 10vw, 140px) 0; overflow: hidden; background: linear-gradient(180deg, var(--canvas), var(--lilac) 60%, var(--canvas)); }
.dishes__intro { margin: 0 0 48px; padding: 0 var(--edge); display: grid; gap: 18px; }
.dishes__intro h2 { max-width: 15em; }
.marquee { --speed: 90s; display: flex; overflow: hidden; padding: 10px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; gap: 16px; padding-right: 16px; flex: none; animation: marquee var(--speed) linear infinite; }
.marquee--rev .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.dish { flex: none; width: clamp(220px, 22vw, 300px); border-radius: 24px; background: #fff; overflow: hidden; box-shadow: 0 16px 40px -28px rgba(17, 14, 36, 0.4); }
.dish img { width: 100%; aspect-ratio: 900 / 672; object-fit: cover; }
.dish div { padding: 12px 14px 14px; display: grid; gap: 6px; }
.dish b { font-size: 15px; line-height: 1.25; letter-spacing: -0.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.dish span { display: flex; gap: 6px; flex-wrap: wrap; }
.dish em { font-style: normal; font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 99px; background: var(--lavender); color: var(--violet); }
.dish em.kr { background: #e6f8ef; color: #0f7a4f; }

/* ---------- The app in motion ---------- */
.motion { position: relative; padding: clamp(80px, 10vw, 140px) var(--gutter); overflow: hidden; isolation: isolate; }
.motion__aurora, .cta__aurora { position: absolute; inset: -20%; z-index: -1; background: radial-gradient(40% 35% at 25% 30%, rgba(93, 72, 219, 0.55), transparent 70%), radial-gradient(35% 30% at 75% 70%, rgba(150, 133, 255, 0.35), transparent 70%), radial-gradient(25% 20% at 60% 20%, rgba(197, 240, 106, 0.12), transparent 70%); filter: blur(20px); animation: aurora 18s ease-in-out infinite alternate; }
@keyframes aurora { to { transform: translate(4%, -3%) rotate(6deg) scale(1.08); } }
.motion__intro { max-width: var(--max); margin: 0 auto 56px; text-align: center; display: grid; justify-items: center; gap: 14px; }
.trio { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 4vw, 56px); align-items: center; }
.trio__item { margin: 0; display: grid; gap: 16px; justify-items: center; transition: transform 0.9s var(--ease-out); }
.trio__item .phone { max-width: 290px; }
.trio__item figcaption { font-weight: 700; color: var(--on-night-soft); font-size: 15px; }
.trio__item--mid { transform: translateY(-36px); }
.trio__item:first-child { transform: translateY(24px) rotate(-3deg); }
.trio__item:last-child { transform: translateY(24px) rotate(3deg); }
@media (max-width: 760px) {
  .trio { grid-template-columns: repeat(3, 72vw); overflow-x: auto; scroll-snap-type: x mandatory; padding: 40px 14vw; margin: 0 calc(-1 * var(--gutter)); scrollbar-width: none; }
  .trio__item { scroll-snap-align: center; transform: none !important; }
}

/* ---------- Students ---------- */
.students { padding: clamp(80px, 10vw, 140px) var(--edge); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.students__img img { width: 100%; border-radius: 36px; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: 0 40px 80px -50px rgba(17, 14, 36, 0.6); }
.students__copy { display: grid; gap: 22px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; font-weight: 600; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 8px; background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.ticks--night li { font-weight: 500; color: var(--on-night-soft); font-size: 15px; }
.ticks--night li::before { background-color: rgba(197, 240, 106, 0.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23c5f06a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
@media (max-width: 760px) { .students { grid-template-columns: 1fr; } .students__img img { aspect-ratio: 4 / 3; } }

/* ---------- Pricing ---------- */
.pricing { padding: clamp(80px, 10vw, 140px) var(--gutter); }
.pricing__intro { max-width: var(--max); margin: 0 auto 48px; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.pricing__intro h2 { max-width: 14em; }
.toggle { position: relative; display: inline-flex; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px var(--on-night-line); }
.toggle button { position: relative; z-index: 1; border: 0; background: none; color: var(--on-night-soft); font: 700 15px/1 Manrope, sans-serif; padding: 12px 18px; border-radius: 999px; cursor: pointer; display: flex; gap: 8px; align-items: center; transition: color 0.25s; }
.toggle button[aria-checked='true'] { color: var(--night); }
.toggle__save { font-size: 12px; padding: 3px 7px; border-radius: 99px; background: rgba(197, 240, 106, 0.2); color: var(--lime); transition: background-color 0.25s, color 0.25s; }
.toggle button[aria-checked='true'] .toggle__save { background: var(--night); color: var(--lime); }
.toggle__pill { position: absolute; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; background: var(--lime); transition: transform 0.45s var(--spring), width 0.45s var(--spring); }
.plans { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 14px; align-items: stretch; }
.plan__row { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--on-night-line); display: grid; gap: 4px; }
.plan__row:nth-of-type(2) { border-bottom: 0; margin-bottom: 4px; }
.plan__row .plan__sub { margin-bottom: 0; color: var(--on-night-soft); line-height: 1.45; }
.plan { position: relative; padding: 26px 22px; border-radius: 28px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--on-night-line); display: flex; flex-direction: column; gap: 6px; }
.plan h3 { font-size: 18px; font-weight: 700; color: var(--on-night-soft); }
.plan__price { font-size: 18px; font-weight: 700; display: flex; align-items: baseline; gap: 4px; }
.plan__price b { font-size: 52px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; display: inline-block; }
.plan__price b.is-rolling { animation: roll 0.45s var(--ease-out); }
@keyframes roll { 0% { transform: translateY(0); opacity: 1; } 45% { transform: translateY(-40%); opacity: 0; } 55% { transform: translateY(40%); opacity: 0; } 100% { transform: none; opacity: 1; } }
.plan__price span { color: var(--on-night-faint); font-size: 15px; }
.plan__sub { color: var(--on-night-faint); font-size: 14px; margin-bottom: 14px; min-height: 1.5em; }
.plan .ticks { margin-bottom: 22px; }
.plan__btn { margin-top: auto; display: grid; place-items: center; min-height: 46px; border-radius: 999px; text-decoration: none; font-weight: 800; font-size: 15px; color: #fff; box-shadow: inset 0 0 0 1px var(--on-night-line); background: rgba(255, 255, 255, 0.06); transition: background-color 0.2s, transform 0.25s var(--spring); }
.plan__btn:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-1px); }
.plan__btn--lime { background: var(--lime); color: var(--night); box-shadow: 0 10px 30px -12px rgba(197, 240, 106, 0.7); }
.plan__btn--lime:hover { background: var(--lime); }
.plan--pro { background: linear-gradient(180deg, rgba(93, 72, 219, 0.5), rgba(93, 72, 219, 0.12)); box-shadow: inset 0 0 0 1.5px rgba(197, 240, 106, 0.55), 0 30px 80px -30px rgba(93, 72, 219, 0.8); }
.plan--pro h3 { color: var(--lime); }
.plan__flag { position: absolute; top: -13px; left: 22px; padding: 6px 12px; border-radius: 999px; background: var(--lime); color: var(--night); font-size: 12px; font-weight: 800; }
.pricing__note { max-width: var(--max); margin: 28px auto 0; font-size: 14px; color: var(--on-night-faint); }
@media (max-width: 1020px) and (min-width: 681px) { .plans { grid-template-columns: repeat(2, 1fr); row-gap: 28px; } .plan--duo { grid-column: 1 / -1; } }
@media (max-width: 680px) {
  .plans { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84vw; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gutter)); padding: 18px var(--gutter) 8px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .plans > .plan { scroll-snap-align: start; }
  .plan--pro { order: -1; }
}

/* ---------- FAQ ---------- */
.faq { padding: clamp(80px, 10vw, 140px) var(--edge); display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }
.faq__side { position: sticky; top: 110px; display: grid; gap: 18px; }
.faq h2 { margin-bottom: 0; }
.faq__ask { color: var(--stone); font-weight: 600; }
.faq__ask a { color: var(--violet); font-weight: 800; text-decoration: none; }
@media (max-width: 860px) { .faq__side { position: static; } }
.faq__list { display: grid; gap: 10px; }
.faq details { border-radius: 22px; background: #fff; box-shadow: 0 1px 2px rgba(17, 14, 36, 0.05); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 22px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--lavender) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%235d48db' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform 0.4s var(--spring); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { padding: 0 24px 22px; color: var(--stone); max-width: 40em; }
.faq details[open] p { animation: fade-up 0.4s var(--ease-out); }

/* ---------- Final call ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: clamp(96px, 12vw, 160px) var(--gutter); display: grid; justify-items: center; gap: 22px; }
.cta h2 { max-width: 13em; font-size: clamp(38px, 5.4vw, 76px); }
.cta { background: linear-gradient(var(--canvas), transparent 180px), radial-gradient(50% 45% at 50% 35%, rgba(255, 255, 255, 0.9), transparent 70%), radial-gradient(60% 50% at 80% 20%, rgba(150, 133, 255, 0.35), transparent 70%), linear-gradient(180deg, #f7f5ff 0%, #ebe6ff 60%, #e4ddff 100%); color: var(--ink); }
.cta .lead { color: var(--stone); }
.cta__sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cta .cloud-bank { bottom: -10%; opacity: 1; }
.cta__boksie { width: clamp(130px, 14vw, 180px); height: auto; animation: hop 2.6s var(--ease-out) infinite; filter: drop-shadow(0 24px 24px rgba(60, 40, 160, 0.3)); }
@keyframes hop { 0%, 60%, 100% { transform: translateY(0) scale(1, 1); } 8% { transform: translateY(4px) scale(1.06, 0.92); } 22% { transform: translateY(-26px) scale(0.96, 1.05); } 36% { transform: translateY(0) scale(1.05, 0.93); } 46% { transform: translateY(0) scale(1, 1); } }
.cta__get { display: flex; gap: 18px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 10px; }
.cta__stores { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.qr-card[hidden] { display: none !important; }
.qr-card { display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; border-radius: 22px; background: rgba(255, 255, 255, 0.85); box-shadow: inset 0 0 0 1px rgba(93, 72, 219, 0.16), 0 20px 40px -24px rgba(60, 40, 160, 0.5); text-align: left; backdrop-filter: blur(10px); }
.qr-card__code { position: relative; width: 96px; height: 96px; padding: 7px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px rgba(93, 72, 219, 0.12); }
.qr-card__code svg { width: 100%; height: 100%; display: block; }
.qr-card__mark { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 6px; box-shadow: 0 0 0 3px #fff; }
.qr-card b { display: block; font-size: 16px; }
.qr-card span { font-size: 14px; color: var(--stone); }
@media (hover: none), (max-width: 760px) { .qr-card { display: none; } }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: var(--on-night-faint); padding: 32px var(--edge) 48px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; font-size: 14px; border-top: 1px solid var(--on-night-line); }
.footer__brand { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 800; font-size: 17px; }
.footer__brand img { filter: brightness(0) invert(1); }
.footer nav { display: flex; gap: 20px; }
.footer a { color: var(--on-night-soft); text-decoration: none; }
.footer a:hover { color: #fff; }
.footer p { flex-basis: 100%; max-width: 60em; }

/* ---------- Reduced motion: everything lands where it ends ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; scroll-behavior: auto !important; }
  .cta__video { display: none; }
  .marquee__track { animation: none !important; }
  .marquee { overflow-x: auto; }
}

@media (max-width: 560px) { .build__tags .tag { scale: 0.85; } }

/* laptops and small screens: the collage keeps off the phone, the chains sit in a grid */
@media (max-width: 1180px) {
  .f-tag, .f-dish2 { display: none; }
}
@media (max-width: 1180px) and (min-width: 561px) {
  .chains__list { display: grid; grid-template-columns: repeat(3, auto); justify-content: center; }
}
/* phone: the steps and the features are rows you swipe, so the page is a third as long */
.step__phone { display: none; }
@media (max-width: 860px) {
  .how__steps { grid-auto-flow: column; grid-auto-columns: 78vw; grid-template-columns: none; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .step { scroll-snap-align: start; padding: 18px 18px 22px; border-radius: 28px; background: #fff; box-shadow: 0 1px 2px rgba(17, 14, 36, 0.05); }
  .step__shot { display: none !important; }
  .step__phone { display: block; grid-column: 1 / -1; grid-row: 1; justify-self: center; width: min(210px, 56vw); margin-bottom: 18px; }
  .step .step__n { background: var(--violet); color: #fff; }
}
@media (max-width: 680px) {
  .bento { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86vw; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px; scroll-padding-inline: var(--gutter); scrollbar-width: none; align-items: start; }
  .bento > .card { scroll-snap-align: start; grid-column: auto; grid-row: auto; }
  .build__box { width: 118vw; }
}

.bento__rest { display: contents; }
/* where you are in a swipe row */
.dots { display: none; }
@media (max-width: 860px) {
  .dots { display: flex; justify-content: center; gap: 7px; margin-top: 14px; }
  .dots i { width: 7px; height: 7px; border-radius: 9px; background: rgba(93, 72, 219, 0.22); transition: width 0.35s var(--spring), background-color 0.3s; }
  .dots i.is-on { width: 22px; background: var(--violet); }
  .night .dots i { background: rgba(255, 255, 255, 0.22); }
  .night .dots i.is-on { background: var(--lime); }
}
@media (min-width: 681px) { .bento__rest + .dots, .plans + .dots { display: none; } }
@media (min-width: 761px) { .trio + .dots { display: none; } }
@media (max-width: 680px) {
  /* the nutrition card whole, the six others a swipe row of their own */
  .bento { display: block; overflow: visible; margin: 0; padding: 0; }
  .bento > .card--macros { margin-bottom: 16px; }
  .bento__rest { display: grid; grid-auto-flow: column; grid-auto-columns: 86vw; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px; scroll-padding-inline: var(--gutter); scrollbar-width: none; align-items: start; }
  .bento__rest { align-items: stretch; }
  .bento__rest > .card { scroll-snap-align: start; }
  .bento__rest > .card > :last-child:not(.streak-flame) { margin-top: auto; }
  .card--list .list > :nth-child(n + 8) { display: none; }
  .build__box { width: 160vw; }
}
