/* ==========================================================================
   Kalispo — Design System "Night Route"
   Ispirato a Piquo "Halftone Atelier" (grana, mono tracciata, serif corsivo,
   halftone), semplificato: tema scuro, un solo accento lime.
   ========================================================================== */

:root { color-scheme: dark;
  --bg: #0b0c0a;
  --bg-2: #121410;
  --bg-3: #191c16;
  --ink: #ecede6;
  --mute: #9a9c92;
  --dim: #63665d;
  --line: rgba(236, 237, 230, .16);
  --line-2: rgba(236, 237, 230, .07);
  --acc: #c8ff3d;
  --acc-ink: #0b0c0a;
  --acc-soft: rgba(200, 255, 61, .12);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --f-disp: 'Inter Tight', 'Inter', system-ui, -apple-system, sans-serif;
  --f-serif: 'Instrument Serif', Georgia, serif;
  --f-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --pad: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --nav-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: #0b0c0a; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-disp); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, ol, figure, dl, dd, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--acc); color: var(--acc-ink); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }

/* Grana di stampa */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 8500; pointer-events: none;
  background-image: var(--grain); background-size: 240px 240px; opacity: .06;
  animation: k-grain 1.1s steps(6) infinite;
}
@keyframes k-grain {
  0% { transform: translate(0, 0); } 17% { transform: translate(-3%, 2%); }
  33% { transform: translate(2%, -4%); } 50% { transform: translate(-4%, -1%); }
  67% { transform: translate(3%, 3%); } 83% { transform: translate(-1%, 4%); } 100% { transform: translate(0, 0); }
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 9999; background: var(--acc); color: var(--acc-ink); padding: 10px 14px; font-family: var(--f-mono); font-size: 12px; }
.skip:focus { top: 12px; }

/* ---------- Tipografia ---------- */
.mono { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; line-height: 1.5; }
.mute { color: var(--mute); }
.acc { color: var(--acc); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--mute); }
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--acc); border-radius: 50%; box-shadow: 0 0 0 4px var(--acc-soft); }
.display { font-weight: 500; letter-spacing: -.055em; line-height: .94; font-size: clamp(46px, 7.4vw, 116px); }
.h2 { font-weight: 500; letter-spacing: -.045em; line-height: .98; font-size: clamp(36px, 5.6vw, 82px); }
.h3 { font-weight: 500; letter-spacing: -.03em; line-height: 1.08; font-size: clamp(22px, 2.4vw, 32px); }
.display em, .h2 em, .h3 em, .serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; }
.display em, .h2 em { color: var(--acc); }
.lead { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; font-weight: 300; color: var(--mute); max-width: 48ch; }
.lead strong, .p strong { color: var(--ink); font-weight: 500; }
.p { font-weight: 300; color: var(--mute); max-width: 60ch; }
.p + .p { margin-top: 1em; }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  padding: 17px 24px; border: 1px solid var(--ink); color: var(--ink); background: transparent;
  transition: background .25s, color .25s, border-color .25s; cursor: pointer; white-space: nowrap;
}
.btn::after { content: "\2192"; transition: transform .25s; }
.btn:hover { background: var(--ink); color: var(--bg); }
.btn:hover::after { transform: translateX(4px); }
.btn--acc { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }
.btn--acc:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn--sm { padding: 11px 16px; font-size: 11px; }
.btn--block { width: 100%; }
.link { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid var(--line); padding-bottom: 4px; transition: border-color .2s, color .2s; }
.link:hover { border-color: var(--acc); color: var(--acc); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: baseline; }
.logo-t { font-family: var(--f-disp); font-weight: 600; font-size: 24px; letter-spacing: -.055em; line-height: 1; }
.logo-t b { color: var(--acc); font-weight: 600; }

