/* Sito DisconeLab: nero minimal con una sfumatura blu verso il basso (variante B "Orizzonte" del design,
   design/direzione_3_nero_minimal). I colori stanno nelle variabili qui sotto; in fondo al file c'e' il tema. */

:root {
  --ink: #fff;
  --soft: rgba(255, 255, 255, .62);
  --dark: #050507;
  --glass: #0a0c14;               /* pannelli */
  --glass-dark: #0c0f1a;          /* pannelli piu' in rilievo */
  --tile: #10131d;                /* righe, schede, campi */
  --tile-on: #151a2b;             /* riga o scheda scelta */
  --edge: #1c2133;                /* filo sottile */
  --edge-2: #2a3350;              /* filo dei pulsanti e dei campi */
  --line: #2a3350;
  --accent: #3d7bff;
  --accent-soft: #9dbdff;
  --r-lg: 20px;                   /* angoli dei pannelli */
  --r-md: 14px;                   /* angoli di righe e schede */
}
* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  margin: 0; min-height: 100vh; color: var(--ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.45;
  background: #000 linear-gradient(180deg, #000 0%, #02040c 42%, #061440 100%) fixed;
}
body::before {                       /* chiarore blu sul bordo basso */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(900px 300px at 50% 100%, rgba(52, 120, 255, .28), rgba(52, 120, 255, 0) 75%);
}
.page { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; padding: 26px 34px 56px; }

.glass {
  background: var(--glass); border: 1px solid var(--line); border-radius: 40px;
  -webkit-backdrop-filter: blur(26px) saturate(150%); backdrop-filter: blur(26px) saturate(150%);
  box-shadow: 0 30px 80px rgba(6, 16, 50, .32), inset 0 1px 0 rgba(255, 255, 255, .50);
}
.glass.dark { background: var(--glass-dark); }

