/* ============================================================
   Scacchi "Metodo Piscopo" — foglio unico consolidato.
   Sostituisce gli 11 blocchi <style> stratificati del draft:
   stato FINALE degli override (topnav rimossa, statement band
   gialla, sezioni problem/maestro scure, hero a 2 ritratti,
   countdown stile orologio da torneo). Sistema editoriale
   carta/inchiostro derivato dalla landing AI Team.
   ============================================================ */

:root {
  --paper: #FFFEF9;
  --paper-2: #FAF8F3;
  --ink: #0D1117;
  --ink-2: #3D4450;
  --ink-3: #5A6070;
  --rule: #E5E0D5;
  --rule-2: #DCD6C8;
  --accent: #FFD60A;
  --accent-deep: #7d6300;
  --accent-soft: #FFF8DA;
  --yellow: #FFD60A;
  --yellow-soft: #FFF8DA;
  --muted-2: #8A8F9C;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: 'Sora', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  letter-spacing: -0.005em;
}
main, header, footer, section { position: relative; z-index: 2; }
h1, h2, h3, h4 {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
}
p { max-width: 64ch; }
em { font-style: italic; }
img { max-width: 100%; }

a:focus-visible, button:focus-visible, input:focus-visible,
summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 28px; }

/* Buttons — inchiostro pieno, angoli netti */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 18px 28px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600; font-size: 16px;
  font-family: 'Sora', sans-serif;
  text-decoration: none;
  border: 1px solid var(--ink);
  border-radius: 0;
  cursor: pointer;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background .25s cubic-bezier(.16,1,.3,1), transform .25s cubic-bezier(.16,1,.3,1), color .25s ease;
}
.btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; transform: translateY(-2px); }
.btn-lg { padding: 20px 34px; font-size: 18px; }
.btn-ghost, .btn-dark {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-ghost:hover, .btn-dark:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateY(-2px); }
.btn-arrow { transition: transform .25s ease; }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* Etichette / kicker mono */
.kicker, .eyebrow, .lesson-num, .badge, .maestro-label .role,
.form-group label, .form-note, .price-tag, .stat .lbl {
  font-family: 'Sora', ui-monospace, monospace;
}
.kicker {
  display: inline-block;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 14px;
}

/* Countdown bar — orologio da torneo */
.cd-bar { position: sticky; top: 0; z-index: 90; background: var(--ink); color: var(--paper); border-bottom: 1px solid #000; }
.cd-inner { max-width: 1200px; margin: 0 auto; padding: 15px 28px; display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; }
.cd-label { font-family: 'Sora', ui-monospace, monospace; font-size: 14px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow); }
.cd-timer { display: inline-flex; align-items: center; gap: 13px; }
.cd-clock { display: inline-flex; align-items: center; color: var(--yellow); margin-right: 6px; }
.cd-u {
  display: inline-flex; flex-direction: column; align-items: center; line-height: 1;
  background: rgba(0,0,0,0.38); border: 1px solid rgba(255,254,249,0.14); border-radius: 8px;
  padding: 8px 13px 7px; min-width: 62px;
  box-shadow: inset 0 1px 4px rgba(0,0,0,0.55), inset 0 -1px 0 rgba(255,255,255,0.04);
}
.cd-u b { font-family: 'Newsreader', serif; font-size: 42px; font-weight: 800; font-variant-numeric: tabular-nums; text-shadow: 0 0 14px rgba(255,214,10,0.5); }
.cd-u i { font-family: 'Sora', sans-serif; font-style: normal; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,254,249,0.6); margin-top: 7px; }
.cd-sep { font-family: 'Newsreader', serif; font-size: 34px; opacity: 0.45; align-self: center; color: var(--yellow); }
.cd-cta { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 15px; color: var(--ink); background: var(--yellow); padding: 12px 24px; border-radius: 4px; text-decoration: none; text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; transition: transform .2s ease, filter .2s ease; }
.cd-cta:hover { transform: translateY(-1px); filter: brightness(1.05); }
@media (max-width: 680px) {
  .cd-inner { gap: 12px; padding: 8px 12px; }
  .cd-label { display: none; }
  .cd-clock svg { width: 26px; height: 18px; }
  .cd-u { min-width: 44px; padding: 6px 8px 5px; }
  .cd-u b { font-size: 26px; }
  .cd-u i { font-size: 8.5px; }
  .cd-sep { font-size: 22px; }
  .cd-cta { font-size: 12px; padding: 8px 13px; }
}
@media (max-width: 340px) {
  .cd-clock { display: none; }
  .cd-timer { gap: 9px; }
}

