/* Halteres: la home a capitoli. Si appoggia a style.css (caratteri, colori, intestazione e piede).
   Regola di fondo: la pagina è completa e ferma così com'è. Il movimento si aggiunge sopra,
   solo quando home.js mette la classe .anima su <html> (cioè c'è lo script e il sistema non chiede
   «Riduci movimento»). Con .sda il browser sa legare le animazioni allo scorrimento
   (animation-timeline); senza, home.js fa lo stesso con IntersectionObserver. */

@property --p { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --aura { syntax: "<color>"; inherits: true; initial-value: #D4FF3A; }

:root { --ixh: 0px; --gutter: clamp(20px, 5vw, 48px); }
@media (max-width: 1023px) { :root { --ixh: 56px; } }
html { scroll-padding-top: calc(var(--top) + var(--ixh) + 20px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Un alone fermo dietro la pagina: prende il colore del capitolo che stai leggendo.
   È questo che lega i capitoli: il fondo non cambia a blocchi, sfuma. */
body.home { --aura: #D4FF3A; transition: --aura .7s ease; }
body.home::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(55% 45% at 88% 8%, rgba(212,255,58,.09), transparent 70%);
  background: radial-gradient(55% 45% at 88% 8%, color-mix(in srgb, var(--aura) 11%, transparent), transparent 70%),
              radial-gradient(40% 40% at 0% 100%, color-mix(in srgb, var(--aura) 5%, transparent), transparent 70%); }

/* ---------- Pezzi comuni ---------- */
.hp { position: relative; }
.h { min-width: 0; overflow-x: clip; }
.h-wrap { width: min(1120px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.cap { position: relative; padding-block: clamp(72px, 11vw, 140px); }
.cap-h { margin-bottom: clamp(28px, 4vw, 48px); }
.h-kick { display: flex; align-items: center; gap: 12px; font: 600 16px/1.1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin: 0 0 16px; }
.h-kick .cn { font: italic 800 18px/1 var(--display); letter-spacing: .04em; color: var(--tint); }
.cap-h .h-kick::after { content: ""; flex: 0 1 200px; height: 1px; background: linear-gradient(90deg, rgba(var(--tint-rgb), .7), transparent); transform-origin: left; }
.h-h2 { font: italic 800 clamp(44px, 7vw, 92px)/.88 var(--display); text-transform: uppercase; letter-spacing: -.005em; margin: 0 0 20px; text-wrap: balance; }
.h-h2 em { font-style: italic; color: var(--tint); }
.h-lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--soft); max-width: 46ch; margin: 0; }
.h-small { font-size: 16px; color: var(--faint); margin: 18px 0 0; max-width: 60ch; }
.h-more { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; color: var(--text); font-weight: 700; text-decoration-color: var(--tint); text-underline-offset: 5px; }
.h-badge { display: inline-block; margin-top: 18px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid var(--line); color: var(--dim); font-size: 16px; }

/* ---------- L'indice che ti segue ---------- */
.ix { z-index: 40; }
.ix ol { list-style: none; margin: 0; padding: 0; }
.ix a { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--faint); text-decoration: none;
  font: 600 16px/1.1 var(--display); letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; transition: color .25s; }
.ix a span { font: italic 800 16px/1 var(--display); letter-spacing: .02em; color: rgba(244,245,246,.62); min-width: 22px; transition: color .25s; }
.ix a:hover { color: var(--text); }
.ix a[aria-current] { color: var(--text); }
.ix a[aria-current] span { color: var(--volt); }
.ix-t { font: 600 16px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin: 0 0 18px; }
.ix-track { position: relative; background: rgba(255,255,255,.10); border-radius: 2px; }
.ix-fill { position: absolute; inset: 0; border-radius: 2px; background: var(--volt); box-shadow: 0 0 14px rgba(212,255,58,.45); }
/* la barra si riempie con lo scorrimento: in CSS dove si può, altrimenti la riempie home.js */
@keyframes riempi { from { --p: 0; } to { --p: 1; } }
.sda .ix-fill { animation: riempi linear both; animation-timeline: scroll(root block); }

/* su computer: una colonna stretta a lato, la barra è la sbarra del logo in verticale */
@media (min-width: 1024px) {
  .hp { display: grid; grid-template-columns: clamp(180px, 15vw, 220px) minmax(0, 1fr); }
  .ix { position: sticky; top: calc(var(--top) + 32px); align-self: start; padding: 10px 0 0 max(var(--gutter), env(safe-area-inset-left));
    display: grid; grid-template-columns: 4px minmax(0, 1fr); column-gap: 16px; align-content: start; }
  .ix-t { grid-column: 1 / -1; }
  .ix-track { grid-column: 1; grid-row: 2; width: 4px; }
  .ix-track::before, .ix-track::after { content: ""; position: absolute; left: -4px; width: 12px; height: 6px; border-radius: 2px; background: var(--text); }
  .ix-track::before { top: -10px; } .ix-track::after { bottom: -10px; }
  .ix ol { grid-column: 2; grid-row: 2; }
  .ix-fill { transform-origin: top; transform: scaleY(var(--p)); }
}
/* su telefono e tablet: una barra in alto, sotto l'intestazione, che scorre di lato */
@media (max-width: 1023px) {
  .ix { position: sticky; top: var(--top); height: var(--ixh); background: rgba(0,0,0,.92);
    -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); border-bottom: 1px solid var(--line); }
  .ix-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .ix ol { display: flex; align-items: center; gap: 2px; height: 100%; overflow-x: auto; padding-inline: max(calc(var(--gutter) - 12px), env(safe-area-inset-left)); scrollbar-width: none; overscroll-behavior-x: contain; }
  .ix ol::-webkit-scrollbar { display: none; }
  .ix li { flex: none; }
  .ix a { padding: 0 12px; border-radius: 999px; transition: color .25s, background .25s; }
  .ix a[aria-current] { background: rgba(255,255,255,.10); }
  .ix-track { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: transparent; }
  .ix-fill { transform-origin: left; transform: scaleX(var(--p)); }
}

/* ---------- 01 Apertura ---------- */
.ap { padding-top: clamp(28px, 6vw, 72px); min-height: calc(100svh - var(--top) - var(--ixh)); display: flex; align-items: center; }
.ap-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (max-width: 860px) { .ap-grid { grid-template-columns: minmax(0, 1fr); } }
.ap .h-kick { color: var(--tint); }
.h-title { margin: 0; font: italic 800 clamp(58px, 7.6vw, 124px)/.82 var(--display); text-transform: uppercase; letter-spacing: -.01em; }
.h-title span { display: block; }
.h-title .w2 { padding-left: .45em; color: var(--volt); white-space: nowrap; }
@media (max-width: 860px) { .h-title { font-size: clamp(44px, 13.4vw, 96px); } .h-title .w2 { padding-left: .3em; } }
/* la sbarra del logo: la frase ci sta sopra in equilibrio */
.sbarra { position: relative; height: 22px; margin: 16px 0 28px; max-width: 600px; transform-origin: 50% 50%; }
.sbarra::before { content: ""; position: absolute; left: 6%; right: 6%; top: 9px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, rgba(244,245,246,.25), var(--volt) 30%, var(--volt) 70%, rgba(244,245,246,.25)); }
.sbarra i { position: absolute; top: 0; width: 12px; height: 22px; border-radius: 5px; background: var(--text); }
.sbarra i:nth-child(1) { left: 2%; } .sbarra i:nth-child(2) { left: calc(2% + 16px); height: 16px; top: 3px; opacity: .7; }
.sbarra i:nth-child(3) { right: 2%; } .sbarra i:nth-child(4) { right: calc(2% + 16px); height: 16px; top: 3px; opacity: .7; }
.sbarra b { position: absolute; left: 50%; top: 22px; width: 0; height: 0; border-left: 9px solid transparent; border-right: 9px solid transparent; border-bottom: 12px solid var(--volt); transform: translateX(-50%); }
@keyframes equilibrio { 0% { transform: rotate(-7deg); } 35% { transform: rotate(4deg); } 60% { transform: rotate(-2deg); } 80% { transform: rotate(.8deg); } 100% { transform: rotate(0); } }
.h-claim { font-size: clamp(18px, 1.9vw, 23px); line-height: 1.45; color: var(--soft); max-width: 34ch; margin: 0 0 28px; }
.h-ctas { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.h-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; background: var(--volt); color: var(--ink); font: 800 16px/1 var(--body); text-decoration: none; transition: transform .15s, box-shadow .2s; box-shadow: 0 10px 30px rgba(212,255,58,.22); }
.h-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(212,255,58,.32); }
.h-store { display: inline-flex; flex-direction: column; justify-content: center; min-height: 52px; padding: 6px 16px; border-radius: 14px; border: 1px solid var(--line-strong); font: 800 16px/1.1 var(--display); text-transform: uppercase; letter-spacing: .04em; color: var(--text); }
.h-store small { font: 600 16px/1.1 var(--display); letter-spacing: .08em; color: var(--faint); }
.ap-dev { position: relative; justify-self: center; width: min(360px, 72vw); }
.ap-ph { position: relative; z-index: 1; margin: 0; border-radius: 46px; padding: 9px; background: linear-gradient(160deg, #2a2c2a, #0b0b0b 40%, #1b1c1b);
  box-shadow: 0 40px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08), 0 0 120px rgba(212,255,58,.12); transform: rotate(3deg); }
