/* Cash Cow Italia */

@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url("/fonts/archivo.woff2") format("woff2");
}

:root {
  --inchiostro: #0a110d;
  --inchiostro-2: #111a15;
  --inchiostro-3: #1b2821;
  --bosco: #123222;
  --latte: #f1f4ea;
  --latte-2: #e3e8d9;
  --lime: #b6f25e;
  --lime-forte: #9be03a;
  --testo: #eef2e6;
  --testo-quieto: #a7b3a6;
  --scuro: #0d1711;
  --scuro-quieto: #45534a;
  --filo: rgb(238 242 230 / .14);
  --filo-scuro: rgb(13 23 17 / .16);

  --carattere: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --margine: clamp(18px, 4.6vw, 48px);
  --colonna: 1180px;
  --raggio: 22px;
  --sezione: clamp(72px, 11vw, 148px);
  --molla: cubic-bezier(.16, 1, .3, 1);
  --testa: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--testa) + 16px); scrollbar-color: #3a4a40 var(--inchiostro); }
body {
  margin: 0; background: var(--inchiostro); color: var(--testo);
  font: 400 1.0625rem/1.6 var(--carattere); font-stretch: 100%;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
::selection { background: var(--lime); color: var(--scuro); }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, blockquote, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: .07em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 8px; }
.chiara :focus-visible, .lime :focus-visible { outline-color: var(--scuro); }