/* HERO */
.hero { position: relative; padding: 84px 0 90px; overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 44px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-inner > * { min-width: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 26px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:.45;transform:scale(1.25);} }
.hero h1 {
  font-size: clamp(40px, 5.4vw, 78px);
  line-height: 0.96;
  letter-spacing: -0.045em;
  margin-bottom: 26px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(180deg, transparent 62%, var(--yellow) 62%);
  padding: 0 4px;
}
.hero-sub {
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--ink-2);
  margin-bottom: 32px;
  max-width: 560px;
  line-height: 1.5;
}
.hero-sub strong { color: var(--ink); font-weight: 600; }
.scacchi-free-hero .hero-sub { margin-bottom: 0; }
.hero-meta {
  display: block;
  margin: 14px 0 0;
  font-family: 'Sora', ui-monospace, monospace;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
  flex-wrap: wrap;
}
.hero-meta span { display: flex; align-items: center; gap: 8px; }
.hero-logistics { margin: 18px 0 16px; color: var(--ink-2); font-size: 15px; }
.hero-signup { max-width: 590px; margin-top: 18px; }
.hero-signup-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.hero-signup > .btn { width: 100%; min-height: 52px; margin-top: 12px; justify-content: center; }
.hero-signup-row input[type="email"] {
  width: 100%; min-height: 54px; padding: 14px 16px;
  border: 1px solid var(--ink); border-radius: 2px; background: var(--paper);
  color: var(--ink); font: 15.5px 'Sora', sans-serif;
}
.hero-signup-row input[type="email"]:focus { outline: none; border-color: var(--accent-deep); box-shadow: 0 0 0 3px var(--accent-soft); }
.hero-signup-row .btn { min-height: 54px; padding: 14px 20px; white-space: nowrap; }
/* 4/9: consenso sopra il bottone, casella 24px in riga tappabile ≥44px, testo 14px scuro. */
.hero-consent { display: flex; align-items: center; gap: 12px; margin-top: 12px; min-height: 44px; padding: 4px 0; color: var(--ink-2); font-size: 14px; line-height: 1.4; cursor: pointer; }
.hero-consent input { flex: 0 0 24px; width: 24px; height: 24px; margin: 0; accent-color: var(--accent-deep); cursor: pointer; }
.consent-hint { margin: 6px 0 0; padding: 8px 12px; border-left: 3px solid #b3261e; background: #fdecea; color: #7a1a14; font-size: 14px; border-radius: 2px; }
.hero-consent a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 2px; }
.hero-signup .form-error { margin-bottom: 10px; }

