/* ==========================================================================
   Tornova — foglio di stile condiviso (IT + EN, home + supporto)
   I valori vengono da DESIGN.md: qui si usano solo i nomi.
   ========================================================================== */

:root {
  --deep: #050D1C;
  --night: #08152A;
  --panel: #10264A;
  --panel-2: #16325C;
  --line: rgba(159, 176, 200, .18);
  --line-2: rgba(159, 176, 200, .32);
  --ink: #F2F5FA;
  --muted: #9FB0C8;

  --amber: #EF9F27;
  --blue: #378ADD;
  --blue-txt: #7DB6F0;
  --green: #1D9E75;
  --green-txt: #46C99D;
  --clay: #D85A30;
  --clay-txt: #F08A62;

  --paper: #EDF1F6;
  --paper-2: #DDE4EE;
  --paper-ink: #0B1A33;
  --paper-muted: #44546E;
  --amber-on-paper: #8A5300;
  --blue-on-paper: #1D5A9E;

  --focus: #FFC56B;
  --tone: var(--amber);
  --tone-txt: var(--amber);

  --gutter: clamp(18px, 4vw, 56px);
  --wrap: 1240px;
  --sec: clamp(80px, 11vw, 160px);
  --bar-h: 68px;

  --f: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--night); }
body {
  margin: 0; background: var(--night); color: var(--ink);
  font: 400 17px/1.55 var(--f); font-stretch: 100%;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video, canvas, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ol, ul, figure, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }
section[id], [id].anchor { scroll-margin-top: calc(var(--bar-h) + 12px); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--amber); color: var(--deep); padding: 12px 16px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding: var(--sec) 0; position: relative; }

/* tone: il colore del prodotto di cui si parla */
.tone-amber { --tone: var(--amber); --tone-txt: var(--amber); }
.tone-blue { --tone: var(--blue); --tone-txt: var(--blue-txt); }
.tone-green { --tone: var(--green); --tone-txt: var(--green-txt); }
.tone-clay { --tone: var(--clay); --tone-txt: var(--clay-txt); }

/* ---------- tipografia ---------- */
.display, .h2 {
  font-family: var(--f); font-stretch: 62%; font-weight: 800;
  text-transform: uppercase; letter-spacing: -.005em;
}
.display { font-size: clamp(52px, 7.4vw, 124px); line-height: .88; }
.h2 { font-size: clamp(42px, 5.6vw, 88px); line-height: .9; max-width: 17ch; text-wrap: balance; }
.h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.15; font-weight: 700; font-stretch: 85%; letter-spacing: -.01em; }
.lead { font-size: clamp(18px, 1.4vw, 21px); line-height: 1.5; color: rgba(242, 245, 250, .82); max-width: 36em; text-wrap: pretty; }
.small { font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.num { font-stretch: 62%; font-weight: 800; font-variant-numeric: tabular-nums; }
p { text-wrap: pretty; }

/* ---------- pulsanti (smusso dal riquadro BONUS del tabellone) ---------- */
.btn {
  --cut: 8px; --bg: var(--amber); --fg: var(--deep);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 14px 24px; border: 0; cursor: pointer;
  font: 700 16px/1.1 var(--f); font-stretch: 85%; letter-spacing: .005em; text-decoration: none; text-align: center;
  color: var(--fg);
  background: linear-gradient(135deg, transparent var(--cut), var(--bg) var(--cut) calc(100% - var(--cut)), transparent calc(100% - var(--cut)));
  transition: filter .15s, transform .15s;
}
.btn:hover { filter: brightness(1.1); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; filter: none; }
.btn-ghost { --bg: rgba(242, 245, 250, .1); --fg: var(--ink); }
.btn-ghost:hover { --bg: rgba(242, 245, 250, .18); filter: none; }
.btn-sm { min-height: 40px; padding: 10px 16px; font-size: 15px; --cut: 7px; }
.btn svg { width: 18px; height: 18px; flex: none; }
.link { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; font-weight: 600; }
.link:hover { color: var(--tone-txt); }

/* etichetta prodotto */
.tag {
  --cut: 7px; display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px;
  font: 700 15px/1 var(--f); font-stretch: 85%; color: var(--ink);
  background: linear-gradient(135deg, transparent var(--cut), var(--panel-2) var(--cut) calc(100% - var(--cut)), transparent calc(100% - var(--cut)));
}
.tag i { width: 11px; height: 11px; background: var(--tone); flex: none; }

/* ==========================================================================
   Barra
   ========================================================================== */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--bar-h);
  display: flex; align-items: center; gap: 16px; padding: 0 var(--gutter);
  border-bottom: 1px solid transparent; transition: background .3s, border-color .3s;
}
.bar::before { content: ''; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(5, 13, 28, .75), rgba(5, 13, 28, 0)); transition: opacity .3s; }
.bar.is-solid { background: rgba(8, 21, 42, .96); border-color: var(--line); }
.bar.is-solid::before { opacity: 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 650; font-size: 23px; letter-spacing: -.03em; line-height: 1; }
.brand img { width: 30px; height: 30px; }
.menu { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.menu a { position: relative; color: rgba(242, 245, 250, .78); text-decoration: none; font-size: 15px; font-weight: 500; padding: 10px 12px; }
.menu a:hover { color: var(--ink); }
.menu a[aria-current]::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--amber); }
.menu a[aria-current] { color: var(--ink); }
.lang { display: flex; align-items: center; font-size: 14px; font-weight: 600; border-left: 1px solid var(--line-2); padding-left: 14px; margin-left: 6px; }
.lang a, .lang span { padding: 8px 6px; text-decoration: none; }
.lang a { color: var(--muted); }
.lang a:hover { color: var(--ink); }
.lang [aria-current] { color: var(--ink); }
.bar .btn { margin-left: 8px; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 26px; height: 26px; }
.menu-panel { display: none; }

