/* Stipy — foglio di stile del sito pubblico (stipy.it)
   Tutto locale: nessun font, script o immagine da server esterni.
   Colori e caratteri dal Brand Book v1.0. */

/* ---------- Caratteri (Google Fonts, licenza OFL: vedi assets/fonts/) ---------- */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../fonts/sora-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../fonts/sora-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Gettoni di colore ---------- */
:root {
  --viola: #7C3AED;
  --viola-chiaro: #9F67FF;
  --plum: #2E1065;
  --lavanda: #C4B5FD;
  --cloud: #F4F1FB;
  --slate: #6E6A82;
  --ink: #1C1530;
  --verde: #10B981;
  --rosso: #EF4444;
  --gradiente: linear-gradient(135deg, #9F67FF 0%, #7C3AED 100%);

  --bg: var(--cloud);
  --bg-alt: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #EDE7F9;
  --text: var(--ink);
  --muted: #5F5A75;          /* slate un filo più scuro: AA anche su cloud */
  --accent-text: #6D28D9;    /* viola per testo piccolo su chiaro */
  --line: #E6DFF5;
  --shadow: 0 1px 2px rgba(28,21,48,.05), 0 24px 48px -32px rgba(46,16,101,.35);
  --focus: #7C3AED;
  --header-bg: rgba(244,241,251,.86);

  --r-s: 12px; --r-m: 18px; --r-l: 26px;
  --wrap: 1160px;
  --gutter: 20px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #110A20;
    --bg-alt: #160E29;
    --surface: #1D1436;
    --surface-2: #2A1F4A;
    --text: #F4F1FB;
    --muted: #BDB6D3;
    --accent-text: #C4B5FD;
    --line: #2E2550;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 24px 48px -30px rgba(0,0,0,.7);
    --focus: #C4B5FD;
    --header-bg: rgba(17,10,32,.82);
    color-scheme: dark;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: "Sora", "Manrope", system-ui, sans-serif; letter-spacing: -0.025em; line-height: 1.12; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: var(--accent-text); text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-thickness: 2.5px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
strong { font-weight: 700; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 32px; } }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.salta { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--viola); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.salta:focus { top: 12px; }

/* ---------- Intestazione ---------- */
.testata { position: sticky; top: 0; z-index: 50; background: var(--header-bg); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.testata__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.marchio { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); border-radius: 10px; }
.marchio svg { width: 32px; height: 32px; flex: none; }
.marchio span { font-family: "Sora", sans-serif; font-weight: 700; font-size: 22px; letter-spacing: -0.03em; }
.marchio span b { color: var(--viola); font-weight: 700; }
@media (prefers-color-scheme: dark) { .marchio span b { color: var(--lavanda); } }
.menu { display: flex; align-items: center; gap: 4px; }
.menu a { color: var(--muted); font-weight: 600; font-size: 15px; text-decoration: none; padding: 8px 12px; border-radius: 10px; }
.menu a:hover { color: var(--text); background: var(--surface-2); }
.menu a[aria-current="page"] { color: var(--text); }
.menu .solo-largo { display: none; }
@media (min-width: 860px) { .menu .solo-largo { display: inline-block; } }
.menu .menu__lingua { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; letter-spacing: .04em; padding: 8px 10px; }
.menu .menu__lingua svg { width: 17px; height: 17px; }
.menu .pill { background: var(--ink); color: #fff; padding: 9px 16px; font-family: "Sora", sans-serif; font-size: 14px; }
.menu .pill:hover { background: var(--plum); color: #fff; }
@media (prefers-color-scheme: dark) { .menu .pill { background: var(--viola); } .menu .pill:hover { background: var(--viola-chiaro); } }

/* ---------- Bottoni e distintivi ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 22px; border-radius: 16px; font-family: "Sora", sans-serif; font-weight: 600; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; }
.btn--primario { background: var(--viola); color: #fff; box-shadow: 0 14px 28px -14px rgba(124,58,237,.8); }
.btn--primario:hover { background: #6D28D9; }
.btn--secondario { background: transparent; color: var(--text); border: 1.5px solid var(--line); }
.btn--secondario:hover { background: var(--surface); }
.btn svg { width: 20px; height: 20px; flex: none; }

.presto { display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 14px; min-height: 56px; border-radius: 16px; background: var(--ink); color: #fff; }
@media (prefers-color-scheme: dark) { .presto { background: #000; box-shadow: inset 0 0 0 1px #3A3060; } }
.presto svg { width: 28px; height: 28px; flex: none; }
.presto__testo { display: flex; flex-direction: column; line-height: 1.1; }
.presto__testo small { font-size: 12px; opacity: .78; font-weight: 600; letter-spacing: .01em; }
.presto__testo strong { font-family: "Sora", sans-serif; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.presto--chiaro { background: #fff; color: var(--ink); }
.negozi { display: flex; flex-wrap: wrap; gap: 12px; }
.presto { min-width: 190px; }
a.presto { text-decoration: none; }
a.presto:hover { filter: brightness(1.18); }
a.presto.presto--chiaro:hover { filter: brightness(.94); }
@media (max-width: 559px) {
  .negozi { display: grid; grid-template-columns: 1fr; width: 100%; }
  .negozi .presto { justify-content: center; }
  .hero__azioni .btn--secondario { width: 100%; }
}
@media (prefers-color-scheme: dark) { .presto--chiaro { background: #fff; box-shadow: none; } }

.occhiello { font-family: "Sora", sans-serif; font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 14px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 40px 0 56px; overflow: clip; }
.hero::before { content: ""; position: absolute; inset: -20% -30% auto auto; width: 900px; height: 900px; border-radius: 50%; background: radial-gradient(circle at 50% 50%, rgba(159,103,255,.30), rgba(159,103,255,0) 62%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: auto auto -30% -25%; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(196,181,253,.35), rgba(196,181,253,0) 60%); pointer-events: none; }
@media (prefers-color-scheme: dark) { .hero::before { background: radial-gradient(circle, rgba(124,58,237,.35), rgba(124,58,237,0) 62%); } .hero::after { background: radial-gradient(circle, rgba(46,16,101,.7), rgba(46,16,101,0) 60%); } }
.hero__griglia { position: relative; z-index: 1; display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero { padding: 72px 0 88px; } .hero__griglia { grid-template-columns: 1.05fr .95fr; gap: 56px; } }
.hero h1 { font-size: clamp(38px, 9.6vw, 68px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; margin: 22px 0 20px; }
.hero__griglia h1:first-child { margin-top: 0; }
.hero h1 em { font-style: normal; background: var(--gradiente); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (prefers-color-scheme: dark) { .hero h1 em { background: linear-gradient(135deg, #DDD3FF, #A98BFF); -webkit-background-clip: text; background-clip: text; } }
.hero__lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 34em; }
.hero__azioni { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 30px; }
.hero__nota { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; font-weight: 600; color: var(--muted); margin-top: 26px; max-width: 32em; }
.hero__nota svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--viola); }
@media (prefers-color-scheme: dark) { .hero__nota svg { color: var(--lavanda); } }

/* Scena con i due telefoni: schermate VERE dell'app (WebP), in dissolvenza incrociata e sfasate (assets/js/schermate.js).
   Si muove solo opacity (dissolvenza) e translate (fluttuare): niente che sposti la pagina. Il fluttuare parte col JS,
   dopo il caricamento, così non pesa sul punteggio di velocità; con «riduci movimento» non parte mai. */
.scena { position: relative; display: flex; justify-content: center; align-items: flex-start; min-height: 600px; padding-bottom: 36px; }
@media (max-width: 520px) { .scena { min-height: 590px; } }
@media (min-width: 960px) { .scena { min-height: 640px; } .scena .telefono { --w: 280px; } }
.scena .fl { flex: none; }
.scena .fl--dietro { position: absolute; transform: translate(34%, 34px) rotate(6deg) scale(.9); filter: saturate(.95); }
.scena .fl--davanti { position: relative; transform: translateX(-14%) rotate(-3deg); }
@media (max-width: 520px) { .scena .fl--dietro { transform: translate(30%, 30px) rotate(6deg) scale(.86); } .scena .fl--davanti { transform: translateX(-12%) rotate(-3deg); } }
.scena.is-avviata .fl--davanti { animation: flotta 6.2s ease-in-out infinite; }
.scena.is-avviata .fl--dietro { animation: flotta 7.4s ease-in-out 1.6s infinite; }
.scena.is-ferma .fl { animation-play-state: paused; }
@keyframes flotta { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
.tf__dissolve { position: relative; width: 100%; height: 100%; }
.tf__dissolve .tf__img { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease-in-out; }
.tf__dissolve .tf__img.is-on { opacity: 1; }
.tf__pausa { all: unset; box-sizing: border-box; position: absolute; left: 50%; bottom: -4px; transform: translateX(-50%); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 999px; cursor: pointer; color: var(--viola); background: rgba(124, 58, 237, .10); }
.tf__pausa[hidden] { display: none; }
.tf__pausa:hover { background: rgba(124, 58, 237, .20); }
.tf__pausa:focus-visible { outline: 3px solid var(--viola); outline-offset: 2px; }
.tf__pausa svg { width: 12px; height: 12px; fill: currentColor; }
.tf__pausa .i-play { display: none; }
.tf__pausa[aria-pressed="true"] .i-play { display: block; }
.tf__pausa[aria-pressed="true"] .i-pausa { display: none; }
@media (prefers-color-scheme: dark) { .tf__pausa { color: var(--lavanda); background: rgba(196, 181, 253, .14); } .tf__pausa:focus-visible { outline-color: var(--lavanda); } }

/* ---------- Telefono: cornice con la schermata vera (.tf) o disegnato in HTML (.telefono__schermo, solo «Ti torna?», spenta) ---------- */
.telefono { --w: 264px; width: var(--w); height: calc(var(--w) * 2.05); flex: none; border-radius: 46px; padding: 9px; background: #17112A; box-shadow: 0 0 0 1.5px #3B3355 inset, 0 50px 90px -40px rgba(46,16,101,.65), 0 18px 40px -24px rgba(28,21,48,.5); position: relative; }
.telefono__schermo { position: relative; height: 100%; border-radius: 38px; overflow: hidden; background: #F4F1FB; color: #1C1530; font-family: "Manrope", system-ui, sans-serif; font-size: 11px; line-height: 1.45; }
.telefono__isola { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 82px; height: 23px; border-radius: 14px; background: #0B0816; z-index: 3; }
.telefono.tf { height: auto; }
.tf__schermo { position: relative; border-radius: 38px; overflow: hidden; background: #F4F1FB; aspect-ratio: 1320 / 2868; }
.tf__isola { position: absolute; top: 1.15%; left: 50%; transform: translateX(-50%); width: 28.6%; height: 3.9%; border-radius: 999px; background: #0B0816; z-index: 3; pointer-events: none; }
.tf__img { display: block; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; user-select: none; }
.telefono svg { width: 14px; height: 14px; flex: none; }
.app-stato { display: flex; justify-content: space-between; align-items: center; padding: 12px 22px 0 26px; height: 40px; font-family: "Sora", sans-serif; font-weight: 600; font-size: 11.5px; }
.app-stato span:last-child { display: inline-flex; gap: 4px; align-items: center; }
.app-stato i { display: inline-block; width: 15px; height: 8px; border-radius: 2.5px; border: 1.2px solid #1C1530; position: relative; }
.app-stato i::after { content: ""; position: absolute; inset: 1px 3px 1px 1px; background: #1C1530; border-radius: 1px; }
.app-barra { display: flex; align-items: center; justify-content: space-between; padding: 6px 14px 8px; }
.app-barra b { font-family: "Sora", sans-serif; font-size: 13.5px; font-weight: 700; letter-spacing: -0.02em; }
.app-barra svg { width: 16px; height: 16px; color: #1C1530; }
.app-corpo { padding: 2px 12px 12px; display: grid; gap: 8px; }
.app-card { background: #fff; border-radius: 14px; padding: 10px 11px; box-shadow: 0 1px 2px rgba(28,21,48,.05); }
.app-cta { display: flex; align-items: center; justify-content: center; gap: 6px; background: #7C3AED; color: #fff; border-radius: 12px; padding: 10px; font-family: "Sora", sans-serif; font-weight: 600; font-size: 11.5px; }
.app-riga { display: flex; align-items: center; gap: 9px; padding: 9px 11px; }
.app-riga + .app-riga { border-top: 1px solid #F0ECF8; }
.app-riga .ico { width: 26px; height: 26px; border-radius: 8px; background: #EDE7F9; display: grid; place-items: center; color: #7C3AED; flex: none; }
.app-riga .ico svg { width: 14px; height: 14px; }
.app-riga div { flex: 1; min-width: 0; }
.app-riga b { display: block; font-size: 11px; font-weight: 700; }
.app-riga small { display: block; color: #6E6A82; font-size: 9.5px; }
.app-riga > svg { width: 12px; height: 12px; color: #9A93AE; }
.app-sezione { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 2px 0; font-family: "Sora", sans-serif; font-weight: 700; font-size: 11.5px; }
.app-sezione span { font-size: 11px; }
.voce__riga { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.voce__nome { font-weight: 800; font-size: 10px; letter-spacing: .02em; }
.voce__importo { font-family: "Sora", sans-serif; font-weight: 700; font-size: 11.5px; white-space: nowrap; }
.voce__importo.piu { color: #047857; }
.voce__importo.meno { color: #B91C1C; }
.voce__spiega { margin-top: 7px; display: grid; gap: 5px; font-size: 9.8px; color: #3A3357; }
.voce__spiega b { color: #1C1530; font-weight: 700; display: block; font-size: 9.5px; }
.app-titolone { padding: 4px 4px 2px; }
.app-titolone b { display: block; font-family: "Sora", sans-serif; font-size: 16px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.2; }
.app-titolone small { color: #6E6A82; font-size: 10px; }
.conf { padding: 9px 11px; }
.conf + .conf { border-top: 1px solid #F0ECF8; }
.pastiglie { display: flex; gap: 4px; margin-top: 6px; }
.pastiglie span { flex: 1; text-align: center; padding: 4px 0; border-radius: 7px; background: #F4F1FB; color: #3A3357; font-size: 9px; font-weight: 700; border: 1px solid #ECE6F8; }
.pastiglie .si { background: #E3F8EF; color: #047857; border-color: #BDEBD7; }
.app-piede { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 12px 18px; background: linear-gradient(180deg, rgba(244,241,251,0), #F4F1FB 26%); display: grid; gap: 6px; text-align: center; }
.app-piede .app-cta { padding: 11px; }
.app-piede small { color: #5B21B6; font-weight: 700; font-size: 10.5px; padding: 4px; }

/* ---------- Sezioni ---------- */
.sezione { padding: 72px 0; }
@media (min-width: 960px) { .sezione { padding: 104px 0; } }
.sezione--bianca { background: var(--bg-alt); }
.sezione__testa { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.sezione__testa h2 { font-size: clamp(30px, 5.4vw, 46px); font-weight: 700; letter-spacing: -0.035em; }
.sezione__testa p { margin-top: 16px; color: var(--muted); font-size: 18px; }

/* Passi */
.passi { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: passo; }
@media (min-width: 860px) { .passi { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.passo { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 26px 24px 28px; box-shadow: var(--shadow); }
.passo__num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--gradiente); color: #fff; font-family: "Sora", sans-serif; font-weight: 800; font-size: 19px; box-shadow: 0 10px 20px -10px rgba(124,58,237,.9); }
.passo__ico { position: absolute; top: 24px; right: 22px; width: 40px; height: 40px; color: var(--lavanda); }
@media (prefers-color-scheme: dark) { .passo__ico { color: #4B3A86; } }
.passo h3 { font-size: 21px; margin: 18px 0 8px; }
.passo p { color: var(--muted); font-size: 16px; }

/* Vetrina delle funzioni */
.vetrina { display: grid; gap: 64px; }
@media (min-width: 960px) { .vetrina { gap: 96px; } }
.vetrina__riga { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .vetrina__riga { grid-template-columns: 1fr 1fr; gap: 64px; } .vetrina__riga--giro .vetrina__testo { order: 2; } }
.vetrina__testo h3 { font-size: clamp(26px, 4vw, 36px); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 14px; }
.vetrina__testo p { color: var(--muted); font-size: 17.5px; max-width: 32em; }
.vetrina__testo ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.vetrina__testo li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.vetrina__testo li svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--viola); }
@media (prefers-color-scheme: dark) { .vetrina__testo li svg { color: var(--lavanda); } }
.vetrina__palco { position: relative; display: flex; justify-content: center; padding: 28px 0; border-radius: 32px; background: radial-gradient(120% 90% at 50% 10%, #EDE7F9 0%, rgba(237,231,249,0) 70%); }
@media (prefers-color-scheme: dark) { .vetrina__palco { background: radial-gradient(120% 90% at 50% 10%, #241A42 0%, rgba(36,26,66,0) 70%); } }
@media (min-width: 900px) { .vetrina__palco .telefono { --w: 290px; } }
.citazione { display: inline-block; font-family: "Sora", sans-serif; font-weight: 600; color: var(--accent-text); background: var(--surface-2); padding: 1px 8px; border-radius: 8px; white-space: nowrap; }

.tessere { display: grid; gap: 16px; margin-top: 72px; }
@media (min-width: 760px) { .tessere { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.tessera { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 26px 24px; box-shadow: var(--shadow); }
.tessera__ico { width: 48px; height: 48px; border-radius: 15px; background: var(--surface-2); color: var(--viola); display: grid; place-items: center; margin-bottom: 16px; }
@media (prefers-color-scheme: dark) { .tessera__ico { color: var(--lavanda); } }
.tessera__ico svg { width: 24px; height: 24px; }
.tessera h3 { font-size: 20px; margin-bottom: 8px; }
.tessera p { color: var(--muted); font-size: 16px; }

/* ---------- Privacy (breve e calma) ---------- */
.rispetto { max-width: 760px; margin: 0 auto; text-align: center; background: linear-gradient(180deg, var(--surface-2), rgba(237,231,249,0)); border-radius: 34px; padding: 44px 24px 8px; }
@media (prefers-color-scheme: dark) { .rispetto { background: linear-gradient(180deg, #241A42, rgba(36,26,66,0)); } }
.rispetto__ico { width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 18px; background: var(--gradiente); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 28px -14px rgba(124,58,237,.8); }
.rispetto__ico svg { width: 28px; height: 28px; }
.rispetto h2 { font-size: clamp(28px, 5vw, 40px); font-weight: 700; letter-spacing: -0.035em; }
.rispetto p:not(.occhiello) { margin: 16px auto 0; max-width: 36em; color: var(--muted); font-size: 18px; }
.rispetto .btn { margin-top: 28px; }

/* ---------- Per chi è ---------- */
.persone { display: grid; gap: 16px; }
@media (min-width: 860px) { .persone { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.persona { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 26px 24px; }
.persona h3 { font-size: 20px; margin: 14px 0 8px; }
.persona p { color: var(--muted); font-size: 16px; }
.persona__ico { width: 48px; height: 48px; border-radius: 50%; background: var(--gradiente); color: #fff; display: grid; place-items: center; }
.persona__ico svg { width: 24px; height: 24px; }
.lingue { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.lingue span { font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--accent-text); }
.onesta { margin-top: 28px; display: grid; gap: 18px; align-items: center; background: var(--surface-2); border-radius: var(--r-l); padding: 26px 24px; }
@media (min-width: 860px) { .onesta { grid-template-columns: auto 1fr; padding: 30px 34px; gap: 26px; } }
.onesta__ico { width: 56px; height: 56px; border-radius: 18px; background: var(--surface); color: var(--viola); display: grid; place-items: center; }
@media (prefers-color-scheme: dark) { .onesta__ico { color: var(--lavanda); } }
.onesta__ico svg { width: 28px; height: 28px; }
.onesta h3 { font-size: 20px; margin-bottom: 6px; }
.onesta p { color: var(--muted); font-size: 16px; }
@media (prefers-color-scheme: dark) { .onesta p { color: #D2CAEE; } }

/* ---------- Domande ---------- */
.domande { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.domanda { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); }
.domanda summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-family: "Sora", sans-serif; font-weight: 600; font-size: 17px; letter-spacing: -0.015em; border-radius: var(--r-m); }
.domanda summary::-webkit-details-marker { display: none; }
.domanda summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2) no-repeat center / 14px 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C3AED' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); transition: transform .2s ease; }
.domanda[open] summary::after { transform: rotate(45deg); }
.domanda__risposta { padding: 0 20px 20px; color: var(--muted); font-size: 16.5px; display: grid; gap: 10px; }
.domanda__risposta strong { color: var(--text); }

/* ---------- Chiusura ---------- */
.chiusura { padding: 24px 0 88px; }
.chiusura__card { position: relative; overflow: clip; border-radius: 34px; background: var(--gradiente); color: #fff; padding: 44px 24px; text-align: center; box-shadow: 0 40px 80px -40px rgba(124,58,237,.9); }
@media (min-width: 760px) { .chiusura__card { padding: 64px 48px; } }
.chiusura__card::before { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: rgba(255,255,255,.12); }
.chiusura__card::after { content: ""; position: absolute; left: -100px; bottom: -200px; width: 380px; height: 380px; border-radius: 50%; background: rgba(46,16,101,.25); }
.chiusura__card > * { position: relative; z-index: 1; }
.chiusura__card .simbolo { width: 64px; height: 64px; margin: 0 auto 18px; }
.chiusura__card h2 { font-size: clamp(30px, 6vw, 48px); font-weight: 800; letter-spacing: -0.035em; }
.chiusura__card p { margin: 14px auto 0; max-width: 34em; color: #F1EBFF; font-size: 17.5px; }
.chiusura__card .negozi { margin-top: 28px; justify-content: center; }
@media (max-width: 559px) { .chiusura__card .negozi { max-width: 320px; margin-inline: auto; } }
.chiusura__card .nota { margin-top: 16px; color: #F5F0FF; font-size: 14.5px; }

/* ---------- Piè di pagina ---------- */
.piede { background: var(--ink); color: #D9D3EA; padding: 56px 0 32px; font-size: 15px; }
@media (prefers-color-scheme: dark) { .piede { background: #0A0614; border-top: 1px solid var(--line); } }
.piede a { color: #fff; text-decoration: none; }
.piede a:hover { text-decoration: underline; }
.piede__griglia { display: grid; gap: 32px; }
@media (min-width: 860px) { .piede__griglia { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; } }
.piede .marchio { color: #fff; }
.piede .marchio span b { color: var(--lavanda); }
.piede__motto { margin-top: 14px; max-width: 22em; color: #BDB6D3; }
.piede h2 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--lavanda); margin-bottom: 14px; font-weight: 600; }
.piede ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.piede address { font-style: normal; display: grid; gap: 4px; color: #D9D3EA; }
.piede__lingue { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.piede__lingue h2 { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.piede__lingue h2 svg { width: 16px; height: 16px; }
.piede__lingue ul { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.piede__lingue a[aria-current] { color: var(--lavanda); font-weight: 700; }
.piede__fondo { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: #B4ADC9; font-size: 14px; }

/* ---------- Pagine di testo (privacy, supporto, cancellazione) ---------- */
.pagina-testa { position: relative; padding: 48px 0 36px; overflow: clip; }
.pagina-testa::before { content: ""; position: absolute; right: -200px; top: -300px; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(159,103,255,.25), rgba(159,103,255,0) 62%); pointer-events: none; }
.pagina-testa .wrap { position: relative; }
.pagina-testa h1 { font-size: clamp(34px, 7vw, 54px); font-weight: 800; letter-spacing: -0.04em; margin: 14px 0 12px; }
.pagina-testa p { color: var(--muted); font-size: 18px; max-width: 40em; }
.briciole { font-size: 14px; color: var(--muted); }
.briciole a { color: var(--muted); }
.corpo { padding: 8px 0 88px; }
.corpo__griglia { display: grid; gap: 32px; }
@media (min-width: 1020px) { .corpo__griglia { grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; } }
.indice { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 18px 20px; font-size: 15px; }
@media (min-width: 1020px) { .indice { position: sticky; top: 88px; } }
.indice h2 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 10px; }
.indice ol { margin: 0; padding-left: 22px; display: grid; gap: 5px; }
.indice a { color: var(--text); text-decoration: none; }
.indice a:hover { color: var(--accent-text); text-decoration: underline; }
.testo { max-width: 760px; font-size: 17px; }
.testo > * + * { margin-top: 16px; }
.testo h2 { font-size: clamp(23px, 3.6vw, 28px); margin-top: 48px; padding-top: 4px; }
.testo h2:first-child { margin-top: 0; }
.testo h3 { font-size: 20px; margin-top: 30px; }
.testo ul, .testo ol { padding-left: 22px; }
.testo li + li { margin-top: 8px; }
.testo code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .9em; background: var(--surface-2); padding: 1px 6px; border-radius: 6px; }
.testo hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.testo em { color: var(--muted); }
.riquadro { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 20px 22px; }
.riquadro--viola { background: var(--surface-2); border-color: transparent; }
.riquadro > * + * { margin-top: 10px; }
.riquadro h3 { margin-top: 0; font-size: 19px; }

/* Tabelle: a schede sotto i 700 px, niente scorrimento orizzontale */
.guida-meta { font-size: 15px !important; color: var(--muted); margin-top: 6px; }
.tessera h3 a { color: inherit; text-decoration: none; }
.tessera h3 a:hover, .tessera h3 a:focus-visible { text-decoration: underline; }
.tessera:has(h3 a) { position: relative; }
.tessera h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.tabella { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15.5px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
.tabella th, .tabella td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.tabella th { font-family: "Sora", sans-serif; font-weight: 600; font-size: 14px; background: var(--surface-2); color: var(--text); }
.tabella tr:last-child td { border-bottom: 0; }
.tabella td:first-child { font-weight: 700; }
@media (max-width: 699px) {
  .tabella, .tabella tbody, .tabella tr, .tabella td { display: block; width: 100%; }
  .tabella thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tabella { border: 0; background: transparent; }
  .tabella tr { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 6px 0; }
  .tabella tr + tr { margin-top: 12px; }
  .tabella td { border-bottom: 0; padding: 6px 16px; }
  .tabella td[data-label]::before { content: attr(data-label); display: block; font-family: "Sora", sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 2px; }
  .tabella td:first-child { font-family: "Sora", sans-serif; font-size: 17px; padding-top: 10px; }
  .tabella td:first-child::before { display: none; }
}

/* Passi numerati nelle pagine di aiuto */
.istruzioni { list-style: none; counter-reset: istr; padding: 0 !important; display: grid; gap: 12px; }
.istruzioni li { counter-increment: istr; position: relative; padding: 16px 18px 16px 64px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); margin: 0 !important; }
.istruzioni li::before { content: counter(istr); position: absolute; left: 16px; top: 14px; width: 34px; height: 34px; border-radius: 11px; background: var(--gradiente); color: #fff; display: grid; place-items: center; font-family: "Sora", sans-serif; font-weight: 700; }
.percorso { display: inline-flex; flex-wrap: wrap; gap: 4px; align-items: center; font-weight: 700; }
.contatti { display: grid; gap: 14px; }
@media (min-width: 700px) { .contatti { grid-template-columns: 1fr 1fr; } }
.contatto { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 22px; text-decoration: none; color: var(--text); }
a.contatto:hover { border-color: var(--viola); }
.contatto small { display: block; color: var(--muted); font-size: 14px; }
.contatto b { display: block; font-family: "Sora", sans-serif; font-size: 20px; letter-spacing: -0.02em; margin: 6px 0 4px; color: var(--accent-text); word-break: break-word; }
.contatto span { color: var(--muted); font-size: 15px; }

/* ---------- Modulo di contatto ---------- */
.modulo { display: grid; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px 20px; box-shadow: var(--shadow); position: relative; }
@media (min-width: 700px) { .modulo { padding: 32px; } }
.modulo[hidden], #senza-js[hidden] { display: none; }
.campi-due { display: grid; gap: 18px; align-items: start; }
@media (min-width: 700px) { .campi-due { grid-template-columns: 1fr 1fr; } }
.campo { display: grid; gap: 6px; }
.campo label { font-family: "Sora", sans-serif; font-weight: 600; font-size: 15px; }
.campo small { color: var(--muted); font-size: 14px; }
.campo input, .campo select, .campo textarea { width: 100%; font: inherit; font-size: 16px; color: var(--text); background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.campo textarea { resize: vertical; min-height: 140px; }
.campo select { appearance: none; -webkit-appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C3AED' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; }
.campo input:focus-visible, .campo select:focus-visible, .campo textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--viola); }
.trappola { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.modulo .btn { justify-self: start; }
@media (max-width: 559px) { .modulo .btn { justify-self: stretch; } }
.modulo .btn:disabled { opacity: .7; cursor: progress; }
.modulo__nota { color: var(--muted); font-size: 14.5px; margin-top: -6px !important; }
.modulo__stato:empty { display: none; }
.modulo__stato { border-radius: 12px; padding: 12px 14px; font-size: 15.5px; }
.modulo__stato--invio { background: var(--surface-2); }
.modulo__stato--ok { background: #E3F8EF; color: #065F46; }
.modulo__stato--errore { background: #FDECEC; color: #991B1B; }
.modulo__stato--ok a, .modulo__stato--errore a { color: inherit; font-weight: 700; }
@media (prefers-color-scheme: dark) {
  .modulo__stato--ok { background: #0B3B2C; color: #A7F3D0; }
  .modulo__stato--errore { background: #4A1414; color: #FECACA; }
}

/* ---------- 404 ---------- */
.smarrita { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 64px 0; }
.smarrita .numero { font-family: "Sora", sans-serif; font-weight: 800; font-size: clamp(88px, 26vw, 180px); letter-spacing: -0.06em; line-height: 1; background: var(--gradiente); -webkit-background-clip: text; background-clip: text; color: transparent; }
.smarrita h1 { font-size: clamp(26px, 5vw, 38px); margin: 10px 0 12px; }
.smarrita p { color: var(--muted); max-width: 30em; margin: 0 auto; }
.smarrita .hero__azioni { justify-content: center; }

@media print {
  .testata, .piede, .indice, .salta { display: none !important; }
  body { background: #fff; color: #000; }
}

/* Occhielli: vincono sui colori dei paragrafi dei contenitori */
.sezione__testa .occhiello, .vetrina__testo .occhiello { color: var(--accent-text); }