/* Striscia duo sopra la piega (solo dove il layout impila e il duo grande finisce sotto il modulo) */
.hero-duo-strip { display: none; }
@media (max-width: 960px) {
  .hero-duo-strip { display: flex; align-items: center; gap: 12px; margin: 14px 0 4px; }
  .hds-faces { display: flex; flex-shrink: 0; }
  .hds-faces img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: center top; border: 2px solid var(--paper, #fff); box-shadow: 0 0 0 1px var(--ink); }
  .hds-faces img + img { margin-left: -12px; }
  .hero-duo-strip p { margin: 0; font-size: 13.5px; line-height: 1.4; color: var(--ink-2); }
  .hero-duo-strip strong { color: var(--ink); }
}
@media (max-width: 600px) {
  /* Il modulo in cima deve stare sopra la piega e sopra il banner cookie (4/9). */
  .hero { padding-top: 26px; }
  .hero-duo-strip { margin: 10px 0 2px; gap: 10px; }
  .hds-faces img { width: 44px; height: 44px; }
  .hero-duo-strip p { font-size: 12.5px; line-height: 1.35; }
  .hero-sub { margin-top: 12px; }
  .hero-logistics { margin: 12px 0 10px; }
}
.hero-proof { margin: 14px 0 0; font-size: 14px; color: var(--ink-2); }
.hero-proof strong { color: var(--ink); }

/* Modulo breve a metà pagina (sezione Maestro) */
.mid-signup { max-width: 590px; margin: 56px auto 0; padding: 22px 20px 16px; border: 1px solid var(--line, #e6e0d3); border-radius: 10px; background: var(--paper-2, #faf7f0); }
.mid-signup-title { margin: 0 0 4px; font-family: 'Newsreader', serif; font-size: 22px; font-weight: 700; color: var(--ink); }
/* Dentro la sezione Maestro (fondo scuro) `.maestro p` schiarisce il testo: il
   titolo del modulo, che sta su card chiara, deve restare scuro. */
.maestro .mid-signup-title { color: var(--ink); }
.maestro .mid-signup .hero-consent { color: var(--ink-2); }
.maestro .mid-signup .hero-consent a { color: var(--accent-deep); }
.mid-signup .hero-signup { margin-top: 10px; max-width: none; }

/* Consenso mancante: la riga si accende e si porta sotto gli occhi (3/9 — era
   il 76% degli invii bloccati). Vale per il modulo breve e per quello lungo. */
.hero-consent.consenso-mancante,
.checkbox.consenso-mancante {
  border: 2px solid #b3261e;
  background: #fdecea;
  border-radius: 8px;
  padding: 10px 12px;
  animation: consenso-pulse 1.1s ease-out 1;
}
.hero-consent.consenso-mancante input,
.checkbox.consenso-mancante input { outline: 2px solid #b3261e; outline-offset: 3px; }
@keyframes consenso-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(179, 38, 30, 0); }
  30%      { box-shadow: 0 0 0 7px rgba(179, 38, 30, 0.20); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-consent.consenso-mancante, .checkbox.consenso-mancante { animation: none; }
}
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px;
  background: var(--accent);
  border-radius: 50%;
  color: var(--ink);
  font-size: 11px; font-weight: 700;
}

/* Hero: due ritratti con didascalia */
.hero-people { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.hero-people .hp { margin: 0; min-width: 0; }
.hero-people .hp picture { display: block; width: 100%; aspect-ratio: 4/5; }
.hero-people .hp img {
  width: 100%; height: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center top; display: block;
  border: 1px solid var(--ink); border-radius: 3px;
  box-shadow: 8px 8px 0 -1px var(--yellow), 8px 8px 0 0 var(--ink);
}
.hero-people .hp figcaption { margin-top: 16px; font-family: 'Sora', sans-serif; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.hero-people .hp figcaption strong { display: block; font-family: 'Newsreader', serif; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 4px; }

/* Sezioni */
section { padding: 100px 0; position: relative; border-top: 1px solid var(--rule); }
.hero { border-top: 0; }
.section-head { text-align: center; margin-bottom: 60px; }
.section-head h2 {
  font-size: clamp(34px, 5vw, 66px);
  line-height: 0.99;
  margin-bottom: 20px;
}
.section-head h2 em { font-style: italic; color: var(--accent-deep); font-weight: 600; }
.section-head p { color: var(--ink-2); font-size: 19px; max-width: 640px; margin: 0 auto; line-height: 1.55; }

.ornament { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 0 auto 22px; max-width: 190px; }
.ornament::before, .ornament::after { content: ""; height: 1px; flex: 1; background: var(--rule-2); }
.ornament span { color: var(--ink); font-family: 'Newsreader', serif; font-size: 20px; }

/* Problem — sezione scura */
.problem { background: var(--ink); border-top-color: rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); }
.problem .kicker { color: var(--yellow); }
.problem .section-head h2 { color: var(--paper); }
.problem .section-head h2 em { color: var(--yellow); }
.problem .section-head p { color: rgba(242,246,238,0.78); }
.problem .ornament span { color: var(--paper); }
.problem .ornament::before, .problem .ornament::after { background: rgba(255,255,255,0.18); }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 56px; }
.pain-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 34px 30px;
  border-radius: 3px;
  transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.pain-card:hover { border-color: var(--yellow); transform: translateY(-4px); box-shadow: 8px 8px 0 -1px var(--yellow), 8px 8px 0 0 #000; }
.pain-card .icon {
  width: 50px; height: 50px;
  background: rgba(255,214,10,0.14);
  border: 1px solid var(--yellow);
  color: var(--yellow);
  border-radius: 2px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-family: 'Newsreader', serif;
  font-size: 26px; font-weight: 800;
}
.pain-card h3 { font-size: 24px; font-weight: 700; line-height: 1.08; margin-bottom: 12px; color: var(--paper); letter-spacing: -0.02em; }
.pain-card p { font-size: 15.5px; color: rgba(242,246,238,0.7); line-height: 1.55; }
.problem .callout { background: rgba(255,255,255,0.03); border-top: 1px solid rgba(255,255,255,0.22); border-bottom: 1px solid rgba(255,255,255,0.22); }
.problem .callout p { color: var(--paper); }
.problem .callout p em { background: var(--yellow); color: var(--ink); padding: 0 6px; border-radius: 2px; -webkit-box-decoration-break: clone; box-decoration-break: clone; font-weight: 700; font-style: italic; }
.problem .btn, .problem .btn-dark { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.problem .btn:hover, .problem .btn-dark:hover { filter: brightness(1.06); transform: translateY(-2px); background: var(--yellow); color: var(--ink); }

/* Callout */
.callout {
  text-align: center;
  padding: 56px 40px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.callout p {
  font-family: 'Newsreader', serif;
  font-size: clamp(26px, 3.2vw, 46px);
  font-style: italic;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 600;
  max-width: 900px;
  margin: 0 auto;
}

/* Lessons */
.lessons { background: var(--paper); }
.lesson { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; padding: 64px 0; border-bottom: 1px solid var(--rule); }
.lesson:last-child { border-bottom: none; }
.lesson-visual {
  position: relative; aspect-ratio: 16/10; display: block;
  background: linear-gradient(135deg, #1A1F2E 0%, var(--ink) 55%, #10141c 100%);
  border: 1px solid var(--ink);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 12px 12px 0 -1px var(--yellow), 12px 12px 0 0 var(--ink);
  transition: transform .3s ease;
  text-decoration: none;
}
.lesson-visual:hover { transform: translateY(-3px); }
/* scacchiera in filigrana */
.lesson-visual::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(45deg, rgba(255,254,249,0.045) 25%, transparent 25%, transparent 75%, rgba(255,254,249,0.045) 75%),
    linear-gradient(45deg, rgba(255,254,249,0.045) 25%, transparent 25%, transparent 75%, rgba(255,254,249,0.045) 75%);
  background-size: 72px 72px;
  background-position: 0 0, 36px 36px;
}
.lesson-visual .piece {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -52%);
  font-family: 'Newsreader', serif;
  font-size: clamp(90px, 10vw, 150px);
  color: var(--yellow);
  text-shadow: 0 10px 40px rgba(0,0,0,0.6);
  line-height: 1;
}
.lesson-visual .cover-title {
  position: absolute; left: 22px; right: 22px; bottom: 20px;
  font-family: 'Newsreader', serif; font-weight: 800;
  font-size: clamp(17px, 1.8vw, 23px); line-height: 1.05; letter-spacing: -0.02em;
  color: var(--paper);
}
.lesson-visual .badge {
  position: absolute; top: 18px; left: 18px;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--ink);
  padding: 7px 12px; font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: 2px; z-index: 3;
}
.lesson-num { display: inline-block; font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-deep); font-weight: 500; margin-bottom: 14px; }
.lesson h3 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.0; letter-spacing: -0.03em; margin-bottom: 20px; }
.lesson p { color: var(--ink-2); font-size: 17px; margin-bottom: 24px; line-height: 1.6; }
.lesson p em { color: var(--ink); }
.lesson ul { list-style: none; }
.lesson ul li { padding: 10px 0 10px 34px; position: relative; font-size: 16px; color: var(--ink); line-height: 1.55; border-bottom: 1px solid var(--rule); }
.lesson ul li:last-child { border-bottom: 0; }
.lesson ul li::before { position: absolute; left: 0; top: 8px; color: var(--accent-deep); font-size: 20px; font-family: 'Newsreader', serif; line-height: 1; }
.lesson ul li em { color: var(--accent-deep); font-weight: 500; }
.lesson-1 ul li::before { content: "\265F"; }
.lesson-2 ul li::before { content: "\2657"; }
.lesson-3 ul li::before { content: "\265C"; }
.lesson-4 ul li::before { content: "\265B"; }
.lesson.reverse { grid-template-columns: 1.15fr 1fr; }
.lesson.reverse .lesson-text { order: -1; }

/* Mid CTA */
.mid-cta { padding: 56px 0; text-align: center; border-top: 0; }
.mid-cta p { color: var(--ink); font-family: 'Newsreader', serif; font-style: italic; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; margin: 0 auto 22px; max-width: 620px; }

/* Who */
.who { background: var(--paper-2); }
.who-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.who h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 24px; }
.who h2 em { font-style: italic; color: var(--accent-deep); font-weight: 600; }
.who .lead-p { color: var(--ink-3); font-size: 17px; line-height: 1.7; }
.who-list { list-style: none; }
.who-list li {
  padding: 20px 0 20px 50px; position: relative;
  border-bottom: 1px solid var(--rule-2);
  font-size: 17px; color: var(--ink); line-height: 1.5; font-weight: 500;
}
.who-list li:last-child { border-bottom: none; }
.who-list li::before { position: absolute; left: 4px; top: 15px; color: var(--accent-deep); font-family: 'Newsreader', serif; font-size: 30px; line-height: 1; }
.who-list li:nth-child(1)::before { content: "\2654"; }
.who-list li:nth-child(2)::before { content: "\2655"; }
.who-list li:nth-child(3)::before { content: "\2656"; }
.who-list li:nth-child(4)::before { content: "\2657"; }
.who-list li:nth-child(5)::before { content: "\2658"; }