.simboli { position: absolute; width: 0; height: 0; }
.icona { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.salta { position: absolute; left: var(--margine); top: -5rem; z-index: 60; padding: 10px 16px; background: var(--lime); color: var(--scuro); font-weight: 650; border-radius: 10px; }
.salta:focus { top: 12px; }

.dentro { max-width: calc(var(--colonna) + 2 * var(--margine)); margin-inline: auto; padding-inline: var(--margine); }

/* ── Titoli ───────────────────────────────────────────── */
h1, h2, h3 { text-wrap: balance; }
.titolo-1 { font-weight: 800; font-stretch: 112%; font-size: clamp(2.5rem, 8.6vw, 5.4rem); line-height: .98; letter-spacing: -.025em; }
.titolo-2 { font-weight: 780; font-stretch: 110%; font-size: clamp(1.95rem, 5.4vw, 3.5rem); line-height: 1.03; letter-spacing: -.02em; }
.titolo-3 { font-weight: 720; font-stretch: 106%; font-size: clamp(1.4rem, 3.4vw, 2rem); line-height: 1.12; letter-spacing: -.012em; }
.sottotitolo { font-size: clamp(1.08rem, 2.3vw, 1.3rem); line-height: 1.5; color: var(--testo-quieto); max-width: 56ch; }
.chiara .sottotitolo { color: var(--scuro-quieto); }
.lime .sottotitolo { color: #2c4a14; }

/* ── Pulsanti ─────────────────────────────────────────── */
.pulsante {
  --sfondo: var(--lime); --sopra: var(--scuro);
  display: inline-flex; align-items: center; gap: 14px; max-width: 100%;
  padding: 7px 8px 7px 24px; min-height: 54px; border-radius: 999px;
  background: var(--sfondo); color: var(--sopra); text-decoration: none;
  font-weight: 680; font-stretch: 104%; font-size: 1.05rem; line-height: 1.15; letter-spacing: -.005em;
  transition: background-color .35s var(--molla), translate .45s var(--molla), box-shadow .45s var(--molla);
}
.pulsante .disco { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--sopra); color: var(--sfondo); overflow: hidden; }
.pulsante .icona { font-size: 1.25rem; stroke-width: 2.1; transition: translate .5s var(--molla); }
.pulsante:hover { background: var(--lime-forte); translate: 0 -2px; box-shadow: 0 16px 24px -14px rgb(0 0 0 / .7); }
.pulsante:hover .icona { translate: 3px -3px; }
.pulsante:active { translate: 0 0; }
.pulsante--quieto { --sfondo: transparent; --sopra: var(--testo); box-shadow: inset 0 0 0 1.5px var(--filo); padding-inline: 24px; }
.pulsante--quieto:hover { background: rgb(238 242 230 / .08); box-shadow: inset 0 0 0 1.5px rgb(238 242 230 / .4); }
.pulsante--scuro { --sfondo: var(--scuro); --sopra: var(--latte); }
.pulsante--scuro .disco { background: var(--lime); color: var(--scuro); }
.pulsante--scuro:hover { background: #17251c; box-shadow: 0 14px 26px -16px rgb(13 23 17 / .7); }
.collegamento { display: inline-flex; align-items: center; gap: 8px; font-weight: 620; text-decoration: underline; text-decoration-color: transparent; transition: text-decoration-color .3s; }
.collegamento .icona { font-size: 1.1rem; transition: translate .45s var(--molla); }
.collegamento:hover { text-decoration-color: currentColor; }
.collegamento:hover .icona { translate: 3px -3px; }

/* ── Testa ────────────────────────────────────────────── */
.testa { position: sticky; top: 0; z-index: 50; transition: background-color .4s, box-shadow .4s; }
.testa--scesa { background: rgb(10 17 13 / .86); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--filo); }
.testa .dentro { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--testa); }
.marchio { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 820; font-stretch: 114%; font-size: 1.12rem; letter-spacing: -.015em; white-space: nowrap; }
.marchio-segno { width: 26px; height: 26px; border-radius: 8px; background: var(--lime); display: grid; place-items: center; }
.marchio-segno svg { width: 12px; height: 12px; fill: var(--scuro); }
.marchio span span { font-weight: 420; color: var(--testo-quieto); }
.testa nav { display: flex; align-items: center; gap: clamp(14px, 2.6vw, 30px); font-weight: 540; font-size: .98rem; }
.testa nav a:not(.pulsante) { text-decoration: none; white-space: nowrap; padding: 8px 0; color: var(--testo-quieto); transition: color .25s; }
.testa nav a:not(.pulsante):hover, .testa nav a[aria-current] { color: var(--testo); }
.testa .pulsante { min-height: 42px; padding: 4px 5px 4px 18px; font-size: .95rem; gap: 10px; white-space: nowrap; }
.testa .pulsante .disco { width: 32px; height: 32px; }
.solo-largo { display: none !important; }
@media (max-width: 619px) {
  .testa nav a:not(.pulsante) { display: none; }
  .testa .pulsante { min-height: 40px; padding: 0 15px; font-size: .9rem; }
  .testa .pulsante .disco { display: none; }
}

/* ── Apertura della home ──────────────────────────────── */
.apertura { position: relative; overflow-x: clip; padding-top: clamp(28px, 6vw, 72px); padding-bottom: clamp(48px, 8vw, 96px); }
.apertura::before {
  content: ""; position: absolute; z-index: -1; inset: -180px -20% auto; height: 760px; pointer-events: none;
  background: radial-gradient(48% 52% at 72% 38%, rgb(34 92 52 / .5), transparent 70%), radial-gradient(40% 44% at 12% 8%, rgb(24 60 40 / .55), transparent 70%);
}
.apertura .dentro { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 7vw, 72px); align-items: center; }
.apertura h1 { font-size: clamp(2rem, 8.4vw, 4.5rem); font-stretch: 108%; }
.apertura h1 em { font-style: normal; color: var(--lime); }
.apertura .sottotitolo { margin-top: clamp(18px, 2.6vw, 28px); }
.apertura-azioni { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(26px, 3.6vw, 40px); }
.apertura-fiducia { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: clamp(24px, 3.4vw, 36px); color: var(--testo-quieto); font-size: .97rem; }
.apertura-fiducia strong { color: var(--testo); font-weight: 650; }
.stelle { display: inline-flex; gap: 2px; color: var(--lime); }
.stelle svg { width: 17px; height: 17px; fill: currentColor; }