/* ---------- Nav ---------- */
/* Navbar a fondo pieno (come Piquo): niente trasparenza né blur, così su mobile
   non si vede la pagina scorrere dietro. Colore esplicito per la fascia di stato di iOS Safari. */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9000;
  height: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px);
  background: var(--bg); background-color: #0b0c0a;
  border-bottom: 1px solid var(--line-2);
  transform: none; will-change: auto;
}
.nav-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }
.nav-links { display: none; gap: 30px; align-items: center; font-family: var(--f-mono); }
.nav-links a { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); transition: color .2s; position: relative; padding-block: 6px; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--ink); }
.nav-links a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--acc); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-cta { display: none; }
.burger { width: 42px; height: 42px; display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; border: 1px solid var(--line); }
.burger span { width: 18px; height: 1.5px; background: var(--ink); transition: transform .25s, opacity .25s; }
html.menu-open .burger span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
html.menu-open .burger span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }
@media (min-width: 980px) { .nav-links, .nav-cta { display: flex; } .burger { display: none; } }
.menu {
  position: fixed; inset: calc(var(--nav-h) + env(safe-area-inset-top, 0px)) 0 0 0; z-index: 8999; background: var(--bg);
  padding: 28px var(--pad) 40px; display: flex; flex-direction: column; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s;
}
html.menu-open .menu { opacity: 1; visibility: visible; transform: none; }
html.menu-open body { overflow: hidden; }
.menu a:not(.btn) { font-weight: 500; letter-spacing: -.045em; font-size: clamp(36px, 10vw, 60px); line-height: 1.1; padding: 10px 0; border-bottom: 1px solid var(--line-2); display: flex; justify-content: space-between; align-items: baseline; }
.menu a:not(.btn) small { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; color: var(--dim); }
.menu a[aria-current] { color: var(--acc); }
.menu .btn { margin-top: 28px; }

/* ---------- Sezioni ---------- */
.sec { padding-block: clamp(80px, 11vw, 160px); position: relative; }
.sec--line { border-top: 1px solid var(--line-2); }
.sec-head { display: grid; gap: 22px; margin-bottom: clamp(44px, 6vw, 80px); }
@media (min-width: 900px) { .sec-head--split { grid-template-columns: 1.3fr 1fr; align-items: end; gap: 60px; } }
.sec-head .lead { max-width: 44ch; }

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--nav-h) + clamp(48px, 8vw, 110px)); padding-bottom: clamp(60px, 8vw, 110px); position: relative; overflow: hidden; }
.hero-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1040px) { .hero-grid { grid-template-columns: 1.25fr 1fr; gap: 48px; } }
.hero .display { margin: 26px 0 30px; }
.hero .lead { margin-bottom: 38px; }
.hero-note { margin-top: 22px; color: var(--dim); display: flex; gap: 18px; flex-wrap: wrap; }
.hero-note span::before { content: "\2713  "; color: var(--acc); }
.dots-bg {
  position: absolute; right: -6%; top: 6%; width: min(60vw, 760px); aspect-ratio: 1; pointer-events: none; opacity: .5;
  background: radial-gradient(circle, var(--ink) 1.1px, transparent 1.5px) 0 0 / 12px 12px;
  -webkit-mask-image: radial-gradient(circle at 55% 45%, #000 0, transparent 66%); mask-image: radial-gradient(circle at 55% 45%, #000 0, transparent 66%);
}
@media (max-width: 760px) { .dots-bg { opacity: .22; width: 110vw; } }

/* Terminale */
.term { position: relative; background: var(--bg-2); border: 1px solid var(--line); font-family: var(--f-mono); font-size: 13px; line-height: 1.75; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8); }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line-2); }
.term-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--dim); opacity: .6; }
.term-bar i:first-child { background: var(--acc); opacity: 1; }
.term-bar span { margin-left: 10px; font-size: 11px; color: var(--dim); letter-spacing: .08em; }
.term-body { padding: 20px 20px 24px; min-height: 330px; white-space: pre-wrap; word-break: break-word; }
.term-body .pr { color: var(--acc); }
.term-body .c { color: var(--dim); }
.term-body .ok { color: var(--acc); }
.caret { display: inline-block; width: 8px; height: 1.1em; background: var(--acc); vertical-align: -2px; animation: k-blink 1s steps(1) infinite; }
@keyframes k-blink { 50% { opacity: 0; } }
@media (max-width: 520px) { .term { font-size: 12px; } .term-body { min-height: 300px; padding: 16px; } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line-2); overflow: hidden; padding-block: 18px; background: var(--bg-2); }
.marquee-track { display: flex; width: max-content; animation: k-marq 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); padding-inline: 26px; display: inline-flex; align-items: center; gap: 26px; white-space: nowrap; }
.marquee-track span::after { content: "\2726"; color: var(--acc); font-size: 10px; }
@keyframes k-marq { to { transform: translateX(-50%); } }

