/* MAGISTAF: selettore e sfondi esistenti. Inter per l'interfaccia,
   Aldrich in home e nella sua manopola, Barlow Condensed nelle schede. */
@font-face { font-family: 'Inter Tight'; src: url('/assets/fonts/inter-tight.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: Inter; src: url('/assets/fonts/inter-text.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('/assets/fonts/barlow-condensed-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('/assets/fonts/barlow-condensed-800.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: Aldrich; src: url('/assets/fonts/aldrich-regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }

:root {
  --viola: #533afd; --viola-su: #4434d4; --lilla: #b9b9f9; --magenta: #f96bee; --rubino: #ea2261;
  --navy: #061b31; --label: #273951; --corpo: #64748d; --riga: #e5edf5; --bianco: #fff; --pale: #f6f9fc;
  --brand: #1c1e54; --scuro: #0d253d;
  --ombra: rgba(50, 50, 93, .25) 0 30px 45px -30px, rgba(0, 0, 0, .1) 0 18px 36px -18px;
  --ombra-forte: rgba(3, 3, 39, .55) 0 50px 90px -30px, rgba(0, 0, 0, .35) 0 30px 50px -20px;
  --display: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  --testo: Inter, 'Helvetica Neue', Arial, sans-serif;
  --margine: clamp(20px, 5vw, 72px);
  --nav: 60px;
  --r: 14px; --r-p: 10px;
  --t-hero: clamp(38px, 4.4vw, 64px); --t-titolo: clamp(30px, 3.1vw, 44px); --t-frase: clamp(24px, 2.6vw, 38px);
  --t-sotto: clamp(21px, 1.9vw, 26px); --t-lead: clamp(17px, 1.3vw, 19px);
  --d: min(860px, 150vw);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav) + 16px); }
body { margin: 0; background: var(--bianco); color: var(--navy); font: 300 16px/1.5 var(--testo); font-feature-settings: 'ss01'; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 300; text-wrap: balance; }
p { text-wrap: pretty; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--viola); outline-offset: 3px; border-radius: 2px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--bianco); padding: 10px 16px; border-radius: var(--r-p); }
.skip:focus { top: 8px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-inline: var(--margine); }
.etichetta { font-size: 14px; font-weight: 400; opacity: .78; }

