/* ============================================================
   TokenItaly · ads.css
   Foglio di stile della landing per inserzioni (site/src/ads.html).
   Autonomo da style.css (stessi colori e caratteri), mobile first:
   le regole di base valgono da 360 px, poi si allargano a 600,
   700, 900 e 1100 px (in fondo al file).
   ============================================================ */

/* Caratteri */
@font-face { font-family: "Outfit"; font-weight: 400; src: url("../fonts/Outfit-Regular.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Outfit"; font-weight: 700; src: url("../fonts/Outfit-Bold.woff2") format("woff2"); font-display: swap; }

/* Variabili (gli stessi valori del sito) */
:root {
  color-scheme: dark;

  /* Colori */
  --night: #05071A;
  --deep: #0B1030;
  --ice: #EEF2FF;
  --muted: #A9B3D9;
  --blue: #5B8CFF;
  --violet: #8B5CF6;
  --lilac: #C4A1FF;
  --line: rgba(169, 179, 217, 0.18);
  --surface: rgba(255, 255, 255, 0.035);
  --ink: #070A1F;
  --focus: #C4A1FF;

  /* Derivati */
  --line-lilac: rgba(196, 161, 255, 0.5);        /* filetto d'evidenziazione */
  --line-strong: rgba(169, 179, 217, 0.45);      /* filetto più visibile */
  --glow-blue: 91, 140, 255;                     /* --blue in forma rgba() */
  --glow-violet: 139, 92, 246;                   /* --violet in forma rgba() */

  /* Misure */
  --bar-h: calc(56px + env(safe-area-inset-top, 0px));
  --body-pad: calc(88px + env(safe-area-inset-bottom, 0px));
  --pill: 999px;

  /* Movimento */
  --speed: 180ms;
  --ease: ease-out;
}

/* Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar-h) + 12px);
  overflow-x: clip;
}

body {
  margin: 0;
}

.ads {
  background: var(--night);
  color: var(--ice);
  font-family: "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  padding-top: var(--bar-h);
  padding-bottom: var(--body-pad);
  overflow-x: clip;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

img, svg, canvas {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

a, button, summary {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

[hidden] {
  display: none !important;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
.rotor.is-live:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

/* Contenuto: al massimo 960 px, centrato, 20 px di margine su telefono */
.hero, .benefits, .steps, .price, .tools, .faq, .final, .footer, .families-note {
  padding-inline: max(20px, calc(50% - 480px));
}

/* Navigazione accessibile */
.skip {
  position: absolute;
  top: calc(env(safe-area-inset-top, 0px) + 8px);
  left: 12px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--ice);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--pill);
  transform: translateY(-200%);
}

.skip:focus {
  transform: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Barra fissa in alto */
.bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: var(--bar-h);
  padding: env(safe-area-inset-top, 0px) 16px 0 20px;
  background: rgba(5, 7, 26, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.bar-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ice);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}

.bar-brand img {
  width: 28px;
  height: 28px;
}

/* Pulsanti */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 12px 28px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  background: var(--ice);
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    0 0 0 1px rgba(var(--glow-blue), 0.35),
    0 8px 24px rgba(var(--glow-blue), 0.28),
    0 14px 44px rgba(var(--glow-violet), 0.35);
  transition:
    transform var(--speed) var(--ease),
    box-shadow var(--speed) var(--ease),
    background-color var(--speed) var(--ease);
}

.cta svg {
  width: 20px;
  height: 20px;
  flex: none;
  fill: currentColor;
}

.cta:hover {
  box-shadow:
    0 0 0 1px rgba(var(--glow-blue), 0.55),
    0 10px 28px rgba(var(--glow-blue), 0.4),
    0 18px 52px rgba(var(--glow-violet), 0.45);
}

.cta:active {
  transform: scale(0.97);
}

.cta-small {
  min-height: 44px;
  padding: 8px 18px;
  font-size: 15px;
}

.cta-hero {
  min-height: 60px;
  padding: 14px 32px;
  font-size: 18px;
}

.cta-ghost {
  background: transparent;
  color: var(--ice);
  border-color: var(--ice);
  box-shadow: none;
}

.cta-ghost:hover {
  background: rgba(238, 242, 255, 0.08);
  box-shadow: none;
}

/* Su telefono i pulsanti di sezione sono a tutta larghezza (massimo 420 px) */
.cta-hero, .steps .cta, .price .cta, .sticky-cta .cta {
  display: flex;
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
}

/* Eroe */
.hero {
  padding-top: 12px;
  padding-bottom: 48px;
  text-align: center;
}

.hero-art {
  position: relative;
  width: min(320px, 100%);
  aspect-ratio: 16 / 9;
  margin: 0 auto 20px;
}

