/* ==========================================================================
   MIVA · sito vetrina
   Pagina solo chiara, fedele ai mockup sito_vetrina_1..4.
   Movimento: solo transform/opacity, contenuto completo senza JS,
   versione ferma con "Riduci movimento".
   ========================================================================== */

/* Font verificati sui mockup: titoli e wordmark Newsreader (dimensione ottica 72),
   testo Manrope; DM Sans solo nelle schermate dell'app ricostruite, come nell'app. */
@font-face { font-family: "Newsreader"; src: url(../fonts/newsreader.woff2) format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url(../fonts/newsreader-italic.woff2) format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url(../fonts/manrope.woff2) format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url(../fonts/dm-sans.woff2) format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Caveat"; src: url(../fonts/caveat-500.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --ink: #151a16;
  --ink-2: #5d645e;
  --ink-3: #8b918c;
  --green: #1a4d2e;
  --green-2: #2e7d32;
  --green-pro: #1d4b2e;
  --green-deep: #133d27;
  --green-soft: #e3efe5;
  --mint: #f1f7f2;
  --paper: #ffffff;
  --band: #f7f7f5;
  --shell: #f6f6f3;
  --line: #e6e5df;
  --sun-bg: #fff3d2;
  --sun: #eeae17;
  --orange: #e2653e;
  --orange-2: #ee8a5f;
  --peach-bg: #fde6dc;
  --purple: #7c4ddb;
  --purple-bg: #efe9fb;
  --cream: #faf6ec;
  --dot: #d9e3db;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", "Segoe UI", Roboto, system-ui, sans-serif;
  --app: "DM Sans", "Segoe UI", Roboto, system-ui, sans-serif;
  --hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
svg { flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 32px; }
.wrap--narrow { max-width: 960px; }
@media (max-width: 560px) { .wrap { padding-inline: 18px; } }

/* Newsreader sempre alla dimensione ottica "display", come nei mockup */
.h-serif, .hero__title, .pro__title, .pro__quote, .final__title, .wordmark { font-variation-settings: "opsz" 72; }
/* le schermate dell'app ricostruite usano il font dell'app */
.phone, .ui, .shell, .extra { font-family: var(--app); }

.eyebrow { color: var(--green); font-size: 15px; letter-spacing: -.01em; text-transform: uppercase; margin-bottom: 36px; }
.h-serif { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 4.6vw, 56px); line-height: 1.05; letter-spacing: -.035em; text-wrap: balance; }
.h-serif--xl { font-size: clamp(40px, 5vw, 60px); line-height: 1.02; }

/* ---------- bottoni ---------- */
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 58px; padding: 14px 28px; border-radius: 12px; font-weight: 500; font-size: 18px; text-decoration: none; transition: transform .25s var(--ease-out), box-shadow .25s, background-color .2s; }
.btn--primary { background: var(--green); color: #fff; box-shadow: 0 10px 24px -14px rgba(26, 77, 46, .7); }
.btn--primary:hover { background: #164428; transform: translateY(-2px); box-shadow: 0 16px 30px -16px rgba(26, 77, 46, .8); }
.btn--outline { border: 2px solid var(--green); color: var(--green); background: var(--paper); }
.btn--outline:hover { background: var(--mint); transform: translateY(-2px); }
.btn--wide { width: min(100%, 420px); margin-inline: auto; }

/* ==========================================================================
   HERO
   ========================================================================== */
.top { padding-top: 40px; }
.top__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: baseline; gap: 12px; text-decoration: none; }
.brand .wordmark { font-size: 34px; line-height: 1; }
.brand__claim { font-size: 21px; text-transform: uppercase; letter-spacing: -.05em; }
.top__login { font-weight: 500; font-size: 15px; color: var(--green); text-decoration: none; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; transition: background-color .2s, border-color .2s; }
.top__login:hover { background: var(--mint); border-color: var(--green-soft); }

.hero { padding-block: 56px 0; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 40px; align-items: center; }
.hero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 5.4vw, 66px); line-height: 1.02; letter-spacing: -.04em; }
.hero__title span { display: block; font-size: .56em; letter-spacing: -.035em; margin-top: 10px; }
.hero__lead { margin-top: 44px; font-size: 21px; font-weight: 300; line-height: 1.3; max-width: 22em; }
.hero__strong { margin-top: 14px; font-size: 21px; font-weight: 500; }
.hero__ctas { display: grid; gap: 18px; margin-top: 44px; max-width: 420px; }
.hero__note { margin-top: 18px; color: var(--ink-2); font-size: 19px; }