@media (max-width: 1080px) {
  .bar > .menu, .bar > .lang, .bar > .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .menu-panel {
    position: fixed; inset: var(--bar-h) 0 auto; z-index: 49; display: grid; gap: 4px;
    padding: 12px var(--gutter) 24px; background: var(--night); border-bottom: 1px solid var(--line);
  }
  .menu-panel[hidden] { display: none !important; }
  .menu-panel a:not(.btn) { padding: 14px 0; color: var(--ink); text-decoration: none; font-size: 19px; font-weight: 600; border-bottom: 1px solid var(--line); }
  .menu-panel .lang { border: 0; padding: 14px 0 4px; margin: 0; gap: 8px; font-size: 16px; }
  .menu-panel .lang a, .menu-panel .lang span { border: 0; padding: 6px 0; font-size: 16px; }
  .menu-panel .btn { margin-top: 12px; justify-self: start; }
}

/* ==========================================================================
   Hero: il volo nel palazzetto
   ========================================================================== */
.hero { position: relative; background: var(--deep); }
.hero-runway { position: relative; height: 100vh; height: 100svh; }
.hero-live .hero-runway { height: 680vh; }
.hero-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-poster, .hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-canvas { opacity: 0; transition: opacity .6s ease; }
.hero-canvas.ready { opacity: 1; }
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 13, 28, .8) 0%, rgba(5, 13, 28, .32) 40%, rgba(5, 13, 28, 0) 64%),
    linear-gradient(0deg, rgba(5, 13, 28, .9) 0%, rgba(5, 13, 28, 0) 36%);
}
.chapter {
  position: absolute; left: var(--gutter); bottom: clamp(124px, 18vh, 190px); z-index: 3;
  width: min(780px, calc(100vw - 2 * var(--gutter)));
  opacity: 0; visibility: hidden; transform: translateY(18px);
  transition: opacity .35s ease, transform .35s ease, visibility 0s linear .35s;
}
.chapter.on { opacity: 1; visibility: visible; transform: none; transition: opacity .55s ease, transform .55s cubic-bezier(.2, .8, .2, 1), visibility 0s; }
.chapter .tag { margin-bottom: 22px; }
.chapter p { margin-top: 22px; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; color: rgba(242, 245, 250, .84); max-width: 30em; }
.chapter .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.chapter .display { text-shadow: 0 2px 30px rgba(5, 13, 28, .5); }

.callout {
  position: absolute; z-index: 3; left: 18%; top: 30%; display: flex; align-items: stretch;
  background: var(--panel); box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  opacity: 0; transform: scale(.94); transition: opacity .25s, transform .3s cubic-bezier(.3, 1.6, .5, 1); pointer-events: none;
}
.callout.on { opacity: 1; transform: none; }
.callout b { display: grid; place-items: center; padding: 0 16px; background: var(--amber); color: var(--deep); font: 800 34px/1 var(--f); font-stretch: 62%; }
.callout span { display: grid; padding: 10px 16px; font-size: 14px; line-height: 1.3; color: var(--muted); }
.callout strong { color: var(--ink); font-size: 17px; font-stretch: 85%; }