/* ---------- Manifesto ---------- */
.manifesto { font-weight: 400; letter-spacing: -.04em; line-height: 1.12; font-size: clamp(28px, 4.2vw, 60px); max-width: 22ch; }
.manifesto em { font-family: var(--f-serif); font-style: italic; color: var(--acc); }
.manifesto .w { opacity: .18; transition: opacity .4s; }
.manifesto .w.on { opacity: 1; }
.truths { display: grid; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); margin-top: clamp(50px, 7vw, 90px); }
@media (min-width: 860px) { .truths { grid-template-columns: repeat(3, 1fr); } }
.truth { background: var(--bg); padding: clamp(26px, 3vw, 40px); }
.truth .mono { color: var(--acc); margin-bottom: 26px; display: block; }
.truth h3 { margin-bottom: 14px; }

/* ---------- Numeri ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 30px 22px 30px 0; border-bottom: 1px solid var(--line-2); }
@media (min-width: 900px) { .stat { border-bottom: 0; border-right: 1px solid var(--line-2); padding-left: 22px; } .stat:first-child { padding-left: 0; } .stat:last-child { border-right: 0; } }
.stat b { display: block; font-weight: 500; letter-spacing: -.05em; font-size: clamp(40px, 5vw, 72px); line-height: 1; margin-bottom: 14px; }
.stat b small { font-size: .45em; color: var(--acc); margin-left: 4px; letter-spacing: -.02em; }
.stat p { font-size: 14px; font-weight: 300; color: var(--mute); max-width: 26ch; }
.src-note { margin-top: 20px; color: var(--dim); font-size: 10px; }

/* ---------- Roadmap (linea che si disegna allo scroll) ---------- */
.route { position: relative; max-width: 900px; }
.route-line { position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: var(--line-2); }
.route-line i { position: absolute; inset: 0 0 auto 0; height: 0; background: var(--acc); box-shadow: 0 0 18px var(--acc); }
.step { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 22px; padding-bottom: clamp(40px, 5vw, 64px); }
.step:last-child { padding-bottom: 0; }
.step-dot { width: 40px; height: 40px; border: 1px solid var(--line); background: var(--bg); display: grid; place-items: center; font-family: var(--f-mono); font-size: 11px; color: var(--mute); position: relative; z-index: 1; transition: background .4s, color .4s, border-color .4s; }
.step.on .step-dot { background: var(--acc); color: var(--acc-ink); border-color: var(--acc); }
.step h3 { margin: 6px 0 12px; }
.step .tag { display: inline-block; margin-top: 16px; padding: 6px 10px; border: 1px solid var(--line); color: var(--mute); }
.step .tag.free { border-color: var(--acc); color: var(--acc); }

/* ---------- Per chi è ---------- */
.who { display: flex; flex-wrap: wrap; gap: 10px; }
.who li { font-weight: 400; letter-spacing: -.03em; font-size: clamp(18px, 2vw, 26px); border: 1px solid var(--line); padding: 12px 20px; border-radius: 999px; transition: background .25s, color .25s, border-color .25s; }
.who li:hover { background: var(--acc); color: var(--acc-ink); border-color: var(--acc); }

.fade-in { animation: k-in .45s var(--ease) both; }
@keyframes k-in { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Quote / Story ---------- */
.quote { font-family: var(--f-serif); font-style: italic; font-size: clamp(32px, 4.6vw, 68px); line-height: 1.05; letter-spacing: -.02em; max-width: 20ch; }
.quote::before { content: "\201C"; color: var(--acc); }
.quote::after { content: "\201D"; color: var(--acc); }
.split { display: grid; gap: 50px; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; } }
/* Titoli fermi. Su mobile (colonne impilate) hanno fondo pieno + sfumatura,
   così il testo che scorre sparisce dietro invece di sovrapporsi. */
.sticky { position: sticky; z-index: 5; top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); }
@media (max-width: 959px) {
  .sticky { background: var(--bg); padding-block: 18px 14px; margin-top: -18px; }
  .sticky::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 36px; background: linear-gradient(var(--bg), transparent); pointer-events: none; }
}
@media (min-width: 960px) { .sticky { top: calc(var(--nav-h) + 40px); } }

.timeline { border-left: 1px solid var(--line); }
.tl { position: relative; padding: 0 0 48px 32px; }
.tl:last-child { padding-bottom: 0; }
.tl::before { content: ""; position: absolute; left: -5px; top: 6px; width: 9px; height: 9px; background: var(--bg); border: 1px solid var(--acc); border-radius: 50%; }
.tl.now::before { background: var(--acc); box-shadow: 0 0 0 5px var(--acc-soft); }
.tl .mono { color: var(--acc); }
.tl h3 { margin: 10px 0 12px; }

