@font-face{font-family:"Bricolage Grotesque";font-style:normal;font-weight:200 800;font-display:swap;src:url(/assets/fonts/bricolage.woff2) format("woff2")}
@font-face{font-family:"Instrument Sans";font-style:normal;font-weight:400 700;font-display:swap;src:url(/assets/fonts/instrument.woff2) format("woff2")}
/* Layout: pagina di vendita in una colonna scura con bagliori viola, pensata prima per telefono. Barra del prezzo, hero con libro 3D, numeri, perche' adesso, prove con 3 pagine reali, autore con numeri, AI, calcolatore, benefici, per chi e', offerta, domande, chiusura. I riquadri tratteggiati sono spazi da riempire. */
:root {
  --bg: #07050d;
  --bg-2: #0e0919;
  --surface: #140d24;
  --line: #2c1f4d;
  --fg: #f3effb;
  --muted: #b0a6c8;
  --accent: #9b7cf6;
  --violet-deep: #4c1d95;
  --violet: #6d28d9;
  --violet-bright: #7c3aed;
  --glow: rgba(109, 40, 217, 0.45);
  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 1rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 92px;
}
@media (min-width: 720px) { body { padding-bottom: 0; } }

h1, h2, h3 { font-family: var(--display); line-height: 1.1; text-wrap: balance; margin: 0; }
p { margin: 0; }
ul, ol, dl { margin: 0; padding: 0; }
a { color: inherit; }

.wrap {
  max-width: 1080px;
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.band { position: relative; padding-block: 56px; }
@media (min-width: 860px) { .band { padding-block: 88px; } }
.alt { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%); }
[id] { scroll-margin-top: 12px; }