/* Pulsanti */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 28px; border: 1px solid transparent; border-radius: 999px; background: var(--viola); color: var(--bianco); font-size: 16px; font-weight: 500; line-height: 1.1; text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn:hover { background: var(--viola-su); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(3, 8, 24, .28); }
.btn--vuoto { background: transparent; border-color: currentColor; color: inherit; }
.btn--vuoto:hover { background: rgba(127, 127, 160, .16); }
.btn--rq { background: #c72e39; }
.btn--rq:hover { background: #e03c46; }
.btn--prod { background: var(--accento, var(--viola)); color: var(--su, #fff); }
.btn--prod:hover { background: var(--accento, var(--viola)); filter: brightness(1.1); }
.cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.prod--watchbound { --accento: #c3b7ff; --su: #1a1530; }
.prod--sensei { --accento: #f0442e; --su: #fff; }
.prod--speso { --accento: #536b3b; --su: #fff; }
.prod--cumpa { --accento: #01bafb; --su: #04202c; }

.tile { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: var(--r); background: var(--bianco); box-shadow: var(--ombra); }
.tile img { width: 76%; height: 76%; object-fit: contain; }
.tile--s { width: 38px; height: 38px; border-radius: var(--r); }

/* Barra */
.gn { position: fixed; inset: 0 0 auto; z-index: 60; color: #fff; transition: background-color .35s; }
.gn[data-tono='scuro'] { background: linear-gradient(to bottom, rgba(6, 15, 34, .62), rgba(6, 15, 34, 0)); }
.gn[data-tono='chiaro'], .gn.gn--pieno { background: var(--scuro); }
.gn__bar { display: flex; align-items: center; gap: 24px; height: var(--nav); max-width: 1440px; margin: 0 auto; padding-inline: var(--margine); }
.gn__logo { margin-right: auto; }
.gn__logo img { height: 34px; width: auto; }
.gn__links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); font-size: 14px; font-weight: 400; }
.gn__links > li > a { display: block; padding: 20px 0; text-decoration: none; opacity: .86; transition: opacity .2s; }
.gn__links > li > a:hover, .gn__links > li > a[aria-current] { opacity: 1; }
.gn__links > li > a[aria-current] { box-shadow: inset 0 -2px 0 currentColor; }
.gn__lang { padding: 5px 12px; border: 1px solid rgba(255, 255, 255, .34); border-radius: 999px; font-size: 12px; font-weight: 400; text-decoration: none; }
.gn__panel { position: absolute; inset: var(--nav) 0 auto; background: var(--scuro); box-shadow: var(--ombra-forte); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s; }
.gn__panel ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 1440px; margin: 0 auto; padding: 22px var(--margine) 28px; }
.gn__panel a { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: var(--r-p); text-decoration: none; }
.gn__panel a:hover { background: rgba(255, 255, 255, .08); }
.gn__panel b { display: block; font: 400 18px/1.2 var(--display); }
.gn__panel small { display: block; font-size: 13px; line-height: 1.3; opacity: .72; }
@media (hover: hover) { .gn__has--panel:hover .gn__panel, .gn__has--panel:focus-within .gn__panel { opacity: 1; visibility: visible; transform: none; } }

/* Il selettore: la pagina scorre, il palco resta fermo */
.sel { position: relative; }
.palco { position: relative; display: flex; flex-direction: column; color: #fff; background: var(--scuro); overflow: hidden; isolation: isolate; }
.sel.attivo { height: var(--altezza, 300vh); }
.sel.attivo .palco { position: sticky; top: 0; height: 100svh; }
.palco canvas, .solo canvas { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; opacity: 0; }
.con-gl canvas { opacity: 1; }
.palco__velo { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(to bottom, rgba(4, 12, 32, .6) 0, rgba(4, 12, 32, 0) 20%), radial-gradient(ellipse 72% 62% at 50% 44%, rgba(4, 12, 32, .66) 0, rgba(4, 12, 32, .42) 58%, rgba(4, 12, 32, .16) 100%), linear-gradient(to top, rgba(4, 12, 32, .66) 0, rgba(4, 12, 32, 0) 30%); transition: opacity .5s; }
.palco[data-tono='chiaro'] { color: var(--navy); }
.palco[data-tono='chiaro'] .palco__velo { opacity: 0; }
.mondo { position: relative; min-height: 100svh; display: flex; align-items: center; gap: clamp(20px, 4vw, 64px); padding: calc(var(--nav) + 40px) var(--margine) clamp(190px, 25vh, 240px); }
.mondo__img { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; }
.con-gl .mondo__img { display: none; }
.mondo__in { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 1440px; margin: 0 auto; }
.sel.attivo .mondo { position: absolute; inset: 0; min-height: 0; will-change: opacity, transform; }
.mondo__testo { flex: 0 1 46em; max-width: 46em; text-align: center; text-shadow: 0 1px 3px rgba(4, 12, 32, .7), 0 2px 20px rgba(4, 12, 32, .55); }
.mondo__testo .tile { margin-bottom: 18px; }
.mondo__testo h2 { margin-top: 4px; font-size: clamp(44px, 6vw, 88px); line-height: 1.02; letter-spacing: -.024em; }
.mondo__testo p:not(.etichetta) { max-width: 36em; margin: 14px auto 0; font-size: var(--t-lead); font-weight: 400; line-height: 1.45; }
.mondo__testo .cta { justify-content: center; margin-top: 24px; text-shadow: none; }
.mondo__logo { display: block; width: clamp(260px, 30vw, 440px); height: auto; margin: 0 auto; }
.mondo[data-tono='chiaro'] { color: var(--navy); }
.mondo[data-tono='chiaro'] .mondo__testo p:not(.etichetta) { color: var(--corpo); }
.palco__gira { position: absolute; z-index: 3; left: 50%; bottom: 8px; transform: translateX(-50%); font-size: 12px; font-weight: 400; white-space: nowrap; opacity: .8; transition: opacity .5s; }
.palco__gira.via { opacity: 0; }

/* La manopola */
.dial { position: absolute; z-index: 4; left: 50%; bottom: calc(var(--d) * -1 + clamp(116px, 17vh, 156px)); width: var(--d); height: var(--d); margin-left: calc(var(--d) / -2); border-radius: 50%; touch-action: pan-y; cursor: grab; user-select: none; }
.dial--presa { cursor: grabbing; }
.dial__ruota { position: absolute; inset: 0; border-radius: 50%; background: rgba(6, 15, 34, .44); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .26); transition: transform .5s cubic-bezier(.2, .8, .2, 1); will-change: transform; color: #fff; }
.dial--presa .dial__ruota { transition: none; }
.sel .dial__ruota { transition: none; }
.dial__tacche { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; background: repeating-conic-gradient(rgba(255, 255, 255, .36) 0 .2deg, transparent .2deg 3deg); -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 8px), #000 calc(100% - 8px)); mask: radial-gradient(closest-side, transparent calc(100% - 8px), #000 calc(100% - 8px)); }
.dial__voce { position: absolute; left: 50%; top: 0; width: 220px; height: calc(var(--d) / 2); margin-left: -110px; display: flex; align-items: flex-start; justify-content: center; padding: 26px 0 0; border: 0; background: none; color: inherit; font: 500 clamp(16px, 1.25vw, 19px)/1.1 var(--testo); text-align: center; text-decoration: none; cursor: pointer; transform-origin: 50% 100%; transform: rotate(var(--a, 0deg)); transition: opacity .25s, color .25s; pointer-events: none; }
.dial__voce span { display: inline-block; min-width: 150px; padding: 14px 26px; border: 1px solid rgba(255, 255, 255, .42); border-radius: 999px; background: rgba(8, 18, 40, .74); box-shadow: 0 6px 20px rgba(3, 8, 24, .3); transform: rotate(calc(var(--giro, 0deg) - var(--a, 0deg))); white-space: nowrap; pointer-events: auto; transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s; }
.dial__voce.on span { border-color: #fff; background: #fff; color: var(--navy); box-shadow: 0 8px 28px rgba(3, 8, 24, .42); }
.dial__voce:hover span { border-color: #fff; background: rgba(255, 255, 255, .24); }
.dial__voce.on:hover span { background: #fff; }
.dial__voce:focus-visible { outline: 0; }
.dial__voce:focus-visible span { outline: 2px solid #fff; outline-offset: 2px; }
.dial__indice { position: absolute; left: 50%; top: -9px; width: 0; height: 0; margin-left: -7px; border: 7px solid transparent; border-top: 10px solid #fff; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .35)); }
html:not(.js) .dial { display: none; }
html:not(.js) .sel { height: auto; }

/* Schermate vere */

/* Testi dentro i mondi */
.mondo h1, .titolo { font-size: var(--t-hero); line-height: 1.05; letter-spacing: -.022em; }
.tre { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 36px); margin-top: 24px; counter-reset: passo; }
.tre li { counter-increment: passo; }
.tre li::before { content: counter(passo); display: block; margin-bottom: 8px; font: 300 var(--t-titolo)/1 var(--display); color: var(--accento, var(--lilla)); }
.tre h3 { font-size: var(--t-sotto); line-height: 1.15; }
.tre p { margin-top: 6px !important; font-size: 15px !important; opacity: .86; }
.serve { margin-top: 22px !important; }
.serve b { font-weight: 500; }
.nota { font-size: 14px !important; opacity: .78; }
.mondo h1 + p { margin-top: 14px; }

/* Pagina App: cosa fa ogni app */
.apps .palco__velo { background: linear-gradient(to bottom, rgba(4, 12, 32, .62) 0, rgba(4, 12, 32, 0) 20%), linear-gradient(95deg, rgba(4, 12, 32, .92) 0, rgba(4, 12, 32, .72) 40%, rgba(4, 12, 32, 0) 68%), linear-gradient(to top, rgba(4, 12, 32, .72) 0, rgba(4, 12, 32, 0) 34%); }

/* Sotto il palco */
.spiega { padding: clamp(90px, 16vh, 170px) var(--margine); background: var(--bianco); }
.spiega p { max-width: 24em; margin: 0 auto; font: 300 var(--t-frase)/1.28 var(--display); letter-spacing: -.012em; color: var(--navy); }
.spiega__cta { justify-content: center; margin-top: 30px; color: var(--viola); }
.sotto { background: var(--bianco); padding: clamp(70px, 12vh, 120px) 0; }
.sotto h2 { font-size: var(--t-titolo); line-height: 1.1; letter-spacing: -.016em; }
.links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; font-weight: 400; font-size: 14px; }
.links a { color: var(--viola); text-underline-offset: 3px; }
.faq details { border-top: 1px solid var(--riga); interpolate-size: allow-keywords; }
.faq h2 + details { margin-top: 22px; }
.faq details:last-of-type { border-bottom: 1px solid var(--riga); }
.faq summary { display: flex; justify-content: space-between; gap: 18px; padding: 18px 0; font: 400 17px/1.3 var(--display); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; font: 300 24px/1 var(--testo); color: var(--viola); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size .35s, content-visibility .35s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq details p { padding-bottom: 20px; max-width: 36em; color: var(--corpo); }
.vicino { position: relative; display: block; border-radius: var(--r); overflow: hidden; color: #fff; text-decoration: none; box-shadow: var(--ombra); }
.vicino img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.vicino:hover img { transform: scale(1.04); }
.vicino span { position: absolute; inset: auto 0 0; display: grid; gap: 2px; padding: 40px 22px 20px; background: linear-gradient(to top, rgba(4, 12, 32, .86), rgba(4, 12, 32, 0)); }
.vicino small { font-size: 13px; opacity: .78; }
.vicino b { font: 300 var(--t-titolo)/1.05 var(--display); }
.vicino i { font-style: normal; opacity: .84; }

/* App: confronto */
.pick { background: var(--bianco); padding: clamp(80px, 13vh, 140px) 0; }
.pick h2 { font-size: var(--t-titolo); line-height: 1.1; margin-bottom: 30px; }

/* RAGEQUIT: un'area a parte */
.gioco { background: #0a0a0e; --brand: #101016; --viola: #c72e39; }
@keyframes entra { from { opacity: 0; transform: translateY(14px) scale(.985); } }
.ascolta__muovi button { min-height: 50px; padding: 0 18px; white-space: nowrap; border: 1px solid rgba(255, 255, 255, .55); border-radius: 999px; background: rgba(6, 15, 34, .55); color: #fff; font: 500 15px/1 var(--testo); cursor: pointer; transition: background-color .2s, color .2s; }
.ascolta__muovi button:hover { background: #fff; color: var(--navy); }
.gioca { background: #17171f; color: #fff; padding: clamp(80px, 13vh, 140px) 0 34px; --viola: #ff6b75; }
.gioca h2 { font-size: var(--t-hero); line-height: 1.04; letter-spacing: -.02em; }
.gioca .cta { margin-top: 24px; }
.gioca .links a { color: #ff8b93; }
[data-passi] { position: relative; display: grid; counter-reset: passo; }
[data-passi] li { counter-increment: passo; }
[data-passi] li::before { content: counter(passo); display: block; font: 300 var(--t-titolo)/1 var(--display); color: #ff6b75; }
[data-passi] h3 { font-size: var(--t-sotto); line-height: 1.16; }
[data-passi] p { margin-top: 8px; }
.gioca [data-passi] { grid-template-columns: 1fr; gap: 26px; }
.gioca [data-passi] li { display: grid; grid-template-columns: 70px 1fr; column-gap: 14px; }
.gioca [data-passi] li::before { grid-row: span 2; margin: 0; }
.gioca [data-passi] p { color: rgba(255, 255, 255, .72); }


/* Jukebox: disco e manopola */
.ascolta { position: relative; display: flex; align-items: center; min-height: 100svh; background: var(--scuro); color: #fff; padding: calc(var(--nav) + 20px) 0 30px; isolation: isolate; overflow: hidden; }
.ascolta__fondo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.ascolta::after { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(6, 15, 34, .72); }
.ascolta h1 { font-size: var(--t-titolo); line-height: 1.06; letter-spacing: -.018em; }
.ascolta__lead { margin: 10px 0 28px; font-size: var(--t-lead); line-height: 1.45; opacity: .86; }
.ascolta__nome { margin-top: 2px; font-size: var(--t-sotto); line-height: 1.12; }
.ascolta__in { width: 100%; display: grid; grid-template-columns: minmax(220px, .8fr) minmax(340px, 580px) minmax(340px, 1fr); gap: clamp(20px, 3vw, 54px); align-items: center; max-width: 1500px; margin: 0 auto; padding-inline: var(--margine); }
#current-genre { margin-top: 6px; font-size: var(--t-lead); opacity: .76; }
.ascolta__gira { margin-top: 20px; font-size: 14px; opacity: .7; }
.ascolta__muovi { display: flex; gap: 8px; margin-top: 12px; }
.disco { position: relative; aspect-ratio: 1; --d: 100%; container-type: inline-size; }
.disco__vinile { position: absolute; inset: 17%; border-radius: 50%; overflow: hidden; background: #08080f radial-gradient(circle, transparent 28%, rgba(255, 255, 255, .05) 28.4%, transparent 29%, transparent 38%, rgba(255, 255, 255, .05) 38.4%, transparent 39%, transparent 52%, rgba(255, 255, 255, .05) 52.4%, transparent 53%); box-shadow: var(--ombra-forte); animation: gira 9s linear infinite; }
.no-motion .disco__vinile { animation: none; }
@keyframes gira { to { transform: rotate(360deg); } }
.disco__copertina { position: absolute; inset: 26%; width: 48%; height: 48%; object-fit: cover; border-radius: 50%; opacity: 0; transition: opacity .5s; }
.disco__copertina.on { opacity: 1; }
.dial--disco { position: absolute; inset: 0; left: 0; bottom: auto; width: 100%; height: 100%; margin: 0; }
.dial--disco .dial__ruota { background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); -webkit-mask: radial-gradient(closest-side, transparent 68%, #000 68.4%); mask: radial-gradient(closest-side, transparent 68%, #000 68.4%); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.dial--disco .dial__voce { width: 64px; margin-left: -32px; height: 50%; padding-top: 12px; font-size: clamp(17px, 3.8cqi, 22px); }
.dial--disco .dial__voce:not(.on) { opacity: 1 !important; }
.dial--disco .dial__voce span { display: grid; place-items: center; min-width: 0; width: clamp(44px, 10.5cqi, 60px); height: clamp(44px, 10.5cqi, 60px); padding: 0; border-width: 1px; border-color: rgba(255, 255, 255, .7); border-radius: 50%; background: rgba(8, 18, 40, .82); box-shadow: 0 4px 14px rgba(3, 8, 24, .4); transition: transform .6s cubic-bezier(.2, .8, .2, 1), background-color .2s, color .2s; }
.dial--disco .dial__voce:hover span { background: #fff; color: var(--navy); }
.dial--disco .dial__voce.on span { background: #fff; border-color: #fff; color: var(--navy); }
.dial--disco .dial__indice { top: -6px; }
.ascolta iframe { display: block; width: 100%; height: max(520px, calc(100svh - var(--nav) - 110px)); border: 0; border-radius: var(--r); background: rgba(255, 255, 255, .05); }
.ascolta__err { margin-top: 10px; font-size: 14px; color: #ffb38a; }
.ascolta__player .btn { margin-top: 12px; }
.scaletta { background: var(--bianco); padding: clamp(70px, 11vh, 120px) 0; }
.scaletta__testa { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 22px; }
.scaletta h2 { font-size: var(--t-titolo); line-height: 1.1; }
.scaletta input { width: min(360px, 100%); min-height: 44px; padding: 8px 14px; border: 1px solid var(--riga); border-radius: var(--r-p); }
.scaletta__scelta { display: none; }
.scaletta__righe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px 28px; }
.riga { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px; border: 0; border-radius: var(--r-p); background: none; text-align: left; cursor: pointer; transition: background-color .2s; }
.riga[hidden] { display: none; }
.riga:hover { background: var(--pale); }
.riga[aria-pressed='true'] { background: #eeedff; }
.riga img { flex: none; width: 52px; height: 52px; object-fit: cover; border-radius: var(--r-p); }
.riga b { display: block; font: 400 16px/1.2 var(--display); }
.riga small { font-size: 13px; color: var(--corpo); }
#no-playlists { margin-block: 14px; color: var(--corpo); }

/* Info */
.info__testa { background: var(--brand); color: #fff; padding: calc(var(--nav) + clamp(50px, 10vh, 100px)) var(--margine) clamp(60px, 10vh, 100px); }
.info__testa h1 { max-width: 16em; font-size: var(--t-hero); line-height: 1.04; letter-spacing: -.022em; }
.info__testa > p { margin-top: 12px; font-size: var(--t-lead); opacity: .8; }
.info__form { max-width: 620px; margin-top: 30px; }
.info__form label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 400; }
.info__riga { display: flex; flex-wrap: wrap; gap: 10px; }
.info__riga select { flex: 1 1 240px; min-height: 44px; padding: 8px 14px; border: 1px solid transparent; border-radius: var(--r-p); background: #fff; color: var(--navy); }
.info__form > p { margin-top: 10px; font-size: 14px; opacity: .74; }
.guide { padding: clamp(70px, 12vh, 130px) 0; }
.guide h2 { font-size: var(--t-titolo); line-height: 1.1; margin-bottom: 28px; }
.guide__fila { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.guide__fila li { padding: 24px; border: 1px solid var(--riga); border-radius: var(--r-p); box-shadow: var(--ombra); }
.guide__fila h3 { margin: 14px 0 8px; font-size: var(--t-sotto); }
.guide__fila a { color: var(--viola); font-size: 14px; font-weight: 400; }
.legale { padding: clamp(60px, 9vh, 90px) 0; }
.legale__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); }
.legale h2 { font-size: 20px; margin-bottom: 10px; }
.legale p { margin-bottom: 10px; font-size: 15px; color: var(--corpo); }
.legale a { color: var(--viola); }
.lost { background: var(--brand); color: #fff; }
.lost__in { display: grid; place-content: center; justify-items: center; gap: 14px; min-height: 100svh; padding: var(--margine); text-align: center; }
.lost h1 { font-size: var(--t-hero); }

/* Piede */
.ft { background: var(--scuro); color: rgba(255, 255, 255, .72); font-size: 13px; }
.ft__in { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; max-width: 1240px; margin: 0 auto; padding: 46px var(--margine) 22px; }
.ft__logo { height: 34px; width: auto; }
.ft h2 { margin-bottom: 10px; font: 400 13px/1.3 var(--testo); color: #fff; }
.ft li { margin-bottom: 7px; }
.ft a { text-decoration: none; }
.ft a:hover { text-decoration: underline; color: #fff; }
.ft__end { max-width: 1240px; margin: 0 auto; padding: 12px var(--margine) 26px; }
.ft__motion { padding: 0; border: 0; background: none; color: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }
.no-motion * { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }

/* Telefono */
@media (max-width: 899px) {
  :root { --nav: 54px; --d: 620px; }
  .gn__extra { display: none; }
  .gn__logo img { height: 28px; }
  .gn__panel { display: none; }
  .mondo { padding-bottom: 160px; }
  .mondo__testo { flex: none; width: 100%; max-width: none; }
  .tre { grid-template-columns: 1fr; gap: 8px; }
  .tre li { display: grid; grid-template-columns: 30px 1fr; column-gap: 6px; }
  .tre li::before { grid-row: span 2; margin: 0; font-size: 24px; }
  .tre h3 { font-size: 17px; }
  .tre p { font-size: 13px !important; margin-top: 2px !important; }
  .palco__velo { background: linear-gradient(to bottom, rgba(4, 12, 32, .66) 0, rgba(4, 12, 32, 0) 18%), radial-gradient(ellipse 110% 56% at 50% 46%, rgba(4, 12, 32, .72) 0, rgba(4, 12, 32, .5) 60%, rgba(4, 12, 32, .2) 100%), linear-gradient(to top, rgba(4, 12, 32, .78) 0, rgba(4, 12, 32, 0) 30%); }
  .palco[data-tono='chiaro'] .palco__velo { opacity: 1; background: linear-gradient(to top, rgba(255, 255, 255, .96) 0, rgba(255, 255, 255, .86) 48%, rgba(255, 255, 255, 0) 66%); }
  .dial__voce { font-size: 15px; width: 150px; margin-left: -75px; padding-top: 20px; }
  .dial__voce span { min-width: 112px; padding: 11px 18px; }
  .apps .palco__velo { background: linear-gradient(to bottom, rgba(4, 12, 32, .7) 0, rgba(4, 12, 32, 0) 18%), linear-gradient(to top, rgba(4, 12, 32, .95) 0, rgba(4, 12, 32, .78) 62%, rgba(4, 12, 32, .2) 88%); }
  .legale__in { grid-template-columns: 1fr; }
  .ascolta { padding-top: calc(var(--nav) + 12px); }
  .ascolta__muovi button { flex: 1; }
  .ascolta__in { grid-template-columns: 1fr; }
  .disco { max-width: 460px; width: 100%; margin: 0 auto; }
  .ascolta iframe { height: 76svh; min-height: 560px; }
  .scaletta__righe { grid-template-columns: 1fr; }
  .scaletta__scelta { display: block; width: 100%; min-height: 44px; margin-top: 8px; padding: 8px 12px; border: 1px solid var(--riga); border-radius: var(--r-p); background: #fff; }
  .guide__fila { grid-template-columns: 1fr 1fr; }
  .ft__in { grid-template-columns: 1fr 1fr; }
  .ft__in > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 460px) { .guide__fila { grid-template-columns: 1fr; } }

/* Telefoni bassi: la schermata non ci sta insieme al testo */
@media (max-width: 900px) and (max-height: 700px) {
  .mondo { padding-top: calc(var(--nav) + 12px); padding-bottom: 130px; }
  .mondo h1, .titolo, .mondo__testo h2 { font-size: 30px; }
  .mondo__testo p:not(.etichetta) { margin-top: 8px; font-size: 15px; line-height: 1.38; }
  .mondo__testo .cta { margin-top: 12px; }
  .tre { margin-top: 8px; gap: 4px; }
  .tre p { display: none; }
  .serve { margin-top: 10px !important; }
}

/* Computer con lo schermo basso */
@media (min-width: 901px) and (max-height: 720px) {
  .mondo { padding-top: calc(var(--nav) + 14px); }
  .mondo h1, .titolo { font-size: clamp(34px, 3.4vw, 44px); }
}
@media (min-width: 901px) and (max-height: 720px) {
  .mondo__testo h2.titolo { font-size: 34px; }
  .tre li::before { font-size: 24px; margin-bottom: 2px; }
  .tre h3 { font-size: 18px; }
  .tre p { font-size: 14px !important; }
  .serve { margin-top: 10px !important; }
}

/* Pagine delle app: scorrono normali, il prodotto in grande. */
.sc-giro { width: min(100% - 2 * clamp(20px, 3.4vw, 60px), 1400px); margin: 0 auto; }
:where(.sc) h2 { font-size: clamp(36px, 4.8vw, 72px); font-weight: 300; line-height: 1.05; letter-spacing: -.024em; max-width: 19em; }
.sc-lead { max-width: 37em; margin-top: 18px; font-size: clamp(19px, 1.7vw, 25px); line-height: 1.4; }
.sc-sfondo { position: fixed; inset: 0; z-index: 0; background: #06142e; }
.sc-sfondo img, .sc-sfondo canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sc-sfondo canvas { display: none; }
.sc-sfondo.con-gl canvas { display: block; }
.sc-sfondo.con-gl img { visibility: hidden; }
.sc-sfondo i { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(4, 12, 32, .6) 0, rgba(4, 12, 32, 0) 22%), linear-gradient(95deg, rgba(4, 12, 32, .84) 0, rgba(4, 12, 32, .56) 58%, rgba(4, 12, 32, .38) 100%); }
.sc section, .sc footer { position: relative; z-index: 1; }
section[data-sf] { --corpo: rgba(255, 255, 255, .88); --riga: rgba(255, 255, 255, .34); color: #fff; }
.sc-testa { padding: calc(var(--nav) + clamp(36px, 7vh, 80px)) 0 clamp(50px, 8vh, 90px); overflow: hidden; }
.ap-testa, .ap-app { display: flex; align-items: center; min-height: 100svh; }
.ap-app { padding: calc(var(--nav) + 24px) 0 clamp(50px, 8vh, 90px); }
.sc-marca { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; font: 400 22px/1 var(--display); }
.sc-testa h1 { max-width: 15em; font-size: clamp(42px, 6.2vw, 96px); font-weight: 300; line-height: 1.02; letter-spacing: -.03em; }
.sc .cta { margin-top: 28px; }
.sc .btn { min-height: 54px; padding: 14px 30px; font-size: 17px; }
.sc-nota { margin-top: 14px; font-size: 16px; opacity: .84; }
.sc-pezzo { width: min(100% - 2 * clamp(12px, 2vw, 32px), 1480px); margin: clamp(36px, 6vh, 64px) auto 0; }
.sc-cop { position: relative; border-radius: var(--r); overflow: hidden; }
.sc-cop img { display: block; width: 100%; height: auto; aspect-ratio: 340 / 500; object-fit: cover; }
.sc-chiara, .se-domande, .se-percorsi, .sp-cucina, .cu-chat, .cu-quadro, .sc-come { padding: clamp(90px, 16vh, 180px) 0; }
.sc-passi { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 56px); margin: clamp(36px, 6vh, 64px) 0 clamp(26px, 4vh, 40px); counter-reset: passo; }
.sc-passi li { counter-increment: passo; }
.sc-passi li::before { content: counter(passo); display: block; margin-bottom: 12px; font: 300 clamp(48px, 5vw, 80px)/1 var(--display); color: var(--accento); }
.sc-passi h3 { font: 400 clamp(22px, 2vw, 30px)/1.15 var(--display); }
.sc-passi p { margin-top: 10px; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.4; opacity: .88; }
.prod--speso .sc-passi li::before { color: #b9d36a; }
.prod--sensei .sc-passi li::before { color: #ff7a66; }
.sc-serve { max-width: 50em; margin-top: 22px; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.4; }
.sc-serve b { font-weight: 500; }
.sc-fondo { padding: clamp(70px, 12vh, 130px) 0; background: var(--bianco); color: var(--navy); }
.sc-fondo__in { display: grid; grid-template-columns: 3fr 2fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.sc-fondo .faq summary { font-size: clamp(18px, 1.5vw, 22px); }
.sc-fondo .faq details p { font-size: 17px; line-height: 1.45; }
.sc-poi { display: grid; gap: 12px; padding: clamp(24px, 3vw, 40px); border-radius: var(--r); background: var(--brand); color: #fff; text-decoration: none; transition: background-color .25s; }
.sc-poi:hover { background: var(--viola); }
.sc-poi small { font-size: 16px; opacity: .8; }
.sc-poi span { display: flex; align-items: center; gap: 14px; }
.sc-poi b { font: 300 clamp(32px, 3.4vw, 50px)/1 var(--display); }
.sc-poi i { font-style: normal; font-size: 18px; opacity: .88; }

/* Pagina App */
.ap-scelte { margin-top: clamp(28px, 5vh, 48px); border-bottom: 1px solid rgba(255, 255, 255, .3); }
.ap-scelte a { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding: clamp(16px, 2.2vh, 24px) 8px; border-top: 1px solid rgba(255, 255, 255, .3); color: inherit; text-decoration: none; transition: background-color .2s; }
.ap-scelte a:hover { background: rgba(255, 255, 255, .1); }
.ap-scelte__bisogno { font: 300 clamp(22px, 2.5vw, 38px)/1.15 var(--display); letter-spacing: -.012em; }
.ap-scelte__app { display: flex; align-items: center; gap: 12px; font: 400 clamp(18px, 1.5vw, 22px)/1 var(--display); }
.ap-punti { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 56px); margin-top: clamp(28px, 5vh, 48px); }
.ap-punti h3 { font: 400 clamp(22px, 2vw, 30px)/1.15 var(--display); }
.ap-punti p { margin-top: 8px; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.4; opacity: .9; }

/* Watchbound */
.wb-app { padding: clamp(18px, 2.4vw, 36px); border-radius: var(--r); background: #151a2b; box-shadow: 0 40px 90px rgba(3, 3, 39, .55); }
.wb-app__testa { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: clamp(16px, 2vw, 28px); color: #fff; }
.wb-app__testa h3 { font: 500 clamp(28px, 3vw, 44px)/1.05 var(--display); letter-spacing: -.012em; }
.wb-app__testa p { font-size: 18px; color: #c3b7ff; }
.wb-app__fila { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.8vw, 28px); }
.wb-resto { position: absolute; top: 12px; right: 12px; min-width: 52px; padding: 8px 10px; border-radius: var(--r); background: #ffb3a6; color: #2a0f0a; font: 600 22px/1 var(--display); text-align: center; }
.wb-carta h3 { margin-top: 14px; color: #fff; font: 500 clamp(18px, 1.6vw, 24px)/1.2 var(--display); }
.wb-carta p { margin-top: 4px; color: #c7cdde; font-size: clamp(16px, 1.25vw, 19px); }
.wb-visto { width: 100%; min-height: 54px; margin-top: 14px; padding: 10px 12px; border: 1px solid #c3b7ff; border-radius: 999px; background: none; color: #fff; font: 500 clamp(15px, 1.15vw, 18px)/1.2 var(--testo); cursor: pointer; transition: background-color .2s, color .2s; }
.wb-visto:hover:not(:disabled) { background: #c3b7ff; color: #1a1530; }
.wb-visto:disabled { border-color: #7ee0b0; color: #7ee0b0; cursor: default; }
.pari .wb-resto { background: #7ee0b0; }
.scatto .wb-resto { animation: scatto .45s cubic-bezier(.2, .8, .2, 1.4); }
@keyframes scatto { 0% { transform: scale(1.5); } 100% { transform: scale(1); } }
.wb-stati { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 40px); margin-top: clamp(36px, 6vh, 64px); }
.wb-stato h3 { font: 400 clamp(24px, 2.2vw, 34px)/1.1 var(--display); letter-spacing: -.012em; }
.wb-stato p { min-height: 3.1em; margin-top: 8px; color: var(--corpo); font-size: clamp(16px, 1.25vw, 19px); line-height: 1.35; }
.wb-stato img { display: block; width: 100%; height: auto; aspect-ratio: 340 / 500; object-fit: cover; margin-top: 14px; border-radius: var(--r); box-shadow: var(--ombra); }
.wb-stato b { display: block; margin-top: 14px; font: 500 clamp(18px, 1.5vw, 22px)/1.2 var(--display); }
.wb-stato span { display: block; margin-top: 2px; color: var(--corpo); font-size: clamp(16px, 1.2vw, 18px); }
.wb-dopo { padding: clamp(90px, 16vh, 180px) 0; }
.wb-dopo__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: clamp(30px, 4vw, 70px); align-items: center; }
.wb-dopo__fila { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.8vw, 28px); }
.wb-consiglio h3 { margin-top: 14px; font: 500 clamp(18px, 1.6vw, 24px)/1.2 var(--display); }
.wb-consiglio p { margin-top: 4px; font-size: clamp(16px, 1.2vw, 18px); opacity: .86; }
.wb-consiglio .wb-perche { color: #8fe3e0; opacity: 1; font-weight: 500; }
.wb-settimana { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 40px); margin-top: clamp(36px, 6vh, 64px); }
.wb-settimana li { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); gap: clamp(14px, 1.6vw, 24px); align-items: end; min-width: 0; }
.wb-settimana img { display: block; width: 100%; height: auto; aspect-ratio: 340 / 500; object-fit: cover; border-radius: var(--r); box-shadow: var(--ombra); }
.wb-settimana b { display: block; font: 300 clamp(26px, 2.5vw, 38px)/1.08 var(--display); letter-spacing: -.012em; }
.wb-settimana span { display: block; margin-top: 12px; font: 500 clamp(17px, 1.4vw, 21px)/1.2 var(--display); }
.wb-settimana small { display: block; margin-top: 4px; color: var(--corpo); font-size: clamp(15px, 1.15vw, 17px); }

/* SENSEI */
.se-app { padding: clamp(24px, 4vw, 64px); border-radius: var(--r); background: #0b0b0c; color: #f3e9d8; box-shadow: 0 40px 90px rgba(0, 0, 0, .5); }
.se-app__testa { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid rgba(243, 233, 216, .3); font-size: 15px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.se-app h3 { margin-top: clamp(24px, 4vh, 44px); font: 800 clamp(40px, 6.6vw, 104px)/.98 var(--display); letter-spacing: -.02em; text-transform: uppercase; }
.se-app > p { margin-top: 14px; font-size: clamp(17px, 1.5vw, 22px); opacity: .84; }
.se-app__scelte { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.4vw, 20px); margin-top: clamp(22px, 3.6vh, 40px); }
.se-app__scelte a { display: grid; gap: 8px; padding: clamp(20px, 2.6vw, 36px); border-radius: var(--r-p); background: #f3e9d8; color: #0b0b0c; text-decoration: none; transition: background-color .2s, color .2s; }
.se-app__scelte a:hover { background: #f0442e; color: #fff; }
.se-app__scelte b { font: 800 clamp(26px, 3vw, 46px)/1 var(--display); text-transform: uppercase; letter-spacing: -.01em; }
.se-app__scelte span { font-size: clamp(16px, 1.3vw, 20px); }
.se-lista { margin-top: clamp(30px, 5vh, 56px); border-bottom: 1px solid var(--riga); }
.se-lista li { display: grid; grid-template-columns: 70px minmax(0, 5fr) minmax(0, 7fr); gap: clamp(12px, 2vw, 32px); align-items: center; padding: clamp(16px, 2.4vh, 26px) 0; border-top: 1px solid var(--riga); }
.se-lista > li > b { font: 300 clamp(24px, 2.4vw, 36px)/1 var(--display); color: #ffb3a6; }
.se-lista h3 { font: 400 clamp(21px, 2vw, 30px)/1.15 var(--display); }
.se-lista p { display: flex; flex-wrap: wrap; gap: 8px; }
.se-lista p span { padding: 8px 14px; border: 1px solid var(--riga); border-radius: var(--r-p); font-size: clamp(15px, 1.15vw, 17px); }
.se-consiglio { padding: clamp(90px, 16vh, 180px) 0; }
.se-consiglio__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 72px); align-items: start; }
.se-copertina img { display: block; width: 100%; height: auto; border-radius: var(--r); }
.se-sopra { font-size: clamp(17px, 1.4vw, 21px); color: #ffb3a6; }
.se-consiglio h2 { font-weight: 800; font-size: clamp(56px, 8vw, 128px); line-height: 1; letter-spacing: -.02em; }
.se-dati { display: grid; gap: 16px; margin-top: clamp(22px, 3.6vh, 38px); }
.se-dati dt { font-size: 15px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: #ffb3a6; }
.se-dati dd { margin: 2px 0 0; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.35; }
.se-esempio { margin-top: 20px; font-size: 15px; opacity: .7; }
.se-alternative { grid-column: 1 / -1; }
.se-alternative h3 { font: 400 clamp(24px, 2.4vw, 36px)/1.1 var(--display); }
.se-alternative ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 32px); margin-top: 20px; }
.se-alternative img { display: block; width: 100%; height: auto; aspect-ratio: 460 / 650; object-fit: cover; border-radius: var(--r); }
.se-alternative b { display: block; margin-top: 12px; font: 500 clamp(18px, 1.6vw, 24px)/1.2 var(--display); }
.se-alternative span { font-size: clamp(16px, 1.2vw, 18px); opacity: .8; }
.se-righe { display: grid; gap: clamp(12px, 1.6vw, 22px); margin-top: clamp(30px, 5vh, 56px); }
.se-righe a { --corpo: #425466; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); align-items: center; gap: clamp(16px, 3vw, 48px); border-radius: var(--r); overflow: hidden; background: #f6f5f0; color: var(--navy); text-decoration: none; transition: background-color .2s; }
.se-righe a:hover { background: #efe6d6; }
.se-righe img { display: block; width: 100%; height: 100%; min-height: 150px; aspect-ratio: 3 / 1; object-fit: cover; }
.se-righe div { padding: 14px clamp(14px, 2vw, 28px) 14px 0; }
.se-righe small { font-size: 15px; color: var(--corpo); }
.se-righe h3 { margin-top: 2px; font: 400 clamp(22px, 2.2vw, 32px)/1.12 var(--display); }
.se-righe p { margin-top: 6px; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.35; color: var(--corpo); }

/* SPESO */
.sp-app { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 3vw, 56px); padding: clamp(20px, 3vw, 48px); border-radius: var(--r); background: #fffdf6; color: #24301a; box-shadow: 0 30px 70px rgba(60, 60, 20, .18); }
.sp-app h3 { font: 400 clamp(26px, 2.6vw, 40px)/1.1 Georgia, 'Times New Roman', serif; }
.sp-nota { margin-top: 6px; font-size: 17px; color: #536b3b; }
.sp-piatto { margin-top: 14px; padding: 14px 16px; border: 1px solid #d9d2bb; border-radius: var(--r); opacity: .62; transition: opacity .2s, border-color .2s, background-color .2s; }
.sp-piatto.on { border-color: #536b3b; background: #f3f5e3; opacity: 1; }
.sp-scegli { display: flex; align-items: center; gap: 12px; width: 100%; padding: 4px 0; border: 0; background: none; color: inherit; font: 400 clamp(19px, 1.7vw, 25px)/1.2 Georgia, 'Times New Roman', serif; text-align: left; cursor: pointer; }
.sp-scegli i { flex: none; width: 24px; height: 24px; border: 2px solid #536b3b; border-radius: var(--r-p); }
.sp-piatto.on .sp-scegli i { background: #536b3b; box-shadow: inset 0 0 0 4px #f3f5e3; }
.sp-persone { display: flex; align-items: center; gap: 12px; margin-top: 10px; font-size: 17px; }
.sp-persone span { margin-right: auto; color: #5d6650; }
.sp-persone button { width: 44px; height: 44px; border: 1px solid #536b3b; border-radius: 50%; background: none; color: #24301a; font-size: 24px; line-height: 1; cursor: pointer; transition: background-color .2s, color .2s; }
.sp-persone button:hover { background: #536b3b; color: #fff; }
.sp-persone b { min-width: 28px; font-size: 24px; font-weight: 500; text-align: center; }
.sp-lista__testa { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding-bottom: 12px; border-bottom: 2px solid #24301a; }
.sp-lista__testa span { font-size: 18px; color: #536b3b; font-weight: 500; }
.sp-app__lista ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(16px, 2vw, 36px); }
.sp-app__lista li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 2px; border-bottom: 1px solid #e4dec9; font-size: clamp(17px, 1.35vw, 20px); cursor: pointer; }
.sp-app__lista li:hover { background: #f3f5e3; }
.sp-app__lista li b { flex: none; font-weight: 500; }
.sp-app__lista li small { display: block; font-size: 14px; color: #536b3b; }
.sp-app__lista li.preso { color: #9a9a86; text-decoration: line-through; }
.sp-frigo { padding: clamp(90px, 16vh, 180px) 0; }
.sp-frigo__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(30px, 5vw, 90px); align-items: center; }
.sp-chip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(22px, 3.6vh, 38px); }
.sp-chip button { min-height: 52px; padding: 10px 20px; border: 1px solid rgba(251, 248, 234, .6); border-radius: 999px; background: none; color: inherit; font: 400 clamp(17px, 1.4vw, 21px)/1 var(--testo); cursor: pointer; transition: background-color .2s, color .2s; }
.sp-chip button:hover { background: rgba(251, 248, 234, .16); }
.sp-chip button[aria-pressed='true'] { border-color: #d7e36f; background: #d7e36f; color: #24301a; }
.sp-esiti { display: grid; gap: 14px; }
.sp-esiti li { padding: clamp(18px, 2.2vw, 30px); border-radius: var(--r); background: #fffdf6; color: #24301a; }
.sp-esiti h3 { font: 400 clamp(23px, 2.2vw, 33px)/1.15 Georgia, 'Times New Roman', serif; }
.sp-esiti p { margin-top: 8px; font-size: clamp(17px, 1.35vw, 20px); color: #a3461f; }
.sp-esiti .ok p { color: #3f6a1f; font-weight: 500; }
.sp-cucina__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(30px, 5vw, 90px); align-items: center; }
.sp-ricetta { padding: clamp(24px, 3.4vw, 56px); border-radius: var(--r); background: #f3eedd; color: #24301a; }
.sp-sopra { font-size: 17px; color: #536b3b; font-weight: 500; }
.sp-ricetta h3 { margin-top: 4px; font: 400 clamp(32px, 3.6vw, 56px)/1.05 Georgia, 'Times New Roman', serif; }
.sp-riga { margin-top: 8px; font-size: 18px; color: #5d6650; }
.sp-ricetta ol { margin-top: clamp(18px, 3vh, 30px); counter-reset: passo; }
.sp-ricetta li { position: relative; padding: 14px 0 14px 46px; border-top: 1px solid #d9d2bb; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.42; counter-increment: passo; }
.sp-ricetta li::before { content: counter(passo); position: absolute; left: 0; top: 12px; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #24301a; border-radius: 50%; font-size: 16px; }

/* Cumpà */
.cu-app { padding: clamp(20px, 3vw, 48px); border-radius: var(--r); background: #03151f; color: #fff; box-shadow: 0 40px 90px rgba(0, 10, 20, .55); }
.cu-app__testa span, .cu-sopra { font-size: 16px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: #01bafb; }
.cu-app__testa h3 { margin-top: 6px; font: 600 clamp(34px, 4.6vw, 72px)/1.04 var(--display); letter-spacing: -.02em; }
.cu-somma { margin-top: clamp(16px, 2.4vh, 26px); padding: clamp(14px, 1.8vw, 24px); border: 1px solid #f5b83d; border-radius: var(--r); background: rgba(245, 184, 61, .12); font-size: clamp(19px, 1.9vw, 28px); line-height: 1.3; transition: background-color .4s, border-color .4s; }
.fatta .cu-somma { border-color: #7ee0b0; background: rgba(126, 224, 176, .14); color: #a9f0cd; }
.cu-app__corpo { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 56px); margin-top: clamp(20px, 3vh, 34px); }
.cu-etichetta { font-size: 15px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: #8fb8cb; }
.cu-riga { margin-top: 4px; font: 400 clamp(21px, 2vw, 30px)/1.2 var(--display); }
.cu-facce { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cu-facce li { padding: 8px 14px; border-radius: 999px; background: #0d3a50; font-size: clamp(16px, 1.25vw, 19px); animation: entra .35s ease-out; }
.cu-facce .tu { background: #01bafb; color: #04202c; font-weight: 600; }
@keyframes entra { from { transform: scale(.7); opacity: 0; } to { transform: none; opacity: 1; } }
.cu-bottoni { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0 clamp(16px, 2.4vh, 26px); }
.cu-bottoni button { flex: 1 1 140px; min-height: 60px; padding: 10px 20px; border-radius: 999px; font: 600 clamp(18px, 1.5vw, 22px)/1 var(--testo); cursor: pointer; transition: background-color .2s, color .2s, opacity .2s; }
.cu-si { border: 1px solid #01bafb; background: #01bafb; color: #04202c; }
.cu-si:hover:not(:disabled) { background: #5fd6ff; }
.cu-no { border: 1px solid #5d8ba0; background: none; color: #fff; }
.cu-no:hover:not(:disabled) { background: rgba(255, 255, 255, .12); }
.cu-bottoni button:disabled { opacity: .45; cursor: default; }
.cu-chat__in, .cu-quadro__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 90px); align-items: center; }
.cu-bolle { display: grid; gap: 14px; padding: clamp(20px, 3vw, 44px); border-radius: var(--r); background: #e7f3f8; }
.cu-bolla { max-width: 92%; padding: clamp(14px, 1.6vw, 22px); border-radius: var(--r); background: #fff; box-shadow: 0 2px 8px rgba(6, 27, 49, .1); font-size: clamp(18px, 1.5vw, 23px); line-height: 1.35; }
.cu-bolla + .cu-bolla { justify-self: end; background: #c9f0ff; }
.cu-bolla u { color: #066a93; text-underline-offset: 3px; }
.cu-occasioni { padding: clamp(90px, 16vh, 180px) 0; }
.cu-tab { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(24px, 4vh, 40px); }
.cu-tab button { min-height: 56px; padding: 10px 26px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 999px; background: none; color: #fff; font: 500 clamp(18px, 1.5vw, 22px)/1 var(--testo); cursor: pointer; transition: background-color .2s, color .2s; }
.cu-tab button:hover { background: rgba(255, 255, 255, .14); }
.cu-tab button[aria-pressed='true'] { border-color: #01bafb; background: #01bafb; color: #04202c; }
.cu-nodi { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(12px, 1.6vw, 22px); margin-top: clamp(20px, 3.4vh, 34px); min-height: 170px; }
.cu-nodi li { padding: clamp(18px, 2vw, 28px); border-radius: var(--r); background: #0a3346; }
.cu-nodi li[hidden] { display: none; }
.cu-nodi h3 { font: 400 clamp(23px, 2.1vw, 32px)/1.12 var(--display); }
.cu-nodi p { margin-top: 8px; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.38; opacity: .88; }
.cu-pagina { padding: clamp(22px, 3vw, 44px); border-radius: var(--r); background: #03151f; color: #fff; box-shadow: var(--ombra-forte); }
.cu-pagina h3 { margin-top: 6px; font: 600 clamp(28px, 3vw, 46px)/1.06 var(--display); letter-spacing: -.016em; }
.cu-pagina .cu-somma { font-size: clamp(17px, 1.5vw, 22px); }
.cu-pagina .cu-somma b { font-weight: 600; color: #f5b83d; }
.cu-righe { margin-top: 12px; }
.cu-righe li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.cu-righe small { display: block; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: #8fb8cb; }
.cu-righe b { display: block; margin-top: 2px; font: 400 clamp(18px, 1.6vw, 24px)/1.2 var(--display); }
.cu-righe span { flex: none; padding: 6px 12px; border: 1px solid #5d8ba0; border-radius: 999px; font-size: 15px; }
.cu-righe .serve span { border-color: #f5b83d; color: #f5b83d; }

@media (max-width: 900px) {
  .sc-passi, .ap-punti, .wb-dopo__in, .sc-fondo__in, .sp-app, .sp-frigo__in, .sp-cucina__in, .cu-chat__in, .cu-quadro__in, .cu-app__corpo, .se-consiglio__in { grid-template-columns: 1fr; }
  .wb-app__fila, .wb-stati { grid-template-columns: repeat(2, 1fr); }
  .wb-settimana { grid-template-columns: 1fr; }
  .wb-settimana li { grid-template-columns: 42% 1fr; align-items: center; }
  .wb-stato p { min-height: 4.2em; }
  .sc .cta .btn { width: 100%; text-align: center; }
  .se-app__scelte { grid-template-columns: 1fr; }
  .se-lista li { grid-template-columns: 44px 1fr; }
  .se-lista p { grid-column: 2; }
  .se-copertina { max-width: 280px; }
  .se-righe a { grid-template-columns: 1fr; gap: 0; }
  .se-righe div { padding: 14px 16px 18px; }
  .sp-app__lista ul { grid-template-columns: 1fr; }
}

/* Testi sugli sfondi animati: si leggono anche sulle scene chiare */
section[data-sf] :is(h1, h2, .sc-lead, .sc-nota, .sc-marca, .sc-serve, .ap-scelte, .ap-punti, .sc-passi, .wb-app__testa, .wb-stato, .wb-consiglio, .wb-settimana, .se-lista, .se-sopra, .se-dati, .se-esempio, .se-alternative, .sp-frigo__in > div, .sp-cucina__in > div, .cu-chat__in > div, .cu-quadro__in > div) { text-shadow: 0 1px 3px rgba(4, 12, 32, .75), 0 2px 18px rgba(4, 12, 32, .6); }
section[data-sf] :is(.sc-lead, .ap-punti p, .sc-passi p, .sc-serve) { font-weight: 400; }
.cu-bolla { color: var(--navy); }
.cu-app h3, .cu-pagina h3, .se-app h3, .sp-app h3 { text-shadow: none; }

/* Home: si trascina tutta la schermata */
.sel .palco { cursor: grab; user-select: none; }
.sel .palco a, .sel .palco button { cursor: pointer; }
.palco--presa, .palco--presa a, .palco--presa button { cursor: grabbing !important; }

/* Correzioni mirate: titoli, spazi e cornici. Stesse pagine e stessi comandi. */
.home .mondo__testo { flex: 1 1 auto; width: 100%; max-width: 1280px; }
.home .mondo { padding-bottom: clamp(230px, 31vh, 320px); }
.home .mondo__testo p:not(.etichetta) { max-width: 48em; font-size: clamp(18px, 1.55vw, 25px); }
.home .mondo__testo .scritta-app { display: block; margin: 0 auto 24px; font-family: Aldrich, var(--display); font-size: clamp(82px, 11.8vw, 176px); font-weight: 400; font-style: normal; line-height: 1.06; letter-spacing: -.025em; text-transform: uppercase; text-shadow: none; }
.home .mondo__testo .btn { gap: 28px; min-width: 236px; min-height: 60px; padding: 16px 24px; border-radius: 8px; background: #fff; border-color: #fff; color: #081b2d; font-size: 18px; font-weight: 600; box-shadow: none; }
.home .mondo__testo .btn:hover { background: #dff5fb; border-color: #dff5fb; box-shadow: none; }
.btn__freccia { flex: none; margin-left: auto; }
.dial--home { --d: min(820px, 130vw); bottom: calc(var(--d) * -1 + clamp(220px, 28vh, 300px)); }
.dial--home .dial__voci { position: absolute; inset: 0; pointer-events: none; }
.dial--home .dial__voce { width: clamp(100px, 12vw, 160px); height: 60px; margin-left: 0; padding: 0; font-family: Aldrich, var(--display); font-size: clamp(16px, 1.5vw, 21px); font-weight: 400; transform: translate(-50%, -50%); pointer-events: auto; }
.dial--home .dial__voce span { display: grid; place-items: center; width: 100%; min-width: 0; min-height: 60px; padding: 12px 10px; border-radius: 8px; border-color: #d0e5ef8a; background: #081d30; color: #fff; box-shadow: none; transform: none; }
.dial--home .dial__voce.on span { background: #fff; border-color: #fff; color: #081b2d; box-shadow: none; }
.dial--home .dial__voce:hover span { background: #1c4056; border-color: #fff; }
.dial--home .dial__voce.on:hover span { background: #dff5fb; }
.dial--home .dial__indice { transform: rotate(var(--indice, -30deg)); transform-origin: 50% calc(var(--d) / 2 + 9px); filter: none; }
.no-motion .home .mondo::before, html:not(.js) .home .mondo::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: rgba(4, 12, 32, .38); }

.sc-testa h1, .sc h2 { font-family: 'Barlow Condensed', var(--display); font-weight: 700; letter-spacing: 0; }
.sc-testa h1 { font-size: clamp(48px, 6.2vw, 112px); line-height: 1.02; }
.sc h2 { font-size: clamp(40px, 4.5vw, 80px); line-height: 1.06; }
.ap-testa, .ap-app { min-height: 0; }
.ap-testa { padding-block: calc(var(--nav) + clamp(40px, 6vw, 96px)) clamp(48px, 6vw, 96px); }
.ap-app { padding-block: clamp(60px, 7vw, 112px); }
.apps .sc-marca { font-weight: 600; font-size: clamp(24px, 2vw, 34px); }
.ap-scelte a { padding-block: clamp(20px, 2vw, 32px); }
.ap-scelte__bisogno { font-weight: 500; font-size: clamp(22px, 2.25vw, 36px); }
.ap-punti h3 { font-weight: 600; }
.ap-punti p { font-size: clamp(18px, 1.4vw, 23px); line-height: 1.5; }

/* Le anteprime sono superfici utilizzabili, non un riquadro dentro un altro. */
.sc-pezzo { width: 100%; max-width: none; }
.sc-pezzo > :is(.wb-app, .se-app, .sp-app, .cu-app) { padding: clamp(24px, 4.5vw, 88px); border-radius: 0; box-shadow: none; }
.sp-piatto, .sp-piatto.on { padding: 22px 0; border: 0; border-top: 1px solid #b9c0a3; border-radius: 0; background: transparent; }
.sp-app__lista ul { column-gap: clamp(24px, 3vw, 64px); }
.se-app__scelte a { position: relative; padding: 28px 40px 28px 0; border-top: 1px solid #918d81; border-bottom: 1px solid #918d81; border-radius: 0; background: transparent; color: inherit; }
.se-app__scelte a::after { content: ''; position: absolute; right: 8px; top: 40px; width: 16px; height: 16px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.se-app__scelte a:hover { background: transparent; color: #ffad8b; }
.cu-somma { padding: 20px 0; border: 0; border-block: 1px solid #9e823e; border-radius: 0; background: transparent; }
.fatta .cu-somma { background: transparent; }
.cu-facce li { padding: 8px 0; margin-right: 16px; border-radius: 0; background: transparent; }
.cu-facce .tu { padding-inline: 10px; }
.cu-bolle { padding: 0; border-radius: 0; background: transparent; }
.cu-bolla { max-width: 96%; padding: clamp(20px, 2vw, 32px); }
.cu-nodi { gap: clamp(24px, 3vw, 56px); }
.cu-nodi li { padding: 24px 0; border-top: 1px solid #52869e; border-radius: 0; background: transparent; }
.sc-poi { padding: 24px 0; border-block: 1px solid var(--riga); border-radius: 0; background: transparent; color: var(--navy); }
.sc-poi:hover { background: transparent; color: var(--viola); }

@media (min-width: 901px) {
  .wrap { max-width: 1740px; }
  .sc-giro { width: calc(100% - 2 * clamp(28px, 3.4vw, 72px)); max-width: 1800px; }
  .ap-testa .sc-giro, .ap-app .sc-giro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: clamp(36px, 5vw, 96px); row-gap: 28px; align-items: start; }
  .ap-testa h1 { max-width: 12em; }
  .ap-testa .sc-lead { align-self: end; margin: 0 0 8px; max-width: none; }
  .ap-scelte { grid-column: 1 / -1; margin-top: 12px; }
  .ap-app .sc-marca { grid-column: 1 / -1; margin: 0; }
  .ap-app h2 { grid-column: 1; grid-row: 2; max-width: none; }
  .ap-app .sc-lead { grid-column: 2; grid-row: 2; margin: 0; max-width: none; align-self: center; }
  .ap-punti { grid-column: 1 / -1; margin-top: 8px; gap: clamp(32px, 5vw, 96px); }
  .ap-app .cta { margin-top: 8px; align-self: center; }
  .ap-app .sc-serve { margin-top: 8px; max-width: none; align-self: center; }
  .ascolta__in { max-width: 1920px; grid-template-columns: minmax(0, .8fr) minmax(0, 1.25fr) minmax(0, 1fr); }
  .ascolta__ora, .disco, .ascolta__player { min-width: 0; }
  .ascolta__muovi { flex-wrap: wrap; }
  .se-app__scelte, .sp-app, .cu-app__corpo { gap: clamp(24px, 3vw, 56px); }
}
@media (max-width: 900px) {
  .home .mondo__testo .scritta-app { margin-bottom: 22px; }
  .home .mondo__testo p:not(.etichetta) { font-size: clamp(17px, 3.2vw, 21px); }
  .ap-testa .sc-lead { margin-top: 22px; }
  .ap-punti { gap: 26px; }
  .ap-punti h3 { margin-bottom: 8px; }
  .ap-app .sc-marca { margin-bottom: 24px; }
}
@media (max-height: 720px) {
  .home .mondo__testo .scritta-app { font-size: clamp(68px, 9vw, 112px); margin-bottom: 16px; }
  .home .mondo__testo .cta { margin-top: 16px; }
  .home .mondo__testo .btn { min-height: 54px; padding-block: 12px; }
}

/* I tre elementi applicati all'anteprima: solo titolo App, il suo comando e la corona Home. */
.home .mondo { padding-bottom: calc(clamp(230px, 31vh, 320px) + 80px); }
.home .mondo__testo .scritta-app { width: clamp(280px, 36vw, 500px); max-width: 100%; margin: 0 auto 8px; font-size: inherit; line-height: 0; }
.home .scritta-app img { width: 100%; height: auto; filter: drop-shadow(0 3px 9px #03142580); }
.home .mondo__testo .btn--disegnato { display: block; width: clamp(270px, 24vw, 320px); min-width: 0; min-height: 0; height: auto; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.home .mondo__testo .btn--disegnato:hover { background: none; filter: brightness(1.13); }
.btn--disegnato img { display: block; width: 100%; height: auto; }
.dial--facce { --d: min(860px, 100vw - 32px); width: var(--d); height: auto; aspect-ratio: 1000 / 450; bottom: calc(var(--d) * -.12); border-radius: 0; }
.dial--facce .dial__ruota { display: none; }
.dial__corona { display: block; width: 100%; height: auto; overflow: visible; }
.dial__corona--mobile { display: none; }
.dial--facce .dial__voce { position: static; width: auto; height: auto; margin: 0; padding: 0; transform: none; pointer-events: auto; opacity: 1; outline: none; }
.dial--facce .sede { fill: #0b2a40; stroke: #496678; stroke-width: 1; transition: fill .2s, stroke .2s; }
.dial--facce .dial__voce > path:nth-child(2) { stroke: #45697c; stroke-width: 2; }
.dial--facce .dial__voce.on .sede { fill: #18465f; stroke: #a6e8f8; stroke-width: 2.5; }
.dial--facce .dial__voce.on > path:nth-child(2) { stroke: #7ad8f1; stroke-width: 5; }
.dial--facce .dial__voce:hover .sede, .dial--facce .dial__voce:focus-visible .sede { stroke: #eefbff; stroke-width: 4; }
@media (max-height: 720px) and (min-width: 701px) {
  .dial--facce { --d: min(840px, 100vw - 32px); }
  .home .mondo__testo .scritta-app { width: 300px; margin-bottom: 0; }
}
@media (max-width: 700px) {
  .dial--facce { --d: min(560px, 100vw - 16px); aspect-ratio: 390 / 290; bottom: -20px; }
  .dial__corona--desktop { display: none; }
  .dial__corona--mobile { display: block; }
  .home .mondo { padding-top: calc(var(--nav) + 18px); padding-bottom: 270px; }
  .home .mondo__testo .scritta-app { width: min(270px, 78vw); margin-bottom: 0; }
  .home .mondo__testo .btn--disegnato { width: 260px; max-width: 100%; }
  .home .mondo__testo .cta { margin-top: 14px; }
}

.home .palco__gira { z-index: 5; width: max-content; max-width: calc(100% - 32px); white-space: normal; text-align: center; pointer-events: none; }

/* Un solo modulo per i tre ingressi: altezza ottica del marchio e comandi uguali. */
.home .mondo__testo { --marca-h: 110px; --marca-slot: 150px; display: grid; justify-items: center; grid-template-rows: var(--marca-slot) auto auto; row-gap: 14px; }
.home .mondo__marca { display: flex; align-items: center; justify-content: center; width: min(500px,100%); height: var(--marca-slot); margin: 0; line-height: 0; }
.marca__recorte { position: relative; display: block; flex: none; height: var(--marca-h); overflow: hidden; }
.marca__recorte--app { width: calc(var(--marca-h) * 1176 / 352); }
.marca__recorte--ragequit { width: calc(var(--marca-h) * 1949 / 723); }
.marca__recorte--jukebox { width: calc(var(--marca-h) * 239 / 60); }
.home .mondo__marca img { position: absolute; max-width: none; height: auto; margin: 0; filter: drop-shadow(0 2px 5px #03142570); }
.home .marca__recorte--app img { width: 119.047619%; left: -9.6088435%; top: -35.2272727%; }
.home .marca__recorte--ragequit img { width: 103.848127%; left: -3.232427%; top: -4.840941%; }
.home .marca__recorte--jukebox img { width: 100%; height: 100%; inset: 0; }
.home .mondo__testo > p { display: grid; align-content: center; width: min(48em,100%); height: 2.9em; margin: 0; }
.home .mondo__testo > .cta { margin: 0; }
@media(max-width:900px) { .home .mondo__testo > p { height: 4.35em; } }
@media(max-height:720px) and (min-width:701px) { .home .mondo__testo { --marca-h: 80px; --marca-slot: 110px; row-gap: 10px; } }
@media(max-width:700px) { .home .mondo__testo { --marca-h: 66px; --marca-slot: 90px; row-gap: 8px; } .home .mondo__testo > p { height: 8.7em; } }

/* Indice App: colonne comuni, poi separazione visibile fra app e descrizioni. */
.ap-scelte a { display: grid; grid-template-columns: minmax(0,1fr) 220px; align-items: center; }
.ap-scelte__app { display: grid; grid-template-columns: 38px minmax(0,1fr); justify-content: start; align-items: center; white-space: nowrap; }
.apps .ap-app { position: relative; border-top: 1px solid #ffffff5c; }
.apps .ap-app::before { content: ''; position: absolute; top: -2px; left: clamp(20px,3.4vw,72px); width: 80px; height: 3px; background: var(--accento); }
.ap-punti > li { border-top: 1px solid #ffffff5c; padding-top: 18px; }
@media(max-width:700px) { .ap-scelte a { grid-template-columns: minmax(0,1fr); row-gap: 14px; } }