@supports not (aspect-ratio: 16 / 9) {
  .hero-art {
    height: 180px;
  }
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-logo {
  position: absolute;
  inset: 0;
  width: 132px;
  height: 132px;
  margin: auto;
}

/* Quando il canvas disegna, l'immagine di ripiego si nasconde */
.hero-stage.is-canvas .hero-logo,
.hero-art.is-canvas .hero-logo {
  visibility: hidden;
}

.hero-kicker {
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--lilac);
}

.hero-title {
  /* 7.2vw, non 8.2vw: misurato col font vero, 8.2vw dava tre righe fino a 886 px */
  --title-leading: 1.05;
  font-size: clamp(1.9rem, 7.2vw, 4.2rem);
  font-weight: 700;
  line-height: var(--title-leading);
  letter-spacing: -0.02em;
}

/* Il nome dell'editor cambia da solo (assets/js/rotor.js).
   Finché lo script non parte (senza JavaScript, o con "riduci movimento" nel sistema)
   i nomi restano tutti visibili in fila, più piccoli, come un sottotitolo. */
.hero-lead,
.hero-line {
  display: block;
}

.hero-line {
  margin-top: 0.22em;
  font-size: 0.56em;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--lilac);
}

/* Un nome non si spezza mai a metà quando l'elenco va a capo */
.rotor-item {
  white-space: nowrap;
}

/* Con lo script: un nome alla volta, grande come il titolo, in gradiente */
.hero-line.is-live {
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
}

/* Il riquadro del nome si allinea al bordo superiore della riga, non alla linea di base:
   un riquadro che ritaglia (overflow) viene appoggiato dal browser sul bordo inferiore,
   e il nome salirebbe di qualche pixel rispetto alla parola "in". */
.rotor.is-live {
  position: relative;
  display: inline-block;
  vertical-align: top;
  color: var(--lilac);
  cursor: default;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
}

/* La finestra: alta UNA riga, anche quando il rullo ne contiene due (sennò il titolo si allunga a ogni giro),
   e larga quanto il nome. Margine negativo e respiro si compensano, così la riga non cambia altezza;
   sulle due bande il nome sfuma mentre entra ed esce. */
.rotor.is-live .rotor-view {
  display: block;
  overflow: hidden;
  height: calc(var(--title-leading) * 1em + 0.28em);
  margin: -0.14em -0.08em;
  padding: 0.14em 0.08em;
  white-space: nowrap;
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 0.14em, #000 calc(100% - 0.14em), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 0.14em, #000 calc(100% - 0.14em), transparent 100%);
}

/* Il rullo: il nome di adesso e, mentre gira, quello che arriva, uno sotto l'altro.
   Gira di una riga (metà della sua altezza, perché due righe) e il nome vecchio esce dalla parte alta. */
.rotor.is-live .rotor-track {
  display: block;
  transition: transform 0.46s cubic-bezier(0.65, 0, 0.35, 1);
}

.rotor.is-live .rotor-track.is-turning {
  transform: translateY(-50%);
}

.rotor.is-live .rotor-item {
  display: block;
}

/* Il nome appena misurato, che serve solo a sapere quanto è largo */
.rotor-measure {
  position: absolute;
  top: 0;
  left: 0;
  visibility: hidden;
  white-space: nowrap;
  pointer-events: none;
}

/* Pulsante di pausa accanto al nome: compare quando il mouse o la tastiera sono sul nome.
   Due barrette = in movimento; triangolo = fermo. */
.rotor.is-live::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -26px;
  width: 10px;
  height: 12px;
  margin-top: -6px;
  border-left: 3px solid currentColor;
  border-right: 3px solid currentColor;
  opacity: 0;
  transition: opacity var(--speed) var(--ease);
}

.rotor.is-live.is-paused::after {
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-right: 0;
  border-left: 10px solid currentColor;
}

.rotor.is-live:hover::after,
.rotor.is-live:focus-visible::after {
  opacity: 0.85;
}

/* Terza riga del titolo: lo sconto, fermo (non gira). Il nome dell'editor e la percentuale
   sono le due cose messe in luce: stesso gradiente. */
.hero-deal {
  display: block;
  margin-top: 0.22em;
  white-space: nowrap;
}

