/* Home pages: the first section, the three source tiles, the reviews and the download banner,
   plus a few touches on the live page's four app sections, its questions and its section
   labels. Everything else on the page, the floating navigation included, is styles.css, which this file follows in the <head>. Phone layout first; desktop from
   1000 px. Colours are the app's own (lib/design_system/app_colors.dart).

   The phones are real iPhone frames over whole app screens, cut by
   scripts/landing_redesign/make_assets.py. Inside a screen, sizes are in cqi (hundredths of the
   screen's width), so what is drawn over a screen stays on its pixel at every size. */

:root {
    --char: #1A1C1A;
    --cream: #FBF8F5;
    --warm: #FFF3E6;
    --ink: #434A42;
    --terra-app: #C5793F;
    /* the one accent on the dark page: the app's dark-theme terracotta, a soft fill of it (the
       app's accentContainer) and a lighter tint of it for small text on that fill */
    --terra: #D9824A;
    --terra-soft: rgb(217 130 74 / .16);
    --terra-text: #F2A774;
    --sys: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --ease: cubic-bezier(.2, .75, .2, 1);
    --pop: cubic-bezier(.3, 1.5, .45, 1);
}

/* ---------- shared by the three sections ---------- */
.hero *, .love *, .get * { box-sizing: border-box; }
.hero img, .hero svg, .love img, .get img { display: block; }
.hero img, .get img { max-width: 100%; height: auto; }
.hero :focus-visible, .get :focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; border-radius: 8px; }
/* the same column as styles.css's .container: 1200 px with 24 px at the sides */
.wrap { width: min(100% - 48px, 1152px); margin-inline: auto; }

/* ---------- first section ---------- */
/* The section starts at the very top of the page, behind the floating navigation (styles.css).
   --top is where its content starts. The
   gradient darkens in px, not %, so the text always sits on rust deep enough for cream type
   (4.5:1 or better down to the price line). */