.hero__visual { position: relative; aspect-ratio: 1 / 1.25; display: grid; place-items: center; }
.blob { position: absolute; border-radius: 48% 52% 44% 56% / 52% 44% 56% 48%; }
.blob--green { inset: 6% 3% 16% 10%; background: #e9f3ea; transform: rotate(-12deg); }
.blob--grey { inset: 42% 14% 2% 6%; background: #f1f1ee; transform: rotate(8deg); z-index: -1; }
.float { position: absolute; z-index: 2; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .25); }
.float svg { width: 26px; height: 26px; }
.float--sun { top: 16%; left: 4%; background: var(--sun-bg); color: var(--sun); }
.float--fork { top: 40%; right: 0; background: var(--green-soft); color: var(--green); }
.float--moon { top: 60%; left: 2%; background: var(--purple-bg); color: var(--purple); }

/* telefono disegnato in HTML: nitido a ogni risoluzione */
.phone { position: relative; z-index: 1; width: 58%; max-width: 240px; aspect-ratio: 9 / 19; background: #1b1c1e; border-radius: 38px; padding: 7px; box-shadow: 0 0 0 1.5px #3a3b3e, 0 40px 60px -30px rgba(18, 38, 25, .45); }
.phone__screen { height: 100%; background: #fff; border-radius: 31px; overflow: hidden; display: flex; flex-direction: column; font-size: 7px; line-height: 1.3; color: var(--ink); }
.ph-status { display: flex; align-items: center; justify-content: space-between; padding: 9px 16px 4px; font-size: 8px; }
.ph-island { width: 58px; height: 16px; background: #1b1c1e; border-radius: 10px; }
.ph-sig { width: 22px; height: 7px; border-radius: 2px; background: linear-gradient(90deg, #1b1c1e 60%, transparent 60% 68%, #1b1c1e 68%); }
.ph-head { display: flex; align-items: center; gap: 6px; padding: 5px 12px 7px; border-bottom: 1px solid #efefec; }
.ph-burger { width: 10px; height: 7px; border-block: 1.4px solid var(--ink); position: relative; }
.ph-burger::after { content: ""; position: absolute; left: 0; right: 0; top: 1.4px; border-top: 1.4px solid var(--ink); }
.ph-brand { display: grid; line-height: 1.1; }
.ph-brand b { font-size: 9.5px; color: var(--green); }
.ph-brand small { font-size: 5.5px; color: var(--ink-2); }
.ph-cart { width: 11px; height: 11px; margin-left: auto; color: var(--green); }
.ph-title { font-weight: 600; font-size: 10px; padding: 9px 12px 6px; }
.ph-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; padding: 0 12px 6px; }
.ph-days span { display: grid; justify-items: center; border: 1px solid var(--ink); border-radius: 5px; padding: 3px 0; font-weight: 600; font-size: 9px; line-height: 1.15; }
.ph-days small { font-size: 5px; font-weight: 500; }
.ph-days .on { background: var(--green); border-color: var(--green); color: #fff; }
.ph-meal { display: grid; grid-template-columns: 20px minmax(0, 1fr) 15px; gap: 7px; align-items: center; margin: 0 12px; padding: 8px 0; border-top: 1px solid #efefec; }
.ph-days + .ph-meal { border-top: 0; }
.ph-meal .ico { width: 20px; height: 20px; }
.ph-meal .ico svg { width: 11px; height: 11px; }
.ph-meal small { display: block; font-size: 5.6px; letter-spacing: .06em; color: var(--ink-2); }
.ph-meal b { display: block; font-size: 8px; font-weight: 600; line-height: 1.25; }
.ph-meal em { display: block; font-style: normal; font-size: 6px; color: var(--ink-2); margin: 2px 0; }
.ph-meal i { display: block; font-style: normal; font-size: 5.8px; color: var(--ink-3); line-height: 1.45; }
.ph-swap { width: 15px; height: 15px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); }
.ph-swap svg { width: 7px; height: 7px; }
.ph-extra { margin: 4px 12px 0; padding: 7px 8px 8px; border: 1px solid #efefec; border-radius: 9px; display: grid; gap: 5px; }
.ph-extra__head { display: flex; align-items: center; gap: 6px; }
.ph-extra__head b { display: block; font-size: 7.5px; font-weight: 600; }
.ph-extra__head small { display: block; font-size: 5.6px; color: var(--ink-2); }
.ph-extra__plus { width: 15px; height: 15px; flex: none; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; }
.ph-extra__plus svg { width: 8px; height: 8px; }
.ph-extra__chips { display: flex; gap: 3px; }
.ph-extra__chips span { font-size: 5.5px; color: var(--ink-2); background: #f3f3f1; border-radius: 999px; padding: 2px 5px; white-space: nowrap; }
.ph-extra__btn { display: block; text-align: center; background: var(--green); color: #fff; font-size: 6.5px; font-weight: 600; border-radius: 6px; padding: 4px 0; }
/* barra di sistema di iOS, al posto della vecchia barra di schede che l'app non ha */
.ph-home { margin: auto auto 6px; width: 70px; height: 3px; border-radius: 2px; background: #1b1c1e; }

/* icone dei pasti (condivise con le card dell'app) */
.ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; }
.ico svg { width: 22px; height: 22px; }
.ico--sun { background: var(--sun-bg); color: var(--sun); }
.ico--moon { background: var(--purple-bg); color: var(--purple); }
.ico--cup { background: var(--green-soft); color: var(--green); }

.features { list-style: none; margin: 72px 0 0; padding: 44px 24px 64px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; text-align: center; }
.features li { display: grid; justify-items: center; gap: 6px; }
.features b { font-weight: 500; font-size: 19px; margin-top: 12px; }
.features li > span:last-child { color: var(--ink-2); font-size: 14.5px; }
.feat-ico { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; }
.feat-ico svg { width: 32px; height: 32px; }
.feat-ico--green { background: var(--green-soft); color: var(--green); }
.feat-ico--sun { background: var(--sun-bg); color: var(--sun); }
.feat-ico--purple { background: var(--purple-bg); color: var(--purple); }

@media (max-width: 860px) {
  .hero { padding-top: 40px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .hero__lead { margin-top: 28px; font-size: 19px; }
  .hero__strong { font-size: 19px; }
  .hero__ctas { margin-top: 32px; max-width: none; }
  .hero__note { font-size: 16px; }
  .hero__visual { max-width: 420px; width: 100%; margin: 24px auto 0; }
  .features { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 40px; }
}
@media (max-width: 480px) {
  .brand__claim { display: none; }
  .float { width: 44px; height: 44px; }
  .float svg { width: 22px; height: 22px; }
}

/* ==========================================================================
   COME FUNZIONA
   ========================================================================== */
.how { background: var(--band); padding-block: 88px 96px; }
.how__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: 56px; align-items: start; }
.how .h-serif { font-size: clamp(36px, 4.2vw, 50px); }
.how__intro { position: sticky; top: 12vh; }
.how__sub { margin-top: 36px; font-size: 21px; }
.how__index { list-style: none; margin: 56px 0 0; padding: 0; display: grid; gap: 4px; }
.how__index li { display: flex; align-items: center; gap: 14px; padding: 10px 0; color: var(--ink-3); font-size: 17px; transition: color .4s; }
.how__index li span { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 14px; background: #ecebe6; color: var(--ink-3); transition: background-color .4s, color .4s, transform .4s var(--ease-out); }
.how__index li.is-on { color: var(--ink); }
.how__index li.is-on span { background: var(--green); color: #fff; transform: scale(1.08); }

.how__steps { display: grid; gap: 36px; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: 26px; padding: 30px 30px 36px; box-shadow: 0 30px 60px -48px rgba(21, 40, 26, .35); }
.step__num { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 19px; }
.step__num--green { background: var(--green-soft); color: var(--green); }
.step__num--sun { background: var(--sun-bg); color: var(--ink); }
.step__num--peach { background: var(--peach-bg); color: var(--orange); }
.step h3 { margin-top: 26px; font-size: 30px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.step__text { margin-top: 8px; color: var(--ink-2); font-size: 18px; line-height: 1.55; }
.step--row { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 20px; align-items: start; }
.step--row h3 { margin-top: 6px; }
.step--row .ui { grid-column: 1 / -1; }
.ui { margin-top: 24px; display: grid; gap: 16px; }

/* UI dell'app ricostruita */
.ui-card { border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px 20px; background: var(--paper); }
.ui-head { display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.ui-head b { display: block; font-size: 16.5px; font-weight: 600; }
.ui-head small { display: block; font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.ui-head small.ui-green { color: var(--green-2); }
.ui-ico { width: 50px; height: 50px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; }
.ui-ico svg { width: 24px; height: 24px; }
.ui-info { width: 24px; height: 24px; color: var(--green); }
.macro-in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.macro-in label { display: grid; gap: 6px; font-size: 12.5px; color: var(--ink-2); font-weight: 500; }
.field { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; transition: border-color .3s, box-shadow .3s; }
.field b { font-size: 18px; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.field i { font-style: normal; color: var(--ink-2); font-family: var(--serif); font-size: 15px; }
.field.is-typing { border-color: var(--green-2); box-shadow: 0 0 0 3px rgba(46, 125, 50, .12); }
.kcal { display: grid; justify-items: center; margin-top: 14px; }
.kcal small { font-size: 13px; color: var(--ink-2); }
.kcal b { font-size: 26px; font-weight: 600; color: var(--green); font-variant-numeric: tabular-nums; line-height: 1.2; }
.ui-outline { display: flex; width: fit-content; margin: 12px auto 0; align-items: center; gap: 8px; padding: 10px 26px; border: 1.5px solid var(--green); border-radius: 12px; font-weight: 600; font-size: 14px; color: var(--green); }
.ui-outline svg { width: 18px; height: 18px; }
.pasti { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.chk { display: flex; align-items: center; gap: 8px; min-width: 0; border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; font-size: 13px; white-space: nowrap; overflow: hidden; }
.chk > i { width: 17px; height: 17px; flex: none; border: 1.5px solid #c9ccc9; border-radius: 4px; position: relative; transition: background-color .25s, border-color .25s; }
.chk > i::after { content: ""; position: absolute; left: 4.5px; top: 1px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .3s var(--ease-out); }
.chk.is-on > i { background: var(--green); border-color: var(--green); }
.chk.is-on > i::after { transform: rotate(45deg) scale(1); }
.chk.is-on { border-color: #cfe0d2; background: var(--mint); }
.chk svg { width: 16px; height: 16px; }
.chk .c-cup { color: #8d6e63; }
.chk .c-sun { color: var(--sun); }
.chk .c-moon { color: var(--purple); }
.chk .c-apple { color: #4caf50; font-size: 12px; }
.chk.is-off { color: #b3b6b3; }
.chk.is-off svg { color: #9fc4a4; }
.ui-btn { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; padding: 14px; border-radius: 12px; background: var(--green); color: #fff; font-weight: 600; font-size: 15px; }
.ui-btn svg { width: 17px; height: 17px; }
.ui-btn.is-ready { animation: ready 1.2s var(--ease-out) 1; }
@keyframes ready { 0% { box-shadow: 0 0 0 0 rgba(46, 125, 50, .45); } 100% { box-shadow: 0 0 0 14px rgba(46, 125, 50, 0); } }

.ui--clip { max-height: 700px; overflow: hidden; border-radius: 18px; }
.ui-plan { background: var(--shell); border: 1px solid var(--line); border-radius: 18px; padding: 18px 18px 22px; }
.ui-plan--tight { padding: 10px 14px 12px; }
.ui-plan--tight .meal { background: var(--paper); }
.ui-plan__title { font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.ui-plan__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 12px; }
.ui-date, .ui-regen { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 500; }
.ui-date { border: 1px solid var(--line); background: var(--paper); }
.ui-date svg { width: 15px; height: 15px; color: var(--green); }
.ui-regen { background: var(--green); color: #fff; }
.ui-regen svg { width: 12px; height: 12px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.stat__l { display: flex; justify-content: space-between; gap: 6px; font-size: 13px; font-weight: 500; line-height: 1.2; }
.st-ico { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; }
.st-ico svg { width: 14px; height: 14px; }
.st-ico--red { background: #fde4e1; color: #e5484d; }
.st-ico--orange { background: #fde7df; color: #f06a3a; }
.st-ico--amber { background: #fff1d6; color: #f59e0b; }
.stat b { font-size: 23px; font-weight: 700; font-variant-numeric: tabular-nums; }
.stat b small { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.stat em { font-style: normal; font-size: 12.5px; color: var(--ink-2); }
.bar { height: 5px; background: #e8f0e8; border-radius: 3px; overflow: hidden; margin-top: auto; }
.bar__fill { display: block; height: 100%; width: 100%; border-radius: 3px; transform-origin: left; transform: scaleX(var(--w)); }
.bar__fill--orange { background: #f06a3a; }
.bar__fill--amber { background: #f59e0b; }
.ui-week { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px 8px; margin-top: 14px; }
.ui-week__title { font-size: 19px; font-weight: 600; }
.chips { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 7px; margin: 12px 0 8px; }
.chips span { display: grid; justify-items: center; gap: 2px; border: 1.5px solid var(--ink); border-radius: 10px; padding: 6px 0; font-weight: 600; font-size: 16px; line-height: 1.1; }
.chips small { font-size: 9.5px; font-weight: 500; letter-spacing: .02em; }
.chips .on { background: var(--green); border-color: var(--green); color: #fff; }

/* riga pasto condivisa (passi 2-3 e prima/dopo) */
.meal { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) 42px; column-gap: 14px; row-gap: 2px; padding: 14px 4px 12px; }
.meal--sep { border-top: 1px solid var(--line); }
.ui-plan--tight .meal { border-radius: 14px; padding-inline: 10px; }
.ui-plan--tight .meal--sep { border-top: 0; margin-top: 10px; }
.meal__slot { grid-column: 2 / 4; grid-row: 1; font-size: 11.5px; letter-spacing: .07em; color: var(--ink-2); font-weight: 500; }
.meal > .ico { grid-column: 1; grid-row: 2; align-self: center; }
.meal__body, .bodies { grid-column: 2; grid-row: 2; min-width: 0; }
.meal h4 { font-size: 16px; font-weight: 600; line-height: 1.3; letter-spacing: -.005em; margin-bottom: 5px; }
.macros { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: #383d39; margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.ingr { list-style: none; margin: 0; padding: 0; font-size: 12.5px; color: var(--ink-2); line-height: 1.65; }
.swap { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); display: grid; place-items: center; color: #3d423e; padding: 0; }
.swap svg { width: 18px; height: 18px; }
.swap--static { grid-column: 3; grid-row: 2; align-self: center; }
.swap--hot { animation: hot 2.4s ease-in-out infinite; }
@keyframes hot { 0%, 60%, 100% { box-shadow: 0 0 0 0 rgba(46, 125, 50, 0); } 30% { box-shadow: 0 0 0 7px rgba(46, 125, 50, .14); } }

.hint { font-family: var(--hand); color: var(--green-2); font-size: 20px; line-height: 1; text-align: right; }
.hint svg { display: block; margin: 2px 0 0 auto; width: 26px; height: 22px; }
.hint-in { display: inline-block; transform: rotate(-7deg); animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: rotate(-7deg) translateY(0); } 50% { transform: rotate(-7deg) translateY(-3px); } }
.hint--step { position: absolute; right: 30px; top: -2px; }
.hint--step svg { margin-right: -6px; }
.ui-plan--tight .meal:first-child { padding-top: 34px; }
.ui-plan--tight .meal:first-child .hint--step { top: 6px; }

.how__cta { margin-top: 64px; }

@media (max-width: 960px) {
  .how__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .how__intro { position: static; }
  .how__index { display: none; }
}
@media (max-width: 560px) {
  .how { padding-block: 64px 72px; }
  .step { padding: 22px 16px 26px; border-radius: 22px; }
  .step h3 { font-size: 25px; }
  .step__text { font-size: 16.5px; }
  .step--row { grid-template-columns: 56px minmax(0, 1fr); column-gap: 14px; }
  .ui-card { padding: 14px 12px 16px; }
  .ui-head { grid-template-columns: 42px minmax(0, 1fr) auto; gap: 10px; }
  .ui-ico { width: 42px; height: 42px; }
  .macro-in { gap: 8px; }
  .macro-in label { font-size: 11px; }
  .field { padding: 7px 9px; }
  .pasti { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ui-plan { padding: 14px 10px 16px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats .stat:first-child { grid-column: 1 / -1; }
  .ui-week { padding: 12px 10px 6px; }
  .chips { gap: 4px; }
  .chips span { font-size: 13.5px; border-radius: 8px; }
  .chips small { font-size: 8px; }
  .meal { grid-template-columns: 38px minmax(0, 1fr) 38px; column-gap: 10px; }
  .meal > .ico { width: 38px; height: 38px; }
  .swap { width: 38px; height: 38px; }
}

/* ==========================================================================
   PRIMA / DOPO  (prototipo approvato, sequenza legata allo scroll)
   ========================================================================== */
.change { padding-block: 96px 40px; }
.change__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 72px; align-items: start; }
.change__intro { position: sticky; top: 22vh; }
.change__sub { margin: 10px 0 30px; font-size: clamp(20px, 2.2vw, 24px); font-weight: 500; letter-spacing: -.01em; }
.change__body { margin: 0 0 10px; max-width: 30em; color: var(--ink-2); font-weight: 300; font-size: 18px; line-height: 1.45; }

.track { height: 270vh; position: relative; }
.stage { position: sticky; top: max(24px, calc(50vh - 290px)); }

.shell { background: var(--shell); border: 1px solid var(--line); border-radius: 22px; padding: 14px; box-shadow: 0 30px 60px -40px rgba(21, 40, 26, .35); }
.pcard { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 15px; padding: 16px 18px 20px; }
.pcard__top { display: flex; justify-content: space-between; align-items: flex-start; min-height: 30px; }
.pcard .hint { margin-right: 28px; transform-origin: 100% 100%; }
.badge { display: grid; }
.badge span { grid-area: 1 / 1; justify-self: start; font-size: 12px; font-weight: 600; letter-spacing: .06em; padding: 4px 14px; border-radius: 999px; }
.badge .b-old { background: #ececea; color: #3d423e; }
.badge .b-new { background: var(--green-soft); color: var(--green); opacity: 0; }
.badge .b-new--on { opacity: 1; }
.meal--big { padding: 8px 0 0; row-gap: 0; column-gap: 14px; }
.meal--big .meal__slot { margin-bottom: 8px; }
.meal--big h4 { font-size: 16.5px; margin-bottom: 6px; }
.meal--big > .ico { align-self: start; }
.meal--big .macros { margin-bottom: 8px; }
.meal--big .ingr { line-height: 1.7; }
.bodies { display: grid; }
.body-old, .body-new { grid-area: 1 / 1; min-width: 0; }
.js .body-new > h4, .js .body-new > .macros, .js .body-new li { opacity: 0; }
.body-new { visibility: visible; }
.swap-wrap { grid-column: 3; grid-row: 2; position: relative; width: 42px; height: 42px; margin-top: 10px; }
.swap-wrap .swap { cursor: pointer; }
.finger, .ripple { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; pointer-events: none; opacity: 0; }
.finger { background: rgba(26, 77, 46, .16); border: 2px solid rgba(26, 77, 46, .45); }
.ripple { border: 2px solid var(--green-2); }

.week { padding: 16px 6px 4px; }
.week__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 12px; color: var(--ink-2); padding-inline: 6px; margin-bottom: 10px; }
.week__head strong { color: var(--ink); font-weight: 600; font-size: 13px; }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.day { display: grid; justify-items: center; gap: 5px; padding: 7px 0 9px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); }
.day small { font-size: 9.5px; letter-spacing: .06em; color: var(--ink-3); }
.day b { font-size: 14px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.day.today { background: var(--green); border-color: var(--green); }
.day.today small, .day.today b { color: #fff; }
.dots { display: flex; gap: 4px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--dot); }
.day.today .dots i { background: rgba(255, 255, 255, .35); }
.caption { margin: 12px 6px 2px; font-size: 13px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; min-height: 20px; }
.caption .pill { font-weight: 600; color: var(--green); }
.js .caption > * { opacity: 0; }

/* senza JS (e con "Riduci movimento"): prima e dopo fermi */
.static { display: none; }
.static .shell { display: grid; gap: 10px; }
.static__arrow { text-align: center; color: var(--ink-3); font-size: 18px; line-height: 1; }
html:not(.js) .track { display: none; }
html:not(.js) .static { display: block; }

@media (max-width: 860px) {
  .change { padding-block: 72px 24px; }
  .change__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .change__intro { position: static; }
  .track { height: 230vh; }
  .stage { top: calc(16px + env(safe-area-inset-top, 0px)); }
}
@media (max-width: 400px) {
  .pcard { padding: 14px 14px 18px; }
  .meal--big { grid-template-columns: 38px minmax(0, 1fr) 40px; column-gap: 10px; }
  .ico--lg { width: 38px; height: 38px; }
  .pcard .hint { margin-right: 18px; }
  .days { gap: 4px; }
  .dots { gap: 3px; }
  .dots i { width: 6px; height: 6px; }
}

/* ==========================================================================
   MIVA PRO
   ========================================================================== */
.pro { background: var(--green-pro); color: #fff; padding-block: 96px 110px; overflow: hidden; }
.pro__wrap { max-width: 900px; }
.tag { display: inline-block; background: #fff; color: var(--green-pro); border-radius: 999px; padding: 6px 18px; font-size: 16px; letter-spacing: -.01em; }
.pro__title { margin-top: 56px; font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 4.8vw, 56px); line-height: 1.05; letter-spacing: -.035em; }
.pro__title em { display: block; font-style: normal; font-family: var(--sans); font-weight: 400; color: var(--orange-2); letter-spacing: -.035em; margin-top: 8px; }
.pro__sub { margin-top: 10px; font-size: 21px; font-weight: 300; line-height: 1.3; }

.snack { position: relative; margin: 80px auto 0; max-width: 760px; padding-bottom: 140px; }
.snack__photo { border-radius: 22px; overflow: hidden; background: #3b2b25; }
.snack__photo img { width: 100%; height: auto; transform: scale(var(--zoom, 1)); transform-origin: 50% 40%; will-change: transform; }
.extra { position: absolute; left: 8%; right: 8%; bottom: 0; background: #fff; color: var(--ink); border-radius: 20px; padding: 28px 30px 30px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.extra__head { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; align-items: center; }
.extra__head b { display: block; font-size: 23px; font-weight: 600; letter-spacing: -.01em; }
.extra__head small { display: block; font-size: 17px; color: var(--ink-2); }
.extra__plus { width: 64px; height: 64px; border-radius: 50%; background: var(--mint); color: var(--green); display: grid; place-items: center; transition: background-color .4s, color .4s; }
.extra__plus svg { grid-area: 1 / 1; width: 26px; height: 26px; transition: transform .5s var(--ease-out), opacity .3s; }
.extra__ok { opacity: 0; transform: scale(.4); }
.extra.is-done .extra__plus { background: var(--green); color: #fff; }
.extra.is-done .extra__p { opacity: 0; transform: rotate(90deg) scale(.4); }
.extra.is-done .extra__ok { opacity: 1; transform: none; }
.extra__chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.extra__chips span { border: 1px solid var(--line); background: #f7f7f5; border-radius: 999px; padding: 8px 16px; font-size: 18px; font-variant-numeric: tabular-nums; }
.extra__chips b { font-weight: 500; }
.extra__btn { display: block; margin-top: 24px; text-align: center; background: var(--green); color: #fff; font-weight: 600; font-size: 21px; padding: 20px; border-radius: 16px; letter-spacing: .01em; }
.pro__note { margin: 64px auto 0; max-width: 34em; text-align: center; font-size: 19px; font-weight: 300; line-height: 1.35; }
.pro__quote { margin-top: 40px; text-align: center; font-family: var(--serif); font-size: clamp(30px, 3.8vw, 40px); line-height: 1.08; letter-spacing: -.035em; }

@media (max-width: 640px) {
  .pro { padding-block: 72px 80px; }
  .pro__title { margin-top: 36px; }
  .pro__sub { font-size: 18px; }
  .snack { margin-top: 48px; padding-bottom: 150px; }
  .extra { left: 4%; right: 4%; padding: 18px 16px 18px; }
  .extra__head { grid-template-columns: 46px minmax(0, 1fr); gap: 12px; }
  .extra__plus { width: 46px; height: 46px; }
  .extra__head b { font-size: 18px; }
  .extra__head small { font-size: 14px; }
  .extra__chips { gap: 8px; margin-top: 14px; }
  .extra__chips span { font-size: 14px; padding: 6px 11px; }
  .extra__btn { font-size: 17px; padding: 15px; margin-top: 16px; }
  .pro__note { font-size: 17px; margin-top: 48px; }
}

/* ==========================================================================
   PREZZI
   ========================================================================== */
.pricing { padding-block: 96px 104px; }
.pricing .h-serif { margin-top: 0; }
.pricing__lead { margin-top: 32px; font-size: 20px; font-weight: 300; line-height: 1.4; }
.pricing__strong { margin-top: 18px; font-size: 20px; font-weight: 500; }

.period { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: min(100%, 520px); margin: 56px auto 0; padding: 6px; background: #f1f1ef; border-radius: 999px; }
.period button { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 10px; border: 0; background: none; font: inherit; font-size: 19px; color: var(--ink-2); padding: 14px 10px; border-radius: 999px; cursor: pointer; transition: color .35s; }
.period button[aria-pressed="true"] { color: #fff; }
.period__pill { position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 6px); border-radius: 999px; background: var(--green); transition: transform .5s var(--ease-out); }
.pricing[data-period="year"] .period__pill { transform: translateX(100%); }
.period__save { background: #fbe5a0; color: var(--ink); border-radius: 999px; padding: 3px 12px; font-size: 15px; }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; max-width: 800px; margin: 44px auto 0; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; border: 1.5px solid #8a8f8b; border-radius: 22px; padding: 28px 28px 30px; background: var(--paper); }
.plan--pro { background: var(--mint); border-color: var(--green); }
.plan__flag { align-self: flex-start; margin: -8px 0 12px -6px; background: var(--green); color: #fff; font-size: 14px; letter-spacing: -.01em; padding: 6px 18px; border-radius: 999px; }
.plan__name { color: var(--green); font-size: 17px; }
.plan__desc { margin-top: 4px; font-size: 19px; color: var(--ink-2); line-height: 1.35; }

.price { display: grid; margin-top: 22px; }
.price > div { grid-area: 1 / 1; transition: opacity .45s var(--ease-out), transform .55s var(--ease-out); }
.price__big { font-size: clamp(48px, 5.4vw, 66px); font-weight: 700; letter-spacing: -.04em; line-height: 1; white-space: nowrap; }
.price__big s { text-decoration-thickness: 5px; }
.price__per { font-size: 22px; margin-top: 4px; color: var(--ink-2); }
.price__small { font-size: 18px; color: var(--ink-2); margin-top: 8px; }
.save { display: inline-block; margin-top: 14px; padding: 8px 22px; border-radius: 999px; font-size: 17px; font-weight: 500; }
.save--green { background: var(--green-soft); color: var(--green); }
.save--sun { background: #fdeebe; color: var(--ink); }
/* stato mensile / annuale: i due prezzi occupano la stessa cella, cambia solo quale si vede */
.pricing[data-period="month"] .price__y, .pricing[data-period="year"] .price__m { opacity: 0; transform: translateY(14px); pointer-events: none; }
.pricing[data-period="month"] .price__m, .pricing[data-period="year"] .price__y { opacity: 1; transform: none; }
.plan__foot { display: grid; }
.plan__foot span { grid-area: 1 / 1; transition: opacity .35s; }
.pricing[data-period="month"] .plan__foot .price__y, .pricing[data-period="year"] .plan__foot .price__m { transform: none; }

.limits { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; padding-bottom: 20px; border-bottom: 1.5px solid #e2e2df; }
.limits div { background: #f3f3f1; border-radius: 14px; padding: 14px 18px; }
.plan--pro .limits div { background: #eef0ed; }
.limits b { display: block; font-size: 34px; font-weight: 700; color: var(--green); line-height: 1.1; }
.limits span { font-size: 17px; color: var(--ink-2); line-height: 1.3; }
.incl, .excl, .plus { list-style: none; margin: 0; padding: 0; }
.incl { padding-block: 18px 16px; }
.excl { padding-top: 18px; border-top: 1.5px solid #e2e2df; }
.incl li, .excl li, .plus li { position: relative; padding-left: 40px; font-size: 17.5px; line-height: 1.95; }
.incl li::before { content: ""; position: absolute; left: 6px; top: .5em; width: 14px; height: 7px; border: solid var(--green); border-width: 0 0 2.2px 2.2px; transform: rotate(-45deg); }
.excl li { color: var(--ink-2); font-size: 16.5px; }
.excl li::before { content: ""; position: absolute; left: 8px; top: 50%; width: 12px; border-top: 2.5px solid #555a56; }
.plus li::before { content: ""; position: absolute; left: 10px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--orange); }
.plan__cta { margin-top: auto; min-height: 60px; }
.excl, .plus { margin-bottom: 30px; }
.plan:not(.plan--pro) .plan__cta { margin-bottom: 26px; }
.plan__foot { margin-top: 12px; text-align: center; font-size: 14.5px; color: var(--ink-2); }

.pricing__tip { display: flex; align-items: center; gap: 18px; max-width: 800px; margin: 36px auto 0; padding: 26px 30px; background: var(--cream); border-radius: 18px; font-size: 19px; font-weight: 500; letter-spacing: -.01em; }
.pricing__tip svg { width: 40px; height: 40px; color: #f2b632; }

@media (max-width: 760px) {
  .pricing { padding-block: 72px 80px; }
  .pricing__lead, .pricing__strong { font-size: 18px; }
  .period { margin-top: 40px; }
  .period button { font-size: 17px; }
  .plans { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .plan { padding: 24px 20px 26px; }
  .pricing__tip { font-size: 16.5px; padding: 20px; gap: 14px; }
  .pricing__tip svg { width: 30px; height: 30px; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { background: #f5f4f1; padding-block: 88px 96px; }
.faq .eyebrow { margin-bottom: 28px; }
.faq__lead { margin-top: 12px; font-size: 19px; font-weight: 300; }
.faq__list { margin-top: 44px; }
.faq details { border-bottom: 1px solid #e3e2dc; padding: 24px 28px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--green); font-size: 20px; font-weight: 500; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; margin-right: 6px; border: solid var(--green); border-width: 0 1.6px 1.6px 0; transform: translateY(-4px) rotate(45deg); transition: transform .35s var(--ease-out); }
.faq details[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.faq details p { margin-top: 12px; max-width: 46em; font-size: 16.5px; line-height: 1.55; color: #2c312d; }
.faq summary:hover { color: #0f3a20; }
/* apertura morbida dove il browser lo consente, altrimenti istantanea */
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; opacity: 0; transition: height .4s var(--ease-out), opacity .35s, content-visibility .4s allow-discrete; }
  .faq details[open]::details-content { height: auto; opacity: 1; }
}
.faq__disclaimer { position: relative; margin-top: 28px; border: 0 !important; background: #eaf2ec; border-radius: 18px; padding-left: 104px !important; }
.faq__disclaimer summary { font-weight: 600; }
.faq__i { position: absolute; left: 36px; top: 50%; margin-top: -22px; width: 44px; height: 44px; color: var(--green); }
.faq__disclaimer p { margin-top: 6px; }

@media (max-width: 640px) {
  .faq { padding-block: 64px 72px; }
  .faq details { padding: 20px 4px; }
  .faq summary { font-size: 17.5px; }
  .faq details p { font-size: 15.5px; }
  .faq__disclaimer { padding: 20px 16px 20px 64px !important; }
  .faq__i { left: 16px; width: 32px; height: 32px; margin-top: -16px; }
}

/* ==========================================================================
   CTA FINALE
   ========================================================================== */
.final { position: relative; background: var(--green-deep); color: #fff; text-align: center; overflow: hidden; }
.final__wrap { position: relative; z-index: 1; padding-top: 120px; }
.mark { width: 120px; height: auto; overflow: visible; }
.mark__ring { fill: none; stroke: #f4f1e8; stroke-width: 13; stroke-linecap: round; }
.mark__leaf { fill: #72b45b; }
.mark__ball { fill: #e8663d; }
.mark__yellow { fill: #f1c45c; }
.mark__green { fill: #a8c173; }
.final__title { margin-top: 48px; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 7vw, 88px); line-height: 1.05; letter-spacing: -.04em; }
.final__title em { display: block; font-style: italic; }
.final__title em span { color: var(--orange); }
.btn-pill { display: inline-flex; align-items: center; justify-content: center; gap: 64px; margin-top: 56px; min-width: min(100%, 540px); padding: 22px 48px; border-radius: 999px; background: #fff; color: var(--green); font-size: 24px; font-weight: 600; letter-spacing: -.02em; text-decoration: none; transition: transform .3s var(--ease-out), box-shadow .3s; }
.btn-pill svg { width: 34px; height: 34px; transition: transform .3s var(--ease-out); }
.btn-pill:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .6); }
.btn-pill:hover svg { transform: translateX(6px); }
.final__prices { margin-top: 30px; font-size: 23px; letter-spacing: -.02em; }
.final__small { margin-top: 6px; font-size: 16px; opacity: .9; }
.final__photo { position: relative; margin-top: -40px; }
.final__photo img { width: 100%; height: auto; min-height: 320px; object-fit: cover; object-position: 50% 0; transform: translateY(var(--rise, 0px)); will-change: transform;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%); mask-image: linear-gradient(to bottom, transparent 0, #000 22%); }

@media (max-width: 640px) {
  .final__wrap { padding-top: 80px; }
  .mark { width: 88px; }
  .final__title { margin-top: 32px; }
  .btn-pill { gap: 24px; padding: 18px 28px; font-size: 19px; margin-top: 40px; }
  .btn-pill svg { width: 26px; height: 26px; }
  .final__prices { font-size: 19px; }
  .final__small { font-size: 14px; }
  .final__photo { margin-top: 0; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.foot { background: var(--green-deep); color: #f4f1e8; padding-block: 110px 56px; }
.foot__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; padding-bottom: 72px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.foot__brand { padding-right: 64px; border-right: 1px solid rgba(255, 255, 255, .14); }
.logo-lock { display: flex; align-items: center; gap: 30px; }
.logo-lock .mark { width: 96px; flex: none; }
.wordmark { font-family: var(--serif); font-weight: 380; font-size: 76px; line-height: .8; letter-spacing: .05em; }
.wordmark__i { position: relative; }
/* punto arancione al posto di quello della "ı": misurato su Newsreader opsz 72; -.025em compensa il letter-spacing */
.wordmark__i::after { content: ""; position: absolute; left: calc(50% - .025em); top: -.01em; width: .14em; height: .14em; margin-left: -.07em; border-radius: 50%; background: var(--orange); }
.logo-lock__claim { margin-top: 14px; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; }
.foot__about { margin-top: 26px; font-size: 22px; font-weight: 300; line-height: 1.35; letter-spacing: -.02em; max-width: 20em; }

.news__eyebrow { font-size: 16px; text-transform: uppercase; letter-spacing: -.01em; }
.news__title { margin-top: 8px; font-size: clamp(28px, 3vw, 38px); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; }
.news__sub { margin-top: 6px; font-size: 20px; font-weight: 300; letter-spacing: -.02em; }
.news__field { display: flex; align-items: center; margin-top: 26px; padding: 6px 6px 6px 28px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; background: rgba(0, 0, 0, .08); transition: border-color .25s; }
.news__field:focus-within { border-color: rgba(255, 255, 255, .5); }
.news input { flex: 1; min-width: 0; border: 0; background: none; color: #fff; font: inherit; font-size: 19px; outline: none; padding: 10px 0; }
.news input::placeholder { color: rgba(244, 241, 232, .6); }
.news button { flex: none; width: 54px; height: 54px; border-radius: 50%; border: 0; background: #faf3e6; color: var(--green-deep); display: grid; place-items: center; cursor: pointer; transition: transform .3s var(--ease-out); }
.news button svg { width: 24px; height: 24px; }
.news button:hover { transform: translateX(3px); }
.news__msg { min-height: 1.5em; margin-top: 10px; padding-left: 28px; font-size: 14px; opacity: .85; }

.foot__cols { display: grid; grid-template-columns: 1fr 1.1fr .8fr .7fr; gap: 32px; padding-block: 44px 64px; }
.foot__cols p { font-size: 16px; text-transform: uppercase; letter-spacing: -.01em; margin-bottom: 30px; }
.foot__cols a { display: block; width: fit-content; font-size: 18px; font-weight: 300; text-decoration: none; margin-bottom: 14px; letter-spacing: -.01em; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease-out); }
.foot__cols a:hover { background-size: 100% 1px; }
.social { display: flex; gap: 22px; }
.social a { display: grid; background: none; }
.social svg { width: 34px; height: 34px; transition: transform .25s var(--ease-out); }
.social a:hover svg { transform: translateY(-2px); }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 15px; font-weight: 300; opacity: .85; }
.foot__bottom span { display: inline-flex; align-items: center; gap: 6px; }

@media (max-width: 900px) {
  .foot { padding-block: 72px 40px; }
  .foot__top { grid-template-columns: minmax(0, 1fr); gap: 48px; padding-bottom: 48px; }
  .foot__brand { padding-right: 0; border-right: 0; }
  .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
  .foot__cols p { margin-bottom: 16px; }
}
@media (max-width: 480px) {
  .logo-lock { gap: 18px; }
  .logo-lock .mark { width: 68px; }
  .wordmark { font-size: 56px; }
  .logo-lock__claim { font-size: 10.5px; }
  .foot__about { font-size: 18px; }
  .news input { font-size: 16px; }
  .news__field { padding-left: 20px; }
  .foot__cols a { font-size: 16px; }
}

/* ==========================================================================
   MOVIMENTO (solo con JS e senza "Riduci movimento")
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  /* ingresso dell'hero */
  .js [data-hero] { animation: rise .9s var(--ease-out) both; }
  .js [data-hero="2"] { animation-delay: .12s; }
  .js [data-hero="3"] { animation-delay: .24s; }
  .js .hero__visual .phone { animation: phone-in 1.1s var(--ease-out) .15s both; }
  .js .hero__visual .blob--green { animation: blob-in 1.2s var(--ease-out) both; }
  .js .float { animation: pop .7s var(--ease-out) both, bob 5s ease-in-out infinite; }
  .js .float--sun { animation-delay: .55s, 1.3s; }
  .js .float--fork { animation-delay: .7s, 2.1s; }
  .js .float--moon { animation-delay: .85s, 1.7s; }

  /* comparse morbide */
  .js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .plans .plan:nth-child(2) { transition-delay: .1s; }

  /* barre dei macro nel passo 2 */
  .js [data-play="plan"] .bar__fill { transform: scaleX(0); transition: transform 1.2s var(--ease-out) .3s; }
  .js [data-play="plan"].is-played .bar__fill { transform: scaleX(var(--w)); }

  /* scheda dello snack che sale sulla foto */
  .js .extra { opacity: 0; transform: translateY(48px); transition: opacity .8s var(--ease-out), transform 1s var(--ease-out); }
  .js .snack.is-played .extra { opacity: 1; transform: none; }

  /* il logo si compone: anello disegnato, pezzi che si impilano, foglia */
  .js .final .mark__ring { stroke-dasharray: 720; stroke-dashoffset: 720; transition: stroke-dashoffset 1.4s var(--ease-out); }
  .js .final .mark__ball, .js .final .mark__yellow, .js .final .mark__green, .js .final .mark__leaf { opacity: 0; transform-box: fill-box; transform-origin: 50% 100%; }
  .js .final .mark__green { transform: translateY(40px); transition: opacity .5s .35s, transform .8s var(--ease-out) .35s; }
  .js .final .mark__yellow { transform: translateY(40px); transition: opacity .5s .55s, transform .8s var(--ease-out) .55s; }
  .js .final .mark__ball { transform: translateY(-70px); transition: opacity .3s .8s, transform .9s cubic-bezier(.34, 1.56, .64, 1) .8s; }
  .js .final .mark__leaf { transform-origin: 0 100%; transform: rotate(-40deg) scale(.2); transition: opacity .4s 1.25s, transform .8s cubic-bezier(.34, 1.56, .64, 1) 1.25s; }
  .js .final.is-played .mark__ring { stroke-dashoffset: 0; }
  .js .final.is-played .mark__ball, .js .final.is-played .mark__yellow, .js .final.is-played .mark__green, .js .final.is-played .mark__leaf { opacity: 1; transform: none; }
}

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes phone-in { from { opacity: 0; transform: translateY(60px) rotate(4deg); } to { opacity: 1; transform: none; } }
@keyframes blob-in { from { opacity: 0; transform: rotate(-30deg) scale(.85); } to { opacity: 1; transform: rotate(-12deg); } }
@keyframes pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .track { display: none; }
  .static { display: block; }
  .hint-in, .swap--hot { animation: none; }
  .price > div, .period__pill { transition: none; }
}