.hud { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 26px; z-index: 4; display: flex; align-items: flex-end; gap: clamp(16px, 3vw, 36px); }
.scoreclock { display: flex; align-items: flex-end; gap: 18px; }
.gameclock { font: 800 clamp(34px, 3.6vw, 50px)/.8 var(--f); font-stretch: 62%; font-variant-numeric: tabular-nums; color: var(--amber); text-shadow: 0 0 22px rgba(239, 159, 39, .45); min-width: 3.4ch; }
.quarters { display: grid; gap: 7px; }
.quarters ol { display: flex; gap: 5px; }
.quarters li { width: clamp(28px, 4vw, 52px); height: 8px; background: rgba(242, 245, 250, .16); transform: skewX(-24deg); position: relative; overflow: hidden; }
.quarters li i { position: absolute; inset: 0; background: var(--amber); transform-origin: left; transform: scaleX(var(--f, 0)); }
.period { font: 800 18px/1 var(--f); font-stretch: 62%; text-transform: uppercase; letter-spacing: .02em; }
.skip { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 14.5px; font-weight: 600; text-decoration: none; padding: 10px 2px; }
.skip svg { width: 14px; height: 14px; }
.skip:hover { color: var(--amber); }
.hero-static .hud, .no-js .hud, .hero-static .callout { display: none; }
.hero-play { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 8px 0; border: 0; background: none; cursor: pointer; color: var(--ink); font-size: 15.5px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.hero-play svg { width: 18px; height: 18px; padding: 6px; box-sizing: content-box; background: rgba(242, 245, 250, .12); border-radius: 50%; }
.hero-play:hover { color: var(--amber); }

@media (max-width: 760px) {
  .hero-shade { background: linear-gradient(0deg, rgba(5, 13, 28, .94) 0%, rgba(5, 13, 28, .55) 45%, rgba(5, 13, 28, .1) 75%); }
  .chapter { bottom: 104px; }
  .chapter .actions .btn { flex: 1 1 auto; }
  .callout { left: 50% !important; top: 18% !important; translate: -50% 0; }
  .quarters li { width: 26px; height: 6px; }
  .skip span { display: none; }
}

/* ==========================================================================
   Testate di sezione
   ========================================================================== */
.sec-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px 48px; align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.sec-head .tag { grid-column: 1 / -1; justify-self: start; }
.sec-head .lead { padding-bottom: .4em; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }

/* ==========================================================================
   La suite: due metà di un tabellone
   ========================================================================== */
.suite { background: var(--night); }
.board {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(170px, 230px) minmax(0, 1fr);
  background: var(--panel); border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
}
.half { display: flex; flex-direction: column; gap: 22px; padding-bottom: clamp(24px, 3vw, 36px); }
.teambar { display: flex; align-items: stretch; background: var(--panel-2); border-bottom: 4px solid var(--tone); }
.teambar::before { content: ''; flex: none; width: 46px; background: var(--tone); clip-path: polygon(0 0, 100% 0, 62% 100%, 0 100%); }
.teambar h3 { padding: 16px 18px 14px; font: 800 clamp(26px, 2.4vw, 34px)/1 var(--f); font-stretch: 62%; text-transform: uppercase; }
.half-r .teambar { flex-direction: row-reverse; text-align: right; }
.half-r .teambar::before { clip-path: polygon(0 0, 100% 0, 100% 100%, 38% 100%); }
.half > p { padding: 0 clamp(20px, 2.6vw, 36px); font-size: 18.5px; line-height: 1.5; color: rgba(242, 245, 250, .86); }
.roster { display: grid; }
.roster li { display: flex; align-items: center; gap: 14px; padding: 12px clamp(20px, 2.6vw, 36px); font-weight: 500; }
.roster li:nth-child(odd) { background: rgba(5, 13, 28, .32); }
.roster li::before { content: ''; flex: none; width: 16px; height: 6px; background: var(--tone); transform: skewX(-24deg); }
.half-r .roster li { flex-direction: row-reverse; text-align: right; }
.half .btn-row { padding: 6px clamp(20px, 2.6vw, 36px) 0; margin-top: auto; }
.half-r .btn-row { text-align: right; }
.core { display: grid; align-content: center; justify-items: center; gap: 18px; padding: 32px 18px; background: var(--deep); border-inline: 1px solid var(--line); text-align: center; }
.core img { width: 84px; height: 84px; }
.core p { font-size: 15px; line-height: 1.45; color: var(--muted); max-width: 16em; }
.linkline { display: flex; align-items: center; gap: 8px; font: 800 16px/1 var(--f); font-stretch: 62%; text-transform: uppercase; letter-spacing: .03em; color: var(--green-txt); }
.linkline::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(29, 158, 117, .25); }
@media (max-width: 900px) {
  .board { grid-template-columns: 1fr; }
  .core { border-inline: 0; border-block: 1px solid var(--line); grid-auto-flow: column; justify-content: start; justify-items: start; text-align: left; padding: 22px clamp(20px, 2.6vw, 36px); gap: 16px; }
  .core img { width: 56px; height: 56px; grid-row: span 2; }
  .half-r .teambar { flex-direction: row; text-align: left; }
  .half-r .teambar::before { clip-path: polygon(0 0, 100% 0, 62% 100%, 0 100%); }
  .half-r .roster li { flex-direction: row; text-align: left; }
  .half-r .btn-row { text-align: left; }
}

/* ==========================================================================
   Score
   ========================================================================== */