.eyebrow {
  font: 600 0.75rem/1.3 var(--body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.sec-head { display: grid; gap: 14px; max-width: 720px; margin-bottom: 32px; }
.sec-head h2 { font-size: clamp(1.75rem, 5.2vw, 2.7rem); font-weight: 800; letter-spacing: -0.015em; }
.sec-head p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; max-width: 56ch; }

/* Spazi da riempire */
.ph { border: 1px dashed rgba(155, 124, 246, 0.55); background: var(--surface); color: var(--muted); }
.slot { color: #d9ccff; border-bottom: 1px dashed rgba(155, 124, 246, 0.8); white-space: nowrap; }

/* Pulsanti */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 1.6rem;
  border-radius: 12px;
  font: 600 1rem/1 var(--body);
  color: #fff; text-decoration: none; text-align: center;
  background: linear-gradient(135deg, var(--violet-deep) 0%, var(--violet) 55%, var(--violet-bright) 100%);
  box-shadow: inset 0 0 0 1px rgba(155, 124, 246, 0.4), 0 12px 40px -12px var(--glow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px rgba(155, 124, 246, 0.6), 0 16px 44px -10px var(--glow); }
.btn:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-sm { min-height: 40px; padding: 0 1.1rem; font-size: 0.9rem; }
.btn-lg { min-height: 58px; font-size: 1.08rem; padding: 0 2rem; }
.cta-row { display: grid; gap: 12px; justify-items: stretch; }
.cta-row .btn { width: 100%; }
.cta-note { font-size: 0.875rem; color: var(--muted); text-align: center; }
@media (min-width: 560px) {
  .cta-row { justify-items: start; }
  .cta-row .btn { width: auto; }
  .cta-note { text-align: left; }
}

/* Barra del prezzo */
.bar { position: relative; z-index: 3; text-align: center; padding: 9px max(16px, env(safe-area-inset-left, 0px)); font: 600 0.8rem/1.35 var(--body); letter-spacing: 0.01em; color: #fff; background: linear-gradient(90deg, var(--violet-deep), var(--violet) 50%, var(--violet-deep)); }
.bar b { font-weight: 700; }
.bar s { opacity: 0.75; }

/* Intestazione */
.top { position: relative; z-index: 2; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.mark { text-decoration: none; font: 700 0.8rem/1 var(--display); letter-spacing: 0.22em; }
.mark span { color: var(--accent); }

/* Hero */
.hero {
  margin-top: -78px;
  padding-top: 118px;
  padding-bottom: 36px;
  overflow-x: clip;
  background:
    radial-gradient(70% 45% at 88% 0%, rgba(109, 40, 217, 0.5), transparent 70%),
    radial-gradient(60% 40% at 0% 55%, rgba(76, 29, 149, 0.4), transparent 70%),
    var(--bg);
}
.hero-grid {
  display: grid; gap: 22px; align-items: center;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "copy" "book" "cta";
}
.hero-copy { grid-area: copy; display: grid; gap: 18px; justify-items: start; }
.hero-cta { grid-area: cta; display: grid; gap: 16px; }
@media (min-width: 880px) {
  .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); grid-template-areas: "copy book" "cta book"; column-gap: 56px; row-gap: 28px; }
}
.badge { font: 600 0.72rem/1 var(--body); letter-spacing: 0.1em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(155, 124, 246, 0.5); background: rgba(124, 58, 237, 0.16); color: #d9ccff; }
.hero h1 { font-size: clamp(2.15rem, 8.6vw, 4rem); font-weight: 800; letter-spacing: -0.025em; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #b9a3ff 0%, #8b5cf6 50%, #7c3aed 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 1.1rem; color: var(--muted); max-width: 50ch; }
.lead b { color: var(--fg); font-weight: 600; }

/* Libro 3D */
.stage {
  grid-area: book; position: relative;
  --w: min(58vw, 226px);
  --h: calc(var(--w) * 1.413);
  --d: calc(var(--w) * 0.16);
  display: grid; justify-items: center; gap: 14px;
  padding-top: 6px;
}
@media (min-width: 880px) { .stage { --w: 270px; } }
.stage::before {
  content: ""; position: absolute; left: 50%; top: 42%;
  width: min(calc(var(--w) * 1.9), 100%); height: calc(var(--h) * 1.15);
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(139, 92, 246, 0.85), rgba(109, 40, 217, 0.35) 55%, transparent 78%);
  filter: blur(22px); pointer-events: none;
}
.book-box { position: relative; perspective: 1100px; width: 100%; height: calc(var(--h) + 30px); display: grid; place-items: center; }
.book {
  position: relative; width: var(--w); height: var(--h);
  transform-style: preserve-3d;
  transform: rotateX(-7deg) rotateY(26deg);
  animation: sway 8s ease-in-out infinite alternate;
}
@keyframes sway {
  from { transform: rotateX(-7deg) rotateY(16deg); }
  to   { transform: rotateX(-5deg) rotateY(36deg); }
}
.face { position: absolute; backface-visibility: hidden; -webkit-backface-visibility: hidden; outline: 1px solid transparent; }
.f-front { inset: 0; transform: translateZ(calc(var(--d) / 2)); border-radius: 2px 6px 6px 2px; overflow: hidden; }
.f-front img { display: block; width: 100%; height: 100%; object-fit: cover; }
.f-front::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; border: 1px solid rgba(167, 139, 250, 0.5); pointer-events: none; }
.f-front::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0, rgba(255, 255, 255, 0.16) 2.2%, rgba(0, 0, 0, 0.22) 4.5%, rgba(0, 0, 0, 0) 9%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 38%);
}
.f-back { inset: 0; background: #0a1424; transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); border-radius: 6px 2px 2px 6px; }
.f-spine {
  top: 0; left: calc(50% - var(--d) / 2); width: var(--d); height: 100%;
  transform: rotateY(-90deg) translateZ(calc(var(--w) / 2));
  display: grid; place-items: center;
  background: linear-gradient(90deg, #06101c 0%, #0c2236 35%, #0f2b44 55%, #08141f 100%);
  border-radius: 2px 0 0 2px;
  box-shadow: inset 0 0 0 1px rgba(143, 227, 245, 0.12);
}
.f-spine span {
  writing-mode: vertical-rl; white-space: nowrap;
  font: 700 calc(var(--w) * 0.04)/1 var(--display); letter-spacing: 0.2em; text-transform: uppercase; color: #9fe6f6;
}
.f-spine i { font-style: normal; color: #2f9fbd; padding-block: 0.9em; }
.f-pages {
  top: 0; left: calc(50% - var(--d) / 2); width: var(--d); height: 100%;
  transform: rotateY(90deg) translateZ(calc(var(--w) / 2));
  background: repeating-linear-gradient(90deg, #f1ebdd 0 1px, #d9d1bf 1px 2px);
}
.f-top {
  left: 0; top: calc(50% - var(--d) / 2); width: 100%; height: var(--d);
  transform: rotateX(90deg) translateZ(calc(var(--h) / 2));
  background:
    linear-gradient(180deg, #0a1b2d 0, #0a1b2d 3px, transparent 3px, transparent calc(100% - 3px), #0a1b2d calc(100% - 3px)),
    repeating-linear-gradient(180deg, #f1ebdd 0 1px, #d3cab6 1px 2px);
}
.floor {
  position: absolute; left: 50%; bottom: 8px; width: 78%; height: 26px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.75), transparent 72%);
  filter: blur(7px);
}
@media (prefers-reduced-motion: reduce) { .book { animation: none; } }

/* Numeri */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 40px 0 0; border-block: 1px solid var(--line); }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 56px; } }
.stats > div { display: grid; gap: 6px; padding: 20px 0; align-content: start; min-width: 0; }
.stats dd { margin: 0; order: 1; font: 700 clamp(1.55rem, 6vw, 2.3rem)/1 var(--display); font-variant-numeric: tabular-nums; }
.stats dt { order: 2; color: var(--muted); font-size: 0.85rem; line-height: 1.35; }

/* Perche' adesso */
.why3 { list-style: none; counter-reset: w; display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .why3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.why3 li {
  counter-increment: w; position: relative; display: grid; gap: 10px; align-content: start;
  padding: 24px 22px 24px 22px; border-radius: 20px;
  background: linear-gradient(165deg, rgba(124, 58, 237, 0.2), rgba(20, 13, 36, 0.85));
  border: 1px solid rgba(155, 124, 246, 0.35);
}
.why3 li::before { content: counter(w, decimal-leading-zero); font: 800 1.9rem/1 var(--display); color: var(--accent); }
.why3 h3 { font-size: 1.3rem; font-weight: 700; }
.why3 p { color: var(--muted); }
.why3 p b { color: var(--fg); font-weight: 600; }
.push { margin-top: 32px; display: grid; gap: 18px; max-width: 640px; }
.push p { font: 700 clamp(1.3rem, 4.4vw, 1.75rem)/1.25 var(--display); text-wrap: balance; }
.push p span { color: var(--accent); }

/* Prove */
.proof { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.rail {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin-inline: -20px; padding: 0 20px 14px; scroll-padding-inline: 20px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.case { flex: 0 0 76%; max-width: 310px; margin: 0; scroll-snap-align: start; display: grid; gap: 14px; align-content: start; }
.case img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 26px 50px -24px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(155, 124, 246, 0.12); }
.case figcaption { display: grid; gap: 4px; }
.case .h { font: 700 1.05rem/1.2 var(--display); }
.case .n { color: var(--accent); font: 600 0.85rem/1.2 var(--body); }
.case .d { color: var(--muted); font-size: 0.9rem; line-height: 1.45; }
.swipe { margin-top: 6px; font-size: 0.8rem; color: var(--muted); }
@media (min-width: 900px) {
  .rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; overflow: visible; margin-inline: 0; padding: 0; }
  .case { max-width: none; }
  .swipe { display: none; }
}

/* Autore */
.author-grid { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 760px) { .author-grid { grid-template-columns: 300px minmax(0, 1fr); gap: 56px; } }
.portrait { margin: 0; position: relative; max-width: 320px; }
.portrait::before { content: ""; position: absolute; inset: 8% -6% -6% 8%; border-radius: 26px; background: linear-gradient(145deg, var(--violet-deep), var(--violet-bright)); opacity: 0.5; filter: blur(20px); }
.portrait img { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; box-shadow: 0 0 0 1px rgba(155, 124, 246, 0.4), 0 30px 60px -24px rgba(0, 0, 0, 0.9); }
.author-copy { display: grid; gap: 16px; justify-items: start; }
.author-copy h2 { font-size: clamp(1.75rem, 5.2vw, 2.6rem); font-weight: 800; letter-spacing: -0.015em; }
.author-copy p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; max-width: 52ch; }
.author-copy p b { color: var(--fg); font-weight: 600; }


/* Chi te lo insegna: punti */
.author-copy .lede { color: var(--fg); font-size: 1.1rem; }
.facts { list-style: none; display: grid; gap: 12px; max-width: 54ch; }
.facts li { position: relative; padding-left: 26px; color: var(--muted); font-size: 1.02rem; }
.facts li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 9px; height: 9px; border-radius: 2px; background: var(--violet-bright); }
.facts li b { color: var(--fg); font-weight: 600; }
.author-copy .seal { display: flex; align-items: center; gap: 14px; max-width: 54ch; padding: 14px 16px; border-radius: 16px; color: var(--accent); background: rgba(124, 58, 237, 0.14); border: 1px solid rgba(155, 124, 246, 0.4); }
.author-copy .seal svg { flex: none; }
.author-copy .seal p { color: var(--fg); font-size: 0.98rem; line-height: 1.45; }
.author-copy .seal p b { font-weight: 600; }