.ap-ph img { display: block; width: 100%; height: auto; border-radius: 38px; }
.ap-wt { position: absolute; z-index: 2; left: -20%; bottom: 7%; width: 44%; margin: 0; filter: drop-shadow(0 26px 40px rgba(0,0,0,.7)); transform: rotate(-6deg); }
.ap-wt img { display: block; width: 100%; height: auto; }
@media (max-width: 480px) { .ap-wt { left: -8%; width: 40%; } }
.ap-segno { position: absolute; z-index: 0; right: -8%; top: -6%; width: 80%; aspect-ratio: 1; background: var(--volt); opacity: .08; transform: rotate(-10deg);
  -webkit-mask: url("img/segno.svg") center / contain no-repeat; mask: url("img/segno.svg") center / contain no-repeat; }

/* ---------- 02 Come funziona: la settimana che si costruisce ---------- */
.cf { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.cf-form { display: flex; flex-wrap: wrap; gap: 0 40px; }
.h-q { margin: 0 0 20px; border: 0; padding: 0; min-width: 0; }
.h-q legend { font: 600 16px var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; padding: 0; }
.h-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.h-opts label { position: relative; }
.h-opts input { position: absolute; opacity: 0; pointer-events: none; }
.h-opts span { display: inline-flex; align-items: center; min-height: 48px; min-width: 48px; justify-content: center; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.03); color: var(--soft); font-weight: 700; font-size: 16px; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.h-opts input:checked + span { background: var(--text); color: #000; border-color: var(--text); }
.h-opts input:checked + span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin-right: 8px; }
@media (forced-colors: active) { .h-opts input:checked + span { border: 3px solid Highlight; } }
.h-opts input:focus-visible + span { outline: 2px solid var(--volt); outline-offset: 3px; }
.cf-out { container-type: inline-size; min-width: 0; }
.h-week { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
/* stretto: un giorno per riga */
.h-day { display: grid; grid-template-columns: 46px 36px minmax(0, 1fr); grid-template-areas: "d k t" "d k s"; column-gap: 12px; align-items: center;
  padding: 12px 16px; border-radius: 18px; background: rgba(13,13,14,.85); border: 1px solid var(--line); position: relative; overflow: hidden; }
.h-day .d { grid-area: d; font: 600 16px var(--display); letter-spacing: .1em; color: var(--faint); }
.h-day .k { grid-area: k; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: rgba(var(--tint-rgb), .16); color: var(--tint); font: 800 15px var(--display); }
.h-day .t { grid-area: t; font: italic 800 21px/1.05 var(--display); text-transform: uppercase; color: var(--text); overflow-wrap: break-word; hyphens: auto; }
.h-day .s { grid-area: s; font-size: 16px; color: var(--dim); line-height: 1.35; }
.h-day::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--tint); }
.h-day.rest { --tint: rgba(244,245,246,.45); --tint-rgb: 244, 245, 246; background: rgba(13,13,14,.5); }
.h-day.rest::before { background: rgba(255,255,255,.12); }
.h-day.rest .k { background: rgba(255,255,255,.06); color: var(--faint); }
.h-day.rest .t { color: var(--dim); }
/* largo: sette colonne, come la settimana nell'app */
@container (min-width: 780px) {
  .h-week { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .h-day { display: flex; flex-direction: column; gap: 8px; min-height: 190px; padding: 14px 10px 16px; }
  .h-day .t { margin-top: auto; font-size: 20px; }
  .h-day .s { font-size: 16px; }
  .h-day::before { inset: auto 0 0 0; width: auto; height: 3px; }
}
.h-sum { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 20px 0 0; color: var(--dim); font-size: 16px; }
.h-sum b { color: var(--text); font: italic 800 30px/1 var(--display); margin-right: 4px; font-variant-numeric: tabular-nums; }
.h-note { font-size: 16px; color: var(--faint); margin-top: 14px; max-width: 60ch; }

/* ---------- 03 Una giornata ---------- */
/* fermo (senza script o con «Riduci movimento»): ogni passo con la sua immagine */
.g-stage { display: none; }
.g-steps { display: grid; gap: clamp(44px, 7vw, 80px); }
.g-p { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (max-width: 700px) { .g-p { grid-template-columns: minmax(0, 1fr); } }
.g-k { font: 600 16px/1.1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--tint); margin: 0 0 10px; }
.g-txt h3 { font: italic 800 clamp(36px, 4.4vw, 58px)/.92 var(--display); text-transform: uppercase; margin: 0 0 14px; text-wrap: balance; }
.g-txt p { color: var(--soft); font-size: 18px; line-height: 1.55; max-width: 42ch; margin: 0 0 12px; }
.g-txt ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; max-width: 44ch; }
.g-txt li { color: var(--dim); padding-left: 22px; position: relative; font-size: 16px; }
.g-txt li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 3px; border-radius: 2px; background: var(--tint); }
.g-txt .fine { font-size: 16px; color: var(--faint); margin-top: 14px; }
.g-img img { display: block; width: min(280px, 72vw); height: auto; border-radius: 34px; border: 8px solid #1b1c1b; }

/* con il movimento: il telefono resta fermo e cambia schermata mentre leggi */
.anima .g { --phh: min(660px, calc(100svh - var(--top) - var(--ixh) - 90px)); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); }
.anima .g-stage { display: block; grid-column: 2; grid-row: 1; align-self: start; justify-self: center; position: sticky;
  top: calc(var(--top) + var(--ixh) + max(16px, (100svh - var(--top) - var(--ixh) - var(--phh)) / 2 - 20px)); }