/* Il pannello del canale */
.scena { position: relative; display: grid; place-items: center; padding-block: 84px; isolation: isolate; }
.anello { position: absolute; z-index: -1; width: 132%; max-width: none; aspect-ratio: 1; pointer-events: none; animation: gira 70s linear infinite; }
.anello text { font: 640 21px var(--carattere); font-stretch: 112%; letter-spacing: .14em; fill: rgb(238 242 230 / .3); text-transform: uppercase; }
@keyframes gira { to { rotate: 360deg; } }
.canale {
  width: min(100%, 400px); padding: 22px 22px 20px; border-radius: 26px;
  background: linear-gradient(180deg, #17241d, #101a15); box-shadow: inset 0 0 0 1px var(--filo), 0 40px 70px -30px rgb(0 0 0 / .8), 0 18px 30px -18px rgb(0 0 0 / .6);
}
.canale-testa { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.canale-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; flex: none; }
.canale-avatar svg { width: 16px; height: 16px; fill: var(--scuro); translate: 1px 0; }
.canale-nome { font-weight: 700; font-stretch: 106%; line-height: 1.2; flex: 1; min-width: 0; }
.canale-nome small { display: block; font-weight: 420; font-size: .86rem; color: var(--testo-quieto); }
.stato { flex-basis: 100%; justify-items: start; position: relative; display: grid; font-size: .8rem; font-weight: 650; white-space: nowrap; }
.stato span { grid-area: 1 / 1; padding: 6px 11px; border-radius: 999px; transition: opacity .5s, translate .6s var(--molla); }
.stato-attesa { background: var(--inchiostro-3); color: var(--testo-quieto); opacity: 0; translate: 0 -8px; }
.stato-attivo { background: var(--lime); color: var(--scuro); }
.canale.in-corso .stato-attesa { opacity: 1; translate: 0 0; }
.canale.in-corso .stato-attivo { opacity: 0; translate: 0 8px; }
.metrica { margin-top: 22px; }
.metrica-riga { display: flex; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.metrica-valore { white-space: nowrap; }
.metrica-nome { color: var(--testo-quieto); font-size: .95rem; }
.metrica-valore { font-weight: 780; font-stretch: 110%; font-size: 1.9rem; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.metrica-valore small { font-weight: 480; font-size: .9rem; letter-spacing: 0; color: var(--testo-quieto); margin-left: 4px; }
.barra { display: block; height: 10px; margin-top: 10px; border-radius: 999px; background: var(--inchiostro-3); overflow: hidden; }
.barra i { display: block; height: 100%; border-radius: inherit; background: var(--lime); transform-origin: left; }
.canale.in-corso .barra i { scale: 0 1; }
.canale-piede { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--filo); font-size: .88rem; color: var(--testo-quieto); }
.gettone {
  position: absolute; display: flex; align-items: center; gap: 8px; padding: 9px 14px 9px 10px; border-radius: 999px;
  background: var(--latte); color: var(--scuro); font-size: .88rem; font-weight: 650; white-space: nowrap;
  box-shadow: 0 18px 30px -16px rgb(0 0 0 / .75); animation: galleggia 7s ease-in-out infinite;
}
.gettone .icona { font-size: 1.15rem; padding: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--scuro); color: var(--lime); stroke-width: 2.2; }
.gettone--1 { top: 4px; left: 0; }
.gettone--2 { bottom: 4px; right: 0; animation-delay: -3.5s; }
@keyframes galleggia { 50% { translate: 0 -10px; } }

/* ── Nastro dei temi ──────────────────────────────────── */
.nastro { overflow: hidden; border-block: 1px solid var(--filo); padding-block: 18px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.nastro-pista { display: flex; width: max-content; animation: scorri 46s linear infinite; }
.nastro:hover .nastro-pista { animation-play-state: paused; }
.nastro ul { display: flex; flex: none; }
.nastro li { display: flex; align-items: center; gap: 26px; padding-right: 26px; font-weight: 720; font-stretch: 112%; font-size: clamp(1.1rem, 2.6vw, 1.5rem); letter-spacing: -.01em; white-space: nowrap; color: var(--testo-quieto); }
.nastro li::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); }
@keyframes scorri { to { translate: -50% 0; } }