.score-sec { background: var(--night); border-top: 1px solid var(--line); }
.annot { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.annot-img { position: relative; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); background: var(--deep); box-shadow: 0 0 120px rgba(55, 138, 221, .10); }
.annot-img img { width: 100%; height: auto; }
.pin {
  position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border: 0; padding: 0; cursor: pointer;
  display: grid; place-items: center; font: 800 15px/1 var(--f); font-stretch: 62%; color: var(--deep); background: var(--ink);
  box-shadow: 0 0 0 4px rgba(5, 13, 28, .55); transition: transform .2s, background .2s;
}
.pin[aria-pressed="true"] { background: var(--amber); transform: scale(1.18); }
.annot-list { display: grid; gap: 2px; counter-reset: none; }
.annot-list button {
  width: 100%; display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; text-align: left;
  padding: 13px 14px; border: 0; background: transparent; cursor: pointer; color: var(--ink); border-left: 3px solid transparent;
}
.annot-list button:hover { background: rgba(242, 245, 250, .04); }
.annot-list button[aria-pressed="true"] { background: var(--panel); border-left-color: var(--amber); }
.annot-list .n { display: grid; place-items: center; width: 30px; height: 30px; font: 800 15px/1 var(--f); font-stretch: 62%; background: var(--panel-2); }
.annot-list button[aria-pressed="true"] .n { background: var(--amber); color: var(--deep); }
.annot-list .t { display: block; }
.annot-list b { display: block; font-weight: 700; font-stretch: 85%; font-size: 17.5px; }
.annot-list .d { display: block; margin-top: 3px; font-size: 15px; line-height: 1.45; color: var(--muted); }
@media (max-width: 960px) { .annot { grid-template-columns: 1fr; } .pin { width: 24px; height: 24px; margin: -12px 0 0 -12px; font-size: 13px; } }