/* Caso reale — prova trasparente, senza promessa di risultato */
.case-study {
  background: var(--yellow); color: var(--ink); text-align: center;
  padding: clamp(64px, 8vw, 105px) 0;
  border-top: 1px solid rgba(13,17,23,0.14); border-bottom: 1px solid rgba(13,17,23,0.14);
  overflow: hidden;
}
.case-study .kicker { color: rgba(13,17,23,.68); }
.case-study h2 { font-size: clamp(34px, 5.2vw, 66px); line-height: 1; letter-spacing: -.04em; margin: 16px auto 24px; }
.case-study p { max-width: 760px; margin: 0 auto; color: var(--ink-2); font-size: clamp(17px, 2vw, 21px); line-height: 1.65; }
.case-study strong { color: var(--ink); }
.audience-note { max-width: 820px; margin: 42px auto 0; padding: 20px 24px; background: var(--paper); border: 1px solid var(--rule); color: var(--ink-2); line-height: 1.6; }

/* La pagina di vendita usa ancora la fascia manifesto. */
.statement-band {
  background: var(--yellow); color: var(--ink); text-align: center;
  padding: clamp(74px, 11vw, 150px) 0;
  border-top: 1px solid rgba(13,17,23,0.14); border-bottom: 1px solid rgba(13,17,23,0.14);
  overflow: hidden;
}
.statement-band .big-statement { font-family: 'Newsreader', serif; font-weight: 800; font-size: clamp(40px, 7vw, 92px); line-height: 0.95; letter-spacing: -0.045em; max-width: none; margin: 0 auto; }
.statement-band .big-statement em { font-style: italic; }
.statement-band .statement-attr { font-family: 'Sora', ui-monospace, monospace; font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(13,17,23,0.6); max-width: none; margin: 30px auto 0; }