.anima .g-steps { grid-column: 1; grid-row: 1; gap: 0; }
.anima .g-p { display: flex; align-items: center; min-height: 86svh; }
.anima .g-img { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.g-ph { position: relative; height: var(--phh); aspect-ratio: 720 / 1502; border-radius: 46px; padding: 9px;
  background: linear-gradient(160deg, #2a2c2a, #0b0b0b 40%, #1b1c1b);
  box-shadow: 0 40px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08), 0 0 140px rgba(var(--tint-rgb), .18); transition: box-shadow .8s; }
.g-ph img { position: absolute; inset: 9px; width: calc(100% - 18px); height: calc(100% - 18px); object-fit: cover; object-position: top; border-radius: 37px;
  opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .55s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.g-ph img.on { opacity: 1; transform: none; }
.g-cnt { margin: 16px 0 0; text-align: center; font: 600 16px/1 var(--display); letter-spacing: .2em; color: var(--faint); }
.g-cnt b { font: italic 800 20px/1 var(--display); color: var(--text); letter-spacing: .04em; }
.anima .g-txt { transition: opacity .45s; }
.anima:not(.sda) .g-txt { opacity: .6; }
.anima:not(.sda) .g-p.on .g-txt { opacity: 1; }
/* stretto: il telefono sta in alto e i testi ci scorrono sopra, su vetro */
@media (max-width: 899px) {
  .anima .g { --phh: min(50svh, 520px); grid-template-columns: minmax(0, 1fr); }
  .anima .g-stage { grid-column: 1; top: calc(var(--top) + var(--ixh) + 14px); }
  .anima .g-steps { grid-column: 1; position: relative; z-index: 1; padding-top: calc(var(--phh) * .55); }
  .anima .g-p { min-height: 82svh; align-items: flex-end; padding-bottom: 6svh; }
  .anima .g-txt { width: 100%; padding: 20px 20px 22px; border-radius: 26px; background: linear-gradient(180deg, rgba(40,40,44,.82), rgba(14,14,16,.86) 45%);
    border: 1px solid rgba(255,255,255,.12); -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5); box-shadow: 0 -10px 40px rgba(0,0,0,.5); }
  .anima .g-txt h3 { font-size: clamp(30px, 9vw, 44px); }
  .anima .g-txt p { font-size: 17px; }
  .g-cnt { display: none; }
}

/* ---------- 04 Quattro schede ---------- */
.h-four { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); align-items: start; }
.h-four figure { margin: 0; }
.h-four figure:nth-child(even) { margin-top: 64px; }
.h-four img { display: block; width: 100%; height: auto; border-radius: 28px; border: 7px solid #1b1c1b; box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.h-four figcaption { margin-top: 14px; }
.h-four figcaption b { display: block; font: italic 800 28px/1 var(--display); text-transform: uppercase; color: var(--tint); margin-bottom: 4px; }
.h-four figcaption span { color: var(--dim); font-size: 16px; }
@media (max-width: 899px) {
  .h-four { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding: 0 var(--gutter) 14px; margin-inline: calc(-1 * var(--gutter)); scroll-padding-inline: var(--gutter); scrollbar-width: thin; }
  .h-four figure { flex: 0 0 min(66vw, 260px); scroll-snap-align: start; }
  .h-four figure:nth-child(even) { margin-top: 0; }
}

/* ---------- 05 Orologio ---------- */
.ow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
@media (max-width: 899px) { .ow { grid-template-columns: minmax(0, 1fr); } }
.ow .cap-h { margin-bottom: 0; }
.ow-two { display: flex; gap: 18px; justify-content: center; }
.ow-two img { width: min(220px, 40vw); height: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.7)); }
.ow-two img:nth-child(2) { margin-top: 70px; }

