/* Menubello landing — orange / navy / butter identity.
   Font ospitato qui (Grandstander, SIL OFL, sottoinsieme latino): nessuna richiesta a Google. */
@font-face {
  font-family: "Grandstander";
  src: url("/assets/fonts/grandstander.woff2") format("woff2");
  font-weight: 500 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --orange: #FF784F;
  --navy: #010326;
  --butter: #F5D491;
  --paper: #FBF3E2;
  --gutter: clamp(16px, 4vw, 48px);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.3, 1.5, .5, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--orange);
  color: var(--navy);
  font-family: "Grandstander", "Arial Rounded MT Bold", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, p { margin: 0; font-weight: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 10px; }
[data-dark] :focus-visible, .site-nav :focus-visible { outline-color: var(--butter); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--navy); color: var(--butter);
  padding: 12px 20px; border-radius: 999px;
}
.skip-link:focus { top: 16px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

/* ─────────── Header + nav ─────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px clamp(16px, 7vw, 100px) 20px clamp(16px, 4vw, 50px);
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }
.site-logo { display: block; width: clamp(110px, 12vw, 150px); color: var(--navy); transition: color .3s; }
.site-header.on-dark .site-logo { color: var(--butter); }
.logo-mark {
  display: block; aspect-ratio: 339 / 228; background: currentColor;
  -webkit-mask: url("/assets/img/logo.svg") center / contain no-repeat;
  mask: url("/assets/img/logo.svg") center / contain no-repeat;
}

.site-nav {
  display: flex; align-items: center; gap: clamp(12px, 2.4vw, 32px);
  min-width: 0; max-width: 100%;
  background: var(--navy); border: 2px solid var(--butter); border-radius: 999px;
  padding: 6px 6px 6px clamp(16px, 2.4vw, 28px);
  font-size: clamp(15px, 1.6vw, 19px); font-weight: 700; text-transform: uppercase;
  box-shadow: 0 16px 40px -12px rgba(1, 3, 38, .55);
  transition: transform .35s var(--ease-out), opacity .25s;
}
.site-nav.is-hidden { transform: translateY(-160%); opacity: 0; pointer-events: none; }
.site-nav__links { display: flex; align-items: center; gap: 4px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.site-nav__links a {
  color: var(--butter); border-radius: 999px; white-space: nowrap;
  padding: clamp(10px, 1.2vw, 14px) clamp(14px, 1.6vw, 22px);
  transition: background .2s, color .2s;
}
.site-nav__links a:hover { background: var(--butter); color: var(--navy); }
.site-nav__cta {
  flex: none; background: var(--butter); color: var(--navy); border-radius: 999px; white-space: nowrap;
  padding: clamp(10px, 1.2vw, 14px) clamp(16px, 2vw, 28px);
  transition: background .2s;
}
.site-nav__cta:hover { background: var(--orange); }
.mobile-login { display: none; }

/* ─────────── Shared bits ─────────── */
.section { padding: clamp(80px, 10vw, 140px) 0; }
.section--tight-top { padding-top: 0; }
.section--navy { background: var(--navy); color: var(--orange); }
.section--butter { background: var(--butter); }

.tag {
  display: inline-block; border-radius: 999px; padding: 8px 22px;
  background: var(--butter); color: var(--navy); font-size: 18px; font-weight: 700;
}
.tag--navy { background: var(--navy); color: var(--butter); }

.split {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px clamp(32px, 5vw, 64px);
  margin-top: clamp(24px, 3vw, 32px); padding-left: clamp(0px, 1vw, 8px);
}
.split .h2 { flex: 1 1 440px; }
.split .lead { flex: 1 1 340px; }

.h2 { font-size: clamp(52px, 7vw, 96px); line-height: .95; font-weight: 900; letter-spacing: -.01em; }
.h2--xl { font-size: clamp(56px, 8vw, 112px); line-height: .92; text-wrap: balance; }
.lead { font-size: clamp(20px, 2vw, 26px); line-height: 1.2; text-wrap: pretty; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  border-radius: 999px; padding: 16px 28px; font-weight: 800;
  transition: background .2s, color .2s;
}
.btn--xl { font-size: clamp(24px, 2.6vw, 34px); }
.btn--block { width: 100%; }
.btn--butter { background: var(--butter); color: var(--navy); }
.btn--butter:hover { background: var(--navy); color: var(--butter); }
[data-dark] .btn--butter:hover { background: var(--orange); color: var(--navy); }

.link-quiet {
  font-size: 22px; font-weight: 700;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px;
  transition: color .2s;
}
.link-quiet:hover { color: var(--butter); }
.link-quiet--butter { color: var(--butter); font-size: 24px; }
.link-quiet--butter:hover { color: var(--orange); }

.bolt { flex: none; fill: currentColor; }

/* 3D tilt follows the pointer (set by site.js on [data-tilt]) */
[data-tilt] { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .18s ease-out; }

/* ─────────── Hero ─────────── */
.hero .wrap {
  display: flex; flex-direction: column; gap: clamp(32px, 5vw, 56px);
  padding-top: 40px; padding-bottom: clamp(80px, 10vw, 140px);
}
.hero__top { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(32px, 5vw, 64px); padding-top: clamp(24px, 6vw, 80px); }
.hero__title { flex: 1 1 440px; font-size: clamp(60px, 9vw, 128px); line-height: .92; letter-spacing: -.01em; font-weight: 900; }
.lang-loop { display: inline-block; color: var(--butter); text-shadow: .03em .035em 0 var(--navy); }
.hero__smile { flex: 1 1 300px; width: 100%; max-width: min(100%, 480px); margin: 0 auto; will-change: transform; transition: transform .25s ease-out; }
.smile { width: 100%; cursor: pointer; transform-origin: 50% 70%; }
.hero__bottom { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(32px, 5vw, 64px); }
.hero__lead { flex: 1 1 440px; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.18; text-wrap: pretty; }
.hero__cta { flex: 1 1 300px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.hero__cta .btn { width: 100%; }
.bolt-list { list-style: none; margin: 0; padding: 16px 0 0; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 17px; font-weight: 700; }
.bolt-list li { display: flex; align-items: center; gap: 8px; }
.bolt-list .bolt { fill: var(--butter); }

/* ─────────── Cards ─────────── */
.cards { position: relative; display: flex; flex-wrap: wrap; gap: 20px; margin-top: clamp(32px, 5vw, 64px); }
.card {
  display: flex; flex-direction: column; gap: 18px;
  border-radius: 28px; padding: clamp(28px, 3vw, 40px) clamp(20px, 2.4vw, 32px) 40px;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotate(var(--rot, 0deg));
  transition: transform .18s ease-out, scale .35s var(--spring), translate .35s var(--spring), rotate .35s var(--spring);
}
.card--butter { background: var(--butter); color: var(--navy); }
.card--orange { background: var(--orange); color: var(--navy); }
.card__num { font-size: clamp(96px, 11vw, 140px); line-height: .85; font-weight: 900; }
.card__title { font-size: clamp(30px, 3vw, 38px); line-height: 1; font-weight: 800; }
.card p { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.2; }
.card--problem { flex: 1 1 300px; }

.cards--features { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 12px; }
.card--feature { flex-direction: row; align-items: flex-start; gap: 20px; padding: 22px 24px 26px; border-radius: 26px; }
.card--feature .card__title { font-size: 22px; line-height: 1.1; margin-bottom: 10px; }
.card--feature p { font-size: 16px; line-height: 1.25; }
.feature-icon {
  flex: none; display: flex; align-items: center; justify-content: center;
  width: clamp(48px, 5vw, 56px); height: clamp(48px, 5vw, 56px); border-radius: 50%; background: var(--orange);
  transition: rotate .6s cubic-bezier(.3, .9, .3, 1);
}
.feature-icon__glyph { width: 55%; height: 55%; background: var(--navy); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }

.cards--steps { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 8px 4px 16px; }
.cards--steps::-webkit-scrollbar { display: none; }
.card--step { flex: 1 0 min(78vw, 320px); scroll-snap-align: center; padding: clamp(28px, 3vw, 40px) 24px 44px; }
.card--step .card__title { font-size: clamp(30px, 3vw, 36px); }
.step-icon {
  display: block; width: clamp(80px, 8vw, 104px); height: clamp(80px, 8vw, 104px); background: var(--butter);
  -webkit-mask: var(--icon) left center / contain no-repeat; mask: var(--icon) left center / contain no-repeat;
}

@media (hover: hover) {
  .card:hover { scale: 1.04; translate: 0 -8px; rotate: -1deg; }
  .card--feature:hover .feature-icon { rotate: 360deg; }
}

/* ─────────── Screenshot section ─────────── */
.screen-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 40px clamp(32px, 5vw, 64px); }
.screen-head__title { flex: 1 1 420px; text-align: center; font-size: clamp(56px, 7.4vw, 104px); text-wrap: balance; rotate: 2deg; }
.screen-head__note {
  flex: 1 1 340px; max-width: 520px; background: var(--butter); border-radius: 28px;
  padding: 28px 28px 32px; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; rotate: 2.5deg;
}

.mock { display: flex; align-items: flex-end; justify-content: center; margin-top: clamp(40px, 6vw, 64px); padding-bottom: 36px; }
.mock b { font-weight: 800; }
.mock small { font-size: 13px; letter-spacing: .04em; font-weight: 700; }
.mock__laptop { flex: 1 1 auto; min-width: 0; max-width: 1040px; display: flex; flex-direction: column; align-items: center; }
.mock__screen { width: 100%; background: var(--navy); border-radius: 30px; padding: 16px; box-shadow: 0 40px 80px -30px rgba(1, 3, 38, .55); }
.mock__window { background: #fff; border-radius: 16px; overflow: hidden; }
.mock__dots { display: flex; gap: 6px; padding: 12px 16px; background: var(--paper); }
.mock__dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.mock__dots span:nth-child(2) { background: var(--butter); }
.mock__dots span:nth-child(3) { background: var(--navy); }
.mock__body { display: flex; flex-direction: column; gap: 24px; padding: clamp(20px, 3vw, 40px); }
.mock__greet { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; }
.mock__greet > div { display: flex; flex-direction: column; gap: 6px; }
.mock__hello { font-size: clamp(32px, 3.6vw, 44px); line-height: 1; font-weight: 800; }
.mock__sub { font-size: 16px; }
.mock__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.mock__stats > div { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 18px; background: var(--butter); }
.mock__stats > div.is-orange { background: var(--orange); }
.mock__stats b { font-size: 40px; line-height: 1; }
.mock__stats span { font-size: 15px; }
.mock__list-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 8px; font-size: 24px; font-weight: 800; }
.mock__list { display: flex; flex-direction: column; gap: 8px; }
.mock__dish { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding: 14px 16px; border-radius: 16px; background: var(--paper); }
.mock__dish-name { flex: 1 1 220px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mock__dish-name b { font-size: 19px; }
.mock__dish-name span { font-size: 14px; }
.mock__price { min-width: 44px; text-align: right; font-size: 20px; }
.mock__pill { padding: 5px 12px; border-radius: 999px; background: var(--navy); color: var(--butter); font-size: 14px; }
.mock__pill.is-off { background: var(--orange); color: var(--navy); }
.mock__hinge { width: 120px; height: 56px; background: var(--navy); }
.mock__base { width: 280px; height: 12px; border-radius: 999px 999px 6px 6px; background: var(--navy); }

.mock__phone {
  flex: 0 0 270px; position: relative; z-index: 2; margin: 0 0 -36px -140px;
  padding: 9px; border-radius: 46px; background: var(--navy);
  box-shadow: 0 30px 60px -20px rgba(1, 3, 38, .6);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotate(4deg);
}
.mock__phone-screen { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 46px 14px 24px; border-radius: 38px; background: #fff; overflow: hidden; }
.mock__notch { position: absolute; top: 11px; left: 50%; translate: -50% 0; width: 84px; height: 22px; border-radius: 999px; background: var(--navy); }
.mock__home { position: absolute; bottom: 7px; left: 50%; translate: -50% 0; width: 96px; height: 4px; border-radius: 999px; background: var(--navy); }
.mock__greet--phone { flex-direction: column; align-items: flex-start; gap: 4px; }
.mock__greet--phone .mock__hello { font-size: 22px; }
.mock__greet--phone .mock__sub { font-size: 13px; }
.mock__stats--phone { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.mock__stats--phone > div { padding: 10px 12px; border-radius: 14px; }
.mock__stats--phone b { font-size: 24px; }
.mock__stats--phone span { font-size: 12px; }
.mock__list-head--phone { font-size: 17px; padding-top: 4px; }
.mock__dish--phone { flex-wrap: nowrap; gap: 8px; padding: 10px 12px; border-radius: 14px; }
.mock__dish--phone .mock__dish-name { flex: 1 1 auto; }
.mock__dish--phone .mock__dish-name b { font-size: 14px; }
.mock__dish--phone small { font-size: 11px; }
.mock__dish--phone .mock__price { font-size: 15px; min-width: 0; }

/* ─────────── Pricing ─────────── */
.pricing { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(48px, 6vw, 80px); }
.pricing__intro { flex: 1 1 420px; display: flex; flex-direction: column; gap: clamp(24px, 3vw, 32px); }
.pricing__intro .tag { align-self: flex-start; }
.pricing__intro .h2, .pricing__intro .lead { padding-left: clamp(0px, 1vw, 8px); }
.pricing__intro .lead { font-size: clamp(22px, 2.2vw, 28px); }
.pricing__plan { flex: 1 1 360px; display: flex; flex-direction: column; align-items: center; gap: clamp(48px, 6vw, 64px); }
.billing-toggle { align-self: center; display: flex; gap: 4px; margin-top: 8px; padding: 5px; border: 1.5px solid var(--butter); border-radius: 999px; }
.billing-toggle button {
  border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: clamp(15px, 1.6vw, 18px); text-transform: uppercase;
  padding: 10px 18px; border-radius: 999px; background: transparent; color: var(--butter); white-space: nowrap;
}
.billing-toggle button span { color: var(--orange); }
.billing-toggle button.is-on { background: var(--butter); color: var(--navy); }
.billing-toggle button.is-on span { color: var(--navy); }
.price-card {
  width: min(100%, 440px); display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
  padding: 44px 32px 40px; border-radius: 28px; background: var(--butter); color: var(--navy);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotate(-4deg);
  transition: transform .18s ease-out, background-color .3s;
}
.price-card.is-annual { background: var(--orange); }
.price-card__title { font-size: clamp(36px, 4vw, 44px); line-height: 1; font-weight: 800; }
.price-card > p { max-width: 320px; font-size: clamp(20px, 2vw, 24px); line-height: 1.15; }
.price-card__price { display: flex; flex-direction: column; align-items: flex-end; padding-top: clamp(28px, 4vw, 48px); }
.price-card__price [data-price] { font-size: clamp(110px, 13vw, 150px); line-height: .85; font-weight: 900; }
.price-card__per { font-size: 22px; text-transform: uppercase; }
.price-card > .price-card__note { font-size: 16px; }
.price-card > .price-card__trial { font-size: 16px; padding: 6px 14px; border-radius: 999px; background: var(--navy); color: var(--butter); }
.included { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--butter); font-size: 18px; text-align: center; }
.included li { display: flex; align-items: center; gap: 10px; }
.pricing__cta { width: 100%; max-width: 520px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.pricing__cta .btn--xl { font-size: clamp(28px, 3vw, 38px); }

/* ─────────── FAQ ─────────── */
.faq-layout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(32px, 5vw, 64px); }
.faq-layout__head { flex: 1 1 320px; display: flex; flex-direction: column; align-items: flex-start; gap: clamp(24px, 3vw, 32px); }
.faq-layout__head .h2 { font-size: clamp(52px, 6.4vw, 88px); padding-left: clamp(0px, 1vw, 8px); }
.faq-list { flex: 2 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.faq { background: var(--orange); border-radius: 24px; }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 22px; border-radius: 24px; cursor: pointer; list-style: none;
  font-size: clamp(20px, 2vw, 24px); line-height: 1.15; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 3px; border-radius: 2px;
  background: var(--butter); translate: -50% -50%; transition: rotate .25s;
}
.faq__icon::after { rotate: 90deg; }
.faq[open] .faq__icon::after { rotate: 0deg; }
.faq p { padding: 0 22px 24px; font-size: 18px; line-height: 1.3; text-wrap: pretty; }

/* ─────────── Final CTA ─────────── */
.cta-final__inner { max-width: 1000px; display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: center; }
.smile--cta { width: clamp(160px, 20vw, 240px); }
.cta-final .lead { max-width: 680px; }
.cta-final__actions { width: 100%; max-width: 520px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cta-final__actions .btn--xl { font-size: clamp(28px, 3vw, 38px); }
.cta-final__login { font-size: 20px; }
.cta-final__login a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.cta-final__login a:hover { color: var(--butter); }

/* ─────────── Footer ─────────── */
.site-footer { background: var(--navy); color: var(--butter); }
.site-footer .wrap { display: flex; flex-direction: column; gap: 48px; padding-top: 72px; padding-bottom: 40px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 40px 56px; }
.footer-brand { flex: 2 1 300px; max-width: 440px; display: flex; flex-direction: column; gap: 16px; }
.footer-wordmark { font-size: 40px; line-height: 1; font-weight: 900; color: var(--orange); }
.footer-brand p { font-size: 18px; line-height: 1.3; }
.footer-brand .footer-parent { font-size: 16px; }
.footer-parent a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.footer-col { flex: 1 1 120px; }
.footer-col h2 { margin: 0 0 10px; font-size: 15px; font-weight: 700; color: var(--orange); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 17px; }
.footer-col a:hover, .footer-legal a:hover { color: var(--orange); }
.footer-legal { display: flex; flex-direction: column; gap: 6px; padding-top: 24px; border-top: 1px solid rgba(245, 212, 145, .25); font-size: 14px; line-height: 1.45; font-weight: 500; }

/* ─────────── Mobile carousels (dots added by site.js) ─────────── */
.carousel-dots { display: none; }

/* ─────────── Motion ─────────── */
@media (prefers-reduced-motion: no-preference) {
  .smile { animation: smile-wobble 3.4s ease-in-out infinite; }
  .card--step:nth-child(1) .step-icon { animation: step-bob 2.4s ease-in-out infinite; }
  .card--step:nth-child(2) .step-icon { animation: step-wiggle 2.4s ease-in-out .4s infinite; }
  .card--step:nth-child(3) .step-icon { animation: step-pulse 2.4s ease-in-out .8s infinite; }
  .reveal-pending:not(.is-in) { opacity: 0; translate: 0 48px; }
  .reveal-pending { transition: opacity .75s var(--ease-out), translate .75s var(--ease-out), transform .18s ease-out, scale .35s var(--spring), rotate .35s var(--spring); transition-delay: var(--d, 0ms), var(--d, 0ms), 0ms, 0ms, 0ms; }
}
@keyframes smile-wobble {
  0%, 36%, 100% { transform: rotate(0) scale(1); }
  10% { transform: rotate(-6deg) scale(1.04, .96); }
  20% { transform: rotate(5deg) scale(.97, 1.04); }
  28% { transform: rotate(-3deg) scale(1.02, .98); }
}
@keyframes step-bob { 0%, 60%, 100% { transform: translateY(0) rotate(0); } 30% { transform: translateY(-10px) rotate(-6deg); } }
@keyframes step-wiggle { 0%, 60%, 100% { transform: rotate(0); } 15% { transform: rotate(-12deg); } 30% { transform: rotate(10deg); } 45% { transform: rotate(-6deg); } }
@keyframes step-pulse { 0%, 60%, 100% { transform: scale(1); } 20% { transform: scale(1.14); } 40% { transform: scale(.94); } }

/* ─────────── Mobile ─────────── */
@media (max-width: 760px) {
  html { scroll-padding-top: 24px; }
  .site-header { padding: 16px; }
  .site-logo { width: 84px; }
  .mobile-login {
    display: inline-flex; padding: 10px 16px; border-radius: 999px;
    background: var(--navy); color: var(--butter); font-size: 14px; font-weight: 700; text-transform: uppercase;
  }
  .site-nav {
    position: fixed; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60;
    max-width: 420px; margin: 0 auto; justify-content: space-between; gap: 0;
    padding: 5px 5px 5px 10px; font-size: 12px;
    transform: translateY(160%); opacity: 0; pointer-events: none;
  }
  .site-nav.is-shown { transform: none; opacity: 1; pointer-events: auto; }
  .site-nav__links { flex: 1; justify-content: space-between; gap: 0; }
  .site-nav__links a { padding: 12px 6px; }
  .site-nav__login { display: none; }
  .site-nav__cta { padding: 12px 14px; }

  .hero .wrap { padding-top: 8px; }
  .hero__top { gap: 40px; padding-top: 0; }
  .hero__title { font-size: 64px; }
  .hero__lead { font-size: 19px; }
  .btn--xl, .pricing__cta .btn--xl, .cta-final__actions .btn--xl { font-size: 22px; }
  .link-quiet { font-size: 18px; }
  .tag { padding: 4px 12px; font-size: 13px; letter-spacing: .04em; }
  .h2 { font-size: 38px; }
  .lead, .pricing__intro .lead { font-size: 17px; }

  .cards[data-carousel] {
    display: flex; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    gap: 14px; margin: 20px calc(-1 * var(--gutter)) 0; padding: 20px var(--gutter) 28px;
  }
  .cards[data-carousel]::-webkit-scrollbar { display: none; }
  .cards[data-carousel] > .card { flex: 0 0 84%; scroll-snap-align: center; }
  .card--feature { --rot: var(--rot-m, 0deg); }
  .card__num { font-size: 68px; }
  .card__title, .card--step .card__title { font-size: 24px; }
  .card p { font-size: 16px; }
  .step-icon { width: 64px; height: 64px; }
  .carousel-dots { display: flex; justify-content: center; gap: 8px; padding-bottom: 8px; }
  .carousel-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: var(--navy); opacity: .35; cursor: pointer; transition: width .25s, opacity .25s; }
  .carousel-dots button.is-on { width: 26px; opacity: 1; }
  [data-dark] .carousel-dots button { background: var(--butter); }

  .screen-head__title { font-size: 40px; }
  .screen-head__note { font-size: 18px; }
  .mock__laptop { display: none; }
  .mock__phone { flex: 0 1 300px; margin: 0 auto; transform: rotate(-2deg); }

  .price-card__title { font-size: 28px; }
  .price-card > p { font-size: 17px; }
  .price-card__price [data-price] { font-size: 92px; }

  .faq-layout__head .h2 { font-size: 38px; }
  .faq summary { font-size: 17px; }
  .h2--xl { font-size: 42px; }
  .site-footer .wrap { padding-bottom: 110px; }
}

/* ─────────── Pagine legali ─────────── */
.legal-header { position: static; }
.legal-lang { display: flex; gap: 12px; font-size: 17px; font-weight: 700; }
.legal-lang a { padding: 6px; }
.legal-lang [aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.legal-page { padding: 0 var(--gutter) clamp(48px, 8vw, 96px); }
.legal {
  max-width: 760px; margin: 0 auto; padding: clamp(24px, 5vw, 56px);
  background: var(--paper); border-radius: 24px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px; font-weight: 400; line-height: 1.6;
}
.legal h1, .legal h2 { font-family: "Grandstander", "Arial Rounded MT Bold", system-ui, sans-serif; text-wrap: balance; }
.legal h1 { font-size: clamp(40px, 6vw, 64px); font-weight: 900; line-height: 1; }
.legal h2 { margin-top: 40px; font-size: clamp(24px, 3vw, 30px); font-weight: 800; line-height: 1.15; }
.legal p, .legal address, .legal table { margin-top: 12px; }
.legal address { font-style: normal; }
.legal a { text-decoration: underline; }
.legal strong { font-weight: 700; }
.legal code { font-size: .9em; overflow-wrap: anywhere; }
.legal-updated { font-size: 15px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.4; }
.legal th, .legal td { padding: 10px 12px 10px 0; border-bottom: 1px solid rgba(1, 3, 38, .2); text-align: left; vertical-align: top; }
.legal th { font-weight: 700; }
