/* ═══════════════════════════════════════════════════════════════
   Tally — landing tallyscore.it
   Stile: soft-UI chiaro (ombre morbide, radius generosi) sulla
   palette dell'app: viola #6b4fae, bottoni neri, scuro #12101a.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg: #f4f3f7;
  --surface: #ffffff;
  --surface-2: #f7f5f9;
  --ink: #111111;
  --ink-2: #6b6b70;
  --ink-3: #9a9aa0;
  --viola: #6b4fae;
  --viola-chiaro: #8a63c9;
  --viola-scuro: #5c3f96;
  --viola-soft: #f6f1fc;
  --viola-bordo: #e3d8f2;
  --verde: #1fa463;
  --verde-soft: #eaf6ef;
  --ambra: #f3c94e;
  --dark-1: #262033;
  --dark-2: #171226;
  --dark-3: #12101a;
  --magenta: #d13b6a;
  --lilla: #c9b8ff;
  --verde-neon: #5fd99a;
  --dark-ink: #eeebf2;

  --r-card: 16px;
  --r-card-lg: 22px;
  --r-btn: 14px;
  --r-input: 13px;
  --r-pill: 999px;

  --shadow-soft: 0 18px 40px -18px rgba(38, 32, 51, .25), 0 4px 12px rgba(38, 32, 51, .06);
  --shadow-neu: -10px -10px 24px rgba(255, 255, 255, .9), 12px 14px 30px rgba(38, 32, 51, .12);
  --shadow-neu-sm: -6px -6px 14px rgba(255, 255, 255, .85), 6px 8px 18px rgba(38, 32, 51, .10);

  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-text: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-text);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--viola); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }

.container { width: min(1120px, 92%); margin-inline: auto; }

h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }

.microlabel {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--ink-3);
}
.section-label { margin-bottom: .9rem; }
.section-label--magenta { color: var(--magenta); }
.section-label--lilla { color: var(--lilla); }
.section-sub { color: var(--ink-2); max-width: 46rem; margin-top: 1rem; }

/* ─── Bottoni ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  border: 0;
  border-radius: var(--r-btn);
  font-weight: 700;
  font-size: .95rem;
  padding: .85rem 1.5rem;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--dark {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(17, 17, 17, .5);
}
.btn--dark:hover { background: #000; }
.btn--light {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-neu-sm);
}
.btn--ghost {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .2); }
.btn--sm { padding: .6rem 1.15rem; font-size: .88rem; }
.btn--lg { padding: 1rem 2rem; font-size: 1.05rem; border-radius: var(--r-btn); }
.btn--store { text-align: left; }
.btn--store svg { width: 22px; height: 22px; flex: none; }
.btn--store span { display: flex; flex-direction: column; line-height: 1.15; }
.btn--store small {
  font-size: .62rem;
  font-weight: 600;
  opacity: .65;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ─── Logo ─── */
.tally-logo { height: 30px; width: auto; }

/* ─── Nav ─── */
.nav-wrap {
  position: sticky;
  top: 12px;
  z-index: 50;
  width: min(1120px, 94%);
  margin-inline: auto;
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--r-pill);
  padding: .55rem .65rem .55rem 1.2rem;
  box-shadow: var(--shadow-soft);
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -.02em;
}
.nav__brand:hover { text-decoration: none; }
.nav__links { display: flex; gap: 1.4rem; margin-inline: auto; }
.nav__links a { color: var(--ink-2); font-weight: 600; font-size: .92rem; }
.nav__links a:hover { color: var(--ink); text-decoration: none; }