/* ---------- 06 Come ragiona ---------- */
.nums { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.nums li { display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 1px solid var(--line-strong); }
.nums b { font: italic 800 clamp(84px, 11vw, 150px)/.8 var(--display); color: var(--tint); font-variant-numeric: tabular-nums; }
.nums b small { font-size: .38em; margin-left: .08em; }
.nums li > span { color: var(--soft); font-size: 17px; max-width: 26ch; }
@media (max-width: 700px) {
  .nums { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .nums li { grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: 16px; padding-block: 16px; }
  .nums b { font-size: 84px; }
}
.h-spec { border-top: 1px solid var(--line-strong); margin: 0; }
.h-spec div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 700px) { .h-spec div { grid-template-columns: minmax(0, 1fr); gap: 6px; } }
.h-spec dt { font: italic 800 26px/1 var(--display); text-transform: uppercase; color: var(--tint); }
.h-spec dd { margin: 0; color: var(--soft); font-size: 17px; line-height: 1.55; }
.h-ai { display: flex; gap: 16px; align-items: flex-start; margin-top: 28px; padding: 20px 22px; border-radius: 22px; max-width: 760px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.12); }
.h-ai .sw { flex: none; width: 46px; height: 28px; border-radius: 14px; background: rgba(255,255,255,.14); position: relative; margin-top: 2px; }
.h-ai .sw::after { content: ""; position: absolute; left: 4px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: #fff; }
.h-ai p { margin: 0; color: var(--soft); font-size: 17px; }

/* ---------- 07 Privacy ---------- */
.pv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 0; }
@media (max-width: 899px) { .pv { grid-template-columns: minmax(0, 1fr); gap: 0; } }
.pv div { padding-top: 18px; border-top: 1px solid var(--line-strong); }
@media (max-width: 899px) { .pv div { padding-block: 18px; } }
.pv dt { font: italic 800 28px/1 var(--display); text-transform: uppercase; color: var(--tint); margin-bottom: 10px; }
.pv dd { margin: 0; color: var(--soft); font-size: 17px; line-height: 1.55; }