.team { display: grid; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); }
@media (min-width: 860px) { .team { grid-template-columns: 1fr 1fr; } }
.member { background: var(--bg); padding: clamp(26px, 3vw, 44px); }
.avatar { width: 96px; height: 96px; border: 1px solid var(--line); margin-bottom: 26px; display: grid; place-items: center; position: relative; overflow: hidden;
  background: radial-gradient(circle, var(--acc) 1.2px, transparent 1.6px) 0 0 / 8px 8px; }
.avatar span { background: var(--bg); padding: 4px 8px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; color: var(--acc); position: relative; }
.member h3 { margin-bottom: 6px; }
.member .role { color: var(--mute); margin-bottom: 20px; display: block; }
.member .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }

.values { display: grid; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); }
@media (min-width: 760px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .values { grid-template-columns: repeat(4, 1fr); } }
.value { background: var(--bg); padding: 32px 26px; }
.value b { display: block; font-family: var(--f-mono); font-size: 11px; color: var(--acc); letter-spacing: .14em; margin-bottom: 40px; }
.value h3 { font-size: 24px; margin-bottom: 12px; }
.value p { font-size: 15px; }

/* ---------- Prezzi ---------- */
.plans { display: grid; gap: 14px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { border: 1px solid var(--line); padding: 30px 26px; display: flex; flex-direction: column; gap: 18px; position: relative; background: var(--bg); transition: border-color .25s, transform .25s; }
.plan:hover { border-color: var(--mute); transform: translateY(-3px); }
.plan--hot { border-color: var(--acc); background: linear-gradient(180deg, var(--acc-soft), transparent 55%); }
.plan--hot:hover { border-color: var(--acc); }
.plan .badge { position: absolute; top: -11px; left: 22px; background: var(--acc); color: var(--acc-ink); padding: 4px 9px; }
.plan .price { font-weight: 500; letter-spacing: -.05em; font-size: 54px; line-height: 1; }
.plan .price small { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: var(--mute); margin-left: 6px; text-transform: uppercase; }
.plan .dur { color: var(--acc); }
.plan ul { display: grid; gap: 10px; font-size: 15px; font-weight: 300; color: var(--mute); }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.plan li::before { content: "\2192"; color: var(--acc); font-family: var(--f-mono); font-size: 12px; padding-top: 3px; }
.plan .btn { margin-top: auto; }
.fine { color: var(--dim); font-size: 13px; font-weight: 300; max-width: 80ch; margin-top: 30px; line-height: 1.6; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 50px 24px 0; position: relative; font-weight: 400; letter-spacing: -.025em; font-size: clamp(18px, 2vw, 24px); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--f-mono); font-size: 22px; color: var(--acc); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 26px; max-width: 70ch; }

/* ---------- Page hero ---------- */
.phero { padding-top: calc(var(--nav-h) + clamp(48px, 8vw, 110px)); padding-bottom: clamp(50px, 7vw, 100px); position: relative; overflow: hidden; }
.phero .display { margin: 24px 0 28px; max-width: 14ch; }
.crumb { display: inline-flex; gap: 10px; color: var(--dim); }
.crumb a:hover { color: var(--acc); }