/* --- controller demo --- */
.sub-head { display: grid; gap: 14px; margin: clamp(80px, 10vw, 140px) 0 clamp(32px, 4vw, 52px); max-width: 760px; }
.sub-head .h2 { font-size: clamp(38px, 5vw, 72px); max-width: none; }
.ctl-demo { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.tablet { border-radius: 26px; padding: 13px; background: linear-gradient(160deg, #263247, #121a27); box-shadow: 0 40px 90px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .08); }
.tablet-screen { border-radius: 15px; background: #0A1526; padding: 16px; display: grid; gap: 12px; }
.ctl-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ctl-top .who { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.ctl-top .who img { width: 18px; height: 18px; }
.ctl-clock { display: flex; align-items: center; gap: 8px; }
.ctl-clock output { font: 800 26px/1 var(--f); font-stretch: 62%; font-variant-numeric: tabular-nums; color: var(--amber); min-width: 3.2ch; text-align: right; }
.k {
  border: 0; cursor: pointer; border-radius: 8px; color: var(--ink); background: var(--panel-2);
  font: 800 20px/1 var(--f); font-stretch: 62%; padding: 15px 0; min-height: 48px;
  transition: transform .08s, background .15s, box-shadow .15s; touch-action: manipulation;
}
.k:hover { background: #1d3f73; }
.k:active, .k.hit { transform: scale(.95); box-shadow: 0 0 0 4px rgba(239, 159, 39, .4); }
.k-sm { font: 700 14px/1 var(--f); font-stretch: 85%; padding: 10px 12px; min-height: 40px; background: rgba(242, 245, 250, .08); }
.k-sm svg { width: 16px; height: 16px; margin: 0 auto; }
[data-run] .i-pause, [data-run][data-running="true"] .i-play { display: none; }
[data-run][data-running="true"] .i-pause { display: block; }
.k-foul { background: var(--amber); color: var(--deep); font-size: 17px; text-transform: uppercase; letter-spacing: .03em; }
.k-foul:hover { background: #ffb547; }
.k-to { background: rgba(242, 245, 250, .08); font-size: 17px; text-transform: uppercase; letter-spacing: .03em; }
.teams { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.team { border-radius: 10px; background: rgba(242, 245, 250, .03); border: 1px solid rgba(242, 245, 250, .07); padding: 12px; display: grid; gap: 8px; }
.team-nm { display: flex; justify-content: space-between; align-items: baseline; font: 800 17px/1 var(--f); font-stretch: 62%; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.team-nm output { font-size: 32px; color: var(--ink); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.team .pts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.team .row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ctl-note { font-size: 14px; color: var(--muted); text-align: center; }

/* il tabellone in anteprima: stessa struttura del tabellone vero */
.wall { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; border: 8px solid #0b111b; background: #0b1a33; box-shadow: 0 40px 110px rgba(0, 0, 0, .55), 0 0 90px rgba(239, 159, 39, .08); container-type: inline-size; }
.sbd { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1.08fr 1fr; background: linear-gradient(180deg, #102849, #0a1830); }
.sbd-side { display: grid; grid-template-rows: auto 1fr auto auto; align-items: center; padding: 4cqw 3cqw 3.4cqw; gap: 2cqw; }
.sbd-name { display: flex; align-items: stretch; background: var(--panel-2); border-bottom: .5cqw solid var(--tone); font: 800 3.4cqw/1 var(--f); font-stretch: 62%; text-transform: uppercase; }
.sbd-name::before { content: ''; width: 3.4cqw; background: var(--tone); clip-path: polygon(0 0, 100% 0, 62% 100%, 0 100%); }
.sbd-name span { padding: 1cqw 1.4cqw .8cqw; }
.sbd-side.r .sbd-name { flex-direction: row-reverse; text-align: right; }
.sbd-side.r .sbd-name::before { clip-path: polygon(0 0, 100% 0, 100% 100%, 38% 100%); }
.sbd-sc { font: 800 17cqw/.8 var(--f); font-stretch: 62%; font-variant-numeric: tabular-nums; text-align: center; transition: color .5s; }
.sbd-sc.bump { animation: bump .6s ease-out; }
@keyframes bump { 0% { transform: scale(1.22); color: var(--amber); } 100% { transform: scale(1); color: var(--ink); } }
.sbd-meta { display: grid; gap: 1.2cqw; justify-items: center; }
.sbd-lbl { font: 700 1.5cqw/1 var(--f); letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.bars { display: flex; gap: .6cqw; }
.bars i { width: 2.6cqw; height: 1.1cqw; background: rgba(242, 245, 250, .16); transform: skewX(-24deg); }
.bars i.on { background: var(--amber); }
.bonus { font: 800 2.1cqw/1 var(--f); font-stretch: 62%; letter-spacing: .06em; padding: .8cqw 1.6cqw; background: #D7263D; visibility: hidden; clip-path: polygon(.8cqw 0, 100% 0, 100% calc(100% - .8cqw), calc(100% - .8cqw) 100%, 0 100%, 0 .8cqw); }
.bonus.on { visibility: visible; }
.sbd-mid { display: grid; align-content: center; justify-items: center; gap: 2.4cqw; border-inline: 1px solid rgba(255, 255, 255, .06); padding: 2cqw; }
.sbd-mid img { width: 8cqw; height: 8cqw; }
.sbd-clk { width: 100%; text-align: center; padding: 1.2cqw 0 .6cqw; background: rgba(5, 13, 28, .6); border-top: .5cqw solid var(--amber); font: 800 10.5cqw/1 var(--f); font-stretch: 62%; font-variant-numeric: tabular-nums; color: var(--amber); text-shadow: 0 0 3cqw rgba(239, 159, 39, .35); }
.sbd-per { display: flex; align-items: center; gap: 1.4cqw; font: 800 2.4cqw/1 var(--f); font-stretch: 62%; text-transform: uppercase; }
.pop { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.pop-card { display: flex; align-items: stretch; width: 80%; background: var(--panel); border-bottom: .8cqw solid var(--pc, var(--amber)); box-shadow: 0 3cqw 8cqw rgba(0, 0, 0, .6); opacity: 0; transform: translateX(-120%) skewX(-8deg); }
.pop-card b { display: grid; place-items: center; min-width: 26%; padding: 2.4cqw 3cqw; background: var(--pc, var(--amber)); color: var(--deep); font: 800 11cqw/1 var(--f); font-stretch: 62%; }
.pop-card span { display: grid; align-content: center; gap: 1cqw; padding: 2cqw 3.4cqw; font: 800 6cqw/1 var(--f); font-stretch: 62%; text-transform: uppercase; }
.pop-card small { font: 700 2cqw/1 var(--f); letter-spacing: .12em; color: var(--muted); }
.pop-card.show { animation: popcard 2.1s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes popcard {
  0% { opacity: 0; transform: translateX(-120%) skewX(-8deg); }
  18% { opacity: 1; transform: translateX(0) skewX(-8deg); }
  80% { opacity: 1; transform: translateX(0) skewX(-8deg); }
  100% { opacity: 0; transform: translateX(120%) skewX(-8deg); }
}
.wall-cap { margin-top: 14px; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.wall-cap::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(29, 158, 117, .22); }
@media (max-width: 900px) { .ctl-demo { grid-template-columns: 1fr; } .ctl-demo .wall-col { order: -1; } }

/* --- temi e schede --- */
.looks { display: grid; grid-template-columns: minmax(200px, 270px) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.looks-nav { display: grid; gap: 22px; }
.looks-nav h4 { font-size: 14.5px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.looks-nav ul { display: grid; gap: 4px; }
.looks-nav button {
  width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; padding: 12px 14px; cursor: pointer;
  border: 0; background: transparent; color: var(--ink); font-size: 17px; font-weight: 500; border-left: 3px solid transparent;
}
.looks-nav button i { width: 14px; height: 14px; background: var(--c); flex: none; transform: skewX(-18deg); }
.looks-nav button:hover { background: rgba(242, 245, 250, .04); }
.looks-nav button[aria-pressed="true"] { background: var(--panel); border-left-color: var(--amber); font-weight: 700; }
.screen-frame { position: relative; aspect-ratio: 1200 / 666; border-radius: 6px; overflow: hidden; border: 8px solid #0b111b; background: var(--deep); }
.screen-frame video, .screen-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.looks-cap { margin-top: 14px; font-size: 15.5px; color: var(--muted); max-width: 52em; }
@media (max-width: 860px) {
  .looks { grid-template-columns: 1fr; }
  .looks-nav { grid-template-columns: 1fr 1fr; gap: 12px; }
  .looks-nav button { padding: 10px; font-size: 15.5px; }
}

/* --- elenco funzioni di Score: righe come il roster --- */
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 4vw, 56px); margin-top: clamp(64px, 8vw, 110px); border-top: 4px solid var(--amber); }
.specs-title { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; }
.specs-title h3 { font: 800 clamp(28px, 3vw, 40px)/1 var(--f); font-stretch: 62%; text-transform: uppercase; }
.specs dl { display: contents; }
.spec { display: grid; grid-template-columns: minmax(130px, 34%) 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-weight: 700; font-stretch: 85%; }
.spec dd { color: rgba(242, 245, 250, .78); font-size: 16px; }
@media (max-width: 760px) { .specs { grid-template-columns: 1fr; } .spec { grid-template-columns: 1fr; gap: 4px; } }

/* ==========================================================================
   LEDwall Manager
   ========================================================================== */
.led-sec { background: radial-gradient(80% 50% at 80% 0%, rgba(55, 138, 221, .10), transparent 70%), var(--deep); }
.monitor { border-radius: 14px; padding: 12px; background: linear-gradient(170deg, #1f2a3d, #0e1522); box-shadow: 0 50px 120px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .07); }
.regia { border-radius: 8px; background: #071022; overflow: hidden; }
.regia-top { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.regia-top .who { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 18px; letter-spacing: -.02em; }
.regia-top .who img { width: 22px; height: 22px; }
.regia-top .who small { font-weight: 500; font-size: 15px; color: var(--muted); letter-spacing: 0; }
.onair { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; font: 800 14px/1 var(--f); font-stretch: 62%; text-transform: uppercase; letter-spacing: .06em; background: rgba(242, 245, 250, .08); color: var(--muted); }
.onair::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.onair.live { background: #B8441E; color: #fff; }
.regia-clock { font: 700 16px/1 var(--f); font-variant-numeric: tabular-nums; color: var(--muted); }
.regia-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr) 250px; }
.regia-col { padding: 16px; display: grid; gap: 12px; align-content: start; }
.regia-col + .regia-col, .regia-main + .regia-col { border-left: 1px solid var(--line); }
.regia-main { padding: 16px; display: grid; gap: 14px; align-content: start; border-left: 1px solid var(--line); min-width: 0; }
.regia h3 { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.moments { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.moments button { border: 0; padding: 9px 8px; cursor: pointer; background: rgba(242, 245, 250, .06); color: var(--ink); font-size: 14.5px; font-weight: 600; border-radius: 4px; }
.moments button[aria-pressed="true"] { background: #1F64B0; color: #fff; box-shadow: inset 0 -3px 0 var(--blue); }
.playlist { display: grid; gap: 6px; }
.playlist button {
  position: relative; width: 100%; text-align: left; border: 0; cursor: pointer; overflow: hidden;
  display: grid; gap: 2px; padding: 9px 10px 10px 14px; background: rgba(242, 245, 250, .04); color: var(--ink); border-radius: 4px;
}
.playlist button::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c, var(--blue)); }
.playlist button b { font-size: 14.5px; font-weight: 650; }
.playlist button small { font-size: 12.5px; color: var(--muted); }
.playlist button[aria-current="true"] { background: rgba(55, 138, 221, .16); box-shadow: inset 0 0 0 1.5px var(--amber); }
.playlist button .prog { position: absolute; left: 0; bottom: 0; height: 2px; width: calc(var(--p, 0) * 100%); background: var(--amber); }
.preview-cap { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.ledboard { position: relative; padding: 8px; background: #03060c; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); }
.led-canvas { position: relative; width: 100%; height: auto; z-index: 1; image-rendering: pixelated; }
.led-glow { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); z-index: 2; pointer-events: none; filter: blur(10px) saturate(1.4); opacity: .4; mix-blend-mode: screen; image-rendering: auto; }
.outs { display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr); gap: 16px; align-items: center; }
.court-map { width: 100%; height: auto; }
.court-map .strip { fill: #1b2436; transition: fill .3s; }
.court-map .strip.on { fill: var(--sc, var(--blue)); filter: drop-shadow(0 0 3px var(--sc, var(--blue))); }
.out-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.out-list button {
  display: flex; align-items: center; gap: 8px; padding: 9px 10px; border: 1px solid var(--line); background: transparent; color: var(--ink);
  font-size: 14px; font-weight: 600; text-align: left; cursor: pointer; border-radius: 4px;
}
.out-list button::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #3a4558; flex: none; }
.out-list button[aria-pressed="true"]::before { background: var(--green); box-shadow: 0 0 0 3px rgba(29, 158, 117, .25); }
.out-list button[aria-pressed="false"] { color: var(--muted); }
.regia-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.report table { width: 100%; border-collapse: collapse; font-size: 14px; }
.report th { text-align: left; font-weight: 600; color: var(--muted); font-size: 12.5px; padding: 0 0 8px; }
.report th:not(:first-child), .report td:not(:first-child) { text-align: right; }
.report td { padding: 8px 0; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.report td:first-child { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.report td:first-child i { width: 8px; height: 8px; background: var(--c); flex: none; }
.report .small { font-size: 12.5px; }
.regia-note { margin-top: 14px; font-size: 14px; color: var(--muted); }
@media (max-width: 1080px) {
  .regia-grid { grid-template-columns: 220px minmax(0, 1fr); }
  .report { grid-column: 1 / -1; border-left: 0 !important; border-top: 1px solid var(--line); }
}
@media (max-width: 720px) {
  .regia-grid { grid-template-columns: 1fr; }
  .regia-main { border-left: 0; order: -1; }
  .regia-col { border-left: 0 !important; border-top: 1px solid var(--line); }
  .outs { grid-template-columns: 1fr; }
  .court-map { max-width: 240px; }
  .regia-top .who small { display: none; }
}

/* funzioni del LEDwall Manager: palinsesto */
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(64px, 8vw, 110px); border-top: 1px solid var(--line-2); }
.feat { padding: 26px 28px 30px 0; border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.feat:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.feat .h3 { display: flex; align-items: center; gap: 12px; }
.feat .h3::before { content: ''; flex: none; width: 18px; height: 8px; background: var(--tone); transform: skewX(-24deg); }
.feat p { color: rgba(242, 245, 250, .76); font-size: 16px; }
@media (max-width: 960px) {
  .feats { grid-template-columns: 1fr 1fr; }
  .feat:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .feat:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
}
@media (max-width: 620px) { .feats { grid-template-columns: 1fr; } .feat:nth-child(even) { padding-left: 0; border-left: 0; } }

/* ==========================================================================
   Come si parte: è una sequenza, quindi numeri
   ========================================================================== */
.start-sec { background: var(--night); border-top: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; position: relative; }
.steps li { position: relative; padding: 34px 28px 0 0; display: grid; gap: 10px; align-content: start; }
.steps li::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--line-2); }
.steps li::after { content: ''; position: absolute; left: 0; top: -5px; width: 14px; height: 14px; background: var(--amber); transform: skewX(-20deg); }
.steps .n { font: 800 64px/.85 var(--f); font-stretch: 62%; color: var(--amber); font-variant-numeric: tabular-nums; }
.steps p { color: rgba(242, 245, 250, .76); font-size: 16px; }
.steps a { color: var(--ink); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; gap: 40px 0; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ==========================================================================
   Prezzi: il "referto", l'unica sezione chiara
   ========================================================================== */
.pricing { background: var(--paper); color: var(--paper-ink); --focus: var(--paper-ink); }
.pricing .lead { color: var(--paper-muted); }
.pricing .tone-amber { --tone-txt: var(--amber-on-paper); }
.pricing .tone-blue { --tone-txt: var(--blue-on-paper); }
.price-controls { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; }
.prod-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--paper-2); }
.prod-tabs button {
  --cut: 7px; display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer; padding: 12px 18px;
  font: 700 16px/1 var(--f); font-stretch: 85%; color: var(--paper-muted); background: transparent;
}
.prod-tabs button i { width: 11px; height: 11px; background: var(--tone); opacity: .45; }
.prod-tabs button[aria-selected="true"] { color: var(--paper-ink); background: linear-gradient(135deg, transparent var(--cut), #fff var(--cut) calc(100% - var(--cut)), transparent calc(100% - var(--cut))); }
.prod-tabs button[aria-selected="true"] i { opacity: 1; }
.billing { display: inline-flex; border: 0; margin: 0; padding: 4px; gap: 4px; background: var(--paper-2); }
.billing label { position: relative; cursor: pointer; }
.billing input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.billing span { display: block; padding: 10px 16px; font-weight: 600; font-size: 15px; color: var(--paper-muted); }
.billing input:checked + span { background: var(--paper-ink); color: #fff; }
.billing input:focus-visible + span { outline: 3px solid var(--paper-ink); outline-offset: 2px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.plan {
  --cut: 16px; position: relative; display: flex; flex-direction: column; gap: 18px; padding: 30px clamp(20px, 2.2vw, 30px) 28px;
  background: linear-gradient(135deg, transparent var(--cut), #fff var(--cut) calc(100% - var(--cut)), transparent calc(100% - var(--cut)));
}
.plan::before { content: ''; position: absolute; top: 0; left: var(--cut); right: 0; height: 4px; background: var(--tone); }
.plan h3 { font: 800 40px/.9 var(--f); font-stretch: 62%; text-transform: uppercase; }
.plan h3 small { display: block; font: 700 14px/1.2 var(--f); font-stretch: 85%; text-transform: none; color: var(--tone-txt); margin-bottom: 8px; }
.plan .for { font-size: 16px; color: var(--paper-muted); min-height: 3em; }
.price { display: flex; align-items: baseline; gap: 6px; padding: 14px 0; border-block: 1px solid var(--paper-2); }
.price .amt { font: 800 60px/.9 var(--f); font-stretch: 62%; font-variant-numeric: tabular-nums; }
.price .per { font-size: 15px; color: var(--paper-muted); }
.plan ul { display: grid; gap: 10px; font-size: 15.5px; }
.plan li { position: relative; padding-left: 22px; }
.plan li::before { content: ''; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; background: var(--tone); }
.plan li.inherit { font-weight: 700; }
.plan li.inherit::before { background: transparent; box-shadow: inset 0 0 0 2px var(--tone); }
.plan .btn { margin-top: auto; align-self: stretch; }
.price-notes { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 15px; color: var(--paper-muted); }
.price-notes a { color: var(--paper-ink); font-weight: 650; }
/* segnaposto: un valore che va ancora deciso. Cercali con  data-tbd  */
.tbd { outline: 1.5px dashed var(--clay); outline-offset: 2px; background: rgba(216, 90, 48, .08); }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 560px; } .plan .for { min-height: 0; } }

/* ==========================================================================
   Moduli
   ========================================================================== */
.contact-sec { background: var(--night); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact-side { display: grid; gap: 22px; }
.contact-side .h2 { font-size: clamp(44px, 5.6vw, 84px); }
.aside-box { padding: 20px 22px; background: var(--panel); border-left: 4px solid var(--tone); display: grid; gap: 8px; }
.aside-box h3 { font-size: 18px; font-weight: 700; font-stretch: 85%; }
.aside-box p { font-size: 15.5px; color: var(--muted); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; padding: clamp(20px, 3vw, 36px); background: var(--panel); border-radius: 6px; }
.field { display: grid; gap: 7px; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 15px; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 6px;
  background: var(--deep); color: var(--ink); font-size: 16px;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239FB0C8' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 38px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--amber); outline: none; box-shadow: 0 0 0 3px rgba(239, 159, 39, .3); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--clay-txt); }
.field .hint { font-size: 13.5px; color: var(--muted); }
.field .err { font-size: 14px; font-weight: 600; color: var(--clay-txt); }
.field .err:empty { display: none; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; gap: 8px; padding: 11px 14px; border: 1.5px solid var(--line-2); border-radius: 6px; font-size: 15px; font-weight: 600; cursor: pointer; }
.choice span i { width: 10px; height: 10px; background: var(--c, var(--muted)); }
.choice input:checked + span { border-color: var(--amber); background: rgba(239, 159, 39, .12); }
.choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 15px; line-height: 1.45; color: rgba(242, 245, 250, .84); }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--amber); }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form-status { font-size: 15px; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--green-txt); }
.form-status.bad { color: var(--clay-txt); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

/* ==========================================================================
   Supporto e download
   ========================================================================== */
.page-head { padding: calc(var(--bar-h) + clamp(56px, 8vw, 110px)) 0 clamp(40px, 5vw, 64px); background: radial-gradient(70% 70% at 85% 0%, rgba(55, 138, 221, .12), transparent 70%), var(--deep); border-bottom: 1px solid var(--line); }
.page-head .display { font-size: clamp(56px, 8vw, 120px); }
.page-head .lead { margin-top: 22px; }
.page-head nav { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dl-card { position: relative; background: var(--panel); border-top: 4px solid var(--tone); padding: clamp(22px, 3vw, 34px); display: grid; gap: 18px; align-content: start; }
.dl-card h3 { font: 800 clamp(30px, 3vw, 42px)/.95 var(--f); font-stretch: 62%; text-transform: uppercase; }
.dl-ver { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; }
.dl-ver .num { font-size: 52px; line-height: .9; color: var(--tone-txt); }
.dl-ver .small { color: var(--muted); }
.dl-files { display: grid; gap: 8px; }
.dl-files li { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 14px; background: rgba(5, 13, 28, .45); }
.dl-files .fname { display: grid; gap: 2px; }
.dl-files .fname b { font-weight: 650; }
.dl-files .fname small { font-size: 13.5px; color: var(--muted); }
.dl-notes { display: grid; gap: 6px; }
.dl-notes h4 { font-size: 15px; font-weight: 650; }
.dl-notes ul { display: grid; gap: 4px; font-size: 15px; color: rgba(242, 245, 250, .8); }
.dl-notes li { display: grid; grid-template-columns: 14px 1fr; gap: 8px; }
.dl-notes li::before { content: ''; width: 7px; height: 7px; background: var(--tone); margin-top: .55em; }
.dl-empty { font-size: 15.5px; color: var(--muted); }
.dl-req { font-size: 14.5px; color: var(--muted); }
@media (max-width: 860px) { .dl-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Piè di pagina
   ========================================================================== */
.foot { background: var(--deep); border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 88px) 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot-brand { display: grid; gap: 16px; align-content: start; }
.foot-brand p { color: var(--muted); font-size: 15.5px; max-width: 22em; }
.foot h2 { font-size: 14.5px; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.foot ul { display: grid; gap: 4px; }
.foot ul a { display: inline-block; padding: 5px 0; color: var(--ink); text-decoration: none; font-size: 15.5px; }
.foot ul a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ==========================================================================
   Movimento ridotto
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .pop-card.show { animation: none; opacity: 1; transform: none; }
}