/* ── Sezioni ──────────────────────────────────────────── */
.sezione { padding-block: var(--sezione); }
.sezione-testa { display: grid; gap: 16px; margin-bottom: clamp(34px, 5vw, 60px); max-width: 760px; }
.chiara { background: var(--latte); color: var(--scuro); }
.chiara ::selection { background: var(--scuro); color: var(--lime); }
.lime { background: var(--lime); color: var(--scuro); }
.lime ::selection { background: var(--scuro); color: var(--lime); }

/* Numeri */
.numeri { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 18px; padding-block: clamp(44px, 7vw, 80px); }
.numero { display: grid; gap: 4px; align-content: start; }
.numero strong { font-weight: 800; font-stretch: 110%; font-size: clamp(1.9rem, 4.4vw, 3.2rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.numero strong { display: block; }
.numero strong b { font-weight: inherit; }
.numero strong span { color: var(--lime); }
.numero > span { color: var(--testo-quieto); font-size: 1rem; }
.numeri-nota { grid-column: 1 / -1; color: var(--testo-quieto); font-size: .95rem; }

/* Servizi in pila */
.pila { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.servizio {
  --su: var(--testo); --su-quieto: var(--testo-quieto); --bordo: var(--filo);
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; padding: clamp(24px, 4.4vw, 52px); border-radius: clamp(22px, 3vw, 34px);
  background: var(--inchiostro-2); color: var(--su); box-shadow: inset 0 0 0 1px var(--bordo), 0 -18px 40px -26px rgb(0 0 0 / .8);
}
.servizio:nth-child(1) { background: var(--bosco); }
.servizio:nth-child(3) { background: var(--latte); --su: var(--scuro); --su-quieto: var(--scuro-quieto); --bordo: transparent; }
.servizio:nth-child(3) .pulsante { --sfondo: var(--scuro); --sopra: var(--latte); }
.servizio:nth-child(3) .pulsante .disco { background: var(--lime); color: var(--scuro); }
.servizio:nth-child(3) .pulsante:hover { background: #17251c; box-shadow: none; }
.servizio:nth-child(3) :focus-visible { outline-color: var(--scuro); }
.servizio-segno { display: none; width: 58px; height: 58px; border-radius: 18px; place-items: center; background: var(--lime); color: var(--scuro); }
.servizio-segno .icona { font-size: 1.75rem; }
.servizio-testo { display: grid; gap: 14px; align-content: start; justify-items: start; }
.servizio-testo p { color: var(--su-quieto); max-width: 46ch; font-size: 1.1rem; }
.servizio-azioni { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 10px; }
.spunte { display: grid; gap: 14px; align-content: start; }
.servizio .spunte { gap: 0; }
.servizio .spunte li { padding-block: 14px; border-top: 1px solid color-mix(in srgb, var(--su) 16%, transparent); }
.servizio .spunte li:last-child { border-bottom: 1px solid color-mix(in srgb, var(--su) 16%, transparent); }
.spunte li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-weight: 560; font-size: 1.08rem; line-height: 1.35; }
.spunte .icona { font-size: 1.05rem; width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: rgb(182 242 94 / .16); color: var(--lime); stroke-width: 2.6; }
.servizio:nth-child(3) .spunte .icona, .chiara .spunte .icona { background: var(--scuro); color: var(--lime); }

/* Come funziona */
.passi { position: relative; isolation: isolate; display: grid; gap: 34px; counter-reset: passo; }
.passi-linea { position: absolute; z-index: -1; left: 21px; top: 22px; bottom: 22px; width: 2px; background: var(--filo); }
.passi-linea i { display: block; width: 100%; height: 100%; background: var(--lime); transform-origin: top; scale: 1 var(--avanzamento, 1); }
.passo { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start; align-content: start; counter-increment: passo; }
.passo::before { content: counter(passo); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--inchiostro); box-shadow: inset 0 0 0 2px var(--lime); color: var(--lime); font-weight: 760; font-stretch: 110%; }
.passo h3 { margin-top: 6px; }
.passo p { margin-top: 8px; color: var(--testo-quieto); max-width: 40ch; }

/* Chi c'è dietro */
.dietro { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); }
.dietro-testo { display: grid; gap: 18px; justify-items: start; align-content: start; }
.dietro-testo p { color: var(--scuro-quieto); max-width: 54ch; font-size: 1.1rem; }
.dietro-testo .pulsante { margin-top: 8px; }
.riconoscimenti { display: grid; gap: 0; align-content: start; }
.riconoscimenti li { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 20px 0; border-top: 1px solid var(--filo-scuro); }
.riconoscimenti li:last-child { border-bottom: 1px solid var(--filo-scuro); }
.riconoscimenti .icona { font-size: 1.5rem; margin-top: 2px; }
.riconoscimenti strong { display: block; font-weight: 700; font-stretch: 106%; font-size: 1.18rem; line-height: 1.25; }
.riconoscimenti span { display: block; color: var(--scuro-quieto); margin-top: 3px; }

/* Affiliazione */
.invito { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-items: center; padding: clamp(26px, 4.4vw, 48px); border-radius: clamp(22px, 3vw, 34px); background: var(--inchiostro-2); box-shadow: inset 0 0 0 1px var(--filo); }
.invito p { color: var(--testo-quieto); max-width: 52ch; margin-top: 10px; font-size: 1.08rem; }

/* Guide */
.guide { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.guida {
  display: grid; grid-template-rows: 1fr auto; gap: 18px; min-height: 100%; padding: 24px 24px 22px; border-radius: var(--raggio);
  background: var(--inchiostro-2); box-shadow: inset 0 0 0 1px var(--filo); text-decoration: none;
  transition: translate .5s var(--molla), background-color .4s, box-shadow .4s;
}
.guida:hover { translate: 0 -5px; background: #15211a; box-shadow: inset 0 0 0 1px rgb(182 242 94 / .5); }
.guida-corpo { display: grid; gap: 12px; align-content: start; }
.guida h3 { font-weight: 700; font-stretch: 104%; font-size: 1.28rem; line-height: 1.2; letter-spacing: -.01em; }
.guida-piede { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--testo-quieto); font-size: .9rem; }
.guida-piede .icona { font-size: 1.3rem; color: var(--testo); transition: translate .5s var(--molla); }
.guida:hover .guida-piede .icona { translate: 3px -3px; }
.guida--grande { padding: clamp(26px, 4vw, 44px); background: var(--bosco); }
.guida--grande h3 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); font-weight: 780; font-stretch: 110%; line-height: 1.06; letter-spacing: -.02em; }
.guida--grande p { color: var(--testo-quieto); max-width: 60ch; font-size: 1.08rem; }
.chiara .guida { background: #fff; box-shadow: inset 0 0 0 1px var(--filo-scuro); }
.chiara .guida:hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--scuro), 0 22px 34px -24px rgb(13 23 17 / .5); }
.chiara .guida-piede { color: var(--scuro-quieto); }
.chiara .guida-piede .icona { color: var(--scuro); }
.oltre { margin-top: 30px; }