/* ---------- Form ---------- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line); padding: 15px 16px; font-size: 16px; font-weight: 300; border-radius: 0;
  transition: border-color .2s; -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--acc) 50%), linear-gradient(135deg, var(--acc) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--acc); }
.row2 { display: grid; gap: 18px; }
@media (min-width: 700px) { .row2 { grid-template-columns: 1fr 1fr; } }
fieldset.field { border: 0; padding: 0; margin: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.field .seg input { position: absolute; width: 1px; height: 1px; padding: 0; opacity: 0; pointer-events: none; }
.seg label { font-family: var(--f-disp); text-transform: none; letter-spacing: -.01em; font-size: 15px; color: var(--ink); border: 1px solid var(--line); padding: 10px 16px; cursor: pointer; transition: all .2s; font-weight: 300; }
.seg input:checked + label { background: var(--acc); color: var(--acc-ink); border-color: var(--acc); font-weight: 500; }
.seg input:focus-visible + label { outline: 2px solid var(--acc); outline-offset: 2px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 14px; font-weight: 300; color: var(--mute); align-items: start; }
.check input { width: 20px; height: 20px; accent-color: var(--acc); margin: 2px 0 0; }
.check a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; }
.form-ok { border: 1px solid var(--acc); padding: 30px; background: var(--acc-soft); }
.form-ok h3 { margin-bottom: 10px; }
.aside-box { border: 1px solid var(--line); padding: 28px; }
.aside-box + .aside-box { margin-top: 14px; }
.aside-box h3 { font-size: 22px; margin: 10px 0 10px; }
.big-mail { display: inline-block; font-weight: 400; letter-spacing: -.04em; font-size: clamp(26px, 3.6vw, 48px); border-bottom: 1px solid var(--line); padding-bottom: 6px; word-break: break-all; transition: border-color .2s, color .2s; }
.big-mail:hover { border-color: var(--acc); color: var(--acc); }

/* ---------- CTA finale ---------- */
.final { text-align: left; position: relative; overflow: hidden; }
.final .h2 { max-width: 16ch; margin: 22px 0 26px; font-size: clamp(42px, 7vw, 110px); }
.final .lead { margin-bottom: 36px; }
.final-dots { position: absolute; right: -10%; bottom: -30%; width: min(70vw, 800px); aspect-ratio: 1; pointer-events: none; opacity: .55;
  background: radial-gradient(circle, var(--acc) 1.2px, transparent 1.6px) 0 0 / 13px 13px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0, transparent 62%); mask-image: radial-gradient(circle at 50% 50%, #000 0, transparent 62%); }

/* ---------- Legale ---------- */
.legal { max-width: 760px; }
.legal h2 { font-weight: 500; letter-spacing: -.03em; font-size: 26px; margin: 46px 0 14px; }
.legal p, .legal li { font-weight: 300; color: var(--mute); margin-bottom: 12px; }
.legal ul { padding-left: 0; }
.legal li { padding-left: 22px; position: relative; }
.legal li::before { content: "\2192"; position: absolute; left: 0; color: var(--acc); font-family: var(--f-mono); font-size: 12px; top: 3px; }
.legal strong { color: var(--ink); font-weight: 500; }
.legal a { color: var(--acc); }
.notice { border: 1px dashed var(--acc); padding: 16px 18px; color: var(--mute); font-size: 14px; margin-top: 26px; }

/* ---------- Footer ---------- */
.foot { position: relative; border-top: 1px solid var(--line); overflow: hidden; font-family: var(--f-mono); }
.foot-top { display: grid; gap: 40px; padding-block: clamp(56px, 7vw, 96px) clamp(24px, 4vw, 48px); }
@media (min-width: 900px) { .foot-top { grid-template-columns: 2fr 1fr 1fr; } }
.foot-h { color: var(--dim); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.foot li { margin-bottom: 10px; }
.foot li a { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .85; transition: opacity .2s, color .2s; }
.foot li a:hover { opacity: 1; color: var(--acc); }
.foot-brand p { font-family: var(--f-disp); font-weight: 300; font-size: clamp(20px, 2vw, 26px); letter-spacing: -.03em; line-height: 1.25; max-width: 24ch; margin: 22px 0 28px; }
.ht { width: 100%; padding-inline: var(--pad); }
.ht canvas { width: 100%; aspect-ratio: 16 / 3.2; touch-action: pan-y; cursor: crosshair; }
.foot-bot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-block: 22px 28px; border-top: 1px solid var(--line-2); color: var(--dim); }
.foot-bot a:hover { color: var(--acc); }
@media (max-width: 899px) { .foot ul { display: flex; flex-wrap: wrap; gap: 10px 22px; } .foot li { margin: 0; } }

/* ---------- Barra CTA mobile ---------- */
.mbar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 8000; display: flex; transform: translateY(140%); transition: transform .35s var(--ease); }
.mbar.show { transform: none; }
.mbar .btn { width: 100%; box-shadow: 0 14px 40px -10px rgba(0, 0, 0, .8); }
@media (min-width: 980px) { .mbar { display: none; } }
html.menu-open .mbar { display: none; }

/* ---------- Reveal ---------- */
html.js .rv { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
html.js .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  body::after { animation: none; }
  html.js .rv { opacity: 1; transform: none; }
  .manifesto .w { opacity: 1; }
}

/* Lista con frecce (riutilizzabile) */
.ticks { display: grid; gap: 10px; font-size: 15px; font-weight: 300; color: var(--mute); }
.ticks li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.ticks li::before { content: "\2192"; color: var(--acc); font-family: var(--f-mono); font-size: 12px; padding-top: 3px; }