/* Maestro — sezione scura */
.maestro { background: var(--ink); border-top-color: rgba(255,255,255,0.08); }
.maestro-inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 72px; align-items: center; }
.maestro-portrait {
  aspect-ratio: 3/4;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 3px;
  position: relative; overflow: hidden;
  box-shadow: 16px 16px 0 -1px var(--yellow), 16px 16px 0 0 #000;
  background: var(--paper-2);
}
.maestro-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.maestro-portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(13,17,23,0.8)); z-index: 1; }
.maestro-label {
  position: absolute; bottom: 20px; left: 20px; right: 20px;
  background: rgba(13,17,23,0.92);
  padding: 16px 20px; border: 1px solid rgba(255,255,255,0.16);
  z-index: 2; border-radius: 4px;
}
.maestro-label .name { font-family: 'Newsreader', serif; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; color: var(--paper); }
.maestro-label .role { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow); margin-top: 6px; font-weight: 500; }
.maestro .kicker { color: var(--yellow); }
.maestro h2 { font-size: clamp(34px, 4.4vw, 60px); line-height: 0.99; margin-bottom: 22px; color: var(--paper); }
.maestro h2 em { font-style: italic; color: var(--yellow); font-weight: 600; }
.maestro p { color: rgba(242,246,238,0.8); margin-bottom: 20px; font-size: 17px; line-height: 1.65; }
.maestro p strong { color: var(--paper); font-weight: 600; }
.maestro p em { color: var(--paper); }
.maestro .ornament span { color: var(--paper); }
.maestro .ornament::before, .maestro .ornament::after { background: rgba(255,255,255,0.18); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 38px; padding-top: 34px; border-top: 1px solid rgba(255,255,255,0.12); }
.stat .num { font-family: 'Newsreader', serif; font-size: clamp(38px, 4vw, 52px); font-weight: 800; letter-spacing: -0.03em; color: var(--yellow); line-height: 1; margin-bottom: 8px; }
.stat .lbl { font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(242,246,238,0.6); font-weight: 500; }
.maestro .btn { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.maestro .btn:hover { filter: brightness(1.06); transform: translateY(-2px); background: var(--yellow); color: var(--ink); }

/* Final CTA / form */
.final-cta { background: var(--paper-2); }
.form-card {
  max-width: 580px;
  display: block; margin-left: auto; margin-right: auto;
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 48px 44px;
  border-radius: 3px;
  box-shadow: 16px 16px 0 -1px var(--yellow), 16px 16px 0 0 var(--ink);
  position: relative;
}
.form-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--yellow); }
.form-card h3 { font-family: 'Newsreader', serif; font-size: clamp(28px, 3vw, 40px); margin-bottom: 10px; text-align: center; font-weight: 800; letter-spacing: -0.03em; }
.form-card p.sub { color: var(--ink-3); text-align: center; margin: 0 auto 26px; font-size: 15.5px; }
.form-proof {
  display: flex; justify-content: center; gap: 18px; flex-wrap: wrap;
  margin: 0 auto 26px; padding-bottom: 22px; border-bottom: 1px solid var(--rule);
  font-family: 'Sora', ui-monospace, monospace; font-size: 11.5px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3);
}
.form-proof b { color: var(--ink); font-weight: 700; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 9px; }
.form-group input[type="text"], .form-group input[type="email"] {
  width: 100%; padding: 15px 16px;
  background: var(--paper-2);
  border: 1px solid var(--rule-2);
  color: var(--ink);
  font-family: 'Sora', sans-serif; font-size: 15.5px;
  border-radius: 2px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-group input::placeholder { color: var(--muted-2); }
.form-group input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.checkbox { display: flex; gap: 12px; align-items: center; margin: 20px 0 8px; min-height: 44px; font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.checkbox input { flex: 0 0 24px; width: 24px; height: 24px; margin: 0; accent-color: var(--accent-deep); cursor: pointer; }
.checkbox label { color: var(--ink-2); cursor: pointer; }
.form-card .consent-hint { margin-bottom: 14px; }
.checkbox a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.form-card .btn { width: 100%; }
.form-note { text-align: center; margin-top: 20px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.form-error { display: none; margin: 0 0 16px; padding: 12px 14px; border: 1px solid #b3261e; background: #fdecea; color: #7a1a14; font-size: 14px; border-radius: 2px; }
.form-error.show { display: block; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* FAQ */
.faq { background: var(--paper); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--rule); padding: 24px 0; }
.faq-item summary {
  cursor: pointer; font-family: 'Newsreader', serif;
  font-size: clamp(21px, 2.2vw, 27px); font-weight: 700; letter-spacing: -0.02em;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  color: var(--ink); transition: color .2s ease;
}
.faq-item summary:hover { color: var(--accent-deep); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent-deep); font-size: 30px; font-family: 'Sora', sans-serif; font-weight: 300; transition: transform .3s ease; flex-shrink: 0; line-height: 1; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin-top: 14px; color: var(--ink-2); font-size: 16px; line-height: 1.65; max-width: none; }

/* End banner */
.end-banner { padding: 100px 0; text-align: center; background: var(--paper-2); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.end-banner h2 { font-size: clamp(38px, 5.4vw, 72px); line-height: 0.97; letter-spacing: -0.04em; margin-bottom: 20px; }
.end-banner h2 em { font-style: italic; color: var(--accent-deep); font-weight: 600; }
.end-banner p { color: var(--ink-2); margin: 0 auto 32px; font-size: 18px; max-width: 540px; }

/* Footer */
footer { background: var(--ink); padding: 50px 0 36px; border-top: 0; text-align: center; }
footer .brand { display: flex; justify-content: center; margin-bottom: 16px; color: #fff; font-family: 'Newsreader', serif; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
footer p { color: rgba(255,254,249,0.76); font-size: 13.5px; margin: 6px auto; max-width: none; }
footer a { color: var(--yellow); text-decoration: none; margin: 0 6px; }
footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
footer .footer-copyright { margin-top: 18px; }
footer .footer-address { margin-top: 6px; font-size: 11px; }

/* Sticky CTA mobile — visibile SOLO su mobile, nascosta quando il form è in vista */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,254,249,0.96);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--ink);
}
.mobile-cta .btn { width: 100%; }
.mobile-cta.hidden-by-form { display: none !important; }
@media (max-width: 680px) { .mobile-cta { display: block; } }

/* ===== Pagina GRAZIE ===== */
.grazie-hero { padding: 90px 0 70px; text-align: center; }
.grazie-hero .big-piece { font-family: 'Newsreader', serif; font-size: 64px; color: var(--accent-deep); margin-bottom: 18px; line-height: 1; }
.grazie-hero h1 { font-size: clamp(36px, 5vw, 64px); margin-bottom: 18px; }
.grazie-hero h1 em { font-style: italic; color: var(--accent-deep); }
.grazie-hero p { margin: 0 auto 14px; color: var(--ink-2); font-size: 18px; max-width: 560px; }
.grazie-steps { max-width: 620px; margin: 40px auto 0; text-align: left; }
.grazie-steps li { list-style: none; padding: 18px 0 18px 52px; position: relative; border-bottom: 1px solid var(--rule); font-size: 16.5px; color: var(--ink); line-height: 1.55; }
.grazie-steps li:last-child { border-bottom: 0; }
.grazie-steps li .n {
  position: absolute; left: 0; top: 14px;
  width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--yellow); color: var(--ink); font-family: 'Newsreader', serif; font-weight: 800; font-size: 18px;
  border: 1px solid var(--ink); border-radius: 2px;
}

/* ===== Pagina VENDITA ===== */
.price-block { max-width: 640px; margin: 0 auto; }
.price-card {
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 3px;
  padding: 44px 40px;
  text-align: center;
  box-shadow: 16px 16px 0 -1px var(--yellow), 16px 16px 0 0 var(--ink);
  position: relative;
}
.price-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--yellow); }
.price-old { font-family: 'Sora', ui-monospace, monospace; font-size: 20px; color: var(--ink-3); text-decoration: line-through; letter-spacing: 0.04em; }
.price-now { font-family: 'Newsreader', serif; font-size: clamp(56px, 7vw, 84px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin: 8px 0 4px; }
.price-tag { display: inline-block; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-deep); font-weight: 600; margin-bottom: 22px; }
.price-card .btn { width: 100%; margin-top: 10px; }
.price-soon {
  display: block; margin: 10px 0; padding: 16px;
  background: var(--paper-2); color: var(--ink-3);
  border: 1px dashed var(--rule-2); border-radius: 2px;
  font-size: 15px; text-align: center;
}
.price-note { margin-top: 18px; font-size: 13px; color: var(--ink-3); text-align: center; }
.program-list { max-width: 760px; margin: 0 auto; list-style: none; counter-reset: mod; }
.program-list li { padding: 22px 0 22px 64px; position: relative; border-bottom: 1px solid var(--rule); font-size: 16.5px; line-height: 1.55; color: var(--ink); counter-increment: mod; }
.program-list li:last-child { border-bottom: 0; }
.program-list li::before {
  content: counter(mod, decimal-leading-zero);
  position: absolute; left: 0; top: 18px;
  font-family: 'Newsreader', serif; font-weight: 800; font-size: 26px; color: var(--accent-deep);
}
.program-list li strong { display: block; font-family: 'Newsreader', serif; font-size: 21px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 4px; }
.guarantee {
  max-width: 640px; margin: 0 auto; text-align: center;
  border: 1px solid var(--ink); border-radius: 3px; padding: 40px 34px;
  background: var(--paper);
}
.guarantee .big { font-family: 'Newsreader', serif; font-size: 30px; font-weight: 800; margin-bottom: 12px; }
.guarantee p { margin: 0 auto; color: var(--ink-2); font-size: 16px; }

