/* =============================================================================
   PARTY MATCHER — design system del sito
   =============================================================================
   Non è un'estetica nuova: è quella dell'app, portata in CSS. Ogni valore qui
   sotto ha una sorgente Swift, e la sorgente comanda:

     colori brand ........ Assets.xcassets/Colors (PH, PR, Purple Dark…)
     palette neon, generi  Shared/Global UI/DesignSystem.swift (Color, PartyGenre, PartyAccess)
     righe della home .... Shared/Global UI/HomeRowKind.swift
     piani ............... DesignSystem.swift (PlanUpsellTier)
     vetro / pop-up ...... DesignSystem.swift (glassCard, appPopupPanel, AppPopup*)
     chip ................ PartyNeonBadge.swift
     sfondo .............. MeshGradientBackground.swift (palette `defaultColors`)

   ⚠️ Due copie della stessa cosa divergono sempre (regola di dominio 32): se
   cambia un colore nell'app, cambia anche qui. La guardia
   `scratchpad/test_site_tokens.py` confronta i valori e diventa rossa se non
   combaciano.

   ⛔ Niente font esterni, niente script di terzi, niente cookie: il sito non ha
   banner perché non traccia nessuno. Se una pagina futura ne ha bisogno, la
   decisione va presa insieme al consenso (vedi TODO «consenso ads UE»).
   ========================================================================== */

:root {
  color-scheme: dark;

  /* ── Brand (Assets.xcassets/Colors) ───────────────────────────────────── */
  --ph: #E8A9FF;            /* PH — accento primario, il lilla del brand      */
  --pr: #9162FF;            /* PR — neonPurple, il viola brand                 */
  --purple-dark: #2A0D57;   /* Purple Dark                                     */
  --purple-dark2: #592A7F;  /* Purple Dark2                                    */

  /* ── Palette neon (DesignSystem.swift › extension Color) ──────────────── */
  --neon-cyan: #19E3E3;     /* techno                                          */
  --neon-blue: #4D6BFF;     /* electronic                                      */
  --neon-pink: #FF3DAE;     /* commercial                                      */
  --neon-amber: #FFC233;    /* pop                                             */
  --neon-violet: #9B5CFF;   /* masked                                          */
  --neon-green: #35E07D;    /* themed                                          */
  --neon-orange: #FF7A3D;   /* sunset                                          */

  /* ── Piani (PlanUpsellTier) ───────────────────────────────────────────── */
  --plan-silver: #CCD6EB;
  --plan-gold: #FFCC47;

  /* ── Testo e vetro ────────────────────────────────────────────────────── */
  --text: #fff;
  --text-2: rgba(255, 255, 255, .72);   /* testo di supporto (AppPopupHeader) */
  --text-3: rgba(255, 255, 255, .55);
  --glass: rgba(255, 255, 255, .05);    /* glassCard: fill                     */
  --glass-line: rgba(255, 255, 255, .08);/* glassCard: bordo                   */
  --veil: rgba(0, 0, 0, .45);           /* appPopupPanel: il velo sul mesh     */
  --hairline: rgba(255, 255, 255, .16); /* appPopupPanel: bordo                */

  /* ── Token di spaziatura e raggi (AppSpacing / AppRadius) ─────────────── */
  --s-xs: 4px; --s-sm: 8px; --s-md: 16px; --s-lg: 24px; --s-xl: 32px;
  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-popup: 32px; --r-pill: 100px;

  /* ── Tipografia: SF di sistema, e SF Rounded per i titoli (design: .rounded) */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, system-ui, sans-serif;
  --font-round: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  /* tinta di default (PH): ciò che non porta una classe `t-*` usa questa */
  --c: #E8A9FF; --rgb: 232, 169, 255;
}

/* ── Tinte: un colore = una classe. `--c` il colore, `--rgb` per le sfumature.
      Sono classi e non style="" perché la CSP del sito vieta lo stile inline. */