/* Domande */
.domande { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); }
.domande-elenco { border-top: 1px solid var(--filo-scuro); }
.domande details { border-bottom: 1px solid var(--filo-scuro); }
.domande summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 0; cursor: pointer; list-style: none; font-weight: 680; font-stretch: 104%; font-size: clamp(1.1rem, 2.4vw, 1.3rem); line-height: 1.25; }
.domande summary::-webkit-details-marker { display: none; }
.domande summary .icona { font-size: 1.4rem; padding: 7px; width: 38px; height: 38px; border-radius: 50%; background: var(--scuro); color: var(--lime); stroke-width: 2.2; transition: rotate .5s var(--molla), background-color .3s; }
.domande details[open] summary .icona { rotate: 45deg; }
.domande details p { padding: 0 54px 24px 0; color: var(--scuro-quieto); max-width: 62ch; }
.scura .domande-elenco, .scura .domande details { border-color: var(--filo); }
.scura .domande summary .icona { background: var(--lime); color: var(--scuro); }
.scura .domande details p { color: var(--testo-quieto); }

/* Chiusura lime */
.chiusura { display: grid; gap: 30px; justify-items: start; }
.chiusura .titolo-1 { font-size: clamp(2.4rem, 8vw, 5rem); max-width: 14ch; }
.chiusura-azioni { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Pagina servizio ──────────────────────────────────── */
.cima { position: relative; padding-top: clamp(28px, 6vw, 80px); padding-bottom: clamp(52px, 8vw, 100px); }
.cima::before {
  content: ""; position: absolute; z-index: -1; inset: -180px -20% auto; height: 700px; pointer-events: none;
  background: radial-gradient(46% 50% at 78% 30%, rgb(34 92 52 / .5), transparent 70%);
}
.cima .dentro { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(34px, 6vw, 64px); align-items: end; }
.cima .sottotitolo { margin-top: 20px; color: var(--testo); font-size: clamp(1.2rem, 2.8vw, 1.55rem); line-height: 1.35; max-width: 34ch; font-weight: 520; }
.cima-attacco { margin-top: 14px; color: var(--testo-quieto); max-width: 54ch; }
.cima .pulsante { margin-top: 30px; }
.cima-nota { margin-top: 16px; font-size: .93rem; color: var(--testo-quieto); }
.vantaggi { display: grid; gap: 0; }
.vantaggi li { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--filo); }
.vantaggi li:last-child { border-bottom: 1px solid var(--filo); }
.vantaggi .icona { font-size: 1.05rem; width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: var(--lime); color: var(--scuro); stroke-width: 2.8; margin-top: 2px; }
.vantaggi h2 { font-weight: 700; font-stretch: 106%; font-size: 1.3rem; line-height: 1.3; letter-spacing: -.01em; }
.vantaggi p { margin-top: 6px; color: var(--testo-quieto); }