/* AI */
.auto { list-style: none; display: grid; gap: 22px 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .auto { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.auto li { display: grid; gap: 6px; padding-left: 18px; border-left: 2px solid var(--violet); }
.auto h3 { font-size: 1.2rem; font-weight: 700; }
.auto p { color: var(--muted); }
.auto-end { margin-top: 28px; font: 600 1.15rem/1.4 var(--display); max-width: 44ch; }

/* Quanto puo' rendere */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.calc {
  display: grid; gap: 24px; max-width: 760px; padding: 26px 22px; border-radius: 26px; border: 1px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, #7c3aed, #2c1f4d 55%, #4c1d95) border-box;
}
@media (min-width: 720px) { .calc { padding: 40px; } }
.calc-out { display: grid; gap: 12px; }
.calc-f { color: var(--muted); font-size: 1.05rem; }
.calc-f b { color: var(--fg); font: 800 clamp(1.7rem, 7.5vw, 2.4rem)/1 var(--display); font-variant-numeric: tabular-nums; margin-right: 4px; }
.calc-v { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; font: 600 1.15rem/1.2 var(--display); color: var(--muted); }
.calc-v b {
  font: 800 clamp(1.8rem, 8.4vw, 3.6rem)/1.05 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
  background: linear-gradient(100deg, #c4b5fd, #8b5cf6 60%, #7c3aed); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.calc-v small { flex-basis: 100%; font: 400 0.9rem/1.4 var(--body); color: var(--muted); }
.calc-ctl { display: grid; gap: 4px; }
.calc input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer; --p: 59%; }
.calc input[type="range"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 12px; }
.calc input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--violet-bright) var(--p), rgba(155, 124, 246, 0.22) var(--p)); }
.calc input[type="range"]::-moz-range-track { height: 8px; border-radius: 999px; background: rgba(155, 124, 246, 0.22); }
.calc input[type="range"]::-moz-range-progress { height: 8px; border-radius: 999px; background: var(--violet-bright); }
.calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -11px; border-radius: 50%; background: #fff; border: 5px solid var(--violet-bright); box-shadow: 0 0 0 6px rgba(124, 58, 237, 0.25), 0 6px 18px rgba(0, 0, 0, 0.5); }
.calc input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 5px solid var(--violet-bright); box-shadow: 0 0 0 6px rgba(124, 58, 237, 0.25), 0 6px 18px rgba(0, 0, 0, 0.5); }
.calc-scale { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--fg); font: 500 0.88rem/1 var(--body); cursor: pointer; }
.chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.chip[aria-pressed="true"] { background: rgba(124, 58, 237, 0.28); border-color: rgba(155, 124, 246, 0.7); }
.calc-note { font-size: 0.82rem; line-height: 1.5; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--line); }

