/* AION Reach - stile del sito. Versione c4, 2 dicembre 2026.
   Sistema di aionautomazioni.it: scuro predefinito, verde acqua e arancione, Bricolage Grotesque + Inter.
   c3: più pagine, schede in rilievo anche nel tema chiaro, banda scura per il done-for-you. */

@font-face { font-family: "Bricolage Grotesque"; src: url("/font/bricolage-grotesque-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/font/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

/* ====== tema scuro (predefinito) ====== */
:root {
  color-scheme: dark;
  --bg: #16171b; --surface: #1d2026; --surface-2: #242833; --fascia: #1a1c21;
  --teal: #1ed3b6; --teal-on: #06201c;
  --teal-soft: rgba(30,211,182,.13); --teal-line: rgba(30,211,182,.32);
  --orange: #ff7a1a; --orange-on: #1c0c00;
  --orange-soft: rgba(255,122,26,.14); --orange-line: rgba(255,122,26,.34);
  --ink: #f3f5f6; --muted: rgba(243,245,246,.68); --muted-2: rgba(243,245,246,.52);
  --border: rgba(243,245,246,.12); --ghost: rgba(243,245,246,.05);
  --head-bg: rgba(22,23,27,.75);
  --card-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 18px 50px rgba(0,0,0,.35);
  --shadow: 0 30px 90px rgba(0,0,0,.5);
  --glow-teal: rgba(30,211,182,.25);
  --wash-1: rgba(30,211,182,.16); --wash-2: rgba(255,122,26,.10);
  --grid-line: rgba(243,245,246,.035);
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
/* ====== tema chiaro ====== */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f6f6; --surface: #ffffff; --surface-2: #eef1f2; --fascia: #e9eeee;
  --teal: #0a7566; --teal-on: #ffffff;
  --teal-soft: rgba(10,117,102,.09); --teal-line: rgba(10,117,102,.35);
  --orange: #b35000; --orange-on: #ffffff;
  --orange-soft: rgba(179,80,0,.09); --orange-line: rgba(179,80,0,.32);
  --ink: #16171b; --muted: rgba(22,23,27,.70); --muted-2: rgba(22,23,27,.58);
  --border: rgba(22,23,27,.12); --ghost: rgba(22,23,27,.04);
  --head-bg: rgba(244,246,246,.85);
  --card-shadow: 0 1px 2px rgba(22,23,27,.06), 0 12px 32px rgba(22,23,27,.08);
  --shadow: 0 28px 70px rgba(22,23,27,.16);
  --glow-teal: rgba(10,117,102,.25);
  --wash-1: rgba(30,211,182,.18); --wash-2: rgba(255,122,26,.12);
  --grid-line: rgba(22,23,27,.05);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { font-family: var(--body); color: var(--ink); line-height: 1.6; background: var(--bg); }
a { color: inherit; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.2rem); line-height: 1.02; letter-spacing: -.03em; margin-bottom: 20px; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.08; margin-bottom: 12px; }
h3 { font-size: 1.12rem; line-height: 1.25; letter-spacing: -.01em; }
.grad { background: linear-gradient(96deg, var(--teal), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
mark { background: var(--orange-soft); color: var(--ink); box-shadow: 0 0 0 1px var(--orange-line); border-radius: 4px; padding: 0 .2em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 8px; }
.ico { width: 22px; height: 22px; }
.salta { position: absolute; left: -999px; }
.salta:focus { left: 1rem; top: 1rem; background: var(--surface); padding: .5rem 1rem; z-index: 50; }

/* ---- testata ---- */
.barra { position: sticky; top: 0; z-index: 40; background: var(--head-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
.barra-dentro { width: min(1180px, calc(100% - 40px)); margin: 0 auto; height: 70px; display: flex; align-items: center; gap: 28px; }
.marchio { font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.02em; text-decoration: none; white-space: nowrap; }
.marchio span { color: var(--teal); }
.menu { display: flex; align-items: center; gap: 26px; margin-right: auto; }
.menu a { color: var(--muted); font-size: .94rem; font-weight: 500; text-decoration: none; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--ink); }
.menu a[aria-current="page"] { box-shadow: 0 2px 0 var(--teal); }
.solo-mobile, .hamburger { display: none !important; }
.attrezzi { display: flex; align-items: center; gap: 10px; }
.tondo { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: var(--ghost); border: 1px solid var(--border); color: var(--ink); }
.tondo:hover { border-color: var(--teal-line); }
.tondo svg { width: 19px; height: 19px; }
.ico-luna { display: none; }
:root[data-theme="light"] .ico-luna { display: block; }
:root[data-theme="light"] .ico-sole { display: none; }

/* ---- bottoni ---- */
.bottone { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 999px; cursor: pointer;
  font: 600 .95rem var(--body); white-space: nowrap; text-decoration: none; border: 1px solid transparent;
  background: var(--teal); color: var(--teal-on); box-shadow: 0 8px 28px var(--glow-teal); transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.bottone:hover { transform: translateY(-2px); }
.bottone.chiaro { background: var(--surface); color: var(--ink); border-color: var(--border); box-shadow: var(--card-shadow); }
.bottone.chiaro:hover { border-color: var(--teal-line); }
.bottone.arancio { background: #ff7a1a; color: #1c0c00; box-shadow: 0 8px 28px rgba(255,122,26,.3); }
.bottone.piccolo { min-height: 40px; padding: 0 18px; font-size: .88rem; }
.bottone.grande { min-height: 54px; padding: 0 28px; font-size: 1rem; }
.bottone.pieno { width: 100%; }

/* ---- sezioni ---- */
.blocco { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: clamp(64px, 9vw, 110px) 0; }
.blocco.senza-sopra { padding-top: 0; }
.fascia { width: 100%; max-width: none; background: var(--fascia); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding-left: max(20px, calc((100% - 1180px) / 2)); padding-right: max(20px, calc((100% - 1180px) / 2)); }
.testa-sezione { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.testa-sezione p { color: var(--muted); font-size: 1.1rem; }
.testa-pagina { padding-bottom: 48px; }
.testa-pagina .intro { margin-bottom: 0; }
.intro { color: var(--muted); font-size: clamp(1.08rem, 1.5vw, 1.22rem); max-width: 560px; margin-bottom: 30px; }
.intro b { color: var(--ink); font-weight: 600; }
.intro a { color: var(--teal); font-weight: 600; }
.azioni { display: flex; flex-wrap: wrap; gap: 12px; }
.centro { text-align: center; }
.nota { color: var(--muted-2); font-size: .88rem; margin-top: 16px; }
.nota a { color: var(--teal); }
.nota-prima { color: var(--muted); margin-top: 32px; }
.link-freccia { color: var(--teal); font-weight: 600; text-decoration: none; display: inline-block; margin-top: 30px; }
.link-freccia::after { content: ""; display: inline-block; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); margin-left: 9px; vertical-align: 2px; }

/* ---- apertura ---- */
.apertura { position: relative; background:
    radial-gradient(ellipse 55% 60% at 85% 10%, var(--wash-1), transparent 65%),
    radial-gradient(ellipse 45% 50% at 0% 40%, var(--wash-2), transparent 60%); }
.apertura::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: linear-gradient(to bottom, black, transparent 85%); mask-image: linear-gradient(to bottom, black, transparent 85%); pointer-events: none; }
.apertura-dentro { position: relative; width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 8vw, 100px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 72px); align-items: center; }
.fiducia { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted-2); font-size: .9rem; margin-top: 26px; list-style: none; }
.fiducia li::before { content: "✓"; color: var(--teal); font-weight: 700; margin-right: 7px; }

/* esempio: stessa larghezza, numeri allineati a sinistra */
.esempio { display: grid; gap: 16px; position: relative; }
.esempio::before { content: ""; position: absolute; left: 17px; top: 40px; bottom: 70px; width: 2px; background: linear-gradient(var(--teal-line), var(--teal)); }
.esempio-riga { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; position: relative; }
.passo-n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 700; color: var(--teal-on); background: var(--teal); box-shadow: 0 0 0 5px var(--bg); }
.finestra { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.finestra.mail { border-color: var(--teal-line); }
.finestra-barra { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.finestra-barra i { width: 9px; height: 9px; border-radius: 50%; background: var(--border); }
.finestra-barra em { font-style: normal; color: var(--muted-2); font-size: .8rem; margin-left: 8px; }
.mail-testa { padding: 10px 16px; background: var(--surface-2); border-bottom: 1px solid var(--border); font-size: .82rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 18px; }
.mail-testa b { color: var(--ink); font-weight: 600; }
.finestra-corpo { padding: 16px 18px; font-size: .95rem; color: var(--muted); }
.finestra-corpo b { color: var(--ink); display: block; margin-bottom: 4px; }
.finestra.mail .finestra-corpo { color: var(--ink); }
.finestra-corpo p { margin-bottom: 8px; }
.esempio figcaption { padding-left: 50px; color: var(--muted-2); font-size: .82rem; }

/* ---- schede ---- */
.tre-passi { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tre-passi li, .punto { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 28px 26px; box-shadow: var(--card-shadow); }
.tre-passi .ico, .punto .ico { width: 46px; height: 46px; padding: 11px; border-radius: 13px; background: var(--teal-soft); border: 1px solid var(--teal-line); color: var(--teal); margin-bottom: 18px; }
.tre-passi .passo-n { margin-bottom: 18px; box-shadow: none; }
.tre-passi h3, .punto h3 { margin-bottom: 6px; font-size: 1.2rem; }
.tre-passi p, .punto p { color: var(--muted); }
.quattro { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.punto { padding: 24px 22px; }
.punto p { font-size: .95rem; }

/* ---- piani ---- */
.interruttore { display: flex; width: max-content; margin: 0 auto 36px; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--card-shadow); }
.periodo { border: 0; background: transparent; color: var(--muted); font: 600 .95rem var(--body); padding: 10px 22px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.periodo.attivo { background: var(--ink); color: var(--bg); }
.regalo { white-space: nowrap; font-size: .74rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--orange-soft); color: var(--orange); border: 1px solid var(--orange-line); }
.periodo.attivo .regalo { background: #ff7a1a; color: #1c0c00; border-color: transparent; }
.piani { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.piano { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 32px 28px; box-shadow: var(--card-shadow); }
.piano.consigliato { border: 2px solid var(--teal); box-shadow: 0 24px 70px var(--glow-teal); transform: translateY(-10px); }
.nastro { position: absolute; top: -14px; left: 28px; font-size: .78rem; font-weight: 700; color: var(--teal-on); background: var(--teal); padding: 5px 13px; border-radius: 999px; }
.piano h3 { font-size: 1.4rem; }
.per { color: var(--muted); font-size: .94rem; margin: 4px 0 20px; }
.cifra { font-family: var(--display); font-weight: 700; font-size: 3.1rem; letter-spacing: -.035em; line-height: 1; margin-bottom: 8px; }
.cifra small { font-family: var(--body); font-size: .95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.sotto-cifra { color: var(--muted-2); font-size: .86rem; min-height: 1.4em; margin-bottom: 24px; }
.spunte { list-style: none; display: grid; gap: 11px; margin-bottom: 28px; flex: 1; }
.spunte li { position: relative; padding-left: 28px; color: var(--muted); font-size: .95rem; }
.spunte li b { color: var(--ink); }
.spunte li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231ed3b6' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
:root[data-theme="light"] .spunte li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a7566' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E"); }
.piano .bottone { width: 100%; }
.garanzia { display: flex; align-items: center; gap: 14px; max-width: 760px; margin: 34px auto 0; padding: 16px 22px; border-radius: 18px; background: var(--teal-soft); border: 1px solid var(--teal-line); color: var(--muted); }
.garanzia .ico { flex: none; width: 30px; height: 30px; color: var(--teal); }
.garanzia b { color: var(--ink); }
.garanzia a { color: var(--teal); font-weight: 600; }

/* ---- banda scura del done-for-you: scura in tutti e due i temi ---- */
.banda-scura { background: #101114; color: #f3f5f6; position: relative; overflow: hidden; }
.banda-scura::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 80% at 90% 0%, rgba(255,122,26,.22), transparent 60%), radial-gradient(ellipse 40% 70% at 0% 100%, rgba(30,211,182,.16), transparent 60%); pointer-events: none; }
.banda-dentro { position: relative; width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: clamp(64px, 8vw, 100px) 0; display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.etichetta { color: #ff9a4d; font-weight: 700; font-size: .95rem; margin-bottom: 10px; }
.banda-scura h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.banda-testo { color: rgba(243,245,246,.72); font-size: 1.15rem; margin-bottom: 24px; }
.spunte.chiare li { color: rgba(243,245,246,.78); }
.spunte.chiare li::before { background-color: rgba(255,122,26,.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff9a4d' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") !important; }
.banda-prezzo { background: rgba(255,255,255,.05); border: 1px solid rgba(255,122,26,.4); border-radius: 24px; padding: 30px 28px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.banda-prezzo .cifra small, .banda-prezzo .sotto-cifra { color: rgba(243,245,246,.6); }
.banda-prezzo .bottone { width: 100%; margin-top: 4px; }
.banda-prezzo .bottone + .bottone { margin-top: 10px; }
.banda-prezzo .bottone.chiaro { background: rgba(255,255,255,.06); color: #f3f5f6; border-color: rgba(243,245,246,.18); box-shadow: none; }

/* ---- come funziona: linea ---- */
.linea { list-style: none; max-width: 820px; display: grid; gap: 18px; }
.linea li { display: grid; grid-template-columns: 56px 1fr; gap: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 28px; box-shadow: var(--card-shadow); }
.linea-n { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 1.4rem; color: var(--teal-on); background: var(--teal); }
.linea h2 { font-size: 1.45rem; margin-bottom: 6px; }
.linea p { color: var(--muted); }
.esempio-corto { margin-top: 10px; padding: 10px 14px; border-radius: 12px; background: var(--surface-2); color: var(--ink) !important; font-size: .93rem; }

/* ---- domande ---- */
.domande { max-width: 800px; margin: 0 auto; }
.gruppo { font-size: 1.3rem; margin: 36px 0 14px; }
.gruppo:first-child { margin-top: 0; }
.domande details { border: 1px solid var(--border); border-radius: 16px; background: var(--surface); box-shadow: var(--card-shadow); margin-bottom: 12px; overflow: hidden; }
.domande details[open] { border-color: var(--teal-line); }
.domande summary { list-style: none; cursor: pointer; padding: 19px 22px; font-weight: 600; font-size: 1.02rem; display: flex; justify-content: space-between; gap: 16px; }
.domande summary::-webkit-details-marker { display: none; }
.domande summary::after { content: "+"; color: var(--teal); font-size: 1.5rem; line-height: 1; transition: transform .2s ease; }
.domande details[open] summary::after { transform: rotate(45deg); }
.domande details p { padding: 0 22px 20px; color: var(--muted); }
.domande a { color: var(--teal); font-weight: 600; }

/* ---- invito finale ---- */
.invito { text-align: center; padding: clamp(44px, 6vw, 72px) 24px; border-radius: 30px; background: linear-gradient(120deg, var(--teal-soft), var(--orange-soft)); border: 1px solid var(--teal-line); }
.invito p { color: var(--muted); font-size: 1.12rem; max-width: 520px; margin: 0 auto 28px; }

/* ---- campioni: modulo ---- */
.due-colonne { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.passi-piccoli { list-style: none; counter-reset: p; display: grid; gap: 14px; margin-top: 28px; }
.passi-piccoli li { counter-increment: p; display: flex; gap: 14px; align-items: center; color: var(--muted); }
.passi-piccoli li::before { content: counter(p); flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 700; color: var(--teal); background: var(--teal-soft); border: 1px solid var(--teal-line); }
.passi-piccoli b { color: var(--ink); }
.modulo { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: clamp(24px, 4vw, 34px); box-shadow: var(--shadow); }
.campo { display: block; margin-bottom: 16px; }
.campo span { display: block; font-weight: 600; font-size: .94rem; margin-bottom: 6px; }
.campo input { width: 100%; height: 50px; padding: 0 16px; border-radius: 14px; background: var(--bg); border: 1px solid var(--border); color: var(--ink); font: 16px var(--body); }
.campo input:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px var(--teal-soft); }
.campo input::placeholder { color: var(--muted-2); }
.errore { display: block; margin-top: 6px; color: var(--orange); font-weight: 600; font-size: .86rem; }
.campi-due { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.trappola { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fatto { text-align: left; }
.fatto .ico { width: 56px; height: 56px; padding: 13px; border-radius: 50%; background: var(--teal-soft); border: 1px solid var(--teal-line); color: var(--teal); margin-bottom: 18px; }
.fatto p { color: var(--muted); }
.fatto b { color: var(--ink); }

/* ---- pagine legali ---- */
.legale { width: min(760px, calc(100% - 40px)); margin: 0 auto; padding: clamp(48px, 6vw, 80px) 0; }
.legale h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 8px; }
.legale .aggiornato { color: var(--muted-2); font-size: .9rem; margin-bottom: 32px; }
.legale h2 { font-size: 1.3rem; margin: 32px 0 10px; letter-spacing: -.01em; }
.legale p, .legale li { color: var(--muted); }
.legale b { color: var(--ink); }
.legale ul { padding-left: 1.2rem; margin-bottom: 1rem; }
.legale li { margin-bottom: .4rem; }
.legale a { color: var(--teal); }

/* ---- piede ---- */
.piede { border-top: 1px solid var(--border); background: var(--fascia); padding: 56px 0 30px; }
.piede-dentro { width: min(1180px, calc(100% - 40px)); margin: 0 auto 36px; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.piede-marchio p { color: var(--muted); font-size: .93rem; max-width: 320px; margin: 12px 0 0; }
.piede-marchio a:not(.marchio) { color: var(--teal); text-decoration: none; }
.piede-col h3.spazio { margin-top: 22px; }
.piede-col h3 { font-family: var(--body); font-size: .9rem; color: var(--ink); margin-bottom: 12px; letter-spacing: 0; }
.piede-col a { display: block; color: var(--muted); font-size: .93rem; padding: 4px 0; text-decoration: none; }
.piede-col a:hover { color: var(--ink); }
.piede-fondo { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding-top: 22px; border-top: 1px solid var(--border); color: var(--muted-2); font-size: .84rem; }

/* ---- schermi stretti ---- */
@media (max-width: 1000px) {
  .quattro { grid-template-columns: repeat(2, 1fr); }
  .piani { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .piano.consigliato { transform: none; order: -1; }
}
@media (max-width: 900px) {
  .apertura-dentro, .banda-dentro, .due-colonne { grid-template-columns: 1fr; }
  .tre-passi { grid-template-columns: 1fr; }
  .menu { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 6px 20px 14px; }
  .menu.aperto { display: flex; }
  .menu a { padding: 13px 0; border-bottom: 1px solid var(--border); font-size: 1rem; color: var(--ink); }
  .menu a:last-child { border-bottom: 0; }
  .menu a[aria-current="page"] { box-shadow: none; color: var(--teal); }
  .solo-mobile { display: block !important; }
  .hamburger { display: grid !important; }
  .barra-dentro { justify-content: space-between; }
  .attrezzi { margin-left: auto; }
  .piede-dentro { grid-template-columns: 1fr 1fr; }
  .piede-marchio { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .nascondi-mobile { display: none; }
  .quattro { grid-template-columns: 1fr; }
  .azioni .bottone { width: 100%; }
  .campi-due { grid-template-columns: 1fr; }
  .linea li { grid-template-columns: 1fr; gap: 14px; padding: 22px; }
  .linea-n { width: 44px; height: 44px; font-size: 1.15rem; }
  .barra-dentro { height: 62px; }
  .menu { top: 62px; }
  .interruttore { width: 100%; }
  .periodo { flex: 1; justify-content: center; padding: 10px 12px; }
  .cifra { font-size: 2.7rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bottone, .domande summary::after { transition: none; }
}