.rotor.is-live .rotor-item,
.hero-deal-value {
  color: transparent;
  background: linear-gradient(92deg, var(--lilac) 0%, #93a8ff 55%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-sub {
  max-width: 60ch;
  margin: 20px auto 0;
  font-size: 17px;
  line-height: 1.5;
  color: var(--muted);
  text-wrap: balance;
}

.hero .cta-hero {
  margin-top: 20px;
}

.hero-proof {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

/* Famiglie di modelli */
.strip {
  padding: 16px 0 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.families {
  display: flex;
  gap: 28px;
  padding: 4px 20px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  white-space: nowrap;
  font-size: 20px;
  line-height: 1.3;
  color: var(--muted);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.families::-webkit-scrollbar {
  display: none;
}

.families li {
  flex: none;
}

.families li + li::before {
  content: "·";
  margin-right: 28px;
  color: var(--lilac);
}

.families-note {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}

/* Vantaggi */
.benefits {
  display: grid;
  gap: 12px;
  padding-top: 48px;
  padding-bottom: 48px;
}

/* Scheda: icona a sinistra, titolo e testo nella colonna di destra */
.benefit {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  grid-template-areas:
    "icon title"
    ".    body";
  column-gap: 14px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.benefit-icon {
  grid-area: icon;
  width: 28px;
  height: 28px;
  margin-top: 2px;
  color: var(--lilac);
}

.benefit-title {
  grid-area: title;
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.benefit-body {
  grid-area: body;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

/* La prima scheda (la chiave in un minuto) è la più importante */
.benefit:first-of-type {
  border-color: var(--line-lilac);
  background: rgba(196, 161, 255, 0.07);
}

/* Passi */
.steps {
  padding-top: 56px;
  padding-bottom: 56px;
  text-align: center;
}

.h2 {
  font-size: clamp(1.6rem, 6vw, 2.6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.steps-list {
  display: grid;
  gap: 28px;
  margin-top: 32px;
  text-align: left;
}

.step {
  min-width: 0;
}

.step-n {
  display: block;
  margin-bottom: 8px;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: var(--lilac);
}

.step-t {
  margin-bottom: 6px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
}

.step-b {
  color: var(--muted);
}

.steps .cta {
  margin-top: 32px;
}

/* Prezzi */
.price {
  padding-top: 64px;
  padding-bottom: 64px;
  background: var(--deep);
  text-align: center;
}

.eyebrow {
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--lilac);
}

.facts {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

.fact {
  min-width: 0;
}

.fact-value {
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.fact-unit {
  font-size: 0.6em;
}

.fact-label {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.packs {
  max-width: 560px;
  margin: 32px auto 0;
  text-align: left;
  border-top: 1px solid var(--line);
}

/* Riga: nome a sinistra, prezzo a destra; seconda riga più piccola */
.pack {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 16px;
  row-gap: 4px;
  align-items: baseline;
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
}

.pack-name {
  grid-area: 1 / 1;
  font-size: 17px;
  font-weight: 500;
}

.pack-pay {
  grid-area: 1 / 2;
  justify-self: end;
  font-size: 17px;
  font-weight: 700;
}

.pack-get {
  grid-area: 2 / 1;
  font-size: 14px;
  color: var(--muted);
}

.pack-bonus {
  grid-area: 2 / 2;
  justify-self: end;
  font-size: 14px;
  font-weight: 700;
  color: var(--lilac);
}

.pack.pack-featured {
  margin: 8px 0;
  background: var(--surface);
  border: 1px solid var(--line-lilac);
  border-radius: 12px;
}

.price .cta {
  margin-top: 32px;
}

/* Strumenti */
.tools {
  padding-top: 56px;
  padding-bottom: 56px;
  text-align: center;
}

.tools-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  text-align: left;
}

.tools-list li {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: var(--surface);
  font-size: 15px;
}

.note {
  max-width: 60ch;
  margin: 20px auto 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

/* Domande */
.faq {
  padding-top: 56px;
  padding-bottom: 64px;
  text-align: center;
}

.faq-list {
  max-width: 760px;
  margin: 24px auto 0;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.faq-item {
  border-top: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 16px 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ice);
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

/* Il "+" disegnato in CSS: ruotato di 45° diventa "×" */
.faq-item summary::after {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  margin-right: 2px;
  color: var(--lilac);
  background-image:
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor);
  background-size: 16px 2px, 2px 16px;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform var(--speed) var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 36px 20px 0;
  color: var(--muted);
}

.faq-answer p {
  margin: 0;
}

.faq-answer p + p {
  margin-top: 8px;
}

/* Chiusura */
.final {
  padding-top: 64px;
  padding-bottom: 72px;
  text-align: center;
}

.final-sub {
  max-width: 60ch;
  margin: 16px auto 0;
  font-size: 17px;
  line-height: 1.5;
  color: var(--muted);
}

.final .cta-hero {
  margin-top: 28px;
}

/* Footer */
.footer {
  padding-top: 32px;
  padding-bottom: 24px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer-brand {
  font-size: 17px;
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 8px;
  margin-top: 8px;
}

.footer-links a {
  display: inline-block;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--speed) var(--ease);
}

.footer-links a:hover {
  color: var(--ice);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-note {
  max-width: 60ch;
  margin: 12px auto 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

/* Barra fissa in basso con il pulsante (compare dopo l'eroe) */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(5, 7, 26, 0) 0%, rgba(5, 7, 26, 0.94) 45%);
}

/* Scelta sulla misura: copre tutto lo schermo e oscura la pagina finché non si sceglie
   «Accetto» o «Rifiuto». Di sotto non si può né toccare né scorrere: nessuno arriva al bot per sbaglio. */
.consent {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(20px + env(safe-area-inset-top, 0px)) 20px calc(20px + env(safe-area-inset-bottom, 0px));
  overflow: auto;
  overscroll-behavior: contain;
  background: rgba(5, 7, 26, 0.8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* Finché la scelta è aperta la pagina di sotto non scorre (vale anche senza JavaScript, se la scheda è visibile) */
body.consent-pending,
html:has(.consent:not([hidden])) {
  overflow: hidden;
}

.consent-box {
  width: 100%;
  max-width: 420px;
  padding: 24px 20px calc(20px + env(safe-area-inset-bottom, 0px));
  background: var(--deep);
  border: 1px solid var(--line-lilac);
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}

.consent-box:focus {
  outline: none;
}

.consent-title {
  font-size: 20px;
  font-weight: 700;
}

.consent-text {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

.consent-text a {
  color: var(--ice);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.consent-btn {
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform var(--speed) var(--ease),
    background-color var(--speed) var(--ease);
}

.consent-accept {
  background: var(--ice);
  color: var(--ink);
}

.consent-accept:hover {
  background: #FFFFFF;
}

.consent-decline {
  background: transparent;
  border-color: var(--line-strong);
}

.consent-decline:hover {
  background: rgba(238, 242, 255, 0.08);
}

.consent-btn:active {
  transform: scale(0.97);
}

/* Da 600 px: eroe più largo, pulsanti non più a tutta larghezza */
@media (min-width: 600px) {
  .hero {
    padding-top: 32px;
    padding-bottom: 64px;
  }

  .hero-art {
    width: 360px;
  }

  .hero-kicker {
    font-size: 16px;
  }

  .cta-hero, .steps .cta, .price .cta {
    display: inline-flex;
    width: auto;
  }

  .sticky-cta .cta {
    max-width: 480px;
  }
}

/* Da 700 px: griglie a due colonne, consenso come scheda in basso a sinistra */
@media (min-width: 700px) {
  .benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .benefit {
    padding: 22px 24px;
  }

  .steps, .tools, .faq {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .price {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .final {
    padding-top: 80px;
    padding-bottom: 88px;
  }

  .facts {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .tools-list {
    justify-content: center;
  }

  /* Da questo schermo in giù la pillola si sposta a destra */
  .sticky-cta {
    left: auto;
    right: 0;
    width: auto;
    padding: 16px 20px calc(16px + env(safe-area-inset-bottom, 0px));
    background: none;
  }

  .sticky-cta .cta {
    display: inline-flex;
    width: auto;
    min-height: 52px;
    padding: 10px 22px;
    font-size: 15px;
  }

  .consent-box {
    padding: 24px;
  }
}

/* Da 900 px: famiglie in fila centrata, passi su tre colonne */
@media (min-width: 900px) {
  .strip {
    padding-top: 24px;
    padding-bottom: 20px;
  }

  .families {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 32px;
    padding-inline: max(20px, calc(50% - 480px));
    overflow: visible;
  }

  .steps-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
  }
}

/* Da 1100 px: vantaggi su tre colonne */
@media (min-width: 1100px) {
  .benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Movimento ridotto: nessuna transizione né scorrimento dolce */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .cta, .consent-btn, .footer-links a, .faq-item summary::after {
    transition: none;
  }

  .rotor.is-live .rotor-view,
  .rotor.is-live .rotor-track,
  .rotor.is-live::after {
    transition: none;
  }
}

/* Pagine di testo (informativa) */
.legal-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 96px 20px 64px;
}

.legal-title {
  margin: 8px 0 16px;
  font-size: clamp(1.8rem, 6vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
}

.legal-intro {
  color: var(--muted);
  font-size: 17px;
}

.legal-section {
  margin-top: 40px;
}

.legal-section h2 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 700;
}

.legal-section p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.6;
}

.legal-section p strong {
  color: var(--ice);
  font-weight: 500;
}

.legal-section a {
  color: var(--ice);
}
