/* Vigla landing - brand identity v1 (ottobre 2026). Nessuna build, font ospitati sul dominio. */
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/atkinson-hyperlegible-next-latin-400.woff2) format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/assets/fonts/atkinson-hyperlegible-next-latin-700.woff2) format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(/assets/fonts/bricolage-grotesque-latin-opsz.woff2) format("woff2-variations"); }

:root {
  --petrolio: #0C6B68;  --petrolio-strong: #08504E; --petrolio-soft: #E3F0EE; --petrolio-light: #4FC8BE;
  --notte: #0F1E33;     --notte-2: #16293F; --notte-line: #2A3D57;
  --lanterna: #F2A93B;  --lanterna-soft: #FBEFD9;
  --calce: #F8F6F1;     --sabbia: #EFEBE3; --sabbia-2: #F1EEE7; --sabbia-hover: #ECE8DF;
  --pietra: #4A5566;    --pietra-2: #3E4A5C; --pietra-light: #C9D3DE;
  --line: #E2DED4;      --line-2: #D8D2C6;
  --ok: #1E7F4F;        --ok-bright: #2FA36B;
  --warn: #E09422;      --warn-text: #8A5300;
  --alarm: #C2362B;     --alarm-light: #F07B6E;
  --prova: #4F5BB5;     --prova-soft: #E8EAF7;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --text: "Atkinson Hyperlegible Next", system-ui, sans-serif;
  --mono: ui-monospace, Menlo, monospace;
  --maxw: 1180px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--calce); color: var(--notte); font-family: var(--text); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--petrolio); text-underline-offset: 3px; }
a:hover { color: var(--petrolio-strong); }
:focus-visible { outline: 3px solid var(--lanterna); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; z-index: 20; background: var(--notte); color: var(--calce); padding: 10px 14px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.display { font-family: var(--display); font-weight: 600; letter-spacing: -0.03em; }
.h2 { font-family: var(--display); font-weight: 600; font-size: clamp(32px, 4.4vw, 50px); line-height: 1.05; letter-spacing: -0.03em; text-wrap: balance; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--petrolio); }
.eyebrow .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lanterna); }
.muted { color: var(--pietra); }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-end; }
.head-row p { font-size: 18px; line-height: 1.6; color: var(--pietra); max-width: 400px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(248, 246, 241, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { padding-top: 14px; padding-bottom: 14px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--notte); }
.brand:hover { color: var(--notte); }
.brand span { font-family: var(--display); font-weight: 700; font-size: 25px; letter-spacing: -0.03em; }
.nav { display: flex; gap: 6px; flex-wrap: wrap; margin-left: auto; align-items: center; }
.nav a { padding: 10px 14px; border-radius: 999px; color: var(--notte); text-decoration: none; font-size: 16px; }
.nav a:hover { background: var(--sabbia-hover); color: var(--notte); }
.nav a.lang-switch { margin-left: 6px; min-height: 44px; display: inline-block; line-height: 41px; padding: 0 16px; border: 1.5px solid var(--notte); font-size: 14px; font-weight: 700; letter-spacing: 0.06em; }
.nav a.lang-switch:hover { background: transparent; }
.lang-switch .off { opacity: 0.55; }
@media (max-width: 760px) { .nav a:not(.lang-switch) { display: none; } }

/* store badges (non ancora pubblicate) */
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store { display: flex; flex-direction: column; justify-content: center; min-height: 60px; padding: 8px 22px; border-radius: 16px; text-decoration: none; cursor: default; }
.store small { font-size: 12px; letter-spacing: 0.06em; }
.store b { font-size: 18px; font-weight: 700; }
.store.dark { background: var(--notte); color: var(--calce); opacity: 0.92; }
.store.dark small { opacity: 0.75; }
.store.outline { border: 1.5px solid var(--notte); color: var(--notte); }
.store.outline small { color: var(--pietra); }
.store:hover { color: inherit; }
.store.dark:hover { color: var(--calce); }

/* hero */
.hero { padding-top: 72px; padding-bottom: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; }
.hero h1 { font-family: var(--display); font-weight: 600; font-size: clamp(40px, 6vw, 68px); line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; }
.hero .lead { font-size: 20px; line-height: 1.6; color: var(--pietra-2); max-width: 540px; text-wrap: pretty; }
.hero .lead strong { color: var(--notte); }
.ticks { display: flex; gap: 22px; flex-wrap: wrap; font-size: 15px; color: var(--pietra); }
.ticks span { display: flex; align-items: center; gap: 8px; }
.ticks span::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--petrolio); }