/* ─── Hero ─── */
.hero { padding: clamp(3rem, 7vw, 5.5rem) 0 2rem; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--surface);
  border-radius: var(--r-pill);
  padding: .45rem 1rem;
  font-size: .8rem;
  font-weight: 700;
  color: var(--ink-2);
  box-shadow: var(--shadow-neu-sm);
  margin-bottom: 1.4rem;
}
.badge__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--verde);
  box-shadow: 0 0 0 4px var(--verde-soft);
}
.hero__title {
  font-size: clamp(2.6rem, 6.4vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -.03em;
}
.hero__title em { font-style: normal; color: var(--viola); }
.hero__claim {
  margin-top: 1.1rem;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--viola-scuro);
  background: var(--viola-soft);
  border: 1px solid var(--viola-bordo);
  border-radius: var(--r-pill);
  display: inline-block;
  padding: .4rem 1rem;
}
.hero__sub { margin-top: 1.1rem; color: var(--ink-2); font-size: 1.08rem; max-width: 34rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero__alt { margin-top: 1rem; font-size: .92rem; color: var(--ink-3); }
.hero__alt a { font-weight: 700; }

/* Mockup telefono */
.hero__mock { position: relative; display: flex; justify-content: center; }
.hero__blob {
  position: absolute;
  inset: -8% -12%;
  background: radial-gradient(closest-side, rgba(107, 79, 174, .16), transparent 72%);
  z-index: 0;
  border-radius: 50%;
}
.phone {
  position: relative;
  z-index: 1;
  width: min(340px, 88vw);
  background: var(--surface);
  border-radius: 42px;
  padding: 1rem 1.1rem 1.3rem;
  box-shadow: var(--shadow-neu), 0 40px 80px -30px rgba(38, 32, 51, .35);
}
.phone__statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  font-weight: 700;
  padding: .1rem .4rem .6rem;
}
.phone__notch { width: 96px; height: 26px; background: var(--ink); border-radius: var(--r-pill); }
.phone__icons { font-size: .68rem; letter-spacing: .05em; color: var(--ink-2); }
.phone__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .4rem .2rem .7rem;
}
.phone__header strong { font-size: 1.15rem; display: block; }
.phone__header span { font-size: .78rem; color: var(--ink-3); }
.phone__avatar {
  width: 34px; height: 34px;
  flex: none;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 800;
  color: #fff;
  background: var(--viola);
}
.phone__avatar--me { background: var(--viola-scuro); }
.av-1 { background: #3b82c9; }
.av-2 { background: #a3763b; }
.phone__tabs {
  display: flex;
  background: var(--surface-2);
  border-radius: var(--r-pill);
  padding: .25rem;
  margin-bottom: .8rem;
}
.phone__tabs span {
  flex: 1;
  text-align: center;
  font-size: .8rem;
  font-weight: 700;
  color: var(--ink-3);
  padding: .35rem 0;
  border-radius: var(--r-pill);
}
.phone__tabs .is-active { background: var(--surface); color: var(--ink); box-shadow: 0 2px 8px rgba(38, 32, 51, .12); }

.poscard {
  background: linear-gradient(150deg, var(--dark-1), var(--dark-3));
  border-radius: var(--r-card-lg);
  color: var(--dark-ink);
  padding: 1rem 1.1rem;
  margin-bottom: .8rem;
  box-shadow: 0 16px 30px -14px rgba(23, 18, 38, .6);
}
.poscard .microlabel { color: rgba(238, 235, 242, .55); }
.poscard__row { display: flex; justify-content: space-between; align-items: baseline; }
.poscard__row--big { margin: .2rem 0 .7rem; }
.poscard__rank { font-family: var(--font-display); font-size: 2.1rem; letter-spacing: .01em; }
.poscard__rank small { font-family: var(--font-text); font-size: .8rem; font-weight: 600; color: rgba(238, 235, 242, .55); }
.poscard__score { font-family: var(--font-display); font-size: 2.1rem; }
.poscard__score em { font-style: normal; font-family: var(--font-text); font-size: .85rem; font-weight: 800; color: var(--verde-neon); margin-left: .3rem; }
.poscard__goal { background: rgba(255, 255, 255, .07); border-radius: 14px; padding: .6rem .75rem; }
.poscard__goal p { font-size: .8rem; margin-bottom: .45rem; }
.poscard__bar { height: 7px; background: rgba(255, 255, 255, .14); border-radius: var(--r-pill); overflow: hidden; }
.poscard__bar span { display: block; height: 100%; width: var(--w, 60%); border-radius: var(--r-pill); background: linear-gradient(90deg, var(--verde-neon), #8ef0bb); }

.board { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.board__row {
  display: flex;
  align-items: center;
  gap: .65rem;
  background: var(--surface-2);
  border-radius: var(--r-card);
  padding: .55rem .8rem;
}
.board__row strong { margin-left: auto; font-size: 1.05rem; }
.board__row--target { background: var(--viola-soft); border: 1px solid var(--viola-bordo); }
.board__row--me { background: var(--dark-1); color: #fff; }
.board__pos { font-size: .8rem; font-weight: 700; color: var(--ink-3); width: 14px; }
.board__row--me .board__pos { color: rgba(255, 255, 255, .5); }
.board__name { display: flex; flex-direction: column; font-weight: 700; font-size: .92rem; line-height: 1.2; }
.board__name small { font-weight: 600; font-size: .72rem; color: var(--ink-3); }
.board__row--me .board__name small { color: rgba(255, 255, 255, .55); }
.board__name .microlabel { font-size: .58rem; color: var(--viola); }

/* ─── Stats strip ─── */
.stats { padding: clamp(2.5rem, 6vw, 4.5rem) 0 1rem; }
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.stat {
  background: var(--surface);
  border-radius: var(--r-card-lg);
  padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow-neu-sm);
}
.stat strong { font-family: var(--font-display); font-size: 2rem; letter-spacing: .01em; display: block; }
.stat span { color: var(--ink-2); font-size: .9rem; }

/* ─── Come funziona ─── */
.how { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.how__grid, .why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
  margin-top: 2.2rem;
}
.card {
  background: var(--surface);
  border-radius: var(--r-card-lg);
  padding: 1.7rem 1.6rem;
  box-shadow: var(--shadow-neu-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-neu); }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--ink-2); font-size: .95rem; }
.card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 13px;
  background: linear-gradient(150deg, var(--viola-chiaro), var(--viola-scuro));
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 1.1rem;
  box-shadow: 0 10px 18px -8px rgba(107, 79, 174, .6);
}
.card__icon { font-size: 1.8rem; display: block; margin-bottom: 1rem; }

/* ─── Punteggio ─── */
.score { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3.5rem, 8vw, 6rem); }
.score__panel {
  display: grid;
  grid-template-columns: minmax(240px, .8fr) 1.2fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  background: var(--surface);
  border-radius: 28px;
  padding: clamp(1.6rem, 4vw, 3rem);
  box-shadow: var(--shadow-neu);
}
.score__ring-wrap { display: flex; justify-content: center; }
.score__ring { position: relative; width: min(240px, 60vw); }
.score__ring svg { transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--surface-2); stroke-width: 12; }
.ring-fg {
  fill: none;
  stroke: var(--viola);
  stroke-width: 12;
  stroke-linecap: round;
  stroke-dasharray: 326.7;
  stroke-dashoffset: calc(326.7 * (1 - var(--p, 0)));
  transition: stroke-dashoffset 1.4s cubic-bezier(.22, .8, .3, 1);
}
.score__ring-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .1rem;
}
.score__ring-text strong { font-family: var(--font-display); font-size: 3.6rem; line-height: 1; }
.score__band {
  font-size: .8rem;
  font-weight: 800;
  color: var(--viola);
  background: var(--viola-soft);
  border-radius: var(--r-pill);
  padding: .15rem .7rem;
}
.score__copy h2 { margin-bottom: 1rem; }
.score__copy > p { color: var(--ink-2); }
.checklist { list-style: none; margin-top: 1.3rem; display: flex; flex-direction: column; gap: .7rem; }
.checklist li { padding-left: 1.9rem; position: relative; color: var(--ink-2); font-size: .96rem; }
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0; top: .05rem;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--verde);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.checklist li strong { color: var(--ink); }
.checklist--dark li { color: rgba(238, 235, 242, .8); }
.checklist--dark li::before { background: var(--verde-neon); color: var(--dark-3); }