/* Responsive */
@media (max-width: 960px) {
  body { font-size: 16.5px; }
  .hero-inner, .lesson, .lesson.reverse, .who-grid, .maestro-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .lesson.reverse .lesson-text { order: 0; }
  .pain-grid { grid-template-columns: 1fr; }
  .hero { padding: 54px 0 54px; }
  section { padding: 66px 0; }
  .form-card { padding: 38px 24px; box-shadow: 10px 10px 0 -1px var(--yellow), 10px 10px 0 0 var(--ink); }
  .hero h1 { font-size: clamp(38px, 8.5vw, 58px); }
  .hero-sub { font-size: 16.5px; }
  .hero-meta { gap: 12px 18px; }
  .hero-people { max-width: 480px; margin: 0 auto; }
  .btn-lg { padding: 16px 24px; font-size: 15.5px; }
  .container, .container-narrow { padding: 0 18px; }
  .callout { padding: 40px 20px; }
  .section-head { margin-bottom: 44px; }
  .lesson-visual, .maestro-portrait { box-shadow: 10px 10px 0 -1px var(--yellow), 10px 10px 0 0 var(--ink); }
  .pain-card { padding: 26px 22px; }
  .lesson { padding: 46px 0; }
  .who-list li { padding: 18px 0 18px 44px; font-size: 16px; }
  .who-list li::before { font-size: 26px; }
  .stat .num { font-size: 40px; }
  .end-banner { padding: 72px 0; }
  .statement-band .big-statement { font-size: clamp(30px, 9vw, 46px); }
}
@media (max-width: 400px) {
  .container, .container-narrow { padding: 0 15px; }
  .form-card { padding: 30px 18px; }
  .pain-card { padding: 22px 18px; }
  .callout { padding: 34px 16px; }
  .hero-people { gap: 14px; }
  .hero-people .hp figcaption { font-size: 12px; }
  .hero-people .hp figcaption strong { font-size: 16px; }
}