/* barra in alto */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px 12px 28px; border-radius: 999px; }
.logo { font-weight: 700; letter-spacing: .01em; font-size: 20px; }
.nav .links { display: flex; gap: 30px; color: var(--soft); font-size: 15px; }
.nav .links a { color: inherit; text-decoration: none; }
.nav .links a.on { color: #fff; }
.nav .right { display: flex; align-items: center; gap: 12px; }

/* pulsanti */
.btn { display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 999px; padding: 15px 28px; font: 600 16px Inter, system-ui, sans-serif; cursor: pointer; text-decoration: none; }
.btn.white { background: #fff; color: #17121c; }
.btn.black { background: var(--dark); color: #fff; }
.btn.ghost { background: rgba(255, 255, 255, .16); color: #fff; border: 1px solid var(--line); }
.btn.small { padding: 10px 18px; font-size: 14px; }
.btn.block { width: 100%; justify-content: center; }
.btn .arrow { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--dark); color: #fff; font-size: 14px; }

/* progresso a pillola, come nel riferimento "3/6" */
.progress { display: flex; align-items: center; gap: 12px; padding: 10px 18px; border-radius: 999px; font-size: 14px; }
.progress .track { position: relative; width: 150px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .28); }
.progress .track i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: linear-gradient(90deg, #9fd0ff, #fff); }
.progress b { background: #fff; color: #17121c; border-radius: 999px; padding: 3px 12px; font-weight: 600; }

/* titoli */
.eyebrow { color: var(--soft); font-size: 15px; letter-spacing: .02em; margin: 0 0 14px; }
h1 { font-size: clamp(42px, 6.6vw, 92px); line-height: .96; letter-spacing: -.04em; font-weight: 600; margin: 0 0 22px; text-shadow: 0 2px 30px rgba(8, 18, 52, .55); }
h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.05; letter-spacing: -.03em; font-weight: 600; margin: 0 0 10px; }
.lead { color: var(--soft); max-width: 520px; margin: 0 0 30px; font-size: 19px; }
.muted { color: var(--soft); }
.small { font-size: 14px; }

/* righe di scelta (pillole) */
.row { display: flex; align-items: center; gap: 18px; padding: 16px 22px; border-radius: 26px; background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .22); }
.row.on { background: rgba(22, 18, 26, .72); border-color: rgba(255, 255, 255, .5); }
.row .ic { width: 64px; height: 64px; border-radius: 18px; background: rgba(255, 255, 255, .20); display: grid; place-items: center; flex: none; overflow: hidden; }
.row .ic img { max-width: 86%; max-height: 86%; }
.row .t { flex: 1; }
.row .t b { display: block; font-size: 19px; }
.row .t span { color: var(--soft); font-size: 14px; }
.row .chk { width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); display: grid; place-items: center; font-size: 15px; flex: none; }
.row.on .chk { background: #fff; color: #17121c; border-color: #fff; }
.row.off { opacity: .55; }
.tag { font-size: 12px; border: 1px solid var(--line); border-radius: 999px; padding: 3px 11px; color: var(--soft); white-space: nowrap; }
.tag.req { color: #d6ecff; border-color: #8cc8ff; }

/* pannello a due colonne */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; align-items: stretch; margin-top: 26px; }
.panel { padding: 34px; }
.stack { display: grid; gap: 12px; }
.foot-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; gap: 14px; }

/* schede animazione */
.cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 26px; }
.acard { border-radius: 30px; padding: 14px 14px 18px; background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .30); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); position: relative; }
.acard.on { background: rgba(22, 18, 26, .62); border: 2px solid #fff; }
.acard .pic { aspect-ratio: 1; border-radius: 22px; background: rgba(255, 255, 255, .26); display: grid; place-items: center; overflow: hidden; margin-bottom: 14px; }
.acard .pic img { max-width: 88%; max-height: 82%; filter: drop-shadow(0 18px 20px rgba(30, 10, 50, .35)); }
.acard b { display: block; font-size: 18px; }
.acard p { margin: 4px 0 10px; color: var(--soft); font-size: 13.5px; line-height: 1.35; min-height: 54px; }
.acard .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.acard .ck { position: absolute; top: 20px; right: 20px; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: #17121c; display: grid; place-items: center; font-size: 16px; }

/* spazi per le immagini */
.slot { display: flex; align-items: center; gap: 16px; padding: 12px 18px 12px 14px; border-radius: 24px; background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .22); }
.slot .th { width: 54px; height: 54px; border-radius: 14px; background: rgba(255, 255, 255, .20); display: grid; place-items: center; overflow: hidden; flex: none; }
.slot .th img { width: 100%; height: 100%; object-fit: cover; }
.slot .th i { display: block; border-radius: 3px; border: 1px solid rgba(255, 255, 255, .5); }
.slot .t { flex: 1; min-width: 0; }
.slot .t b { display: block; font-size: 16px; }
.slot .t span { color: var(--soft); font-size: 13px; }
.dots { display: flex; gap: 7px; align-items: center; }
.dot { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .6); }
.dot.on { box-shadow: 0 0 0 2px rgba(22, 18, 26, .8), 0 0 0 4px #fff; }

/* anteprima */
.stage { border-radius: 36px; overflow: hidden; position: relative; display: grid; place-items: center; min-height: 430px; border: 1px solid var(--line); }
.stage img.prod { max-width: 78%; max-height: 78%; filter: drop-shadow(0 30px 30px rgba(30, 10, 50, .4)); }
.stage .wm { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; color: rgba(255, 255, 255, .34); font-weight: 700; font-size: 54px; letter-spacing: .16em; transform: rotate(-18deg); text-shadow: 0 0 2px rgba(0, 0, 0, .25); }
.tabs { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
.tab { padding: 7px 16px; border-radius: 999px; font-size: 14px; border: 1px solid var(--line); color: var(--soft); }
.tab.on { background: #fff; color: #17121c; border-color: #fff; }
.sw { display: flex; gap: 12px; margin: 8px 0 22px; }
.sw i { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .6); display: block; }
.sw i.on { box-shadow: 0 0 0 3px rgba(22, 18, 26, .85), 0 0 0 5px #fff; }

/* moduli */
label.f { display: block; font-size: 14px; color: var(--soft); margin: 0 0 7px; }
.in { width: 100%; padding: 15px 18px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, .34); background: rgba(255, 255, 255, .13); color: #fff; font: 16px Inter, system-ui, sans-serif; margin-bottom: 16px; }
.in::placeholder { color: rgba(255, 255, 255, .6); }
textarea.in { min-height: 130px; resize: none; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--soft); margin: 4px 0 18px; }
.check i { width: 20px; height: 20px; border-radius: 6px; background: #fff; color: #17121c; display: grid; place-items: center; font-size: 13px; flex: none; margin-top: 1px; }

/* home */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 20px; min-height: 520px; padding-top: 24px; }
.hero .shot { position: relative; display: grid; place-items: center; }
.hero .shot img { width: min(100%, 560px); filter: drop-shadow(0 40px 40px rgba(30, 10, 50, .45)); transform: rotate(-2deg); }
.chip { position: absolute; padding: 10px 18px; border-radius: 999px; font-size: 14px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.duo { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; margin-top: 8px; }
.duo .glass { padding: 30px 34px; }
.duo h3 { font-size: 25px; letter-spacing: -.02em; margin: 0 0 6px; line-height: 1.15; }
.choose { display: flex; gap: 14px; margin-top: 20px; }
.choose .row { flex: 1; padding: 12px 18px; }

html, body { overflow-x: hidden; }
.hero > *, .split > *, .duo > *, .cards > *, .stack > * { min-width: 0; }
.lead, .eyebrow { text-shadow: 0 1px 14px rgba(8, 18, 52, .75); }

@media (max-width: 900px) {
  .slot { flex-wrap: wrap; }
  .slot .t { flex-basis: calc(100% - 80px); }
  .slot .tag { display: none; }
  .acard p { min-height: 0; }
  .chip { display: none; }
  .hero .shot img { width: 100%; }
  .row .t b { font-size: 17px; }
  .page { padding: 16px 16px 40px; }
  .nav .links { display: none; }
  .hero, .split, .duo { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero .shot { order: -1; }
  .cards { grid-template-columns: 1fr 1fr; }
  .panel { padding: 22px; }
  .progress .track { width: 70px; }
  .choose { flex-direction: column; }
  .stage { min-height: 320px; }
  h1 { font-size: 46px; }
}

/* ============================================================================================
   Parti funzionali del sito vero (la base sopra e' il design approvato)
   ============================================================================================ */
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.noscript { padding: 40px 0; }

.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; pointer-events: none; }
.btn.white[disabled], .btn.white[aria-disabled="true"] { opacity: .5; }
a.btn { text-decoration: none; }
.nav .links a.on { font-weight: 600; }
.nav .right a { text-decoration: none; }
.logo { text-decoration: none; color: inherit; }

/* messaggi */
.msg { margin: 10px 0 0; font-size: 14px; }
.msg.err { color: #ffc2c2; }
.msg.warn { color: #ffe3ad; }
.msg.ok { color: #bff0cf; }

/* scelte come righe/schede accessibili (radio nascosto) */
.row, .acard { position: relative; }
.row input[type="radio"], .acard input[type="radio"] { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 2; }
.row:has(input:focus-visible), .acard:has(input:focus-visible) { outline: 3px solid #fff; outline-offset: 3px; }
.row.link { text-decoration: none; color: inherit; cursor: pointer; }
.row.off { cursor: not-allowed; }
.acard { cursor: pointer; padding-bottom: 18px; }
.acard .pic { position: relative; background: #e4eaf5; }
.acard .pic img, .acard .pic video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; max-width: none; max-height: none; filter: none; }
.acard .pic img { padding: 7%; }
.acard .ck { display: none; }
.acard.on .ck { display: grid; z-index: 3; }
.acard .pic .noimg { color: #4a5a80; font-size: 14px; }

/* spazi per le immagini */
.slot { flex-wrap: wrap; row-gap: 8px; }
.slot .th .shape { display: block; width: 14px; height: 40px; border-radius: 3px; border: 1px solid rgba(255, 255, 255, .55); background: #000; }
.slot .th img { position: static; }
.slot .t { min-width: 130px; }
.slot .acts { display: flex; gap: 8px; }
.slot .msg { flex-basis: 100%; margin: 0; padding: 0 4px; }
.slot.over { outline: 2px dashed #fff; outline-offset: 2px; }
.slot.busy { opacity: .6; }
.dot { padding: 0; cursor: pointer; background-clip: padding-box; position: relative; overflow: hidden; }
.dot.custom { background: conic-gradient(#f44, #fd4, #4d6, #4cf, #84f, #f4a, #f44); }
.dot.custom input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; padding: 0; border: 0; }
details.guide { margin: 0 0 18px; padding: 12px 16px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 22px; background: rgba(255, 255, 255, .08); }
details.guide summary { cursor: pointer; font-weight: 600; font-size: 15px; }
.guide-imgs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; align-items: flex-end; }
.guide-imgs figure { margin: 0; flex: 1 1 140px; text-align: center; }
.guide-imgs img { max-width: 100%; max-height: 210px; border-radius: 12px; }
.guide-imgs figcaption { color: var(--soft); font-size: 12px; margin-top: 4px; }

/* anteprima e video */
.stage { background: rgba(255, 255, 255, .10); }
.stage img.pv, .stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #e4eaf5; }
.stage video.vid { background: #000; }
.stage .st { position: absolute; inset: 0; display: grid; place-content: center; gap: 12px; text-align: center; padding: 24px; color: var(--soft); }
.stage { aspect-ratio: 1; min-height: 0; }
.stage img.pv.dim { opacity: .55; }
.overlay { position: absolute; left: 14px; bottom: 14px; display: flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 13px; background: rgba(12, 26, 58, .72); border: 1px solid var(--line); }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .3); border-top-color: #fff; animation: spin .9s linear infinite; margin: 0 auto; }
.spinner.small { width: 16px; height: 16px; border-width: 2px; margin: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 3s; } .fill { transition: none !important; } }
button.tab { font: inherit; font-size: 14px; background: transparent; cursor: pointer; }
.hint { color: var(--soft); font-size: 13px; margin: 12px 0 0; }
.hint.center { text-align: center; }

/* stato dell'ordine */
.lead.sm { font-size: 17px; margin-bottom: 16px; }
.bar { height: 10px; background: rgba(255, 255, 255, .25); border-radius: 99px; overflow: hidden; margin: 6px 0 20px; }
.fill { height: 100%; width: 0; background: linear-gradient(90deg, #9fd0ff, #fff); border-radius: 99px; transition: width .6s ease; }
.copyrow { display: flex; gap: 8px; }
.copyrow .in { margin-bottom: 0; }
.actions { margin: 4px 0 20px; }

/* sfondo e moduli */
.sw { flex-wrap: wrap; }
.sw label { position: relative; display: block; cursor: pointer; }
.sw label input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.sw label i { display: block; }
.sw label:has(input:checked) i { box-shadow: 0 0 0 3px rgba(12, 26, 58, .85), 0 0 0 5px #fff; }
.sw label:has(input:focus-visible) i { outline: 3px solid #fff; outline-offset: 6px; }
.sw .custom i { background: conic-gradient(#f44, #fd4, #4d6, #4cf, #84f, #f4a, #f44); }
.sw i.transp { background: repeating-conic-gradient(#ecedf3 0 25%, #c8cdd7 0 50%) 0 0 / 14px 14px; }
.sw .custom input[type="color"] { padding: 0; border: 0; }
.check { cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: #fff; flex: none; }
.row.sum { margin-bottom: 16px; padding: 12px 20px; }
.row.sum .t b { font-size: 16px; }
.in:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.brand-note { color: var(--soft); font-size: 13px; text-align: center; padding: 28px 0 0; }
/* pagine e dettagli del sito vero */
.panel.narrow { max-width: 780px; margin: 56px auto 0; }
.page-head { margin-top: 44px; }
.chip.tr { top: 6%; right: 2%; }
.btn.black .arrow { background: #fff; color: var(--dark); }
.row .ic.glyph { font-size: 28px; }
.h1-sm { font-size: clamp(38px, 5.4vw, 74px); }
.hero.two { grid-template-columns: 1fr 1fr; min-height: 560px; }
.split.wide { grid-template-columns: 1.15fr 1fr; }
.row .t .rule, .slot .t .rule { display: block; font-size: 12px; opacity: .85; margin-top: 2px; }
.acard .pic video { opacity: 0; transition: opacity .25s; }
.acard .pic.playing video { opacity: 1; }
.slot .th img { object-fit: contain; }
.slot .th .shape.round { width: 40px; height: 40px; border-radius: 50%; }
.slot .th .shape.empty { background: transparent; border-style: dashed; }
.foot-actions .grow { flex: 1; }
.page-title:focus { outline: none; }
.stage .st b { color: #fff; font-size: 17px; }
.sw label.sel i { box-shadow: 0 0 0 3px rgba(12, 26, 58, .85), 0 0 0 5px #fff; }
@media (max-width: 900px) {
  .slot .tag { display: inline-block; }
  .panel.narrow { margin-top: 28px; }
  .page-head { margin-top: 28px; }
  .split.wide, .hero.two { grid-template-columns: 1fr; }
}
.slot .side { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-left: auto; }
@media (max-width: 900px) {
  .slot .side { flex-basis: 100%; justify-content: space-between; }
  .slot .t { flex-basis: calc(100% - 80px); }
}
@media (max-width: 900px) {
  .hero { margin-bottom: 26px; }
  .hero .shot img { width: min(100%, 400px); }
}

/* animazioni raggruppate, download delle immagini guida */
.group { margin-top: 34px; }
.group:first-child { margin-top: 0; }
.group .cards { margin-top: 16px; }
.group-title { font-size: 24px; letter-spacing: -.02em; margin: 0 0 4px; }
.group-note { margin: 0; }
.dl-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 14px; padding: 12px 16px; border-radius: 22px; background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .22); }
.dl-row span { flex: 1; min-width: 190px; font-size: 14px; }
.groups { margin-top: 26px; }
.group:only-child .cards { margin-top: 0; }
.slot .t .rule.size { font-weight: 600; opacity: 1; margin-top: 3px; }
.slot .th .shape.square { width: 40px; height: 40px; }

/* ordine (carrello): righe dei prodotti */
.cartrow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 12px 14px; border-radius: 24px; background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .22); }
.cartrow.sel { border-color: #fff; background: rgba(22, 18, 26, .62); }
.cartrow .th { width: 64px; height: 64px; border-radius: 14px; background: #e4eaf5; overflow: hidden; flex: none; display: grid; place-items: center; }
.cartrow .th img { width: 100%; height: 100%; object-fit: contain; }
.cartrow .th .noimg { color: #4a5a80; font-size: 14px; }
.cartrow .t { flex: 1; min-width: 150px; }
.cartrow .t b { display: block; font-size: 16px; }
.cartrow .t span { color: var(--soft); font-size: 13px; }
.cartrow .t span.warnt { color: #ffe3ad; }
.cartrow .price { white-space: nowrap; }
.cartrow .acts { display: flex; gap: 8px; }
.cartrow .main { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 215px; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; border-radius: 16px; }
.cartrow .main .t { display: block; min-width: 0; }
.cartrow .main .t > span { display: block; }
.cartrow .bar { display: block; height: 6px; margin: 7px 0 0; }
.cartrow .bar .fill { display: block; }
@media (max-width: 900px) { .cartrow .acts { flex-basis: 100%; justify-content: flex-end; } }

/* immagine di sfondo, trasparenza e formato del video (passo 4) */
.bgimg { display: grid; grid-template-columns: 64px 1fr; gap: 6px 14px; align-items: center; padding: 12px 14px; margin: 0 0 14px; border-radius: 20px; background: rgba(255, 255, 255, .10); border: 1px dashed rgba(255, 255, 255, .34); }
.bgimg.over { background: rgba(255, 255, 255, .22); border-style: solid; }
.bgimg.busy { opacity: .6; pointer-events: none; }
.bgimg img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; grid-row: 1 / span 2; }
.bgimg img[hidden] { display: none; }
.bgimg .t { grid-column: 2; }
.bgimg img[hidden] ~ .t, .bgimg img[hidden] ~ .acts { grid-column: 1 / -1; }
.bgimg .acts { grid-column: 2; display: flex; flex-wrap: wrap; gap: 8px; }
.range { margin: 0 0 20px; }
.range .head { display: flex; justify-content: space-between; align-items: baseline; }
.range .rv { font-size: 14px; color: #fff; font-variant-numeric: tabular-nums; }
.range input[type="range"] { width: 100%; accent-color: #fff; height: 28px; margin: 0; cursor: pointer; }
.fmts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fmt { position: relative; display: block; cursor: pointer; padding: 12px 14px; border-radius: 18px; background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .26); }
.fmt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.fmt b { display: block; font-size: 16px; }
.fmt small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.35; color: var(--soft); }
.fmt:has(input:checked) { background: rgba(255, 255, 255, .24); border-color: #fff; box-shadow: 0 0 0 1px #fff; }
.fmt:has(input:focus-visible) { outline: 3px solid #fff; outline-offset: 3px; }
.fmt.off { opacity: .45; cursor: not-allowed; }
.fmt.off input { cursor: not-allowed; }
@media (max-width: 520px) { .fmts { grid-template-columns: 1fr; } }

/* ============================================================================================
   Tema "Orizzonte": nero, pannelli pieni con filo sottile, accenti blu (sopra le regole di base)
   ============================================================================================ */
h1 { text-shadow: none; }
.lead, .eyebrow { text-shadow: none; }

.glass { background: var(--glass); border: 1px solid var(--edge); border-radius: var(--r-lg); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
.glass.dark { background: var(--glass-dark); }
.nav { border-radius: 999px; }

.row, .slot, .cartrow, details.guide, .fmt, .bgimg { background: var(--tile); border-color: var(--edge); }
.row { border-radius: var(--r-md); }
.row.on, .cartrow.sel { background: var(--tile-on); border-color: var(--accent); }
.row.on .chk { background: var(--accent); color: #031026; border-color: var(--accent); }
.row .chk { border-color: var(--edge-2); }
.row .ic, .slot .th { background: rgba(255, 255, 255, .06); }
.acard { background: var(--tile); border: 1px solid var(--edge); -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: var(--r-md); }
.acard.on { background: var(--tile-on); border: 1px solid var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.acard .pic { border-radius: 10px; }
.acard .ck { background: var(--accent); color: #031026; }
.fmt:has(input:checked) { background: var(--tile-on); border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.bgimg { border-color: var(--edge-2); }

.in { background: rgba(255, 255, 255, .04); border: 1px solid var(--edge-2); border-radius: 12px; }
.in::placeholder { color: rgba(255, 255, 255, .38); }
.btn.ghost { background: transparent; border: 1px solid var(--edge-2); }
.btn.black { background: #fff; color: #050507; }
.btn.black .arrow { background: #050507; color: #fff; }
.btn, .progress, .tab, .tag, .chip { border-radius: 999px; }
.tab { border-color: var(--edge-2); }
.tab.on { background: #fff; color: #050507; border-color: #fff; }
.tag { border-color: var(--edge-2); }
.tag.req { color: var(--accent-soft); border-color: var(--accent); }
.chip { background: var(--glass-dark); border: 1px solid var(--edge); }
.progress { background: var(--glass); border: 1px solid var(--edge); }
.progress .track, .bar { background: rgba(255, 255, 255, .10); }
.progress .track i, .fill { background: linear-gradient(90deg, var(--accent), #fff); }
.progress b { background: #fff; color: #050507; }
.stage { background: var(--tile); border-color: var(--edge); border-radius: 20px; }
.overlay { background: rgba(0, 0, 0, .65); border-color: var(--edge-2); }
.sw i { border-color: var(--edge-2); }
.sw label:has(input:checked) i, .sw label.sel i { box-shadow: 0 0 0 3px #050507, 0 0 0 5px #fff; }
.dot { border-color: var(--edge-2); }
.dot.on { box-shadow: 0 0 0 2px #050507, 0 0 0 4px #fff; }
.slot .th .shape { border-color: var(--edge-2); }
.range input[type="range"] { accent-color: var(--accent); }
.check input { accent-color: var(--accent); }
:focus-visible, .row:has(input:focus-visible), .acard:has(input:focus-visible) { outline-color: var(--accent-soft); }
.msg.err { color: #ff9c9c; }
.brand-note { color: rgba(255, 255, 255, .38); }
.hero .shot img { filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .6)); }

/* tipo e prezzo sulle schede delle animazioni */
.acard { display: flex; flex-direction: column; }
.acard .chips { margin-bottom: 12px; }
.acard .foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px solid var(--edge); }
.acard .foot b { font-size: 18px; display: inline; }
.acard .tier { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--soft); }
.lvl { display: inline-flex; gap: 3px; align-items: flex-end; height: 14px; }
.lvl i { display: block; width: 5px; border-radius: 2px; background: var(--edge-2); }
.lvl i:nth-child(1) { height: 6px; } .lvl i:nth-child(2) { height: 10px; } .lvl i:nth-child(3) { height: 14px; }
.lvl.l1 i:nth-child(-n+1), .lvl.l2 i:nth-child(-n+2), .lvl.l3 i { background: var(--accent); }

/* account */
.or { text-align: center; color: var(--soft); font-size: 13px; margin: 14px 0; }
.myorder { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--r-md); background: var(--tile); border: 1px solid var(--edge); text-decoration: none; color: inherit; }
.myorder:hover, .myorder:focus-visible { border-color: var(--accent); }
.myorder .t { flex: 1; min-width: 0; }
.myorder .t b { display: block; font-size: 16px; }
.myorder .t span { color: var(--soft); font-size: 13px; }

/* token, prezzi e nuovi tentativi */
.tokbox { margin: 0 0 14px; padding: 12px 14px; border-radius: var(--r-md); background: var(--tile); border: 1px solid var(--edge); }
.tokbox .check { margin: 8px 0 0; }
.tokbox p { margin: 0 0 4px; }
.fixbar { flex-basis: 100%; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 4px; }
.pricing { margin-top: 44px; }
.pricing h2 { margin-bottom: 6px; }
.tiers, .plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.tcard, .pcard { padding: 26px; display: flex; flex-direction: column; gap: 4px; }
.ttop { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.bigprice { font-size: 34px; font-weight: 600; letter-spacing: -.02em; margin: 8px 0 0; line-height: 1.1; }
.pname { font-size: 20px; }
ul.plain { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
ul.plain li::before { content: "·"; margin-right: 8px; color: var(--accent); }
.pcard .btn { margin-top: auto; }
.pcard ul.plain { margin-bottom: 20px; }
.toggle { display: inline-flex; padding: 4px; margin-top: 16px; border-radius: 999px; border: 1px solid var(--edge-2); background: var(--tile); }
.toggle button { font: inherit; font-size: 14px; color: var(--soft); background: transparent; border: 0; border-radius: 999px; padding: 9px 18px; cursor: pointer; }
.toggle button.on { background: #fff; color: #050507; font-weight: 600; }
@media (max-width: 900px) { .tiers, .plans { grid-template-columns: 1fr; } }

/* fattura, pagine legali, area riservata */
.invbox { margin: 0 0 16px; padding: 14px; border-radius: var(--r-md); background: var(--tile); border: 1px solid var(--edge); }
.invgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.invgrid .fld.wide { grid-column: 1 / -1; }
.invgrid .in { padding: 12px 14px; margin-bottom: 12px; }
.kind { display: flex; gap: 10px; margin: 0 0 12px; }
.pill { position: relative; display: inline-flex; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--edge-2); cursor: pointer; font-size: 14px; }
.pill input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pill:has(input:checked) { background: #fff; color: #050507; border-color: #fff; font-weight: 600; }
.pill:has(input:focus-visible) { outline: 3px solid var(--accent-soft); outline-offset: 2px; }
@media (max-width: 520px) { .invgrid { grid-template-columns: 1fr; } }
.legal h3 { font-size: 18px; margin: 26px 0 6px; }
.legal p { margin: 0; line-height: 1.55; }
.adm { margin-top: 22px; }
.adm h2 { font-size: 24px; margin-bottom: 14px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 14px 0 18px; }
.tile { padding: 14px 16px; border-radius: var(--r-md); background: var(--tile); border: 1px solid var(--edge); }
.tile b { display: block; font-size: 22px; }
.tile span { color: var(--soft); font-size: 13px; }
.tblwrap { overflow-x: auto; margin-top: 12px; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
table.tbl th { text-align: left; color: var(--soft); font-weight: 500; padding: 8px 10px; border-bottom: 1px solid var(--edge-2); white-space: nowrap; }
table.tbl td { padding: 8px 10px; border-bottom: 1px solid var(--edge); vertical-align: top; }

/* scelta iniziale: singolo o abbonamento */
.choice { display: grid; grid-template-columns: 1fr 1.15fr; gap: 18px; margin-top: 26px; align-items: stretch; }
.ccard { padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.ccard .btn { margin-top: auto; }
.ccard ul.plain { margin-bottom: 22px; }
.ccard.rec, .pcard.rec { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.badge { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--accent); color: #031026; white-space: nowrap; }
.ccard .ttop, .pcard .ttop { justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.toggle.small { margin: 12px 0 0; align-self: flex-start; }
.toggle.small button { padding: 7px 14px; font-size: 13px; }
.ccard .msg { margin: 8px 0 0; }
.ccard .hint { margin-top: 12px; }
@media (max-width: 900px) { .choice { grid-template-columns: 1fr; } .choice .rec { order: -1; } }

/* telefoni stretti: i pulsanti della barra non vanno a capo (in inglese "Get started" e' piu' lungo di "Inizia") */
.nav .right .btn { white-space: nowrap; }
@media (max-width: 520px) {
  .nav { padding: 8px 8px 8px 18px; gap: 8px; }
  .logo { font-size: 18px; }
  .nav .right { gap: 6px; }
  .nav .right .btn { padding: 9px 14px; font-size: 14px; }
  .progress { padding: 6px 8px 6px 12px; gap: 8px; font-size: 13px; }
  .progress .track { display: none; }
  .progress b { padding: 2px 10px; }
}
.nav .lang { padding-left: 12px; padding-right: 12px; letter-spacing: .04em; }
@media (max-width: 520px) { .nav .lang { display: none; } }

/* scheda animazione: livello e prezzo vanno a capo se lo spazio e' poco (sul telefono i prezzi uscivano dal riquadro) */
.acard .foot { flex-wrap: wrap; row-gap: 6px; }
.acard .foot > * { min-width: 0; }
.acard .foot .cost { margin-left: auto; text-align: right; }
.acard .foot .cost b { white-space: nowrap; }
.acard .foot .cost small { display: block; color: var(--soft); font-size: 12px; line-height: 1.3; }

/* i tre abbonamenti in home e nella pagina Prezzi */
.plansblock .toggle { margin-top: 18px; }
.pcard .alt { margin: 2px 0 14px; }
.home-plans { margin-top: 56px; }
.home-plans h2 { margin: 4px 0 8px; }

/* carrello: totale, come si paga (euro o token), token extra, abbonamento dal carrello */
.sumbox { display: grid; gap: 6px; margin: 0 0 14px; }
.sumline { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.sumline.muted { color: var(--soft); }
.sumline.good b { color: #7fe3ab; }
.howbox { display: grid; gap: 14px; margin: 0 0 18px; }
.howbox:empty { display: none; }
.extrabuy { margin-top: 10px; }
.extrarow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.extrarow .in { width: 110px; }
.planopts { display: grid; gap: 10px; }
.planhead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.planhead .toggle { margin: 0; }
.planopt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--edge); border-radius: 14px; background: var(--tile); }
.planopt.dim { opacity: .55; }
.planopt .t { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 14px; }
.planopt small { font-size: 12px; line-height: 1.35; }
.cartrow .price { text-align: right; }
.cartrow .price small { display: block; color: var(--soft); font-size: 12px; white-space: normal; }
@media (max-width: 900px) {
  .cartrow .price { flex: 1 1 140px; text-align: left; }
  .cartrow .acts { flex-basis: auto; margin-left: auto; }
}
.savelink { margin: 22px auto 0; text-align: center; max-width: 520px; }
.linkbtn { background: none; border: 0; color: var(--soft); text-decoration: underline; font: inherit; font-size: 14px; cursor: pointer; padding: 6px; }
.linkbtn:hover { color: #fff; }
.savelink-form { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }
.savelink-form .in { max-width: 280px; }
.perks, .disc { margin-top: 16px; padding: 26px; }
.dtable { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 15px; }
.dtable th, .dtable td { text-align: left; padding: 10px 6px; border-bottom: 1px solid var(--edge); }
.dtable th { color: var(--soft); font-weight: 500; font-size: 13px; }
.dtable th:last-child, .dtable td:last-child { text-align: right; }
.dtable tr:last-child td { border-bottom: 0; }
@media (max-width: 520px) { .planopt { flex-direction: column; align-items: stretch; } .planopt .btn { align-self: flex-start; } }
.retrybox { margin: 0 0 14px; font-size: 14px; line-height: 1.4; }
.fixbar .small { flex: 1 1 200px; }
.reportbar { width: 100%; margin-top: 2px; }
.reportbar .linkbtn { padding: 2px 0; font-size: 13px; }
.reportform { display: grid; gap: 8px; margin-top: 8px; }
textarea.in { width: 100%; resize: vertical; min-height: 72px; font: inherit; }
.viewnote { margin: 0 0 14px; }
dialog.modal { max-width: 540px; width: calc(100% - 32px); padding: 24px; border: 1px solid var(--edge-2); border-radius: 22px; background: var(--glass-dark); color: var(--ink); }
dialog.modal::backdrop { background: rgba(0, 0, 0, .66); }
dialog.modal h2 { margin: 0 0 12px; font-size: 22px; }
dialog.modal .check { margin: 8px 0; }
.consents { display: grid; gap: 4px; margin: 4px 0 14px; }
.bizlist { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 6px 0 18px; }
.bizlist dt { color: var(--soft); }
.bizlist dd { margin: 0; overflow-wrap: anywhere; }
.brand-note.biz { margin-top: 4px; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 60; background: #fff; color: #17121c; padding: 10px 18px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
main:focus { outline: none; }
.brand-note { color: var(--soft); }
.nav .links a { display: inline-block; padding: 3px 0; min-height: 24px; }