/* ---------- 08 Piani ---------- */
.pr { border-top: 1px solid var(--line-strong); }
.h-price { display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; gap: 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.h-price b { font: italic 800 34px/1 var(--display); text-transform: uppercase; }
.h-price span { color: var(--soft); font-size: 17px; max-width: 52ch; }
.h-price em { font: 600 16px var(--display); font-style: normal; letter-spacing: .16em; text-transform: uppercase; color: var(--tint); white-space: nowrap; }
.h-price:first-child em { font: italic 800 34px/1 var(--display); letter-spacing: 0; }
@media (max-width: 700px) {
  .h-price { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "b e" "s s"; gap: 8px 16px; }
  .h-price b { grid-area: b; } .h-price em { grid-area: e; } .h-price span { grid-area: s; }
}

/* ---------- 09 Contatti ---------- */
.ct { padding-bottom: clamp(48px, 8vw, 96px); }
.h-mail { display: inline-block; max-width: 100%; min-height: 44px; font: italic 800 clamp(30px, 7.6vw, 92px)/1 var(--display); color: var(--text); text-decoration: none; overflow-wrap: anywhere;
  background: linear-gradient(var(--volt), var(--volt)) 0 100% / 0 6px no-repeat; transition: background-size .35s; padding-bottom: 8px; }
.h-mail:hover, .h-mail:focus-visible { background-size: 100% 6px; }
.fine-bar { margin: 26px 0 30px; max-width: 520px; }

/* piede: tocchi grandi anche qui (solo nella home, le pagine legali restano come sono) */
.home .foot { margin-top: 0; }
.home .foot a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; }