.t-ph      { --c: #E8A9FF; --rgb: 232, 169, 255; }
.t-pr      { --c: #9162FF; --rgb: 145, 98, 255; }
.t-cyan    { --c: #19E3E3; --rgb: 25, 227, 227; }
.t-blue    { --c: #4D6BFF; --rgb: 77, 107, 255; }
.t-pink    { --c: #FF3DAE; --rgb: 255, 61, 174; }
.t-amber   { --c: #FFC233; --rgb: 255, 194, 51; }
.t-violet  { --c: #9B5CFF; --rgb: 155, 92, 255; }
.t-green   { --c: #35E07D; --rgb: 53, 224, 125; }
.t-orange  { --c: #FF7A3D; --rgb: 255, 122, 61; }
.t-hotspot { --c: #C036F2; --rgb: 192, 54, 242; }   /* Consumable.hotspot.tint: la shade satura di PH */
/* generi aggiuntivi (PartyGenre) */
.g-latino    { --c: #FF2E73; --rgb: 255, 46, 115; }
.g-caribbean { --c: #15D6A0; --rgb: 21, 214, 160; }
.g-hiphop    { --c: #E8A33D; --rgb: 232, 163, 61; }
.g-rnb       { --c: #C24DFF; --rgb: 194, 77, 255; }
.g-disco     { --c: #FFD23D; --rgb: 255, 210, 61; }
.g-rave      { --c: #A6FF3D; --rgb: 166, 255, 61; }
.g-rock      { --c: #E23B3B; --rgb: 226, 59, 59; }
.t-silver  { --c: #CCD6EB; --rgb: 204, 214, 235; }
.t-gold    { --c: #FFCC47; --rgb: 255, 204, 71; }

/* ── Base ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100svh; overflow-x: hidden;
  background: #000; color: var(--text);
  font: 400 17px/1.5 var(--font);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--font-round); }
:focus-visible { outline: 2px solid var(--ph); outline-offset: 3px; border-radius: 6px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -64px; z-index: 100; padding: 10px 16px;
  border-radius: 100px; background: #000; border: 1px solid var(--hairline);
  transition: top .15s;
}
.skip:focus { top: 12px; }

/* ── Icone: sprite esterno (/assets/icons.svg), tratto «light» come i SF Symbol
      a peso leggero dell'AppPopupHeader ─────────────────────────────────── */
.ic {
  width: 1em; height: 1em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ── Sfondo: il mesh dell'app ─────────────────────────────────────────────────
   MeshGradientBackgroundView è una griglia 3×3 con la palette `defaultColors`
   che deriva piano. Qui sono quattro aloni radiali di quegli stessi colori su
   una base «Deep Grape → Twilight», mossi con `transform` (compositor, nessun
   repaint). Si ferma con prefers-reduced-motion, come l'app con Reduce Motion. */
.mesh {
  position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: linear-gradient(165deg, #522E8C 0%, #2E0066 52%, #3F2D70 100%);
}
.mesh i {
  position: absolute; width: 78vmax; height: 78vmax; border-radius: 50%;
  will-change: transform;
}
.mesh i:nth-child(1) { top: -34vmax; left: -26vmax;  background: radial-gradient(closest-side, rgba(200, 101, 252, .85), transparent); animation: drift-a 26s ease-in-out infinite alternate; }
.mesh i:nth-child(2) { top: 6vmax;   right: -40vmax; background: radial-gradient(closest-side, rgba(247, 84, 196, .62), transparent);  animation: drift-b 31s ease-in-out infinite alternate; }
.mesh i:nth-child(3) { bottom: -44vmax; left: -14vmax; background: radial-gradient(closest-side, rgba(148, 0, 211, .78), transparent);  animation: drift-c 29s ease-in-out infinite alternate; }
.mesh i:nth-child(4) { bottom: -36vmax; right: -24vmax; background: radial-gradient(closest-side, rgba(128, 0, 128, .70), transparent);  animation: drift-a 34s ease-in-out infinite alternate-reverse; }
/* il velo: nell'app è nero 0.45 sui pop-up, 0.3 qui sulle pagine intere */
.mesh::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .32); }
@keyframes drift-a { to { transform: translate(14vmax, 10vmax) scale(1.08); } }
@keyframes drift-b { to { transform: translate(-16vmax, 14vmax) scale(.94); } }
@keyframes drift-c { to { transform: translate(12vmax, -12vmax) scale(1.1); } }

/* ── Vetro ──────────────────────────────────────────────────────────────────
   glassCard(): fill bianco .05 + bordo .08. Il `.glassEffect` di iOS 26 qui è
   un backdrop-filter con un filo di luce in alto. */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-line);
  border-radius: var(--r-lg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
}

/* Pannello dei pop-up (appPopupPanel): velo .45, bordo hairline, angoli 32,
   ombra, e dimensionato sul CONTENUTO — mai un'altezza fissa. */
.panel {
  width: 100%; max-width: 420px;
  padding: 30px 26px;
  background: var(--veil);
  border: 1px solid var(--hairline);
  border-radius: var(--r-popup);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .10);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  backdrop-filter: blur(28px) saturate(150%);
}

/* ── Intestazione di un pop-up (AppPopupHeader) ───────────────────────────── */
.hdr { display: grid; justify-items: center; gap: 12px; text-align: center; }
.hdr .big-ic {
  font-size: 46px; color: var(--c, var(--ph));
  stroke-width: 1.25;                                   /* weight: .light */
  filter: drop-shadow(0 0 12px rgba(var(--rgb, 232, 169, 255), .55));
}
.hdr h1, .hdr h2 { font-size: 24px; line-height: 1.2; font-weight: 700; text-wrap: balance; }
.hdr p { font-size: 14px; line-height: 1.5; color: var(--text-2); text-wrap: pretty; }

/* ── Pillole d'azione (AppPopupButton / AppPopupSecondaryButton) ─────────────
   Vetro tinto d'accento + alone neon che «respira» (NeonGlowModifier: raggio
   3→5 e 6→10 in 3 s). Padding 14/32, 18 pt semibold. Raggio a CAPSULA come tutti i tasti del
   sito (Vito, 8 ott 2026: «arrotondare tutti i tasti a capsula»; prima 20, 16 e 14). */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 14px 32px;
  font: 600 18px/1.2 var(--font); color: #fff; text-decoration: none; text-align: center;
  background: linear-gradient(135deg, rgba(232, 169, 255, .34), rgba(145, 98, 255, .30));
  border: 1px solid rgba(232, 169, 255, .42);
  border-radius: 100px; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 0 3px rgba(145, 98, 255, .40), 0 0 6px rgba(232, 169, 255, .10);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  animation: breathe 3s ease-in-out infinite alternate;
  transition: transform .15s ease, filter .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.pill .ic { font-size: 20px; }
.pill:active { transform: scale(.97); }
@media (hover: hover) { .pill:hover { filter: brightness(1.12); } }
@keyframes breathe {
  to { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 0 5px rgba(145, 98, 255, .50), 0 0 10px rgba(232, 169, 255, .20); }
}
.pill.ghost {                                       /* AppPopupSecondaryButton */
  background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); animation: none;
}
.pill[aria-disabled="true"] { opacity: .45; cursor: default; animation: none; pointer-events: none; }
.pill.sm { min-height: 44px; padding: 10px 20px; font-size: 16px; }

/* ── Chip neon (PartyNeonBadge): capsula glass tinta, bordo e alone del colore */
.chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 10px; white-space: nowrap;
  font: 800 11px/1 var(--font); letter-spacing: 1px; text-transform: uppercase; color: #fff;
  background: rgba(var(--rgb), .22);
  border: 1px solid rgba(var(--rgb), .55);
  border-radius: var(--r-pill);
  box-shadow: 0 0 6px rgba(var(--rgb), .45);
}
.chip .ic { font-size: 11px; color: var(--c); stroke-width: 2; }
.chip.lg { padding: 10px 16px; font-size: 14px; letter-spacing: .2px; text-transform: none; font-weight: 700; gap: 8px; white-space: normal; text-wrap: balance; }
.chip.lg .ic { font-size: 15px; }
.chip.dot::before {                       /* il genere: un punto che brilla del suo colore */
  content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: var(--c); box-shadow: 0 0 8px var(--c);
}
.chip.quiet { text-transform: none; letter-spacing: .3px; font-weight: 700; box-shadow: none; background: rgba(var(--rgb), .14); }

/* ── Layout ───────────────────────────────────────────────────────────────── */
.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
section { padding-block: clamp(48px, 8vw, 96px); }
.eyebrow {
  display: inline-flex; margin-bottom: 14px;
  font: 800 12px/1 var(--font); letter-spacing: .22em; text-transform: uppercase; color: var(--ph);
}
h2.title { font-size: clamp(28px, 5vw, 46px); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
.lead { margin-top: 16px; font-size: clamp(17px, 2.2vw, 20px); line-height: 1.5; color: var(--text-2); max-width: 56ch; text-wrap: pretty; }
.sec-head { max-width: 720px; margin-bottom: clamp(28px, 5vw, 48px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .lead { margin-inline: auto; }

/* ── Navigazione ──────────────────────────────────────────────────────────── */
.nav { position: sticky; top: 12px; z-index: 20; margin-top: 12px; }
.nav-in {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 8px 8px 16px; border-radius: var(--r-pill);
  /* più denso del vetro delle card: scorre sotto il testo, e un vetro chiaro
     lascerebbe leggere i titoli attraverso la barra */
  background: rgba(24, 8, 52, .58);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 18px/1 var(--font-round); }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: none; align-items: center; gap: 4px; }
.nav-links a {
  padding: 9px 14px; border-radius: var(--r-pill); text-decoration: none;
  font: 500 15px/1 var(--font); color: var(--text-2); transition: color .15s, background .15s;
}
@media (hover: hover) { .nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .08); } }
.nav-end { display: flex; align-items: center; gap: 8px; }
@media (min-width: 760px) { .nav-links { display: flex; } }

.lang {
  display: inline-flex; padding: 3px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .06); border: 1px solid var(--glass-line);
}
.lang button {
  appearance: none; border: 0; background: none; color: var(--text-3); cursor: pointer;
  padding: 7px 11px; border-radius: var(--r-pill);
  font: 700 12px/1 var(--font); letter-spacing: .08em;
  -webkit-tap-highlight-color: transparent;
}
.lang button[aria-pressed="true"] { color: #fff; background: rgba(255, 255, 255, .14); }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero { display: grid; gap: 56px; align-items: center; padding-top: clamp(40px, 7vw, 88px); }
.hero > * { min-width: 0; }                 /* senza, una chip lunga allarga la colonna oltre lo schermo */
@media (min-width: 960px) { .hero { grid-template-columns: 1.08fr .92fr; gap: 40px; } }
.hero h1 {
  font-size: clamp(46px, 9.4vw, 92px); line-height: .98; font-weight: 800; letter-spacing: -.035em;
  text-wrap: balance;
}
.grad {
  background: linear-gradient(120deg, #fff 0%, #E8A9FF 48%, #C865FC 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-fill-color: transparent;
}
.hero h1 { margin-top: 22px; }
.hero .lead { margin-top: 22px; max-width: 46ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }

/* Il «telefono»: un'illustrazione fatta con i componenti dell'app (chip, glass,
   pillole). Non è uno screenshot: i dati sono d'esempio, e la pagina lo dice. */
.stage { position: relative; display: grid; justify-items: center; padding: 24px 0 12px; }
.stage::before {                      /* aura: due aloni, come NeonAuraBackdrop */
  content: ""; position: absolute; inset: -4% 6%; z-index: -1; border-radius: 50%;
  background:
    radial-gradient(closest-side at 30% 35%, rgba(145, 98, 255, .55), transparent),
    radial-gradient(closest-side at 72% 68%, rgba(255, 61, 174, .32), transparent);
  filter: blur(30px);
}
.phone {
  width: min(318px, 100%); padding: 9px; border-radius: 46px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .20), rgba(255, 255, 255, .05));
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .50), 0 0 70px rgba(145, 98, 255, .30), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.screen {
  display: grid; gap: 12px; padding: 18px 14px 16px; border-radius: 38px;
  background: linear-gradient(180deg, rgba(34, 12, 70, .94), rgba(12, 5, 28, .96));
}
.screen-top { display: flex; align-items: center; justify-content: space-between; padding: 0 6px; }
.screen-top strong { font: 700 15px/1 var(--font-round); }
.screen-top small { font: 500 12px/1 var(--font); color: var(--text-3); }
.pcard { border-radius: 22px; overflow: hidden; background: rgba(255, 255, 255, .06); border: 1px solid var(--glass-line); }
.pcover {
  position: relative; height: 128px; display: flex; align-items: flex-start; gap: 6px; padding: 10px;
  background:
    radial-gradient(closest-side at 80% 100%, rgba(255, 255, 255, .22), transparent),
    linear-gradient(135deg, #19E3E3, #4D6BFF 60%, #9B5CFF);        /* PartyGenre.mixGradient */
}
.pcover .chip {                      /* sulla copertina (chiara) un fondo scuro sotto la tinta: il vetro dell'app scurisce da sé */
  background-color: rgba(10, 4, 24, .46);
  background-image: linear-gradient(rgba(var(--rgb), .30), rgba(var(--rgb), .30));
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.pbody { display: grid; gap: 10px; padding: 14px; }
.pbody h3 { font-size: 21px; line-height: 1.1; font-weight: 800; letter-spacing: -.01em; }
.pmeta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12.5px; color: var(--text-2); }
.pmeta span { display: inline-flex; align-items: center; gap: 5px; }
.pmeta .ic { font-size: 14px; color: var(--ph); }
.prow { display: flex; flex-wrap: wrap; gap: 6px; }
.pbuy { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 2px; }
.pbuy .pill { min-height: 40px; padding: 9px 18px; font-size: 14.5px; animation: none; }
.qrtile {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: #fff; color: #1b0a3a; font-size: 30px; stroke-width: 1.4;
}
.float {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px; border-radius: 18px; font-size: 13px; line-height: 1.25;
  animation: bob 7s ease-in-out infinite alternate;
}
.float b { display: block; font-size: 13px; }
.float small { color: var(--text-2); font-size: 12px; }
.float .ico {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; flex: none;
  font-size: 18px; color: var(--c); background: rgba(var(--rgb), .18);
}
.float.f1 { top: 6%;  left: -2%;  animation-duration: 8s; }
.float.f2 { bottom: -3%; right: -2%; animation-duration: 9s; animation-direction: alternate-reverse; }
@keyframes bob { to { transform: translateY(-10px); } }
@media (max-width: 480px) { .float.f1 { left: 4px; top: -3%; } .float.f2 { right: 4px; bottom: -4%; } }
.caption { margin-top: 18px; text-align: center; font-size: 12px; color: var(--text-3); }

/* ── Passi ────────────────────────────────────────────────────────────────── */
.steps { display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding: 26px 24px 24px; display: grid; gap: 10px; align-content: start; counter-increment: step; }
.step::after {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: 20px; right: 22px;
  font: 800 13px/1 var(--font-round); letter-spacing: .14em; color: rgba(255, 255, 255, .28);
}
.ico-disc {
  flex: none;
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  font-size: 24px; color: var(--c); background: rgba(var(--rgb), .16);
  box-shadow: 0 0 18px rgba(var(--rgb), .22);
}
.step h3, .feat h3 { font-size: 21px; line-height: 1.15; font-weight: 700; margin-top: 8px; }
.step p, .feat p { font-size: 15.5px; color: var(--text-2); text-wrap: pretty; }

/* ── Funzioni ─────────────────────────────────────────────────────────────── */
.feats { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.feat { padding: 24px; display: grid; gap: 8px; align-content: start; transition: transform .25s ease, border-color .25s ease; }
@media (hover: hover) {
  .feat:hover { transform: translateY(-3px); border-color: rgba(var(--rgb), .45); }
}

/* ── Generi ───────────────────────────────────────────────────────────────── */
.genres { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 880px; margin-inline: auto; }

/* ── Organizzatori ────────────────────────────────────────────────────────── */
.split { display: grid; gap: 40px; align-items: start; }
@media (min-width: 940px) { .split { grid-template-columns: .9fr 1.1fr; gap: 56px; } .split .sec-head { position: sticky; top: 96px; margin-bottom: 0; } }
.rows { display: grid; gap: 10px; }
/* riga: la geometria di MenuRow / PlanButtonRow (raggio 20), il bordo prende la tinta */
.row {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 20px;
  background: linear-gradient(90deg, rgba(var(--rgb, 232, 169, 255), .12), rgba(255, 255, 255, .04));
  border: 1px solid transparent;
  background-clip: padding-box;
  position: relative;
}
.row::before {                         /* bordo a gradiente (tinta → quasi nulla) */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(90deg, rgba(var(--rgb, 232, 169, 255), .55), rgba(var(--rgb, 232, 169, 255), .08));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.row .ico-disc { width: 40px; height: 40px; font-size: 21px; box-shadow: none; }
.row-t { display: grid; gap: 2px; min-width: 0; flex: 1 1 170px; }   /* base 170: sotto, la chip va a capo invece di schiacciare il testo */
.row-t b { font: 700 17px/1.2 var(--font-round); }
.row-t span { font-size: 14.5px; color: var(--text-2); }
.row .chip { margin-left: auto; }
/* «Anche dal sito»: la chip è un link (Abbonati, Acquista), non un'etichetta */
a.chip { text-decoration: none; cursor: pointer; transition: box-shadow .2s, transform .2s; }
@media (hover: hover) { a.chip:hover { box-shadow: 0 0 16px rgba(var(--rgb), .65); } }
a.chip:active { transform: scale(.97); }
.row .ico-disc img { width: 24px; height: 24px; }
@media (max-width: 560px) { .row { flex-wrap: wrap; } .row .chip { margin-left: 54px; } .row { padding: 14px 16px; } }

/* ── Anche dal sito (era «Prossimamente») ─────────────────────────────────── */
.soon { padding: clamp(24px, 4vw, 40px); display: grid; gap: 24px; }
.soon .sec-head { margin: 0; }
.soon .rows { gap: 10px; }

/* ── Contatto ─────────────────────────────────────────────────────────────── */
.contact { display: grid; justify-items: center; text-align: center; gap: 12px; padding: clamp(32px, 6vw, 56px) 24px; }
.contact h2 { font-size: clamp(26px, 4vw, 38px); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
.contact p { color: var(--text-2); max-width: 46ch; text-wrap: pretty; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.foot {
  margin-top: 24px; padding: 28px 0 calc(32px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--glass-line); color: var(--text-3); font-size: 14px;
}
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.foot a { color: var(--text-2); text-underline-offset: 3px; }

/* ── Pagine a pannello singolo: link di ripiego e 404 ─────────────────────── */
body.solo { display: grid; grid-template-rows: auto 1fr auto; min-height: 100svh; }
.solo main { display: grid; place-items: center; padding: 28px 20px; }
.solo .panel { display: grid; gap: 24px; }
.solo .actions { display: grid; gap: 10px; }
.solo .actions .pill { width: 100%; }
.solo .hint { text-align: center; font-size: 13.5px; line-height: 1.45; color: var(--text-2); }
.solo [hidden] { display: none !important; }
.solo-top { display: flex; justify-content: center; padding: 22px 20px 0; }
.solo-top .brand { font-size: 17px; }
.solo-foot { padding: 8px 20px calc(24px + env(safe-area-inset-bottom)); text-align: center; font-size: 13px; color: var(--text-3); }
.solo-foot a { color: var(--text-2); text-underline-offset: 3px; }
.badge-row { display: flex; justify-content: center; }

/* ── Entrata: solo dove il browser sa farlo senza JavaScript ─────────────────
   Scroll-driven animations: i blocchi compaiono mentre entrano. Dove non c'è
   supporto restano semplicemente visibili — nessun contenuto nascosto da JS. */
@supports (animation-timeline: view()) {
  .step, .feat, .row, .soon, .contact, .sec-head, .genres {
    animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 38%;
  }
  @keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
}

/* ── Meno movimento ───────────────────────────────────────────────────────────
   Reduce Motion nell'app ferma mesh e neon: qui lo stesso. Aloni fermi, nessun
   respiro, nessuna entrata. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mesh i, .pill, .float, .step, .feat, .row, .soon, .contact, .sec-head, .genres { animation: none !important; }
  .feat, .pill { transition: none; }
}

/* ── Stampa: nessuno sfondo animato ───────────────────────────────────────── */
@media print { .mesh, .nav, .float { display: none !important; } body { background: #fff; color: #000; } }