@media (max-width: 600px) {
  .hero-signup-row { grid-template-columns: 1fr; }
  .hero-signup-row .btn { width: 100%; }
  .hero-consent { font-size: 11px; }
}

/* ===== v3: sezioni da best-practice competitor (27/8 sera) ===== */
.steps-strip { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; max-width:860px; margin:34px auto 0; }
.step-box { background:var(--paper); border:1px solid var(--rule); border-radius:3px; padding:20px 18px; text-align:center; }
.step-box .n { display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px; background:var(--yellow); color:var(--ink); border:1px solid var(--ink); border-radius:2px; font-family:'Newsreader',serif; font-weight:800; font-size:20px; margin-bottom:10px; }
.step-box b { display:block; font-family:'Newsreader',serif; font-size:19px; margin-bottom:6px; }
.step-box p { font-size:13.5px; color:var(--ink-3); max-width:none; }
@media (max-width:680px){ .steps-strip { grid-template-columns:1fr; } }

.pain-questions { max-width:760px; margin:0 auto; list-style:none; }
.pain-questions li { padding:16px 0 16px 44px; position:relative; border-bottom:1px solid var(--rule); font-family:'Newsreader',serif; font-size:clamp(19px,2vw,24px); font-weight:700; line-height:1.25; }
.pain-questions li:last-child { border-bottom:0; }
.pain-questions li::before { content:"?"; position:absolute; left:0; top:14px; width:30px; height:30px; display:inline-flex; align-items:center; justify-content:center; background:var(--yellow); color:var(--ink); border:1px solid var(--ink); border-radius:2px; font-family:'Sora',sans-serif; font-weight:700; font-size:16px; }
.pain-close { text-align:center; margin-top:30px; font-size:17px; color:var(--ink-2); }