/* =================== Il movimento (solo con .anima) =================== */

/* Apertura: la sbarra trova l'equilibrio, il telefono sale */
@keyframes sale-ph { from { transform: translateY(44px) rotate(7deg); } to { transform: rotate(3deg); } }
@keyframes sale-wt { from { transform: translate(-30px, 30px) rotate(-14deg); } to { transform: rotate(-6deg); } }
.anima .ap .sbarra { animation: equilibrio 2.2s cubic-bezier(.3,.6,.2,1) .25s both; }
.anima .ap-ph { animation: sale-ph 1.1s cubic-bezier(.2,.8,.2,1) .1s both; }
.anima .ap-wt { animation: sale-wt 1.1s cubic-bezier(.2,.8,.2,1) .4s both; }

/* blocchi che salgono mentre arrivano: partono leggibili, non invisibili */
@keyframes sale { from { opacity: .6; transform: translateY(42px); } to { opacity: 1; transform: none; } }
@keyframes linea { from { transform: scaleX(.15); } to { transform: none; } }
@keyframes posa { from { opacity: .6; transform: translateY(26px) rotate(-2deg) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes entra { from { transform: translateY(14px) scale(.96); } to { transform: none; } }
@keyframes luce { 0% { opacity: .6; } 30%, 70% { opacity: 1; } 100% { opacity: .6; } }
@keyframes esce-ph { to { transform: translateY(-60px) rotate(-3deg); } }
@keyframes gira { to { transform: rotate(14deg) scale(1.08); } }
@keyframes sfasa { from { transform: translateY(70px); } to { transform: translateY(-30px); } }

/* con animation-timeline: tutto legato allo scorrimento */
@supports (animation-timeline: view()) {
  .anima.sda .sale { animation: sale linear both; animation-timeline: view(); animation-range: entry 0% cover 26%; }
  .anima.sda .cap-h .h-kick::after { animation: linea linear both; animation-timeline: view(); animation-range: entry 10% cover 40%; }
  .anima.sda .h-day { animation: posa linear both; animation-timeline: view(); animation-range: entry calc(5% + var(--i) * 7%) cover calc(22% + var(--i) * 5%); }
  .anima.sda .g-txt { animation: luce linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
  .anima.sda .ap-dev { animation: esce-ph linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
  .anima.sda .ap-segno { animation: gira linear both; animation-timeline: scroll(root block); animation-range: 0 100vh; }
  .anima.sda .ow-two img:nth-child(2) { animation: sfasa linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
  .anima.sda .fine-bar { animation: equilibrio linear both; animation-timeline: view(); animation-range: entry 40% cover 60%; }
}
/* una settimana nuova scelta dai pulsanti: si costruisce subito, a tempo */
.anima .h-day.nuovo { animation: entra .5s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 60ms); animation-timeline: auto; animation-range: normal; }

/* senza animation-timeline: le stesse cose le accende home.js quando i blocchi entrano */
.anima:not(.sda) .sale { opacity: .6; transform: translateY(42px); transition: opacity .7s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.anima:not(.sda) .sale.visto { opacity: 1; transform: none; }
.anima:not(.sda) .h-day.in { animation: entra .5s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 70ms); }
.anima:not(.sda) .fine-bar.in { animation: equilibrio 2.2s cubic-bezier(.3,.6,.2,1) both; }

/* schermi bassi (o zoom forte): barre e telefono non restano fermi, così il testo ha spazio */
@media (max-height: 500px) {
  .top, .ix, .anima .g-stage { position: static; }
}

/* «Riduci movimento»: home.js non mette .anima; questa è una cintura in più */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