.hero { --top: 100px; position: relative; isolation: isolate; padding: var(--top) 0 40px; color: var(--warm); border-radius: 0 0 34px 34px; overflow: clip; background: linear-gradient(180deg, #6B2B10 0, #873B17 210px, #A04D25 420px, #CF7841 660px, #D9824A 100%); }
.hero::before { content: ""; position: absolute; z-index: -1; left: 50%; bottom: 40px; width: 620px; height: 620px; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgb(255 196 140 / .55), rgb(255 196 140 / .16) 60%, transparent); }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: soft-light; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>") 0 0 / 220px 220px; }
/* The headline is always two lines. Its size follows the window, capped by its own column so it
   can never wrap: --fit is 100cqi over the longest line's width in em, with a little room
   (EN "to recipe." 4.18em, DE "zum Rezept." 5.37em, FR "à la recette." 5.15em). */
.hero-text { container-type: inline-size; }
.hero h1 { --size: clamp(56px, 17.2vw, 80px); --fit: 23.6cqi; font: 800 var(--size)/.88 var(--font); font-size: min(var(--size), var(--fit)); letter-spacing: -.045em; white-space: nowrap; color: var(--warm); }
html[lang="de"] .hero h1 { --fit: 18.4cqi; }
html[lang="fr"] .hero h1 { --fit: 19.2cqi; }
.hero h1 > span { display: block; margin-top: .07em; }
.pill { display: inline-block; font-style: normal; padding: .03em .19em .12em; margin-left: -.02em; border-radius: .26em; background: var(--warm); color: #8A3A14; rotate: -2.5deg; transform-origin: 15% 85%; }
/* Under the headline the levels are set by weight, size and grouping, because colour can't do
   it: the field gets lighter going down, so nothing here can be dimmed (the price line is under
   4.5:1 already at 90% cream). Running text is regular weight; bold is kept for the headline,
   the buttons and the rating. The price line is the button's small print, so it sits close
   under it, and the wider gap is above the button. */
.hero-lede { margin-top: 14px; max-width: 21em; font: 400 18px/1.38 var(--font); color: var(--warm); text-wrap: pretty; }
.hero-stores { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.hero-note { margin-top: 8px; font: 400 13.5px/1.45 var(--font); color: var(--warm); }
.hero-rating { display: grid; padding-left: 4px; font: 400 12.5px/1.25 var(--font); color: var(--warm); }
.hero-rating b { font: 800 17px/1.15 var(--font); color: var(--warm); }

/* Apple's and Google's black badges */
.store-badge { --bh: 56px; height: var(--bh); display: inline-flex; align-items: center; gap: calc(var(--bh) * .19); padding: 0 calc(var(--bh) * .36) 0 calc(var(--bh) * .31); border-radius: calc(var(--bh) * .21); background: #000; color: #fff; border: 1px solid rgb(255 255 255 / .28); text-decoration: none; white-space: nowrap; font-family: var(--sys); transition: scale .25s var(--ease); }
.store-badge:active { scale: .97; }
.store-badge svg { width: calc(var(--bh) * .45); height: calc(var(--bh) * .45); flex: none; fill: currentColor; }
.store-badge span { display: grid; }
.store-badge small { font: 500 calc(var(--bh) * .19)/1.1 var(--sys); }
.store-badge b { font: 600 calc(var(--bh) * .365)/1.1 var(--sys); letter-spacing: -.01em; }
/* a phone sees only its own store (the os-* class is set in <head>); everything else sees both */
.os-ios .hero .only-android, .os-android .hero .only-ios { display: none; }
.qr-block { display: none; }

/* A real iPhone frame (MockUPhone 15 Pro) over a screen. .phone is the frame image's box;
   the device fills 91% of its width, the rest is the transparent margin around it.
   Nothing here waits for the network to take its place: ::after is the device's own shape in
   its own colour, a hair inside the frame image that then covers it, and each screen carries
   a tiny blurred copy of its picture as its background (set inline, per language). */
.phone { position: relative; width: var(--pw, 250px); aspect-ratio: 852 / 1679; }
.phone::before { content: ""; position: absolute; inset: 7% 10% 4%; border-radius: 15% / 7%; box-shadow: 0 34px 46px -6px rgb(46 14 0 / .5); }
.phone::after { content: ""; position: absolute; z-index: -1; inset: 2.9% 4.9% 3% 4.8%; border-radius: 16% / 7.9%; background: #1B1B1D; }
.screen { position: absolute; left: 8.598%; top: 4.328%; width: 82.805%; height: 91.381%; border-radius: 13.7% / 6.3%; overflow: hidden; background: #111 center top / cover no-repeat; container-type: inline-size; }
.screen > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: top; }
.frame { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; pointer-events: none; }

/* reel → recipe: the reel leans back on the left, the recipe stands in front, lower */
.hero-visual { margin-top: 24px; }
.duo { --pw: min(250px, 66vw); position: relative; width: min(100%, calc(var(--pw) * 1.5)); height: calc(var(--pw) * 2.19); margin-inline: auto; }
.duo .phone { position: absolute; isolation: isolate; }
.phone-reel { left: 0; top: 0; rotate: -4deg; }
.phone-recipe { right: calc(var(--pw) * -.043); top: calc(var(--pw) * .21); }
.disc { position: absolute; z-index: 3; left: calc(100% - var(--pw) * .871 - 24px); top: 37%; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--warm); color: #8A3A14; box-shadow: 0 10px 22px -8px rgb(46 14 0 / .55); }
.disc svg { width: 22px; height: 22px; }
.bubble { position: absolute; z-index: 4; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 0 0 3px rgb(255 243 230 / .92), 0 12px 22px -8px rgb(46 14 0 / .6); }
.bubble svg { width: 54%; height: 54%; }
.b-ig { left: -8px; top: -3%; background: radial-gradient(circle at 30% 107%, #FDF497 0, #FDF497 5%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }
.b-tt { right: -8px; top: 5.5%; background: #111; }
.b-web { right: -8px; top: 64%; background: var(--warm); color: #8A3A14; box-shadow: 0 0 0 3px rgb(26 28 26 / .16), 0 12px 22px -8px rgb(46 14 0 / .6); }
.b-cam { left: -6px; top: 60%; background: var(--char); }
/* the caption sits on the light orange end of the field, where cream reads at 2.5–3.6:1; dark ink reads at 4.5:1 or more */
.hero-cap { margin-top: 14px; text-align: center; font: 600 14px/1.4 var(--font); color: #2B0F04; }

/* the save, inside the two screens (home.js steps through it) */
.share { position: absolute; inset: auto 0 0; height: 45%; padding: 3cqi 5.5cqi 0; border-radius: 7cqi 7cqi 0 0; background: rgb(242 242 247 / .97); translate: 0 104%; transition: translate .55s var(--ease); }
.duo.sheet-up .share { translate: 0 0; }
.share-grab { display: block; width: 12cqi; height: 1.5cqi; margin: 0 auto 4.5cqi; border-radius: 9px; background: #C7C7CC; }
.share-row { display: flex; gap: 5.5cqi; }
.share-app { flex: none; width: 18cqi; display: grid; justify-items: center; gap: 1.8cqi; font: 500 3.2cqi/1 var(--sys); color: #1C1C1E; }
.share-app img, .share-app > i { display: block; width: 18cqi; height: 18cqi; border-radius: 4.2cqi; }
.share-app > i { background: #DCDCE1; }
.share-app b { font-weight: 500; }
.share-list { margin-top: 5.5cqi; display: grid; gap: 2.6cqi; }
.share-list i { display: block; height: 12cqi; border-radius: 3.6cqi; background: #fff; }
.share-app.is-meally { position: relative; }
.share-app.is-meally::after { content: ""; position: absolute; left: 50%; top: 9cqi; width: 18cqi; height: 18cqi; margin: -9cqi 0 0 -9cqi; border-radius: 50%; border: 1.2cqi solid var(--terra-app); opacity: 0; scale: .6; }
.duo.tapped .share-app.is-meally::after { animation: ring .6s ease-out; }
.duo.tapped .share-app.is-meally img { animation: press .5s var(--ease); }
.duo.sent .disc { animation: sent .7s var(--ease); }
.s-recipe { transition: translate .9s var(--ease), opacity .55s ease; }
.s-recipe.is-gone { opacity: 0; }
.s-recipe.is-below { translate: 0 101%; transition: none; }

/* ---------- three ways in ---------- */
/* The live page's three source cards as tiles on the page's own charcoal: a terracotta drawing,
   the heading, one line. home.js adds .is-playing while a tile is on screen. */
.ways { margin-bottom: 32px; display: grid; gap: 12px; }
.way { display: flex; flex-direction: column; padding: 22px; border-radius: 26px; background: #232622; border: 1px solid rgb(255 255 255 / .07); }
.way-art { color: var(--terra); }
.way-art { display: flex; align-items: flex-end; gap: 10px; height: 48px; }
.way-art svg { display: block; width: auto; height: 48px; }
.way-social .way-art svg { height: 42px; }
.way h3 { margin-top: 20px; font: 700 23px/1.1 var(--font); letter-spacing: -.025em; color: var(--cream); }
.way p { margin-top: 7px; font: 400 15.5px/1.45 var(--font); color: #A8ABA5; }
.way-web .ad { opacity: .45; }                                  /* the ad on the page, struck out */
.way-web .cut { stroke-dasharray: 1; }
.way-photo .lens { fill: transparent; }

/* ---------- section labels ---------- */
/* The small label over a section's heading is a soft terracotta pill, on every section of the
   page that has one. */
.eyebrow { margin-bottom: 18px; padding: 6px 12px 7px; border-radius: 99px; background: var(--terra-soft); color: var(--terra-text); font: 700 13px/1 var(--font); letter-spacing: 0; text-transform: none; }

/* ---------- the four app sections, and the picture in Save ---------- */
/* The live page's sections and markup, with a few touches from the new ones: a terracotta pill
   for the label, round terracotta ticks for the list and a faint warm light behind the phone.
   home.js adds .reveal to their parts, so they arrive as they scroll into view; the phones then
   drift like the two in the first section, each on its own beat (--drift). */
.killer-feature-section, .showcase-section { overflow-x: clip; }
.showcase-section + .showcase-section { --drift: -3s; }
.showcase-section + .showcase-section + .showcase-section { --drift: -6s; }
.showcase-section + .showcase-section + .showcase-section + .showcase-section { --drift: -1.5s; }

.showcase-text .check-list li { gap: 12px; }
.showcase-text .check-list li::before { content: ""; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--terra-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F2A774' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 12.6l4 4 8-9'/></svg>") center / 60% no-repeat; }

.showcase-image, .killer-feature-visual { position: relative; isolation: isolate; }
.showcase-image::before, .killer-feature-visual::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: min(640px, 160%); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgb(217 130 74 / .1), rgb(217 130 74 / .035) 56%, transparent); }

/* ---------- questions ---------- */
/* The live page's FAQ, markup untouched (it mirrors the structured data): each question is a
   soft row with a round plus that turns into a terracotta cross. home.js opens and closes a row
   by animating its height; without it the rows open at once, as <details> do. */
.faq-section .faq-list { display: grid; gap: 10px; }
.faq-section .faq-item, .faq-section .faq-item:last-child { padding: 0; border: 1px solid rgb(255 255 255 / .06); border-radius: 22px; background: #232622; overflow: hidden; transition: background-color .3s, border-color .3s; }
.faq-section .faq-item[open]:not(.is-closing) { background: #2A2D29; border-color: rgb(255 255 255 / .11); }
.faq-section .faq-item > summary { align-items: center; gap: 16px; padding: 19px 18px 19px 22px; }
.faq-section .faq-item > summary h3 { font: 600 19px/1.3 var(--font); letter-spacing: -.012em; }
.faq-section .faq-item > summary:hover h3 { color: var(--text-main); }
.faq-section .faq-item > summary::after { width: 32px; height: 32px; margin: 0; border: 0; border-radius: 50%; transform: none; background: rgb(255 255 255 / .08) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FBF8F5' stroke-width='2.2' stroke-linecap='round'><path d='M12 6v12M6 12h12'/></svg>") center / 17px no-repeat; transition: rotate .4s var(--ease), background-color .25s; }
.faq-section .faq-item[open]:not(.is-closing) > summary::after { margin: 0; transform: none; rotate: 45deg; background-color: var(--terra); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1C1A' stroke-width='2.2' stroke-linecap='round'><path d='M12 6v12M6 12h12'/></svg>"); }
.faq-section .faq-item > summary:focus-visible { outline: 2px solid var(--cream); outline-offset: -4px; border-radius: 22px; }
.faq-section .faq-item p { margin: 0; padding: 0 66px 22px 22px; font-size: 16.5px; line-height: 1.6; }
.faq-section .faq-item.is-closing > p { opacity: 0; transition: opacity .2s ease; }

/* ---------- reviews ---------- */
.love { margin: 24px 10px; padding: 64px 0 56px; border-radius: 34px; background: #232622; border: 1px solid rgb(255 255 255 / .07); color: var(--cream); }
.love h2 { font: 800 clamp(38px, 10.6vw, 68px)/.97 var(--font); letter-spacing: -.04em; color: var(--cream); text-wrap: balance; }
.love-stat { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font: 500 16px/1.35 var(--font); color: #A8ABA5; }
.love-stat b { font: 800 46px/1 var(--font); letter-spacing: -.04em; color: var(--cream); }
.love-stat .stars { display: inline-flex; gap: 2px; font-size: 22px; color: #D9824A; translate: 0 -5px; }
.love-stat .stars i { font-style: normal; }
.love-stat > span:last-child { flex-basis: 100%; }
.quotes { margin-top: 30px; display: grid; gap: 12px; }
.quote { margin: 0; padding: 22px 22px 20px; border-radius: 26px; background: #2C2F2B; }
.quote blockquote { margin: 0; font: 500 19px/1.36 var(--font); letter-spacing: -.01em; color: #E2E3E0; text-wrap: pretty; }
.quote figcaption { margin-top: 14px; font-size: 14px; color: #A8ABA5; }
.love-meta { margin-top: 24px; font: 500 14px/1.4 var(--font); color: #A8ABA5; }

/* ---------- download ---------- */
.get { position: relative; isolation: isolate; margin: 24px 10px; padding: 60px 0 64px; border-radius: 34px; text-align: center; color: var(--warm); overflow: clip; background: linear-gradient(180deg, #A9562B 0, #8E4019 44%, #6B2B10 100%); }
.get::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -150px; width: 560px; height: 560px; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgb(255 196 140 / .5), transparent); }
.get-bowl { width: 132px; margin: 0 auto 26px; filter: drop-shadow(0 18px 18px rgb(46 14 0 / .4)); animation: hover 6.5s ease-in-out infinite; }
.get h2 { font: 800 clamp(38px, 10.6vw, 68px)/.97 var(--font); letter-spacing: -.04em; color: var(--warm); text-wrap: balance; }
.get-lede { margin: 16px auto 0; max-width: 21em; font: 500 18px/1.4 var(--font); color: rgb(255 243 230 / .94); text-wrap: balance; }
.get-stores { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.get .store-badge { --bh: 60px; }

/* ---------- motion ---------- */
@keyframes hover { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
@keyframes answer { from { opacity: 0; translate: 0 -6px; } }
@keyframes glow { 50% { opacity: .7; scale: 1.07; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 33% { translate: 3px -8px; } 66% { translate: -3px 4px; } }
@keyframes up { from { opacity: 0; translate: 0 24px; } }
@keyframes rise { from { translate: 0 24px; } }
@keyframes rise-far { from { translate: 0 46px; } }
@keyframes stamp { from { opacity: 0; scale: 1.35; rotate: -11deg; } }
@keyframes pop { from { opacity: 0; scale: .2; } }
@keyframes ring { from { opacity: .9; scale: .6; } to { opacity: 0; scale: 1.7; } }
@keyframes press { 40% { scale: .88; } }
@keyframes cut { from { stroke-dashoffset: 1; opacity: 0; } 12% { opacity: 1; } }
@keyframes fade-ad { from { opacity: 1; } }
@keyframes snap { 35% { fill: currentColor; } }
@keyframes sent { 35% { scale: 1.28; box-shadow: 0 0 0 10px rgb(255 243 230 / .28), 0 10px 22px -8px rgb(46 14 0 / .55); } }

/* entrances: only while home.js is running, so the page reads in full without it */
.js .reveal { opacity: 0; translate: 0 22px; transition: opacity .7s ease, translate .9s var(--ease); }
.js .reveal.in { opacity: 1; translate: 0 0; }
.quote:nth-child(2), .way:nth-child(2), .check-list li:nth-child(2) { transition-delay: .08s; }
.quote:nth-child(3), .way:nth-child(3), .check-list li:nth-child(3) { transition-delay: .16s; }
.check-list li:nth-child(4) { transition-delay: .24s; }
/* the questions come in one after another (--d), without slowing their own hover and open changes */
.js .faq-section .faq-item.reveal { transition: opacity .6s ease var(--d, 0s), translate .8s var(--ease) var(--d, 0s), background-color .3s, border-color .3s; }
.faq-item:nth-child(2) { --d: .05s; }
.faq-item:nth-child(3) { --d: .1s; }
.faq-item:nth-child(4) { --d: .15s; }
.faq-item:nth-child(5) { --d: .2s; }
.faq-item:nth-child(6) { --d: .25s; }
.faq-item:nth-child(7) { --d: .3s; }
.faq-item:nth-child(8) { --d: .35s; }
/* a phone comes up from a little lower and straightens; a tick pops once its row is in */
.js .showcase-image.reveal, .js .killer-feature-visual.reveal { translate: 0 46px; rotate: 2.5deg; transition: opacity .7s ease, translate 1.1s var(--ease), rotate 1.1s var(--ease); }
.js .showcase-row.reverse .showcase-image.reveal:not(.in) { rotate: -2.5deg; }
.js .showcase-image.reveal.in, .js .killer-feature-visual.reveal.in { translate: 0 0; rotate: 0deg; }
.js .check-list li.reveal::before { scale: 0; transition: scale .5s var(--pop) .3s; }
.js .check-list li.reveal.in::before { scale: 1; }

@media (prefers-reduced-motion: no-preference) {
    /* The first screen's entrance: the text comes up line after line, "recipe." is stamped on,
       the phones rise and the four source marks pop in. The headline and the phones are in view
       from the first paint and only move into place; the smaller pieces fade in as well.
       (Starting the phones invisible made browsers time them from the save animation, three
       seconds late, so they never start at opacity 0.) */
    .hero h1 { animation: rise .9s var(--ease) both; }
    .hero-lede, .hero-stores, .hero-note { animation: up .9s var(--ease) both; }
    .hero-lede { animation-delay: .1s; }
    .hero-stores { animation-delay: .18s; }
    .hero-note { animation-delay: .26s; }
    .pill { animation: stamp .75s .5s var(--pop) both; }
    .hero-visual { animation: rise-far 1.1s .15s var(--ease) both; }
    .phone-reel { animation: hover 8s ease-in-out -2s infinite; }
    .showcase-image .device-mockup, .killer-feature-visual .device-mockup { animation: hover 9s ease-in-out var(--drift, 0s) infinite; }
    .showcase-image::before, .killer-feature-visual::before { animation: glow 9s ease-in-out var(--drift, 0s) infinite; }
    .phone-recipe, .disc { animation: hover 9.5s ease-in-out infinite; }
    .bubble { animation: pop .6s var(--pop) both, bob 7s ease-in-out infinite; }
    .b-ig { animation-delay: .9s, -1s; }
    .b-tt { animation-delay: 1.02s, -3.5s; animation-duration: .6s, 8.5s; }
    .b-web { animation-delay: 1.14s, -2s; animation-duration: .6s, 7.5s; }
    .b-cam { animation-delay: 1.26s, -5s; animation-duration: .6s, 9s; }
    .duo.sent .disc { animation: sent .7s var(--ease), hover 9.5s ease-in-out infinite; }
    /* the three tiles: an ad is struck out, the two apps pop in, the camera takes the picture */
    .js .way-web:not(.is-playing) .cut { opacity: 0; }
    .js .way-web:not(.is-playing) .ad { opacity: 1; }
    .way-web.is-playing .cut { animation: cut .55s .55s var(--ease) backwards; }
    .way-web.is-playing .ad { animation: fade-ad .4s 1s backwards; }
    .js .way-social:not(.is-playing) .way-art svg { opacity: 0; }
    .way-social.is-playing .way-art svg { animation: pop .5s .45s var(--pop) backwards; }
    .way-social.is-playing .way-art svg + svg { animation-delay: .62s; }
    .way-photo.is-playing .way-art svg { animation: press .5s .6s var(--ease); }
    .way-photo.is-playing .lens { animation: snap .7s .6s var(--ease); }
    .faq-section .faq-item[open] > p { animation: answer .45s var(--ease) .08s backwards; }
    .js .love-stat:not(.in) .stars i { opacity: 0; }
    .js .love-stat.in .stars i { animation: pop .5s var(--pop) both; animation-delay: calc(.3s + var(--i) * .09s); }
}
@media (prefers-reduced-motion: reduce) {
    .get-bowl { animation: none; }
    .js .reveal, .js .showcase-image.reveal, .js .killer-feature-visual.reveal { opacity: 1; translate: 0 0; rotate: 0deg; transition: none; }
    .js .check-list li.reveal::before { scale: 1; transition: none; }
    .js .faq-section .faq-item.reveal, .faq-section .faq-item > summary::after { transition: none; }
    .share, .s-recipe { transition: none; }
}

/* ---------- tablets ---------- */
@media (min-width: 700px) {
    .hero { --top: 116px; }
    .hero h1 { --size: clamp(80px, 12.5vw, 104px); }
    .hero-lede { font-size: 20px; }
    .duo { --pw: 290px; }
    .bubble { width: 56px; height: 56px; }
    .ways { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
    .way h3 { margin-top: 40px; }  /* a fixed step under the drawing, so the three headings line up */
    .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
    .love, .get { margin-inline: 20px; }
}

/* ---------- desktop ---------- */
@media (min-width: 1000px) {
    .hero { --top: 168px; padding-bottom: 112px; border-radius: 0 0 48px 48px; background: linear-gradient(112deg, #6B2B10 0, #873B17 26%, #A6522A 47%, #D07A43 72%, #D9824A 100%); }
    .hero::before { left: 73%; bottom: auto; top: 50%; width: 900px; height: 900px; translate: -50% -50%; }
    .hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); align-items: center; column-gap: 28px; }
    .hero h1 { --size: clamp(88px, 9.4vw, 138px); }
    .hero-lede { margin-top: 30px; font-size: 26px; line-height: 1.32; max-width: 18em; text-wrap: balance; }
    .hero-stores { margin-top: 32px; gap: 14px; }
    .hero .store-badge { --bh: 56px; }
    .store-badge:hover { scale: 1.03; }
    .os-other .qr-block { display: flex; flex-basis: 100%; align-items: center; gap: 14px; margin-top: 6px; }
    .qr-tile { width: 86px; height: 86px; border-radius: 14px; display: grid; place-items: center; background: #FEFDFB; color: var(--char); }
    .qr-label { font: 400 14px/1.35 var(--font); color: rgb(255 243 230 / .9); }
    .qr-label b { display: block; font-weight: 600; color: var(--warm); }
    .hero-note { margin-top: 18px; font-size: 14px; }
    .hero-rating { padding-left: 8px; font-size: 13px; }
    .hero-rating b { font-size: 20px; }
    .hero-visual { margin-top: 0; }
    .duo { --pw: clamp(260px, 23.5vw, 322px); width: calc(var(--pw) * 1.63); }
    .phone-reel { rotate: -5deg; }
    .disc { width: 58px; height: 58px; left: calc(100% - var(--pw) * .871 - 29px); }
    .disc svg { width: 26px; height: 26px; }
    .bubble { width: 64px; height: 64px; }
    .b-ig { left: -22px; }
    .b-tt, .b-web { right: -24px; }
    .b-cam { left: -26px; }
    .hero-cap { font-size: 15px; }

    .ways { gap: 20px; margin-bottom: 40px; }
    .way { padding: 28px 28px 30px; border-radius: 32px; }
    .way h3 { margin-top: 48px; font-size: 25px; }
    .way p { font-size: 16px; }

    .faq-section .faq-item > summary { padding: 22px 22px 22px 26px; }
    .faq-section .faq-item > summary h3 { font-size: 20px; }
    .faq-section .faq-item p { padding: 0 80px 24px 26px; font-size: 17px; }
    .faq-section .faq-item > summary:hover::after { background-color: rgb(255 255 255 / .16); }
    .faq-section .faq-item[open]:not(.is-closing) > summary:hover::after { background-color: var(--terra); }

    .love { margin-inline: 24px; padding: 110px 0 96px; border-radius: 48px; }
    .love-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
    .love-stat { margin: 0; flex: none; max-width: 300px; font-size: 17px; }
    .love-stat b { font-size: 64px; }
    .quotes { margin-top: 52px; gap: 20px; }
    .quote { padding: 30px; border-radius: 32px; }
    .quote blockquote { font-size: 21px; }
    .love-meta { margin-top: 32px; font-size: 15px; }

    .get { margin-inline: 24px; padding: 104px 0 110px; border-radius: 48px; }
    .get::before { width: 900px; height: 900px; top: -360px; }
    .get-bowl { width: 176px; margin-bottom: 34px; }
    .get-lede { font-size: 21px; max-width: 30em; }
    .get-stores { margin-top: 34px; }
    .get .store-badge { --bh: 60px; }
}

/* laptops with a short window: a little smaller, so the buttons and both phones stay on the
   first screen, but with the same room around them */
@media (min-width: 1000px) and (max-height: 820px) {
    .hero { --top: 140px; padding-bottom: 84px; }
    .hero h1 { --size: clamp(76px, 7.7vw, 104px); }
    .hero-lede { margin-top: 22px; font-size: 23px; }
    .hero-stores { margin-top: 24px; }
    .hero-note { margin-top: 16px; }
    .duo { --pw: clamp(240px, 36vh, 300px); }
}