.fit-grid { display:grid; grid-template-columns:1fr 1fr; gap:22px; max-width:900px; margin:0 auto; }
.fit-col { background:var(--paper); border:1px solid var(--rule); border-radius:3px; padding:26px 24px; }
.fit-col.si { border-top:4px solid var(--yellow); }
.fit-col.no { border-top:4px solid var(--ink); }
.fit-col h3 { font-size:22px; margin-bottom:14px; }
.fit-col ul { list-style:none; }
.fit-col li { padding:9px 0 9px 28px; position:relative; font-size:15.5px; color:var(--ink-2); line-height:1.45; }
.fit-col.si li::before { content:"✓"; position:absolute; left:0; color:var(--accent-deep); font-weight:700; }
.fit-col.no li::before { content:"✕"; position:absolute; left:0; color:var(--ink-3); font-weight:700; }
@media (max-width:680px){ .fit-grid { grid-template-columns:1fr; } }

.receive-box { max-width:640px; margin:26px auto 0; background:var(--paper-2); border:1px solid var(--rule); border-radius:3px; padding:24px 26px; text-align:left; }
.receive-box b { font-family:'Newsreader',serif; font-size:19px; display:block; margin-bottom:10px; }
.receive-box ul { list-style:none; }
.receive-box li { padding:7px 0 7px 28px; position:relative; font-size:15px; color:var(--ink-2); }
.receive-box li::before { content:"♟"; position:absolute; left:0; color:var(--accent-deep); }
.cta-guarantee { text-align:center; font-size:13px; color:var(--ink-3); margin-top:10px; }

/* Anchor #iscriviti vive sul wrapper del form (fix 30/8: il click "Iscriviti
   gratis" atterrava sopra il form): margine di scroll per la cd-bar sticky. */
#iscriviti { scroll-margin-top: 84px; }

/* Iscrizioni chiuse (dal 28/9): il messaggio prende il posto del modulo. */
.iscrizioni-chiuse { max-width: 590px; margin: 24px auto 0; padding: 18px 20px; border: 1px solid var(--ink); border-left: 6px solid var(--yellow); background: var(--accent-soft); color: var(--ink); font-size: 17px; font-weight: 600; line-height: 1.5; text-align: left; }

/* Mobile: riserva nel footer l'altezza REALE della CTA. Il valore viene
   aggiornato dalla landing anche con testo ingrandito e safe area iPhone. */
@media (max-width: 680px) {
  footer { padding-bottom: calc(24px + var(--mobile-cta-height, 96px)); }
}

/* Email mancante (9/9): il campo si accende e prende il cursore. */
.js-reg-form input.campo-mancante { border: 2px solid #b3261e !important; background: #fdecea; outline: none; }