/* ── Guide, articoli e pagine di testo ────────────────── */
.intestazione { padding-top: clamp(30px, 6vw, 76px); padding-bottom: clamp(30px, 5vw, 56px); }
.intestazione .titolo-1 { font-size: clamp(2.2rem, 6.6vw, 4.2rem); max-width: 20ch; }
.intestazione .sottotitolo { margin-top: 18px; }
.intestazione-meta { margin-top: 18px; color: var(--testo-quieto); font-size: .95rem; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.stretta { max-width: calc(820px + 2 * var(--margine)); }
.lettura { padding-bottom: var(--sezione); }
.foglio { background: var(--latte); color: var(--scuro); border-radius: clamp(20px, 3vw, 32px); padding: clamp(26px, 6vw, 64px) clamp(20px, 6vw, 68px); }
.foglio ::selection { background: var(--scuro); color: var(--lime); }
.foglio :focus-visible { outline-color: var(--scuro); }
.prosa { font-size: 1.12rem; line-height: 1.68; }
.prosa > * + * { margin-top: 1.1em; }
.prosa h2 { font-weight: 780; font-stretch: 108%; font-size: clamp(1.6rem, 4.4vw, 2.15rem); line-height: 1.1; letter-spacing: -.018em; margin-top: 2em; }
.prosa h2:first-child { margin-top: 0; }
.prosa h3 { font-weight: 700; font-stretch: 104%; font-size: 1.28rem; line-height: 1.22; margin-top: 1.6em; }
.prosa h2 + *, .prosa h3 + * { margin-top: .6em; }
.prosa a:not(.pulsante) { color: #1d5a10; font-weight: 560; }
.prosa strong { font-weight: 680; }
.prosa ul, .prosa ol { padding-left: 1.3em; display: grid; gap: .5em; }
.prosa ul { list-style: disc; }
.prosa ol { list-style: decimal; }
.prosa li::marker { color: #3d8a1c; font-weight: 700; }
.prosa .attacco { font-size: 1.28rem; line-height: 1.5; font-weight: 480; }
.prosa blockquote { padding: 4px 0 4px 22px; border-left: 1px solid var(--scuro); font-weight: 620; font-stretch: 104%; font-size: 1.3rem; line-height: 1.38; }
.prosa .riga { display: grid; gap: 0 clamp(20px, 4vw, 40px); }
.prosa .riquadro { padding-top: 18px; margin-top: 20px; border-top: 1px solid var(--filo-scuro); }
.prosa .riquadro > * + * { margin-top: .5em; }
.prosa .riquadro h3 { margin-top: 0; }
.prosa .nota { padding: 20px 22px; border-radius: 16px; background: var(--latte-2); }
.prosa .nota > * + * { margin-top: .6em; }
.prosa .nota-avviso { background: transparent; box-shadow: inset 0 0 0 1.5px var(--scuro); }
.prosa .cifra { font-weight: 800; font-stretch: 112%; font-size: 2.5rem; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.prosa .etichetta { font-size: .9rem; font-weight: 650; color: var(--scuro-quieto); margin-top: .2em; }
.prosa .spunte { list-style: none; padding-left: 0; }
.prosa .spunte li { display: block; padding-left: 1.8em; font-weight: 400; font-size: inherit; line-height: inherit; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5 10 17.5 19 7' fill='none' stroke='%233d8a1c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 0 .3em / 1.15em no-repeat; }
.prosa table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.prosa th, .prosa td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--filo-scuro); }
.prosa .uscita-articolo { margin-block: 2em; padding: clamp(24px, 4vw, 36px); border-radius: 22px; background: var(--scuro); color: var(--latte); display: grid; gap: 12px; justify-items: start; }
.prosa .uscita-articolo h3 { margin: 0; font-weight: 760; font-stretch: 108%; font-size: clamp(1.4rem, 3.6vw, 1.75rem); line-height: 1.12; letter-spacing: -.015em; }
.prosa .uscita-articolo p { margin: 0; color: #b4c0b3; font-size: 1.05rem; max-width: 54ch; }
.prosa .uscita-articolo strong { color: var(--latte); }
.prosa .uscita-articolo .pulsante { margin-top: 8px; }
.prosa .uscita-articolo :focus-visible { outline-color: var(--lime); }

/* ── Pagina non trovata ───────────────────────────────── */
.smarrita { display: grid; gap: 20px; justify-items: start; padding-block: clamp(60px, 12vw, 160px); }

/* ── Piede ────────────────────────────────────────────── */
.piede { border-top: 1px solid var(--filo); padding-block: clamp(44px, 7vw, 76px) 34px; }
.piede-griglia { display: grid; gap: 34px; }
.piede-griglia > div p { margin-top: 16px; max-width: 44ch; color: var(--testo-quieto); font-size: .97rem; }
.piede nav { display: grid; gap: 9px; align-content: start; justify-items: start; }
.piede h2 { font-weight: 650; font-size: .92rem; color: var(--testo-quieto); margin-bottom: 4px; }
.piede nav a { text-decoration: none; }
.piede nav a:hover { text-decoration: underline; }
.piede-nota { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--filo); color: var(--testo-quieto); font-size: .9rem; }

/* ── Entrate allo scorrimento (solo con JavaScript e senza riduzione del movimento) ── */
.js [data-rivela] { opacity: 0; translate: 0 26px; transition: opacity .9s var(--molla), translate 1s var(--molla); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-rivela].visto { opacity: 1; translate: 0 0; }
/* la maschera, non clip-path: un elemento ritagliato del tutto non risulta mai visibile all'osservatore */
.js [data-rivela="titolo"] {
  opacity: 1; translate: 0 .35em;
  -webkit-mask: linear-gradient(#000, #000) top / 100% 0% no-repeat; mask: linear-gradient(#000, #000) top / 100% 0% no-repeat;
  transition: -webkit-mask-size 1.1s var(--molla), mask-size 1.1s var(--molla), translate 1.1s var(--molla);
}
.js [data-rivela="titolo"].visto { -webkit-mask-size: 100% 125%; mask-size: 100% 125%; translate: 0 0; }
.js [data-rivela="sfuma"] { translate: 0 0; filter: blur(10px); transition: opacity 1s var(--molla), filter 1s var(--molla); }
.js [data-rivela="sfuma"].visto { filter: blur(0); }

@media (max-width: 329px) {
  .marchio > span:last-child span { display: none; }
}

/* ── Telefoni stretti ─────────────────────────────────── */
@media (max-width: 379px) {
  h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }
  .titolo-1, .intestazione .titolo-1, .chiusura .titolo-1 { font-size: 1.95rem; }
  .titolo-2 { font-size: 1.65rem; }
  .apertura-azioni .pulsante { width: 100%; justify-content: space-between; }
  .pulsante--quieto { justify-content: center !important; }
  .marchio { font-size: 1rem; gap: 8px; }
  .marchio-segno { width: 22px; height: 22px; border-radius: 7px; }
  .testa nav { gap: 12px; font-size: .92rem; }
  .gettone { display: none; }
  .numero strong { font-size: 1.5rem; }
  .metrica-valore { font-size: 1.6rem; }
  .stato { font-size: .78rem; }
  .canale { padding: 18px 16px 16px; }
  .pulsante { font-size: 1rem; padding-left: 20px; }
}

@media (max-width: 619px) {
  .metrica-riga { display: grid; gap: 3px; justify-content: start; }
  .anello { width: max(160%, 560px); }
}

/* ── Da tablet in su ──────────────────────────────────── */
@media (min-width: 620px) {
  .solo-largo { display: inline-flex !important; }
  .guide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-prima { grid-column: 1 / -1; }
  .piede-griglia { grid-template-columns: 1.7fr 1fr 1fr .8fr; }
  .prosa .riga { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 940px) {
  body { font-size: 1.125rem; }
  .apertura .dentro { grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr); }
  .numeri { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stato { flex-basis: auto; margin-left: auto; }
  .scena { padding-block: 110px; }
  .anello { width: min(150%, 620px); }
  .gettone--1 { left: -22px; }
  .gettone--2 { right: -14px; }
  .servizio-segno { display: grid; }
  .servizio { grid-template-columns: auto minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 3.4vw, 48px); align-items: start; }
  .passi { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
  .passi-linea { left: 22px; right: 22px; top: 21px; bottom: auto; width: auto; height: 2px; }
  .passi-linea i { transform-origin: left; scale: var(--avanzamento, 1) 1; }
  .passo { grid-template-columns: 1fr; gap: 20px; }
  .dietro { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: start; }
  .invito { grid-template-columns: 1fr auto; }
  .guide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .guida--grande .guida-corpo { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); column-gap: 48px; align-items: end; }
  .domande { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; }
  .domande .sezione-testa { position: sticky; top: calc(var(--testa) + 32px); margin-bottom: 0; }
  .cima .dentro { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
}
/* La pila resta agganciata solo dove ogni pannello sta nello schermo */
@media (min-width: 940px) and (min-height: 700px) {
  .pila { gap: 0; padding-bottom: 8px; }
  .servizio { position: sticky; top: calc(var(--testa) + 22px + var(--i) * 22px); margin-bottom: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
