/* Cucinami — sito. Colori presi dall'app (src/theme/index.ts): rosa del fondo, terracotta del logo,
   verde di Plus, bianco. Niente altri toni: se l'app cambia colore, si cambia qui. */
/* Caratteri ospitati qui (OFL, da Fontsource): nessuna richiesta a servizi esterni. */
@font-face { font-family: 'Figtree'; font-style: normal; font-display: swap; font-weight: 300 900; src: url('assets/fonts/figtree-latin-wght-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-display: swap; font-weight: 400 900; src: url('assets/fonts/playfair-display-latin-wght-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  /* app: bg, primarySoft, primary, primaryPressed, text, textSecondary, border */
  --bg: #FAE9DD;
  --white: #FFFFFF;
  --blush: #FADFD5;
  --red: #B5482D;
  --red-mid: #B5482D;
  --red-deep: #963A23;
  --ink: #292524;
  --muted: #6B5E59;
  --line: #ECD5CA;
  --phone: #1C1917;
  /* app: fondo a onde rosa (roseBg*) e verde di Plus */
  --rose-top: #FCF1EA;
  --rose: #FAE9DD;
  --rose-bottom: #F5D6C6;
  --rose-wave: #F1CDBC;
  --plus: #3E6B27;
  --plus-soft: #EAF0E1;
  --plus-bg: #F1F2E8;
  --plus-wave: #D3E1C1;

  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;

  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(96px, 12vw, 176px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --soft-shadow: 0 24px 60px -24px rgba(80, 38, 20, 0.22), 0 2px 6px rgba(80, 38, 20, 0.04);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 8px; }

/* ---------- tipografia ---------- */
.display { font-weight: 600; font-size: clamp(50px, 7.4vw, 112px); line-height: 0.98; letter-spacing: -0.045em; }
.display-md { font-size: clamp(42px, 5.6vw, 84px); }
.h2 { font-weight: 600; font-size: clamp(38px, 5.2vw, 76px); line-height: 1.02; letter-spacing: -0.04em; text-align: center; text-wrap: balance; }
.h3 { font-weight: 600; font-size: clamp(34px, 4vw, 58px); line-height: 1.02; letter-spacing: -0.035em; }
.lead { margin: 22px auto 0; max-width: 700px; text-align: center; font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); }
.h2-light { color: var(--white); }
.lead-light { color: rgba(255, 255, 255, 0.94); }

/* ---------- marchio ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--red); font-family: var(--serif); font-size: 27px; letter-spacing: -0.01em; line-height: 1; }
.brand img { width: 28px; height: auto; }

/* ---------- pulsanti store (rosso del logo) ---------- */
.store {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 58px; padding: 0 26px 0 22px; border-radius: 999px;
  background: var(--red); color: var(--white); text-decoration: none;
  font-weight: 600; font-size: 18px; line-height: 1.05; letter-spacing: -0.01em;
  box-shadow: 0 14px 28px -12px rgba(196, 71, 38, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 220ms var(--ease-out), background-color 220ms, box-shadow 220ms;
}
.store span { display: grid; text-align: left; }
.store small { font-size: 11.5px; font-weight: 500; opacity: 0.85; letter-spacing: 0; }
.store .glyph { width: 22px; height: 22px; fill: currentColor; flex: none; }
.store-sm { min-height: 40px; padding: 0 16px 0 13px; font-size: 14.5px; gap: 7px; box-shadow: 0 8px 18px -10px rgba(196, 71, 38, 0.55); }
.store-sm .glyph { width: 16px; height: 16px; }
@media (hover: hover) {
  a.store:hover { background: var(--red-deep); transform: translateY(-2px); box-shadow: 0 18px 32px -12px rgba(166, 58, 30, 0.6); }
}
a.store:active { transform: translateY(0) scale(0.98); }
.store-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ---------- navigazione: pillola che galleggia ---------- */
.nav { position: fixed; z-index: 50; top: 16px; left: 0; right: 0; padding-inline: var(--gutter); pointer-events: none; }
.nav-pill {
  pointer-events: auto;
  width: min(1040px, 100%); margin-inline: auto;
  display: flex; align-items: center; gap: 24px;
  padding: 9px 9px 9px 22px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 12px 32px -16px rgba(80, 38, 20, 0.22);
}
.nav-links { margin-left: auto; display: flex; gap: clamp(20px, 3vw, 44px); font-size: 16px; font-weight: 500; }
.nav-links a { text-decoration: none; padding-block: 8px; }
@media (hover: hover) { .nav-links a:hover { color: var(--red); } }
.nav-stores { margin-left: auto; display: flex; gap: 8px; }
.nav-cta { display: none; }
@media (max-width: 899px) {
  .nav-links, .nav-stores { display: none; }
  .nav-cta { display: inline-flex; margin-left: auto; padding: 0 20px; }
  .nav-pill { padding-left: 18px; }
}

/* ---------- 1 · hero ---------- */
.hero {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(132px, 15vw, 176px) var(--gutter) 0;
  background: url('assets/waves-rose.svg') center / 100% 100% no-repeat, linear-gradient(180deg, var(--rose-top) 0%, var(--rose) 45%, var(--rose-bottom) 100%);
}
.hero::after { content: ''; position: absolute; inset: auto 0 0; height: 90px; background: linear-gradient(rgba(255,255,255,0), #FFFFFF); pointer-events: none; z-index: 3; }
.hero-copy { position: relative; z-index: 2; }
.hero-lead { margin: 26px auto 34px; max-width: 620px; font-size: clamp(18px, 1.55vw, 22px); line-height: 1.45; color: var(--muted); }
.hero-note { margin-top: 16px; font-size: 14.5px; color: var(--muted); }

.hero-stage { position: relative; width: min(1120px, 100%); height: clamp(430px, 46vw, 560px); margin: clamp(40px, 5vw, 64px) auto 0; }
.float-card { position: absolute; z-index: 4; display: grid; text-align: left; background: rgba(255, 255, 255, 0.94); border-radius: 22px; box-shadow: var(--soft-shadow); }
.chip-card { left: 6%; top: 34px; grid-auto-flow: column; align-items: center; gap: 14px; padding: 16px 26px 16px 16px; font-size: 18px; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
.play { width: 50px; height: 50px; border-radius: 50%; background: var(--blush); display: grid; place-items: center; }
.play svg { width: 22px; height: 22px; fill: var(--red); margin-left: 3px; }
.stat-card { padding: 20px 24px 22px; }
.stat-left { left: 12%; top: 210px; }
.stat-right { right: 6%; top: 120px; max-width: 250px; }
.stat-icon, .stat-check { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 12px; }
.stat-icon { background: var(--blush); }
.stat-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; }
.stat-check { background: var(--red); }
.stat-check svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.stat-label { font-size: 15px; color: var(--muted); }
.stat-card strong { font-weight: 700; font-size: 30px; letter-spacing: -0.03em; line-height: 1.1; }
.stat-left strong { font-size: 44px; color: var(--red); }

/* ---------- telefoni (interfaccia dell'app in HTML) ---------- */
.phone {
  position: absolute; width: 330px; height: 690px; padding: 11px;
  background: var(--phone); border-radius: 56px;
  box-shadow: 0 0 0 1.5px #3A3431 inset, 0 50px 90px -30px rgba(60, 25, 10, 0.45);
}
.screen { position: relative; height: 100%; overflow: hidden; border-radius: 46px; background: #FBF8F4; font-size: 13px; color: var(--ink); text-align: left; }
.island { position: absolute; z-index: 5; top: 11px; left: 50%; width: 100px; height: 29px; margin-left: -50px; border-radius: 20px; background: #000; }
.status { position: relative; z-index: 4; display: flex; justify-content: space-between; align-items: center; height: 50px; padding: 4px 30px 0 34px; font-size: 14px; font-weight: 600; }
.status-icons { display: flex; gap: 5px; align-items: center; }
.status-icons i { display: block; background: currentColor; }
.status-icons .sig { width: 16px; height: 10px; clip-path: polygon(0 100%, 22% 100%, 22% 70%, 0 70%, 0 100%, 26% 100%, 26% 50%, 48% 50%, 48% 100%, 52% 100%, 52% 30%, 74% 30%, 74% 100%, 78% 100%, 78% 0, 100% 0, 100% 100%); }
.status-icons .wifi { width: 14px; height: 10px; border-radius: 10px 10px 0 0; clip-path: polygon(50% 100%, 0 20%, 100% 20%); }
.status-icons .bat { width: 23px; height: 11px; border-radius: 3.5px; }

.phone-hero { left: 50%; top: 0; margin-left: -165px; z-index: 2; }
.recipe-photo { position: absolute; inset: 50px 0 auto; height: 210px; }
.recipe-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-btn { position: absolute; top: 12px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); display: grid; place-items: center; font-size: 18px; font-weight: 700; line-height: 1; }
.photo-btn.left { left: 18px; }
.photo-btn.right { right: 18px; }
.recipe-sheet { position: absolute; inset: 226px 0 0; background: #FBF8F4; border-radius: 26px 26px 0 0; padding: 22px 18px 0; }
.app-title { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.app-meta { margin-top: 4px; color: var(--muted); font-size: 13px; }
.app-tabs { display: flex; gap: 22px; margin: 16px 0 10px; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.app-tabs span { padding-bottom: 9px; }
.app-tabs .on { color: var(--red); font-weight: 600; box-shadow: inset 0 -2px 0 var(--red); }
.ing-list li { display: flex; align-items: center; gap: 12px; padding: 9px 12px; margin-bottom: 7px; background: #fff; border-radius: 14px; }
.ing-list i { width: 38px; height: 38px; border-radius: 11px; background: #F7EFE8; display: grid; place-items: center; font-style: normal; font-size: 19px; }
.ing-list span { display: grid; flex: 1; line-height: 1.25; }
.ing-list b { font-weight: 600; font-size: 13.5px; }
.ing-list small { color: var(--muted); font-size: 12px; }
.ing-list em { font-style: normal; color: #B8ADA5; font-size: 18px; }

/* ---------- 2 · fiducia + nastro ---------- */
.proof { padding: clamp(80px, 9vw, 120px) 0 var(--section); text-align: center; }
.laurels { display: flex; justify-content: center; gap: clamp(24px, 5vw, 64px); margin-bottom: 36px; color: #7F736B; }
.laurel { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; line-height: 1.2; font-weight: 500; }
.laurel svg { width: 30px; height: 44px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }
.laurel .flip { transform: scaleX(-1); }
.dish-marquee { margin-top: clamp(48px, 6vw, 80px); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.dish-track { display: flex; gap: 18px; width: max-content; padding-block: 8px; }
.dish { position: relative; width: clamp(230px, 22vw, 300px); aspect-ratio: 3 / 4.2; border-radius: 26px; overflow: hidden; flex: none; background: #EFE7DD; }
.dish img { width: 100%; height: 100%; object-fit: cover; }
.dish-stat { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; white-space: nowrap; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.95); font-size: 13.5px; font-weight: 600; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.3); }
.dish-stat svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.dish-stat.rings { gap: 6px; font-size: 10.5px; font-weight: 500; color: var(--muted); }
.dish-stat.rings i { width: 22px; height: 22px; border-radius: 50%; background: conic-gradient(var(--ring, var(--red)) calc(var(--p) * 1%), #F2E6DD 0); -webkit-mask: radial-gradient(circle, transparent 7px, #000 7.5px); mask: radial-gradient(circle, transparent 7px, #000 7.5px); margin-left: 4px; }
.dish-stat.sage i { --ring: var(--plus); }
.dish figcaption { position: absolute; left: 14px; bottom: 14px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.95); font-size: 13.5px; font-weight: 600; }

/* ---------- 3 · problema ---------- */
.problem { padding: 0 var(--gutter) var(--section); }
.section-head { margin-bottom: clamp(48px, 6vw, 80px); }
.pain-grid { width: min(1200px, 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pain { position: relative; min-height: 540px; padding: 38px 34px; border-radius: 32px; overflow: hidden; box-shadow: 0 1px 0 rgba(80, 38, 20, 0.04), 0 30px 60px -40px rgba(80, 38, 20, 0.25); }
.pain h3 { font-size: clamp(26px, 2.3vw, 32px); font-weight: 600; line-height: 1.1; letter-spacing: -0.025em; }
.pain p { margin-top: 12px; max-width: 290px; color: var(--muted); font-size: 16.5px; }
.pain-peach { background: linear-gradient(180deg, #FFFFFF 0%, var(--rose-top) 42%, var(--rose-bottom) 100%); }
.pain-sage { background: linear-gradient(180deg, #FFFFFF 0%, var(--plus-bg) 42%, var(--plus-wave) 100%); }
.pain-butter { background: linear-gradient(180deg, #FFFFFF 0%, var(--blush) 42%, var(--rose-wave) 100%); }
.pain-art { position: absolute; left: 0; right: 0; bottom: 0; height: 300px; }

.shots .shot { position: absolute; left: 26px; bottom: 30px; width: 150px; height: 228px; border-radius: 16px; background: #fff; overflow: hidden; box-shadow: 0 16px 30px -18px rgba(80, 38, 20, 0.45); transform-origin: 30% 100%; transform: translateX(calc(var(--i) * 34px)) rotate(calc(var(--i) * 5deg - 6deg)); }
.shots .shot img { width: 100%; height: 52%; object-fit: cover; }
.shots .front { z-index: 2; }
.shots .front b { display: block; padding: 10px 11px 6px; font-size: 12px; line-height: 1.2; }
.shots .front i { display: block; height: 6px; margin: 6px 11px 0; border-radius: 4px; background: #EFE6DE; }
.shots .front i.short { width: 50%; }
.shots-count { position: absolute; right: 26px; bottom: 34px; display: grid; text-align: right; font-size: 13px; color: var(--muted); line-height: 1.2; z-index: 3; }
.shots-count strong { font-size: clamp(56px, 5vw, 74px); line-height: 1; font-weight: 700; letter-spacing: -0.05em; color: var(--red); }

.scrub .player { position: absolute; left: 7%; right: 7%; top: 130px; height: 50px; display: flex; align-items: center; gap: 12px; padding: 0 16px; border-radius: 14px; background: #2A2320; color: #fff; box-shadow: 0 18px 30px -18px rgba(0, 0, 0, 0.5); }
.scrub .play-i { width: 0; height: 0; border-left: 12px solid #fff; border-block: 8px solid transparent; }
.scrub .bar { position: relative; flex: 1; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--red) 70%, rgba(255, 255, 255, 0.3) 0); }
.scrub .bar i { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 2.5px #fff; }
.scrub .bar .m1 { left: 18%; }
.scrub .bar .head { left: 44%; background: #fff; box-shadow: none; }
.scrub .bar .m2 { left: 70%; }
.scrub .time { font-size: 12px; opacity: 0.85; }
.bubble { position: absolute; padding: 9px 14px; border-radius: 12px; background: #fff; font-size: 15px; white-space: nowrap; box-shadow: 0 12px 24px -14px rgba(0, 0, 0, 0.35); }
.bubble b { color: var(--red); font-weight: 700; }
.bubble::after { content: ''; position: absolute; left: 50%; width: 0; border-left: 1.5px dashed #9A8F87; height: 34px; }
.b1 { left: 12%; top: 44px; }
.b1::after, .b2::after { top: 100%; }
.b2 { left: 56%; top: 44px; }
.b3 { left: 36%; top: 220px; }
.b3::after { bottom: 100%; }

.gauge svg { position: absolute; left: 50%; bottom: 46px; width: 82%; max-width: 280px; transform: translateX(-50%); overflow: visible; }
.gauge path { fill: none; stroke-width: 26; stroke-linecap: round; }
.g-track { stroke: #F3C6B2; }
.g-fill { stroke: var(--red); stroke-dasharray: 283; stroke-dashoffset: 92; }
.gauge-num { position: absolute; left: 0; right: 0; bottom: 48px; display: grid; justify-items: center; font-size: 16px; line-height: 1.2; color: #4E443E; }
.gauge-num strong { font-size: clamp(64px, 6vw, 88px); line-height: 1; font-weight: 700; letter-spacing: -0.05em; color: var(--red); }

/* ---------- 4 · sezione rossa ---------- */
.statement { position: relative; overflow: hidden; text-align: center; padding: clamp(64px, 8vw, 110px) var(--gutter) clamp(90px, 10vw, 140px); background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(255, 255, 255, 0.1), transparent 70%), var(--red); }
.statement-art { position: relative; width: min(1180px, 100%); margin: 0 auto clamp(18px, 3vw, 36px); }
.statement-art img { width: 100%; height: auto; --fade: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent), linear-gradient(transparent, #000 18%, #000 80%, transparent); -webkit-mask-image: var(--fade); -webkit-mask-composite: source-in; mask-image: var(--fade); mask-composite: intersect; }
.tag { position: absolute; top: 84%; left: var(--x); transform: translateX(-50%); padding: 8px 20px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.1); color: #fff; font-size: clamp(13px, 1.2vw, 17px); font-weight: 500; white-space: nowrap; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tag.on { border-color: rgba(255, 255, 255, 0.9); background: rgba(255, 255, 255, 0.2); box-shadow: 0 0 28px rgba(250, 223, 213, 0.55); }

/* ---------- 5 · schede che si impilano ---------- */
.stack { padding: 40px var(--gutter) var(--section); background: var(--red); }
.stack-card {
  position: sticky; top: 110px;
  width: min(1180px, 100%); height: 580px; margin: 0 auto 30px;
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center;
  padding: 0 clamp(36px, 5vw, 76px); border-radius: 36px;
  box-shadow: 0 -10px 40px -20px rgba(60, 15, 5, 0.45);
  transform-origin: 50% 0; transform: scale(var(--s, 1)); filter: brightness(var(--b, 1));
}
.stack-card:last-child { margin-bottom: 0; }
.tone-blush { background: linear-gradient(130deg, var(--rose-top) 10%, var(--rose) 100%); }
.tone-sage { background: linear-gradient(130deg, var(--plus-bg) 10%, var(--plus-wave) 100%); }
.tone-butter { background: linear-gradient(130deg, #FFFFFF 10%, var(--blush) 100%); }
.tone-peach { background: linear-gradient(130deg, var(--rose-top) 10%, var(--rose-bottom) 100%); }
.stack-copy p { margin-top: 24px; max-width: 440px; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.55; color: var(--muted); }
.phone-stack { right: clamp(36px, 6vw, 96px); top: -46px; height: calc(100% + 46px + 140px); clip-path: inset(0 0 140px 0); }

.app-bar { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; padding: 4px 18px 10px; }
.round { width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 15px; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06); }
.round.red { background: var(--red); color: #fff; font-size: 20px; }
.brand-title { font-family: var(--serif); color: var(--red); font-size: 21px; }
.brand-title.red-title { font-family: var(--sans); font-weight: 700; color: var(--red); font-size: 16px; }
.scr-pad { padding: 4px 14px 0; }
.card { background: #fff; border-radius: 18px; padding: 14px; margin-bottom: 10px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); }
.progress-card { display: flex; align-items: center; gap: 10px; }
.progress-card img { width: 86px; height: 86px; object-fit: contain; mix-blend-mode: multiply; }
.progress-card b { display: block; font-size: 15px; line-height: 1.25; font-weight: 600; }
.progress-card .bar { display: block; margin-top: 10px; height: 6px; border-radius: 6px; background: #F4E5DE; overflow: hidden; }
.progress-card .bar i { display: block; height: 100%; width: 62%; border-radius: inherit; background: var(--red); animation: load 3.2s var(--ease-out) infinite; }
.done { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.tick-i { width: 18px; height: 18px; border-radius: 50%; background: var(--red); position: relative; }
.tick-i::after { content: ''; position: absolute; left: 6px; top: 3.5px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.draft-title { margin: 8px 0 10px; font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
.mini-head { font-weight: 600; font-size: 13px; margin-bottom: 6px; }
.dots li { position: relative; padding-left: 14px; font-size: 12px; line-height: 1.9; color: #4C433D; }
.dots li::before { content: ''; position: absolute; left: 2px; top: 10px; width: 4px; height: 4px; border-radius: 50%; background: var(--red); }
.app-btn { display: flex; justify-content: center; gap: 10px; margin-top: 12px; padding: 12px; border-radius: 12px; background: var(--red); color: #fff; font-weight: 600; font-size: 13px; }
.app-btn i { font-style: normal; }
.scr-title { display: flex; justify-content: space-between; align-items: baseline; margin: 2px 4px 12px; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.scr-title small { font-size: 12px; color: var(--red); font-weight: 600; letter-spacing: 0; }
.aisle { padding: 12px 14px 6px; }
.aisle-head { font-weight: 600; font-size: 13.5px; margin-bottom: 4px; }
.aisle .row { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid #F3ECE5; font-size: 13px; }
.aisle .row i { width: 17px; height: 17px; border-radius: 50%; border: 1.6px solid var(--red); flex: none; }
.aisle .row i.on { background: var(--red); }
.aisle .row s { color: #A99D95; }
.aisle .row em { margin-left: auto; font-style: normal; font-size: 11.5px; color: var(--muted); }
.days { display: flex; justify-content: space-between; margin: 4px 0 14px; }
.days span { padding: 6px 13px; border-radius: 999px; font-size: 13px; font-weight: 500; }
.days .on { background: var(--red); color: #fff; }
.plan-row { display: flex; align-items: center; gap: 12px; padding: 10px; }
.plan-row img { width: 54px; height: 54px; border-radius: 12px; object-fit: cover; }
.plan-row span { flex: 1; display: grid; font-size: 13px; font-weight: 600; line-height: 1.3; }
.plan-row small { font-weight: 500; font-size: 11.5px; color: var(--muted); }
.plan-row em { font-style: normal; color: #B8ADA5; }
.drop { margin-top: 6px; padding: 16px; border-radius: 14px; border: 1.5px dashed #E3B6A6; color: var(--red); font-size: 12.5px; text-align: center; }
.step-dots { display: flex; gap: 5px; }
.step-dots i { width: 7px; height: 7px; border-radius: 50%; background: #E9DDD4; }
.step-dots i.on { background: var(--red); }
.step-k { margin: 8px 4px 6px; color: var(--red); font-weight: 600; font-size: 13px; }
.step-text { margin: 0 4px 16px; font-size: 22px; line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; }
.cook-photo { position: relative; height: 330px; border-radius: 22px; overflow: hidden; }
.cook-photo img { width: 100%; height: 100%; object-fit: cover; }
.timer { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 20px; border-radius: 999px; background: rgba(255, 255, 255, 0.95); font-size: 22px; font-weight: 700; }
.timer i { width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; font-style: normal; font-size: 12px; display: grid; place-items: center; }

/* ---------- 6 · tre passi ---------- */
.steps { padding: var(--section) var(--gutter); text-align: center; }
.step-grid { width: min(1180px, 100%); margin: clamp(48px, 6vw, 80px) auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.step-panel { position: relative; aspect-ratio: 1 / 1.08; border-radius: 30px; background: #FAF6F1; display: grid; place-items: center; overflow: hidden; }
.step-img { width: 82%; height: auto; mix-blend-mode: multiply; }
.step-n { display: block; margin-top: 26px; font-size: clamp(44px, 4vw, 60px); line-height: 1; font-weight: 600; color: var(--red); letter-spacing: -0.04em; }
.step-grid h3 { margin-top: 12px; font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -0.02em; }
.step-grid p { margin: 8px auto 0; max-width: 320px; color: var(--muted); font-size: 16.5px; }
.mini-phone { position: relative; width: 62%; height: 88%; margin-top: 8%; align-self: end; padding: 44px 10px 0; border: 7px solid var(--phone); border-bottom: 0; border-radius: 36px 36px 0 0; background: #F4F1EE; text-align: left; font-size: 11px; }
.mini-phone .island { top: 8px; width: 70px; height: 20px; margin-left: -35px; }
.share-head { display: flex; gap: 8px; align-items: center; padding: 8px; border-radius: 12px; background: #fff; }
.share-head img { width: 38px; height: 38px; border-radius: 8px; object-fit: cover; }
.share-head span { display: grid; line-height: 1.25; }
.share-head small { color: var(--muted); font-size: 9.5px; }
.share-apps { display: flex; justify-content: space-between; padding: 12px 4px; }
.share-apps i { width: 30px; height: 30px; border-radius: 9px; background: var(--c); }
.share-pick { display: flex; align-items: center; gap: 10px; margin: 0 -14px 8px; padding: 10px 14px; border-radius: 14px; background: #fff; box-shadow: 0 14px 30px -14px rgba(80, 38, 20, 0.4); font-size: 13px; }
.pick-icon { width: 28px; height: 28px; border-radius: 8px; background: var(--red); display: grid; place-items: center; flex: none; }
.pick-icon img { width: 15px; height: auto; filter: brightness(0) invert(1); }
.share-row { padding: 10px 8px; border-top: 1px solid #E8E2DC; background: #fff; }

/* ---------- 7 · domande ---------- */
.faq { padding: 0 var(--gutter) clamp(80px, 9vw, 120px); }
.qa-list { width: min(780px, 100%); margin: clamp(36px, 4vw, 56px) auto 0; }
.qa { border-bottom: 1px solid var(--line); }
.qa button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; text-align: left; font-size: clamp(17px, 1.5vw, 20px); font-weight: 600; letter-spacing: -0.01em; }
.qa-icon { position: relative; width: 18px; height: 18px; flex: none; }
.qa-icon::before, .qa-icon::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; border-radius: 2px; background: var(--red); transition: transform 300ms var(--ease-out); }
.qa-icon::after { transform: rotate(90deg); }
.qa.is-open .qa-icon::after { transform: rotate(0deg); }
.qa-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 420ms var(--ease-out); }
.qa.is-open .qa-panel { grid-template-rows: 1fr; }
.qa-panel > div { overflow: hidden; }
.qa-panel p { padding: 0 40px 26px 0; color: var(--muted); font-size: 16.5px; }
.no-js .qa-panel { grid-template-rows: 1fr; }

/* ---------- 8 · invito finale ---------- */
.cta { padding: 0 var(--gutter); }
.cta-band { width: min(1320px, 100%); margin: 0 auto; padding: clamp(80px, 9vw, 120px) 24px; border-radius: 40px; text-align: center; background: url('assets/waves-rose.svg') center / 100% 100% no-repeat, linear-gradient(180deg, var(--rose-top) 0%, var(--rose) 45%, var(--rose-bottom) 100%); }
.cta-lead { margin: 18px 0 32px; font-size: 18px; color: var(--muted); }

/* ---------- piè di pagina ---------- */
.footer { width: min(1320px, 100% - var(--gutter) * 2); margin: 0 auto; padding: 44px 0 36px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.footer .brand { font-size: 30px; }
.footer-brand p { margin-top: 10px; font-size: 15px; color: var(--muted); }
.footer-links { display: flex; gap: clamp(20px, 3vw, 44px); flex-wrap: wrap; font-size: 16px; color: #4E443E; }
.footer-links a { text-decoration: none; padding-block: 6px; }
@media (hover: hover) { .footer-links a:hover { color: var(--red); } }
.footer-note { margin-top: 26px; font-size: 13px; color: #776B63; }

/* ---------- tablet e telefono ---------- */
@media (max-width: 1099px) {
  .stat-left { left: 2%; }
  .stat-right { right: 0; }
  .chip-card { left: 0; }
}
@media (max-width: 899px) {
  .hero-stage { height: 470px; }
  .phone-hero { scale: 0.86; transform-origin: 50% 0; }
  .chip-card { top: 0; left: 2%; padding: 12px 18px 12px 12px; font-size: 15px; }
  .play { width: 40px; height: 40px; }
  .stat-left { display: none; }
  .stat-right { top: 300px; right: 2%; max-width: 190px; padding: 16px 18px; }
  .stat-right strong { font-size: 22px; }
  .pain-grid { grid-template-columns: 1fr; max-width: 520px; }
  .pain { min-height: 500px; }
  .stack-card { position: relative; top: 0; height: auto; grid-template-columns: minmax(0, 1fr); padding: 44px 24px 0; overflow: hidden; transform: none; filter: none; }
  .stack-copy { text-align: center; }
  .stack-copy p { margin-inline: auto; }
  .phone-stack { position: relative; right: auto; top: 0; justify-self: center; width: 290px; height: 610px; margin: 34px 0 -160px; clip-path: none; }
  .step-grid { grid-template-columns: 1fr; max-width: 420px; }
  .tag { font-size: 12px; padding: 5px 12px; top: 86%; }
}
@media (max-width: 520px) {
  .phone-hero { scale: 0.78; }
  .stat-right { top: 270px; }
  .store { min-height: 54px; font-size: 17px; }
  .dish { width: 220px; }

}

/* ---------- pagine di testo (le classi .page-top, .mini-footer, .doc servono anche all'app) ---------- */
.page-top { width: min(1320px, 100% - var(--gutter) * 2); margin-inline: auto; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 22px; }
.page-top nav { display: flex; gap: 28px; font-size: 16px; font-weight: 500; flex-wrap: wrap; }
.page-top nav a { text-decoration: none; }
@media (hover: hover) { .page-top nav a:hover { color: var(--red); } }
@media (max-width: 480px) { .page-top nav { gap: 6px 18px; font-size: 15px; justify-content: flex-end; } .page-top .brand span { display: none; } }
.doc { width: min(760px, 100% - var(--gutter) * 2); margin: 0 auto; padding: clamp(40px, 7vw, 90px) 0 var(--section); }
.doc-head { margin-bottom: clamp(36px, 5vw, 56px); }
.doc-head h1 { font-weight: 600; font-size: clamp(44px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.04em; }
.doc-head p { margin-top: 16px; color: var(--muted); font-size: 18px; }
.doc-body { font-size: 17px; line-height: 1.7; }
.doc-body h2 { font-weight: 600; font-size: clamp(26px, 3vw, 34px); line-height: 1.15; letter-spacing: -0.03em; margin: 52px 0 14px; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body h3 { font-size: 18px; font-weight: 700; margin: 28px 0 6px; }
.doc-body p + p { margin-top: 14px; }
.doc-body ul, .doc-body ol { padding-left: 22px; list-style: disc; margin: 12px 0; }
.doc-body ol { list-style: decimal; }
.doc-body li + li { margin-top: 8px; }
.doc-body a { color: var(--red-deep); text-underline-offset: 3px; }
.doc-body table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 16px; background: var(--white); border-radius: 18px; overflow: hidden; }
.doc-body th, .doc-body td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid #F0E7DE; }
.doc-body th { font-weight: 700; background: #FBF7F2; }
.callout { background: var(--blush); border-radius: 18px; padding: 20px 22px; margin-top: 22px; }
.todo { background: var(--blush); padding: 0 0.3em; border-radius: 5px; }
.steps-big { counter-reset: s; display: grid; gap: 16px; margin: 18px 0 !important; padding: 0 !important; list-style: none !important; }
.steps-big li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; background: var(--white); border-radius: 18px; padding: 16px 20px; margin: 0 !important; }
.steps-big li::before { content: counter(s); width: 36px; height: 36px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-weight: 700; }
.mini-footer { width: min(1320px, 100% - var(--gutter) * 2); margin: 0 auto 32px; background: var(--red); color: #fff; border-radius: 28px; padding: 34px clamp(24px, 4vw, 48px); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px 32px; font-size: 16px; }
.mini-footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.mini-footer a { text-decoration: none; }
@media (hover: hover) { .mini-footer a:hover { text-decoration: underline; text-underline-offset: 3px; } }
body:has(.doc) { background: var(--bg); }

/* ---------- movimento (contenuto sempre visibile senza JavaScript) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-load] { opacity: 0; transform: translateY(26px); animation: rise 1000ms var(--ease-out) forwards; animation-delay: calc(var(--d, 0) * 110ms + 80ms); }
  .js .phone-hero[data-load] { transform: translateY(120px); animation-duration: 1300ms; }
  .js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 900ms var(--ease-out), transform 1000ms var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .dish-track { animation: marquee 48s linear infinite; }
  .dish-marquee:hover .dish-track { animation-play-state: paused; }
  .js .float-card[data-load] { animation-name: rise, bob; animation-duration: 1000ms, 6s; animation-timing-function: var(--ease-out), ease-in-out; animation-iteration-count: 1, infinite; animation-delay: calc(var(--d, 0) * 110ms + 80ms), calc(var(--d, 0) * 300ms + 1.2s); animation-fill-mode: forwards, none; }
  .stack-card { transition: transform 120ms linear, filter 120ms linear; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { margin-top: 0; } 50% { margin-top: -8px; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes load { 0% { width: 8%; } 70%, 100% { width: 92%; } }

/* ---------- pagine guida e /scarica ---------- */
.doc-body a.store { color: var(--white); text-decoration: none; }
.guide-cta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 52px; }
.link-btn { font: inherit; color: var(--red-deep); background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.doc-body caption { caption-side: top; text-align: left; font-weight: 700; padding-bottom: 10px; }
.printable td { height: 64px; }
.get { text-align: center; }
.get .store-row { margin-top: 28px; }
@media print {
  body:has(.printable) { background: #fff; }
  body:has(.printable) :is(.page-top, .mini-footer, .doc-head), body:has(.printable) .doc-body > :not(.printable) { display: none; }
  .printable th, .printable td { border: 1px solid #999; }
}
.footer-guides { margin-top: 26px; font-size: 15px; gap: 4px clamp(16px, 2vw, 28px); }