.phones { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 600px; }
.phones .bg { position: absolute; inset: 40px 0 0 0; border-radius: 40px; background: var(--petrolio-soft); }
.phones .sun { position: absolute; top: 70px; right: 8%; width: 150px; height: 150px; border-radius: 50%; background: var(--lanterna); opacity: 0.18; }
.phone { position: relative; border-radius: 40px; background: var(--notte); padding: 9px; }
.phone .screen { width: 100%; height: 100%; border-radius: 32px; overflow: hidden; display: flex; flex-direction: column; }
.phone .status { display: flex; justify-content: space-between; padding: 12px 18px 0; font-size: 11px; font-weight: 700; }
.phone-family { z-index: 1; width: 250px; height: 520px; margin-right: -50px; margin-bottom: 24px; border-radius: 38px; transform: rotate(-5deg); box-shadow: 0 30px 60px -20px rgba(15, 30, 51, 0.35); }
.phone-family .screen { border-radius: 30px; background: var(--calce); }
.phone-family h4 { margin: 0; padding: 16px 16px 8px; font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; }
.people { padding: 0 12px; display: flex; flex-direction: column; gap: 8px; }
.person { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px; display: flex; gap: 10px; align-items: center; }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; flex: none; }
.person .who { flex: 1; min-width: 0; }
.person .who b { display: block; font-size: 14px; }
.person .who small { font-size: 11px; color: var(--pietra); }
.state { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; }
.shape-ok { width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.shape-warn { width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 10px solid var(--warn); }
.shape-prova { width: 10px; height: 10px; border-radius: 50%; border: 2.5px solid currentColor; }
.is-ok { color: var(--ok); } .is-warn { color: var(--warn-text); } .is-prova { color: var(--prova); }

.phone-assisted { z-index: 2; width: 270px; height: 560px; transform: rotate(3deg); box-shadow: 0 40px 80px -24px rgba(15, 30, 51, 0.5); }
.phone-assisted .screen { background: var(--notte); color: var(--calce); border: 1px solid #22344D; }
.phone-assisted .status { padding: 12px 20px 0; opacity: 0.7; }
.cd { flex: 1; display: flex; flex-direction: column; }
.cd[hidden] { display: none; }
.cd-count { align-items: center; padding: 18px 16px 16px; gap: 14px; }
.cd-count h4 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 23px; line-height: 1.15; text-align: center; letter-spacing: -0.02em; }
.ring { position: relative; width: 150px; height: 150px; }
.ring svg { transform: rotate(-90deg); display: block; }
.ring .arc { transition: stroke-dashoffset 1s linear; }
.ring .num { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.ring .num b { display: block; font-family: var(--display); font-weight: 700; font-size: 56px; line-height: 1; }
.ring .num small { font-size: 11px; opacity: 0.7; letter-spacing: 0.08em; }
.btn-ok { width: 100%; min-height: 76px; margin-top: auto; border: none; border-radius: 22px; background: var(--ok-bright); color: var(--notte); font: 700 24px var(--text); letter-spacing: 0.02em; cursor: pointer; }
.btn-ok:active { transform: scale(0.98); }
.btn-help { width: 100%; min-height: 56px; border: 2px solid var(--alarm-light); border-radius: 18px; background: transparent; color: var(--calce); font: 700 16px var(--text); cursor: pointer; }
.cd-ok { align-items: center; justify-content: center; padding: 24px; gap: 18px; text-align: center; }
.cd-ok .check { width: 96px; height: 96px; border-radius: 50%; background: var(--ok-bright); display: grid; place-items: center; }
.cd-ok .check i { width: 34px; height: 18px; border-left: 7px solid var(--notte); border-bottom: 7px solid var(--notte); transform: rotate(-45deg) translate(3px, -3px); }
.cd-ok h4 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 26px; letter-spacing: -0.02em; }
.cd-ok p, .cd-send p { font-size: 16px; line-height: 1.5; opacity: 0.85; }
.cd-send { padding: 28px 16px 16px; gap: 16px; }
.cd-send h4 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.15; letter-spacing: -0.02em; }
.sent { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.sent div { display: flex; justify-content: space-between; padding: 10px 12px; border-radius: 12px; background: var(--notte-2); }
.sent b { color: var(--lanterna); }
.cd-send .btn-ok { min-height: 68px; font-size: 22px; letter-spacing: 0; }
.cd-send small { font-size: 11px; text-align: center; opacity: 0.7; }
.try { position: absolute; bottom: -6px; right: 0; z-index: 3; font-size: 13px; color: var(--pietra); background: var(--calce); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; }
@media (max-width: 540px) { .phones { zoom: 0.7; } }

/* avvertenza 112 */
.warning { background: var(--lanterna-soft); border-radius: 24px; padding: 24px 28px; display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.warning .badge { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--notte); color: var(--lanterna); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 15px; }
.warning p { flex: 1; min-width: 260px; font-size: 17px; line-height: 1.6; color: #3A2A0C; text-wrap: pretty; }
.warning strong { color: var(--notte); }

/* come funziona */
.how { padding-top: 112px; padding-bottom: 96px; }
.how .h2 { max-width: 620px; }
.how .head-row { margin-bottom: 48px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.step-top { display: flex; justify-content: space-between; align-items: center; }
.step-n { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--petrolio); }
.step-t { font: 600 13px var(--mono); color: var(--pietra); background: var(--sabbia-2); padding: 5px 10px; border-radius: 999px; }
.step h3 { font-family: var(--display); font-weight: 600; font-size: 26px; letter-spacing: -0.02em; }
.step p { font-size: 17px; line-height: 1.6; color: var(--pietra); }
.step p strong { color: var(--notte); }
.step-art { height: 96px; display: flex; align-items: center; }
.bars { gap: 8px; }
.bars span { width: 14px; border-radius: 7px; }
.mini-ring { width: 86px; height: 86px; border-radius: 50%; background: conic-gradient(var(--lanterna) 0 68%, var(--sabbia-2) 68% 100%); display: grid; place-items: center; }
.mini-ring b { width: 62px; height: 62px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 24px; }
.step.dark { background: var(--notte); color: var(--calce); border: 0; }
.step.dark .step-n { color: var(--petrolio-light); }
.step.dark .step-t { color: var(--pietra-light); background: #1B2E47; }
.step.dark p { color: var(--pietra-light); }
.cascade { flex-direction: column; justify-content: center; align-items: stretch; gap: 7px; }
.cascade span { height: 16px; border-radius: 8px; }

/* quando serve */
.band { background: var(--sabbia); }
.when { padding-top: 96px; padding-bottom: 96px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 56px; align-items: center; }
.when-art { display: flex; justify-content: center; }
.phone-alarm { width: 290px; height: 600px; border-radius: 42px; padding: 10px; box-shadow: 0 40px 80px -30px rgba(15, 30, 51, 0.45); }
.phone-alarm .screen { border-radius: 33px; background: var(--alarm); color: #fff; padding: 20px 18px 18px; gap: 12px; }
.phone-alarm .status { padding: 0; opacity: 0.85; }
.alarm-tag { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; margin-top: 10px; }
.alarm-tag::before { content: ""; width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 13px solid #fff; }
.phone-alarm h4 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 30px; line-height: 1.05; letter-spacing: -0.02em; }
.phone-alarm p { font-size: 15px; line-height: 1.45; }
.alarm-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.abtn { min-height: 64px; border-radius: 18px; display: grid; place-items: center; font-weight: 700; font-size: 16px; text-align: center; line-height: 1.15; }
.abtn.white { background: #fff; color: var(--notte); }
.abtn.glass { background: rgba(255, 255, 255, 0.16); font-size: 14px; }
.abtn.night { background: var(--notte); }
.abtn.line { min-height: 44px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, 0.6); font-size: 13px; }
.phone-alarm small { font-size: 11px; text-align: center; opacity: 0.9; }
.when-copy { display: flex; flex-direction: column; gap: 28px; }
.when-copy .eyebrow { display: block; }
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.timeline li { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line-2); }
.timeline li:last-child { border-bottom: 1px solid var(--line-2); }
.timeline .at { font: 600 14px var(--mono); color: var(--petrolio); padding-top: 3px; }
.timeline .at.stop { color: var(--ok); }
.timeline b { display: block; font-size: 18px; }
.timeline span { font-size: 16px; color: var(--pietra); line-height: 1.5; }
.when-copy > p { font-size: 16px; line-height: 1.6; color: var(--pietra); }

/* per chi è */
.audience { padding-top: 112px; padding-bottom: 40px; }
.audience .h2, .features .h2 { margin-bottom: 40px; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.col { border-top: 3px solid var(--notte); padding-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.col h3 { font-size: 22px; font-weight: 700; }
.col p { font-size: 17px; line-height: 1.6; color: var(--pietra); }

/* funzionalità */
.features { padding-top: 80px; padding-bottom: 112px; }
.fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; }
.feat { background: #fff; padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.feat.soon { background: var(--calce); }
.feat h3 { font-size: 20px; font-weight: 700; }
.feat p { font-size: 16px; line-height: 1.6; color: var(--pietra); }
.ico { width: 44px; height: 44px; border-radius: 12px; background: var(--petrolio-soft); display: grid; place-items: center; }
.ico-levels { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 0 10px; }
.ico-levels span { height: 4px; border-radius: 2px; background: var(--petrolio); }
.ico-pin { width: 20px; height: 20px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--petrolio); }
.ico-arc { width: 22px; height: 22px; border-radius: 50%; border: 4px solid var(--petrolio); border-right-color: transparent; }
.ico-lock { width: 18px; height: 20px; border-radius: 4px; background: var(--petrolio); }
.ico.prova { background: var(--prova-soft); }
.ico-ring { width: 22px; height: 22px; border-radius: 50%; border: 4px solid var(--prova); }
.ico.grey { background: var(--sabbia-hover); }
.ico-mic { width: 12px; height: 22px; border-radius: 6px; border: 3.5px solid var(--pietra); }
.soon-row { display: flex; justify-content: space-between; align-items: center; }
.pill-soon { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--pietra); border: 1.5px solid #B9B2A4; border-radius: 999px; padding: 4px 10px; }

/* privacy */
.night { background: var(--notte); color: var(--calce); }
.privacy { padding-top: 104px; padding-bottom: 104px; display: flex; flex-direction: column; gap: 48px; }
.privacy .h2 { max-width: 640px; }
.privacy .h2 em { font-style: normal; color: var(--petrolio-light); }
.privacy .head-row p { color: var(--pietra-light); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.fact { border: 1px solid var(--notte-line); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.fact .big { font-family: var(--display); font-weight: 700; font-size: 34px; color: var(--lanterna); }
.fact b { font-size: 18px; }
.fact span { font-size: 15px; color: var(--pietra-light); line-height: 1.5; }

/* compatibilità */
.compat { padding-top: 104px; padding-bottom: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 40px; align-items: start; }
.compat-copy { display: flex; flex-direction: column; gap: 18px; }
.compat-copy p { font-size: 18px; line-height: 1.6; color: var(--pietra); }
.ctable { background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.crow { display: grid; grid-template-columns: 1.4fr 1fr 1fr; padding: 20px 22px; border-top: 1px solid var(--line); font-size: 17px; align-items: center; }
.crow.head { padding: 16px 22px; border-top: 0; background: var(--sabbia-2); font-size: 14px; font-weight: 700; letter-spacing: 0.06em; color: var(--pietra); }
.crow .who { font-weight: 700; }
.yes, .no { display: flex; gap: 8px; align-items: center; }
.yes { color: var(--ok); font-weight: 700; }
.yes::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ok); }
.no { color: var(--pietra); }
.no::before { content: ""; width: 12px; height: 3px; background: var(--pietra); }

/* faq */
.faq { max-width: 860px; padding-top: 96px; padding-bottom: 112px; }
.faq .h2 { margin-bottom: 32px; }
.faq details { border-top: 1px solid var(--line-2); }
.faq-end { border-top: 1px solid var(--line-2); }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-size: 19px; font-weight: 700; min-height: 44px; }
.plus { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--petrolio-soft); color: var(--petrolio); display: grid; place-items: center; font-size: 22px; transition: transform 0.2s; }
details[open] .plus { transform: rotate(45deg); }
.faq details p { margin: 0 0 24px; font-size: 17px; line-height: 1.65; color: var(--pietra); max-width: 680px; }

/* cta */
.cta-wrap { padding-bottom: 96px; }
.cta { background: var(--petrolio); color: var(--calce); border-radius: 36px; padding: 56px 40px; display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: center; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: var(--lanterna); opacity: 0.22; }
.cta-copy { position: relative; display: flex; flex-direction: column; gap: 12px; max-width: 560px; }
.cta h2 { font-family: var(--display); font-weight: 600; font-size: clamp(30px, 4vw, 44px); line-height: 1.05; letter-spacing: -0.03em; }
.cta p { font-size: 18px; line-height: 1.6; color: #D7ECE9; }
.cta .stores { position: relative; }
.store.light { background: var(--calce); color: var(--notte); }
.store.light small { color: var(--pietra); letter-spacing: 0; }
.store.ghost { border: 1.5px solid var(--calce); color: var(--calce); }
.store.ghost small { color: #D7ECE9; letter-spacing: 0; }
.store.light:hover { color: var(--notte); }
@media (max-width: 540px) { .cta { padding: 40px 24px; } }

/* footer */
footer { border-top: 1px solid var(--line); }
footer .wrap { padding-top: 40px; padding-bottom: 48px; display: flex; flex-wrap: wrap; gap: 24px 40px; justify-content: space-between; align-items: flex-start; }
.foot-brand { display: flex; flex-direction: column; gap: 12px; max-width: 420px; }
.foot-brand .brand span { font-size: 21px; }
.foot-brand p { font-size: 15px; line-height: 1.6; color: var(--pietra); }
.foot-brand p.copy { font-size: 14px; line-height: normal; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 16px; }

/* pagine di contenuto (privacy, termini, cookie, supporto, elimina account) */
.doc { max-width: 760px; padding-top: 72px; padding-bottom: 96px; font-size: 17px; line-height: 1.65; }
.doc h1 { font-family: var(--display); font-weight: 600; font-size: clamp(36px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.035em; margin-bottom: 24px; text-wrap: balance; }
.doc h2 { font-family: var(--display); font-weight: 600; font-size: 26px; letter-spacing: -0.02em; line-height: 1.2; margin: 48px 0 12px; }
.doc p, .doc ul, .doc ol { margin: 0 0 16px; color: var(--pietra-2); }
.doc strong { color: var(--notte); }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin-bottom: 6px; }
.note { font-size: 15px; color: var(--pietra); background: var(--sabbia-2); border-radius: 14px; padding: 10px 14px; }
.doc .disclaimer { background: var(--lanterna-soft); border-radius: 24px; padding: 20px 24px; margin: 24px 0; }
.doc .disclaimer strong { display: block; margin-bottom: 4px; }
.doc .disclaimer p { margin: 0; color: #3A2A0C; }
.doc details { border-top: 1px solid var(--line-2); }
.doc details:not(:has(+ details)) { border-bottom: 1px solid var(--line-2); margin-bottom: 16px; }
.doc summary { padding: 16px 0; font-weight: 700; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.doc summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--petrolio-soft); color: var(--petrolio); display: grid; place-items: center; font-size: 20px; font-weight: 400; transition: transform 0.2s; }
.doc details[open] summary::after { transform: rotate(45deg); }
.doc details > p { margin-bottom: 16px; }
.tbl { overflow-x: auto; margin: 0 0 16px; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.tbl table { border-collapse: collapse; width: 100%; font-size: 16px; }
.tbl th, .tbl td { padding: 12px 16px; text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
.tbl thead th { border-top: 0; background: var(--sabbia-2); font-size: 14px; letter-spacing: 0.04em; color: var(--pietra); }
form.del { display: grid; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 24px; margin-bottom: 16px; }
form.del label { font-weight: 700; display: grid; gap: 6px; }
form.del input, form.del textarea { font: inherit; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--pietra); background: var(--calce); color: var(--notte); }
.btn { justify-self: start; min-height: 52px; padding: 0 22px; border: 0; border-radius: 16px; background: var(--petrolio); color: var(--calce); font: 700 17px var(--text); cursor: pointer; }
.btn:hover { background: var(--petrolio-strong); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
.tbl .c { text-align: center; }

/* avviso cookie (solo informativo: nessun consenso da raccogliere) */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 30; max-width: 760px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; padding: 16px 20px; border-radius: 16px; background: var(--notte); color: var(--calce); box-shadow: 0 12px 32px rgba(15, 30, 51, 0.25); }
.cookie-bar p { flex: 1 1 320px; font-size: 15px; line-height: 1.5; }
.cookie-bar a { color: var(--petrolio-light); }
.cookie-bar a:hover { color: var(--calce); }
.cookie-bar button { min-height: 44px; padding: 0 20px; border: none; border-radius: 999px; background: var(--lanterna); color: var(--notte); font: 700 15px var(--text); cursor: pointer; }