/* Benefici */
.perks { list-style: none; counter-reset: p; display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); margin-bottom: 36px; }
@media (min-width: 720px) { .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1000px) { .perks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.perks > li { counter-increment: p; display: grid; gap: 8px; align-content: start; padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.perks > li::before { content: counter(p, decimal-leading-zero); font: 700 0.85rem/1 var(--display); color: var(--accent); letter-spacing: 0.08em; }
.perks h3 { font-size: 1.25rem; font-weight: 700; }
.perks p { color: var(--muted); font-size: 0.98rem; }
.routes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; list-style: none; }
.routes li { padding: 7px 11px; border-radius: 999px; font: 500 0.8rem/1 var(--body); color: #e4dbff; background: rgba(124, 58, 237, 0.18); border: 1px solid rgba(155, 124, 246, 0.4); }

/* Per chi e' */
.split { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
.card { padding: 28px; border-radius: 20px; }
.card h3 { font-size: 1.25rem; margin-bottom: 18px; }
.card ul { list-style: none; display: grid; gap: 14px; }
.card li { position: relative; padding-left: 26px; color: var(--fg); }
.card li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 9px; height: 9px; border-radius: 2px; }
.yes { border: 1px solid rgba(155, 124, 246, 0.4); background: linear-gradient(160deg, rgba(124, 58, 237, 0.2), rgba(20, 13, 36, 0.7)); }
.yes li::before { background: var(--violet-bright); }
.no { border: 1px solid var(--line); background: var(--bg-2); }
.no li { color: var(--muted); }
.no li::before { border: 1.5px solid var(--muted); }

/* Prezzo e offerta */
.deal { background: radial-gradient(60% 70% at 50% 100%, rgba(109, 40, 217, 0.4), transparent 70%), var(--bg); }
.why { max-width: 680px; margin-bottom: 32px; display: grid; gap: 14px; }
.why h2 { font-size: clamp(1.75rem, 5.2vw, 2.7rem); font-weight: 800; letter-spacing: -0.015em; }
.why p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; max-width: 58ch; }
.offer {
  display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr);
  padding: 26px 22px; border-radius: 26px; border: 1px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, #7c3aed, #2c1f4d 55%, #4c1d95) border-box;
}
@media (min-width: 860px) { .offer { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; padding: 44px; } }
.offer h3 { font-size: clamp(1.5rem, 4vw, 2rem); margin-bottom: 22px; }
.gets { list-style: none; display: grid; gap: 18px; }
.gets li { position: relative; display: grid; gap: 2px; padding-left: 26px; }
.gets li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 9px; height: 9px; border-radius: 2px; background: var(--violet-bright); }
.gets strong { font-weight: 600; }
.gets span { color: var(--muted); font-size: 0.95rem; }
.buy { display: grid; gap: 14px; align-content: start; }
.was { font-size: 0.95rem; color: var(--muted); }
.was s { color: #8e83a8; }
.price { font: 800 clamp(3.6rem, 16vw, 4.8rem)/1 var(--display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.price small { display: block; font: 400 0.9rem/1.45 var(--body); letter-spacing: 0; color: var(--muted); margin-top: 8px; }
.buy .btn { width: 100%; }
.after { list-style: none; counter-reset: a; display: grid; gap: 8px; font-size: 0.9rem; color: var(--muted); }
.after li { counter-increment: a; display: flex; gap: 10px; }
.after li::before { content: counter(a); flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 600 0.75rem/1 var(--body); color: var(--fg); border: 1px solid var(--line); }
.fine { font-size: 0.8rem; color: var(--muted); }

/* Domande */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; font: 600 1.05rem/1.4 var(--body);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.6rem/1 var(--body); color: var(--accent); transition: transform 0.2s ease; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 62ch; }

/* Chiusura */
.close { background: radial-gradient(70% 90% at 15% 100%, rgba(109, 40, 217, 0.45), transparent 70%), var(--bg-2); }
.close .wrap { display: grid; gap: 22px; justify-items: start; }
.close h2 { font-size: clamp(1.9rem, 6vw, 3.2rem); font-weight: 800; letter-spacing: -0.02em; max-width: 20ch; }
.close p { color: var(--muted); font-size: 1.05rem; max-width: 52ch; }
.close .cta-row { width: 100%; }

/* Piè di pagina */
.foot { padding-block: 40px 56px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.8125rem; }
.foot .wrap { display: grid; gap: 14px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* Barra fissa su telefono */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 12px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  background: rgba(7, 5, 13, 0.94);
  border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.dock-price { display: grid; line-height: 1.2; }
.dock-price strong { font: 800 1.5rem/1 var(--display); }
.dock-price span { font-size: 0.72rem; color: var(--muted); }
.dock-price s { color: #8e83a8; }
.dock .btn { flex: 1; max-width: 230px; }
@media (min-width: 720px) { .dock { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq summary::after { transition: none; }
  .btn:hover { transform: none; }
}

/* Link footer e note */
.foot a, .fine a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.foot a:hover, .fine a:hover { color: var(--accent); }

/* Pagine legali e di servizio */
.doc-top { border-bottom: 1px solid var(--line); }
.doc-top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.doc { padding-block: 48px 72px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(2rem, 6vw, 2.8rem); font-weight: 800; letter-spacing: -0.015em; margin-bottom: 10px; }
.doc .updated { color: var(--muted); font-size: 0.875rem; margin-bottom: 36px; }
.doc h2 { font-size: 1.3rem; font-weight: 700; margin: 36px 0 12px; }
.doc p, .doc li { color: #ddd5ee; margin-bottom: 12px; }
.doc ul, .doc ol { padding-left: 1.3em; margin-bottom: 12px; }
.doc li { margin-bottom: 6px; }
.doc a { color: var(--accent); text-underline-offset: 3px; overflow-wrap: anywhere; }
.doc strong { color: var(--fg); }
.doc table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 0.9375rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); color: #ddd5ee; }
.doc th { color: var(--fg); font-weight: 600; width: 38%; }
.doc .box { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; margin: 20px 0; }
.doc .center { text-align: center; }
.doc .btn { margin-top: 12px; }
@media (max-width: 560px) { .doc th, .doc td { display: block; width: auto; padding: 6px 0; } .doc th { padding-top: 14px; border-bottom: 0; } }
body.plain { padding-bottom: 0; }