.equal {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  margin-top: 1.4rem;
}
.equal__athlete {
  flex: 1;
  display: flex;
  align-items: center;
  gap: .9rem;
  background: var(--surface);
  border-radius: var(--r-card-lg);
  padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow-neu-sm);
}
.equal__athlete > div { display: flex; flex-direction: column; line-height: 1.3; }
.equal__athlete span { color: var(--ink-3); font-size: .82rem; }
.equal__athlete strong { font-size: 1rem; }
.equal__score {
  font-style: normal;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--viola);
  margin-left: auto;
}
.equal__mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
}
.equal__mid span { font-size: 1.9rem; font-weight: 800; color: var(--viola); }
.equal__mid small { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); white-space: nowrap; }

.bands { margin-top: 1.6rem; }
.bands__bar {
  position: relative;
  height: 14px;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, #e6e3ee 0%, #cdbfe8 40%, var(--viola-chiaro) 70%, var(--viola-scuro) 100%);
  box-shadow: inset 0 2px 5px rgba(38, 32, 51, .15);
}
.bands__marker {
  position: absolute;
  left: var(--pos, 50%);
  top: 50%;
  transform: translate(-50%, -50%);
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 12px rgba(38, 32, 51, .3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.bands__marker i { font-style: normal; font-size: .66rem; font-weight: 800; color: var(--viola-scuro); }
.bands__labels {
  display: flex;
  justify-content: space-between;
  margin-top: .55rem;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-3);
}
.bands__labels .is-active { color: var(--viola); }

/* ─── Sezione scura ─── */
.dark {
  background: linear-gradient(165deg, var(--dark-2) 0%, var(--dark-3) 60%, #0c0913 100%);
  color: var(--dark-ink);
  border-radius: clamp(24px, 4vw, 44px);
  width: min(1240px, 97%);
  margin-inline: auto;
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  box-shadow: 0 40px 90px -40px rgba(18, 16, 26, .8);
}
.dark h2 { color: #fff; }
.dark__copy > p { color: rgba(238, 235, 242, .75); margin-top: 1rem; max-width: 34rem; }
.dark__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.dark__grid--flip { margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.dark__stats { display: flex; gap: .9rem; margin-top: 1.7rem; flex-wrap: wrap; }
.dark__stats div {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--r-card);
  padding: .8rem 1.1rem;
  min-width: 110px;
}
.dark__stats strong { font-family: var(--font-display); font-size: 1.5rem; display: block; }
.dark__stats span { font-size: .74rem; color: rgba(238, 235, 242, .6); }

.verify {
  background: rgba(255, 255, 255, .97);
  color: var(--ink);
  border-radius: 26px;
  padding: 1.1rem;
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .6);
  max-width: 360px;
  justify-self: center;
  width: 100%;
}
.verify__video {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  background: linear-gradient(150deg, var(--dark-1), var(--dark-3));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .8rem;
}
.verify__who {
  position: absolute;
  top: .7rem; left: .7rem;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(0, 0, 0, .35);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  border-radius: var(--r-pill);
  padding: .25rem .7rem .25rem .3rem;
}
.verify__who .phone__avatar { width: 24px; height: 24px; font-size: .58rem; }
.verify__play {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  padding-left: .2rem;
}
.verify__len {
  position: absolute;
  bottom: .7rem; right: .7rem;
  background: rgba(0, 0, 0, .45);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  border-radius: var(--r-pill);
  padding: .15rem .55rem;
}
.verify__criteria { list-style: none; display: flex; flex-direction: column; gap: .45rem; }
.verify__criteria li {
  background: var(--surface-2);
  border-radius: 12px;
  padding: .6rem .8rem .6rem 2.3rem;
  font-size: .85rem;
  font-weight: 600;
  position: relative;
  color: var(--ink-2);
}
.verify__criteria li::before {
  content: "";
  position: absolute;
  left: .7rem; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid #d9d9de;
}
.verify__criteria li.is-ok { background: var(--verde-soft); color: #14683f; }
.verify__criteria li.is-ok::before {
  content: "✓";
  background: var(--verde);
  border-color: var(--verde);
  color: #fff;
  font-size: .62rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.verify__progress {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-top: .8rem;
}
.verify__progress span {
  flex: 1;
  height: 8px;
  border-radius: var(--r-pill);
  background: #ececef;
  overflow: hidden;
  display: block;
  position: relative;
}
.verify__progress span::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w, 50%);
  border-radius: var(--r-pill);
  background: var(--verde);
}
.verify__progress small { font-size: .74rem; font-weight: 700; color: var(--ink-2); }

/* Card condivisibile 9:16 */
.sharecard { display: flex; justify-content: center; }
.sharecard__inner {
  width: min(260px, 70vw);
  aspect-ratio: 9 / 16;
  border-radius: 24px;
  background:
    radial-gradient(120% 60% at 80% -5%, rgba(209, 59, 106, .35), transparent 60%),
    radial-gradient(110% 55% at 10% 105%, rgba(95, 217, 154, .22), transparent 60%),
    linear-gradient(160deg, #161022, #0c0913);
  border: 1px solid rgba(201, 184, 255, .22);
  box-shadow: 0 34px 70px -28px rgba(0, 0, 0, .75);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: 1.6rem 1.2rem;
  color: var(--dark-ink);
  transform: rotate(-3deg);
  transition: transform .3s ease;
}
.sharecard__inner:hover { transform: rotate(0deg) scale(1.02); }
.sharecard__inner .tally-logo { height: 34px; filter: brightness(0) invert(1); opacity: .85; margin-bottom: .6rem; }
.sharecard__verified {
  color: var(--verde-neon);
  border: 1px solid rgba(95, 217, 154, .4);
  border-radius: var(--r-pill);
  padding: .2rem .7rem;
}
.sharecard__score {
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 1;
  color: #fff;
  margin-top: .5rem;
  text-shadow: 0 12px 40px rgba(209, 59, 106, .4);
}
.sharecard__band {
  font-weight: 800;
  color: var(--lilla);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .8rem;
}
.sharecard__lift { font-size: .95rem; font-weight: 700; margin-top: .9rem; }
.sharecard__gym { color: rgba(238, 235, 242, .5); }

/* ─── Perché Tally ─── */
.why { padding: clamp(3.5rem, 8vw, 6rem) 0; }

/* ─── FAQ ─── */
.faq { padding: clamp(1rem, 3vw, 2rem) 0 clamp(3.5rem, 8vw, 6rem); }
.faq__grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.faq__intro p { color: var(--ink-2); margin-top: 1rem; }
.faq__list { display: flex; flex-direction: column; gap: .8rem; }
.faq__item {
  background: var(--surface);
  border-radius: var(--r-card-lg);
  box-shadow: var(--shadow-neu-sm);
  overflow: hidden;
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  padding: 1.1rem 3.2rem 1.1rem 1.4rem;
  position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--ink-2);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
}
.faq__item[open] summary::after { content: "–"; background: var(--viola); color: #fff; }
.faq__item p { padding: 0 1.4rem 1.2rem; color: var(--ink-2); font-size: .95rem; }

/* ─── CTA finale ─── */
.cta { padding-bottom: clamp(3rem, 6vw, 5rem); }
.cta__panel {
  background:
    radial-gradient(90% 120% at 85% -10%, rgba(138, 99, 201, .55), transparent 55%),
    linear-gradient(160deg, var(--viola-scuro), #47317a 55%, #32235c);
  border-radius: clamp(24px, 4vw, 40px);
  color: #fff;
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.2rem, 4vw, 4rem);
  box-shadow: 0 40px 90px -35px rgba(92, 63, 150, .75);
}
.cta__logo { height: 56px; width: auto; margin: 0 auto 1.2rem; filter: brightness(0) invert(1); opacity: .92; }
.cta__panel h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
.cta__panel > p { color: rgba(255, 255, 255, .8); margin-top: .8rem; max-width: 36rem; margin-inline: auto; }
.cta__store-note[hidden] { display: none; }
.cta__store-note {
  background: rgba(255, 255, 255, .12);
  border-radius: var(--r-pill);
  display: inline-block;
  padding: .5rem 1.2rem;
  font-weight: 700;
  margin-top: 1rem;
}
.cta__stores { display: flex; justify-content: center; gap: .8rem; margin-top: 2rem; flex-wrap: wrap; }

/* Form */
.lead-form {
  max-width: 560px;
  margin: 2rem auto 0;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-card-lg);
  padding: 1.5rem;
  text-align: left;
}
.lead-form__toggle {
  display: flex;
  background: rgba(0, 0, 0, .25);
  border-radius: var(--r-pill);
  padding: .3rem;
  margin-bottom: 1rem;
}
.lead-form__toggle label { flex: 1; }
.lead-form__toggle input { position: absolute; opacity: 0; pointer-events: none; }
.lead-form__toggle span {
  display: block;
  text-align: center;
  font-size: .9rem;
  font-weight: 700;
  padding: .5rem 0;
  border-radius: var(--r-pill);
  color: rgba(255, 255, 255, .65);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.lead-form__toggle input:checked + span { background: #fff; color: var(--viola-scuro); }
.lead-form__toggle input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.lead-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .7rem;
}
.lead-form input[type="text"],
.lead-form input[type="email"] {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .95);
  border-radius: var(--r-input);
  padding: .8rem 1rem;
  font-size: .95rem;
  font-family: inherit;
  color: var(--ink);
}
.lead-form input:focus { outline: 2px solid var(--viola-chiaro); }
.lead-form__hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; }
.lead-form__privacy {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  font-size: .8rem;
  color: rgba(255, 255, 255, .75);
  margin: 1rem 0 1.2rem;
  cursor: pointer;
}
.lead-form__privacy input { margin-top: .2rem; accent-color: var(--verde-neon); }
.lead-form .btn--lg { width: 100%; background: var(--ink); }
.lead-form .btn--lg:hover { background: #000; }
.lead-form__msg { margin-top: .9rem; font-weight: 700; font-size: .92rem; min-height: 1.4em; text-align: center; }
.lead-form__msg.is-ok { color: var(--verde-neon); }
.lead-form__msg.is-err { color: #ffb3c4; }

/* ─── Footer ─── */
.footer { padding: 2.2rem 0 2.6rem; }
.footer__grid {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  flex-wrap: wrap;
}
.footer__links { display: flex; gap: 1.3rem; flex-wrap: wrap; margin-inline: auto; }
.footer__links a { color: var(--ink-2); font-size: .88rem; font-weight: 600; }
.footer__legal { color: var(--ink-3); font-size: .82rem; }

/* ─── Animazioni reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22, .8, .3, 1);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ring-fg { transition: none; }
  .btn, .card, .sharecard__inner { transition: none; }
}

/* ─── Responsive ─── */
@media (max-width: 920px) {
  .hero__grid, .dark__grid, .score__panel, .faq__grid { grid-template-columns: 1fr; }
  .dark__grid--flip .sharecard { order: 2; }
  .nav__links { display: none; }
  .how__grid, .why__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr; gap: .8rem; }
  .equal { flex-direction: column; }
  .equal__mid { flex-direction: row; gap: .6rem; }
  .hero__mock { margin-top: 1rem; }
  .dark { width: 100%; border-radius: 0; }
}
@media (max-width: 560px) {
  .lead-form__grid { grid-template-columns: 1fr; }
  .bands__labels span:nth-child(2) { display: none; }
  .hero__cta .btn { flex: 1; justify-content: center; }
}
