/* ============================================================================
   Guida gratuita alla Direct Surrender, ricostruita con Scrollcraft.
   Tipografia del sito: Cormorant Garamond (voce) e Source Sans 3 (testo).
   Il motore (scrollcraft.css) non si tocca.
   ========================================================================== */

:root {
  --navy: #0d1117;
  --deep: #080b10;
  --bone: #efeadf;
  --slate: #a3abb9;
  --gold: #d4af37;

  --f-d: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --f-t: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;

  --sc-canvas: var(--navy);
  --sc-surface: #131a26;
  --sc-ink: var(--bone);
  --sc-ink-soft: var(--slate);
  --sc-accent: var(--gold);
  --sc-accent-ink: #0d1117;
  --sc-font-display: var(--f-d);
  --sc-font-text: var(--f-t);
  --sc-gutter: clamp(1.25rem, 5.5vw, 5.5rem);

  --gold-bg: #d4af37;
  --go-ink: #0d1117;
  --ui-card: #151c2e;
  --c-bg: #f1ece0;
  --c-ink: #1c1a14;
  --c-soft: #5a5242;
  --c-gold: #7a5c00;
  --c-err: #a3361f;
  --paper: var(--c-bg);
  --paper-ink: var(--c-ink);
  --paper-soft: var(--c-soft);
  --gold-paper: var(--c-gold);

  --hair: color-mix(in oklab, var(--bone) 16%, transparent);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

html { background: var(--navy); color-scheme: dark; scroll-behavior: auto; }
html[data-theme="light"] {
  color-scheme: light;
  --navy: #f2eee8; --deep: #e8e2d6; --bone: #1c1a14; --slate: #5a5242; --gold: #8a6a0b;
  --ui-card: #ffffff;
  --c-bg: #0d1117; --c-ink: #efeadf; --c-soft: #a3abb9; --c-gold: #d4af37; --c-err: #f0a28d;
}
body {
  margin: 0; background: var(--navy); color: var(--bone);
  font: 400 clamp(1.05rem, 1rem + 0.25vw, 1.2rem)/1.65 var(--f-t);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
::selection { background: var(--gold); color: #0d1117; }
h1, h2, p, ol, ul, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip {
  position: fixed; left: 1rem; top: -4rem; z-index: 200; background: var(--gold); color: #0d1117;
  padding: 0.6rem 1rem; border-radius: 2px; font: 600 0.9rem var(--f-t); text-decoration: none;
}
.skip:focus-visible { top: 1rem; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ------------------------------------------------------------------ marchio -- */
.mark {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: 1.05rem var(--sc-gutter);
  font: 600 0.74rem/1 var(--f-t); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--mk-ink, var(--bone)); pointer-events: none;
  transition: color 160ms var(--ease);
}
.mark a { pointer-events: auto; text-decoration: none; }
.mark__name span { color: var(--mk-soft, var(--slate)); font-weight: 500; }
.mark__go {
  color: var(--mk-acc, var(--gold));
  text-decoration: underline; text-underline-offset: 0.45em; text-decoration-thickness: 1px;
  transition: opacity 200ms var(--ease), color 160ms var(--ease);
}
.mark__go[data-hidden="true"] { opacity: 0; pointer-events: none; visibility: hidden; }
.mark__go:hover { text-decoration-thickness: 2px; }
html[data-top="paper"] { --mk-ink: var(--paper-ink); --mk-soft: var(--paper-soft); --mk-acc: var(--gold-paper); }
@media (max-width: 560px) { .mark__name span { display: none; } }

/* ------------------------------------------------------------------- form -- */
.lead__s {
  font: 500 clamp(1.4rem, 1.1rem + 1.2vw, 2rem)/1.5 var(--f-d);
  max-width: 30rem;
}
.cl { display: flex; align-items: baseline; gap: 0.9rem; margin: 0 0 0.5rem; }
.cl > .fld { flex: 1; min-width: 0; }
.cl .lbl { flex: 0 0 5.6rem; }
.fld { display: inline-block; vertical-align: baseline; margin-inline: 0.1em; }
.fld input {
  width: 100%; max-width: 100%; box-sizing: border-box;
  padding: 0.02em 0.1em 0.04em; border: 0; border-bottom: 2px solid var(--gold); border-radius: 0;
  background: transparent; color: var(--gold); font: inherit; font-style: italic; font-weight: 600; letter-spacing: 0;
  min-height: 1.6em; caret-color: var(--bone);
  transition: background-color 140ms var(--ease), border-color 140ms var(--ease);
}
.fld input::placeholder { color: var(--slate); opacity: 0.6; font-weight: 500; }
.fld input:hover { background: color-mix(in oklab, var(--gold) 8%, transparent); }
.fld input:focus-visible { outline: none; background: color-mix(in oklab, var(--gold) 14%, transparent); border-bottom-color: var(--bone); }
.fld input[aria-invalid="true"] { border-bottom-color: #e8826a; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.lead__row { margin-top: 0.8rem; }
.go {
  display: inline-flex; align-items: center; gap: 0.7em; min-height: 3.2rem; box-sizing: border-box;
  padding: 0.9rem 1.7rem; border: 0; border-radius: 2px; cursor: pointer; text-decoration: none;
  background: var(--gold-bg); color: var(--go-ink);
  font: 700 0.9rem/1 var(--f-t); letter-spacing: 0.14em; text-transform: uppercase;
  transition: transform 140ms var(--ease), box-shadow 140ms var(--ease), background-color 140ms var(--ease);
  box-shadow: 0 6px 14px -8px rgba(0, 0, 0, 0.7);
}
.go:active { transform: scale(0.97); }
.go:disabled { opacity: 0.6; cursor: progress; }
@media (hover: hover) and (pointer: fine) {
  .go:hover { transform: translateY(-2px); box-shadow: 0 10px 18px -8px rgba(0, 0, 0, 0.75); background: #e1bf4c; }
  .go:active { transform: scale(0.97); }
}
.lead__assist {
  margin-top: 0.9rem; max-width: 46ch;
  font: italic 500 clamp(1.1rem, 1rem + 0.35vw, 1.3rem)/1.3 var(--f-d); color: var(--bone);
}
.lead__fine { margin-top: 0.4rem; font: 400 0.76rem/1.55 var(--f-t); letter-spacing: 0.01em; color: var(--slate); max-width: 46ch; }
.lead__fine a { text-underline-offset: 0.2em; }
.lead__msg { min-height: 1.4em; margin-top: 0.6rem; font: 600 0.85rem/1.4 var(--f-t); color: #f0a28d; }

.done__h { font: 600 clamp(2.2rem, 1.2rem + 3vw, 3.8rem)/1 var(--f-d); }
.done__p { margin-top: 0.7rem; color: var(--slate); max-width: 40ch; }
.done__a { margin-top: 1.4rem; }
.go--solid { font-size: 0.95rem; }
html.is-done .lead { display: none; }

/* ------------------------------------------------------------------- hero (atto a scorrimento) -- */
/* parola che si adatta alla larghezza: la misura site.js */
.fit {
  display: inline-block; vertical-align: top; white-space: nowrap;
  font-family: var(--f-d); font-style: italic; font-weight: 500;
  letter-spacing: -0.03em; line-height: 0.8; color: var(--bone);
}
.hero__big::after { content: "."; color: var(--gold); font-style: normal; }
html.fonts-pending .hero__big { visibility: hidden; }

/* ----------------------------------------------------------------- teoria -- */
.teoria__stage { display: grid; place-items: center start; padding: 0 var(--sc-gutter); background: var(--navy); }
.teoria__title {
  position: absolute; top: 5.4rem; left: var(--sc-gutter);
  font: 600 0.74rem/1.2 var(--f-t); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
}
.wall, .final { grid-area: 1 / 1; }
.wall { width: min(100%, 64ch); will-change: opacity; }
.wall__p { font: 400 clamp(1.02rem, 0.92rem + 0.55vw, 1.4rem)/1.6 var(--f-t); color: var(--slate); text-wrap: pretty; }
.ph {
  --s: 0;
  background-image: linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat; background-position: 0 62%;
  background-size: calc(var(--s) * 100%) 2px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  opacity: calc(1 - 0.8 * var(--s));
}
.ph.keep { color: var(--bone); font-weight: 600; opacity: 1; background-image: none; }
.rule {
  position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--gold);
  transform: translate3d(0, -40px, 0); opacity: 0; will-change: transform;
}
.final { width: 100%; }
.truths li {
  font: 500 clamp(1.9rem, min(1.2rem + 4vw, 7.4vh), 4.8rem)/1.08 var(--f-d); letter-spacing: -0.012em;
  opacity: 0; padding-block: 0.06em;
}
.truths li em { font-style: italic; font-weight: 600; color: var(--gold); }
.truths li:nth-child(2) { margin-left: clamp(0rem, 3vw, 3rem); }
.truths li:nth-child(3) { margin-left: clamp(0rem, 6vw, 6rem); }
.truths li:nth-child(4) { margin-left: clamp(0rem, 9vw, 9rem); }
.truths li:nth-child(5) { margin-left: clamp(0rem, 12vw, 12rem); }
.final__cap { margin-top: clamp(1.2rem, 2.6vh, 1.8rem); font: italic 500 clamp(1.2rem, 1.05rem + 0.6vw, 1.7rem)/1.3 var(--f-d); color: var(--slate); opacity: 0; max-width: 34ch; }

/* -------------------------------------------------------------------- chi -- */
.proof { padding: clamp(5rem, 11vw, 11rem) var(--sc-gutter) clamp(4rem, 8vw, 8rem); background: var(--navy); }
.proof__wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 7rem); align-items: start; }
.proof__ph img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 24%; }
.proof__h { font: 500 clamp(2rem, 1.2rem + 3vw, 4rem)/1.08 var(--f-d); letter-spacing: -0.012em; text-wrap: balance; max-width: 18ch; }
.gains { margin-top: clamp(1.2rem, 2.4vw, 2rem); display: grid; gap: 0.55rem; max-width: 40ch; }
.gains li { position: relative; padding-left: 1.5rem; }
.gains li::before { content: ""; position: absolute; left: 0; top: 0.78em; width: 0.8rem; height: 2px; background: var(--gold); }
.proof__p { margin-top: clamp(1.2rem, 2.4vw, 2rem); max-width: 40ch; font: italic 500 clamp(1.3rem, 1.1rem + 0.8vw, 1.8rem)/1.3 var(--f-d); }
.proof__min { margin-top: clamp(1.6rem, 3vw, 2.4rem); display: flex; align-items: baseline; gap: 0.9rem; }
.proof__min b { font: 500 clamp(3.4rem, 2rem + 5vw, 6.4rem)/0.8 var(--f-d); color: var(--gold); font-variant-numeric: lining-nums; }
.proof__min span { font: 400 0.95rem/1.3 var(--f-t); color: var(--slate); max-width: 18ch; }

.voices { margin-top: clamp(4rem, 8vw, 8rem); border-top: 1px solid var(--hair); }
.voice { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: 0.6rem clamp(1.4rem, 4vw, 4rem); padding-block: clamp(1.4rem, 3vw, 2.4rem); border-bottom: 1px solid var(--hair); }
.voice footer { grid-column: 1; grid-row: 1; font: 600 0.74rem/1.4 var(--f-t); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); padding-top: 0.5rem; }
.voice p { grid-column: 2; grid-row: 1; font: italic 500 clamp(1.4rem, 1.05rem + 1.4vw, 2.3rem)/1.22 var(--f-d); max-width: 36ch; text-wrap: pretty; }
.proof__more { margin-top: 1.6rem; }
.lnk { text-underline-offset: 0.22em; text-decoration-thickness: 1px; transition: text-decoration-thickness 120ms var(--ease), color 120ms var(--ease); }
.lnk:hover { text-decoration-thickness: 2px; color: var(--gold); }

/* ------------------------------------------------------------------ video -- */
.video { padding: clamp(3rem, 6vw, 6rem) var(--sc-gutter) clamp(5rem, 10vw, 10rem); background: var(--navy); }
.video__wrap { max-width: 66rem; }
.video__h { font: 500 clamp(2.4rem, 1.3rem + 4.4vw, 5.4rem)/1 var(--f-d); letter-spacing: -0.015em; }
.video__p { margin-top: 1.1rem; max-width: 46ch; color: var(--slate); }
.video__frame { position: relative; aspect-ratio: 16 / 9; margin-top: clamp(1.4rem, 3vw, 2.4rem); background: var(--deep); border: 1px solid var(--hair); }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play {
  position: absolute; inset: 0; width: 100%; display: flex; align-items: center; justify-content: center; gap: 1rem;
  background: transparent; border: 0; color: var(--bone); cursor: pointer;
  transition: background-color 160ms var(--ease);
}
.video__tri { width: 0; height: 0; border-style: solid; border-width: 0.8rem 0 0.8rem 1.4rem; border-color: transparent transparent transparent var(--gold); transition: transform 160ms var(--ease); }
.video__lab { font: 700 0.88rem/1 var(--f-t); letter-spacing: 0.16em; text-transform: uppercase; }
@media (hover: hover) and (pointer: fine) {
  .video__play:hover { background: color-mix(in oklab, var(--gold) 7%, transparent); }
  .video__play:hover .video__tri { transform: translateX(4px); }
}
.video__play:active .video__tri { transform: scale(0.94); }
.video__fine { margin-top: 1.2rem; max-width: 58ch; color: var(--slate); font-size: 0.95em; }

/* ----------------------------------------------------------------- chiusura -- */
.close {
  --sc-ink: var(--paper-ink); --sc-ink-soft: var(--paper-soft);
  background: var(--paper); color: var(--paper-ink);
  padding: clamp(4.5rem, 9vw, 9rem) var(--sc-gutter) 0;
}
.close__wrap { display: grid; gap: clamp(2rem, 4vw, 3.2rem); max-width: 46rem; margin-inline: auto; justify-items: start; }
.book { position: relative; width: 15.5rem; max-width: 100%; aspect-ratio: 720 / 1017; container-type: inline-size; background: #0f1622; box-shadow: 0 30px 40px -18px rgba(13, 17, 23, 0.55), 0 2px 0 rgba(255, 255, 255, 0.4) inset; border-radius: 2px; overflow: hidden; transform: rotate(-1.4deg); }
.book__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.book__txt { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 13cqw 12cqw 13cqw; color: #efeadf; }
.book__k { font: 700 3.3cqw/1 var(--f-t); letter-spacing: 0.22em; text-transform: uppercase; color: #d4af37; }
.book__t { font: 600 10.2cqw/1.04 var(--f-d); letter-spacing: -0.01em; margin-top: auto; margin-bottom: 6cqw; padding-inline: 4cqw; text-wrap: balance; }
.book__a { font: 600 3.2cqw/1.5 var(--f-t); letter-spacing: 0.14em; text-transform: uppercase; color: #a3abb9; }
.close__h { font: 500 clamp(2rem, 1.3rem + 2.6vw, 3.6rem)/1.05 var(--f-d); letter-spacing: -0.012em; max-width: 16ch; text-wrap: balance; }
.close .lead { margin-top: clamp(1.4rem, 3vw, 2.2rem); }
.close .lead__s { font-size: clamp(1.4rem, 1.1rem + 1.1vw, 2rem); }
.close .fld input { color: var(--gold-paper); border-bottom-color: var(--gold-paper); caret-color: var(--paper-ink); }
.close .fld input::placeholder { color: var(--paper-soft); opacity: 0.7; }
.close .fld input:hover { background: color-mix(in oklab, var(--gold-paper) 8%, transparent); }
.close .fld input:focus-visible { background: color-mix(in oklab, var(--gold-paper) 13%, transparent); border-bottom-color: var(--paper-ink); }
.close .lead__assist { color: var(--paper-ink); }
.close .lead__fine { color: var(--paper-soft); }
.close .lead__msg { color: var(--c-err); }
.close :focus-visible { outline-color: var(--gold-paper); }
.close .go { background: transparent; color: var(--paper-ink); box-shadow: none; padding: 0.6rem 0; border-radius: 0; border-bottom: 3px solid var(--gold-paper); font-size: 0.98rem; }
@media (hover: hover) and (pointer: fine) { .close .go:hover { background: transparent; box-shadow: none; transform: none; color: var(--gold-paper); } }
.close .done__p { color: var(--paper-soft); }
.close .go--solid { background: var(--paper-ink); color: var(--paper); border-bottom: 0; padding: 0.9rem 1.7rem; }
.close__next { margin-top: clamp(1.6rem, 3vw, 2.6rem); max-width: 52ch; color: var(--paper-soft); }
.close__next .lnk { color: var(--paper-ink); }
.close__next .lnk:hover { color: var(--gold-paper); }

.colophon { max-width: 80rem; margin: clamp(4rem, 8vw, 8rem) auto 0; padding: 2rem 0 2.4rem; border-top: 1px solid color-mix(in oklab, var(--paper-ink) 20%, transparent); font: 400 0.76rem/1.65 var(--f-t); color: var(--paper-soft); }
.colophon p + p { margin-top: 0.7rem; }
.colophon__name { font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--paper-ink); }
.colophon__disc { max-width: 100ch; }
.colophon a { text-underline-offset: 0.2em; }

/* ---------------------------------------------------------------- phone -- */
@media (max-width: 860px) {
  .proof__wrap { grid-template-columns: 1fr; }
    .voice { grid-template-columns: 1fr; }
  .voice footer, .voice p { grid-column: 1; }
  .voice footer { grid-row: 2; padding-top: 0.2rem; }
  .lead__s { line-height: 1.6; }
}
@media (max-width: 600px) {
  .lead__s { font-size: 1.28rem; line-height: 1.5; }
  .cl .lbl { flex-basis: 4.8rem; }
  .truths li:nth-child(n) { margin-left: 0; }
  .truths li:nth-child(even) { margin-left: 1.2rem; }
}

/* --------------------------------------------------------- reduced motion -- */
@media (prefers-reduced-motion: reduce) {
  .book { transform: none; }
}


/* ----------------------------------------------- pulsanti lingua e tema + hint -- */
.ui-btn {
  position: fixed; left: 24px; z-index: 2001; width: 50px; height: 50px; border-radius: 50%; padding: 0;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  background: var(--ui-card); border: 2px solid var(--gold); color: var(--gold);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3); transition: transform 0.2s var(--ease), background-color 0.2s;
}
.ui-btn--theme { bottom: 24px; }
.ui-btn--lang { bottom: 84px; }
.ui-btn svg { width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ui-btn--lang svg { width: 30px; height: 30px; stroke: none; }
@media (hover: hover) and (pointer: fine) { .ui-btn:hover { transform: scale(1.1); } }
.ui-btn:active { transform: scale(0.95); }
.ui-hint {
  position: fixed; left: 88px; z-index: 2000;
  background: var(--ui-card); color: var(--bone); border: 1px solid var(--gold); border-radius: 14px; padding: 5px 13px;
  font: 600 0.78rem/1.3 var(--f-t); white-space: nowrap; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  opacity: 0; transform: translateX(-8px); transition: opacity 0.5s, transform 0.5s; pointer-events: none;
}
.ui-hint::before {
  content: ""; position: absolute; left: -6px; top: 50%; width: 10px; height: 10px; margin-top: -5px;
  background: var(--ui-card); border-left: 1px solid var(--gold); border-bottom: 1px solid var(--gold);
  transform: rotate(45deg);
}
.ui-hint.show { opacity: 1; transform: none; }
#hint-lang { bottom: 96px; }
#hint-theme { bottom: 36px; }
html[data-theme="light"] .book { outline: 1px solid rgba(212, 175, 55, 0.4); }
@media (max-width: 600px) {
  .ui-btn { left: 8px; width: 38px; height: 38px; opacity: 0.92; }
  .ui-btn--theme { bottom: 12px; }
  .ui-btn--lang { bottom: 56px; }
  .ui-btn svg { width: 19px; height: 19px; }
  .ui-btn--lang svg { width: 24px; height: 24px; }
  .ui-hint { left: 56px; font-size: 0.74rem; }
  #hint-lang { bottom: 62px; }
  #hint-theme { bottom: 18px; }
}


/* ----------------------------------------------- immagini a schizzo e scorrimento -- */
/* Le immagini sono bianco su blu #0d1117. In light mode si invertono: il blu diventa #f2eee8, il fondo della pagina. */
html[data-theme="light"] .sketch { filter: invert(1); }

.teoria__media { position: absolute; z-index: 0; right: var(--sc-gutter); top: 50%; width: min(46vw, 40rem); aspect-ratio: 1 / 1; transform: translateY(-46%); overflow: hidden; }
.teoria__media .sc-stage__poster, .teoria__media video[data-sc-scrub] { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wall, .final { position: relative; z-index: 1; }
.rule { z-index: 2; }
@media (min-width: 1100px) {
  .wall { width: min(calc(50vw - var(--sc-gutter)), 64ch); }
  .final { width: calc(50vw - var(--sc-gutter)); }
  .teoria__media { width: min(40vw, 40rem); }
}
@media (max-width: 1099px) {
  .teoria__stage { place-items: start; padding-top: 9.4rem; }
  .teoria__media { top: auto; bottom: 2vh; right: auto; left: 50%; width: min(58vw, 38vh); transform: translateX(-50%); }
  .final { width: 100%; }
}

@media (max-width: 860px) {
  .corpo__stage .sc-stage__poster, .corpo__stage video[data-sc-scrub] { inset: auto 0 0 0; height: 62vh; width: 100%; object-fit: cover; object-position: 50% 50%; }
  .corpo__text { top: 12%; transform: none; width: calc(100% - 2 * var(--sc-gutter)); }
  .corpo__t { font-size: clamp(1.9rem, 1.3rem + 3vw, 2.6rem); }
}

.book__vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.3s; }
.book.has-clip .book__vid { opacity: 1; }
.book.has-clip .book__img { opacity: 0; }

.video__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }

/* La figura e un disegno pieno: invertita diventerebbe un negativo. In light mode l'atto del corpo resta una scena scura. */

@media (max-width: 860px) { .corpo__scrim { width: 100%; height: 34%; bottom: auto; background: linear-gradient(to bottom, rgba(13, 17, 23, 0.92) 0%, rgba(13, 17, 23, 0.8) 55%, rgba(13, 17, 23, 0) 100%); } }

/* ---- invito a scorrere nell'atto della teoria ---- */
.teoria__cue { position: absolute; z-index: 3; top: 5.4rem; right: var(--sc-gutter); display: flex; align-items: center; gap: 0.7rem; font: 600 0.74rem/1.2 var(--f-t); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); pointer-events: none; }
.teoria__arr { display: inline-block; width: 0.55rem; height: 0.55rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); animation: bob 1.4s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(-2px) rotate(45deg); } 50% { transform: translateY(4px) rotate(45deg); } }
@media (max-width: 1099px) { .teoria__cue { right: auto; left: var(--sc-gutter); top: 7.4rem; } }
@media (prefers-reduced-motion: reduce) { .teoria__arr { animation: none; } .teoria__cue { display: none; } }

/* ---- 15 minuti, centrato; titolo delle testimonianze ---- */
.minutes { text-align: center; max-width: 36rem; margin: clamp(3.5rem, 7vw, 6rem) auto 0; font: 500 clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem)/1.28 var(--f-d); letter-spacing: -0.01em; text-wrap: balance; }
.minutes b { font-weight: 600; font-style: italic; color: var(--gold); white-space: nowrap; }
.voices__h { margin-top: clamp(4rem, 8vw, 7rem); font: 500 clamp(1.9rem, 1.2rem + 2.6vw, 3.4rem)/1.05 var(--f-d); letter-spacing: -0.012em; }
.voices { margin-top: clamp(1.4rem, 3vw, 2.4rem); }

/* ---- libro aperto: titolo sulla pagina di sinistra ---- */
.book__pg { position: absolute; z-index: 2; left: 13cqw; top: 50cqw; width: 31cqw; text-align: center; font: 600 5cqw/1.14 var(--f-d); letter-spacing: -0.005em; color: #efeadf; opacity: 0; pointer-events: none; }


/* ====================== v3: testata della teoria, hero con immagine, libro statico ====================== */
.teoria__head { position: absolute; z-index: 3; top: 4.6rem; left: var(--sc-gutter); right: var(--sc-gutter); }
.teoria__title { position: static; font: 600 clamp(2rem, 1.2rem + 2.6vw, 3.6rem)/1.04 var(--f-d); letter-spacing: -0.012em; text-transform: none; color: var(--bone); max-width: 18ch; }
.teoria__cue { position: static; margin-top: 0.9rem; }
@media (max-width: 1099px) {
  .teoria__stage { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr; place-items: start; padding-top: 4.4rem; row-gap: 1.1rem; column-gap: 1rem; }
  .teoria__head { position: static; grid-column: 1; grid-row: 1; }
  .teoria__media { position: relative; inset: auto; transform: none; grid-column: 2; grid-row: 1; width: clamp(104px, 27vw, 190px); justify-self: end; }
  .wall, .final { grid-column: 1 / -1; grid-row: 2; align-self: start; width: 100%; }
}
@media (max-height: 640px) { .wall__p { font-size: 0.92rem; line-height: 1.45; } }

/* chiusura: centrata, il libro e solo un'immagine e porta tutte le scritte */
.close__wrap { justify-items: center; text-align: center; }
.close .lead__s { margin-inline: auto; }
.close .lead__row { display: flex; justify-content: center; }
.close__h, .close .lead__assist, .close .lead__fine, .close .done__p, .close__next { margin-inline: auto; }
.book { width: 19rem; max-width: 100%; }
.book__txt { justify-content: center; align-items: center; text-align: center; padding: 18cqw 17cqw 22cqw; }
.book__t { margin: 0; padding: 0; font: 600 10.6cqw/1.05 var(--f-d); letter-spacing: -0.01em; text-wrap: balance; }
.book__a { position: absolute; left: 0; right: 0; bottom: 15cqw; text-align: center; font: 600 3cqw/1.5 var(--f-t); letter-spacing: 0.14em; text-transform: uppercase; color: #a3abb9; }

@media (min-width: 1100px) {
  .teoria__stage { padding-top: 8.4rem; }
  .teoria__title { max-width: none; white-space: nowrap; font-size: clamp(2.2rem, 1rem + 2.4vw, 3.4rem); }
}


/* ============ la sequenza del terzo occhio: testo a sinistra, immagine ampia a destra ============ */
.seq__stage { display: grid; grid-template-columns: minmax(0, 36fr) minmax(0, 64fr); align-items: center; gap: clamp(1rem, 3vw, 3rem); padding: 0 var(--sc-gutter); background: var(--navy); }
.seq__text { grid-column: 1; grid-row: 1; display: grid; align-self: center; position: relative; z-index: 2; }
.seq__t { grid-area: 1 / 1; font: 500 clamp(2.1rem, 1.1rem + 3.1vw, 4.4rem)/1.08 var(--f-d); letter-spacing: -0.012em; text-wrap: balance; }
.seq__t em { font-style: italic; font-weight: 600; color: var(--gold); }
.seq__media { position: relative; grid-column: 2; grid-row: 1; aspect-ratio: 16 / 9; width: 100%; overflow: hidden; }
.seq__media .sc-stage__poster, .seq__media video[data-sc-scrub] { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .seq__stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; align-items: start; padding-top: 5.2rem; gap: 0.8rem; }
  .seq__text { grid-column: 1; grid-row: 1; }
  .seq__t { font-size: clamp(2rem, 1.3rem + 3.2vw, 2.8rem); }
  .seq__media { grid-column: 1; grid-row: 2; aspect-ratio: 1 / 1; width: min(100%, 62vh); justify-self: center; align-self: end; margin-bottom: 3vh; }
}
/* le immagini sono scale di grigio: invertite sarebbero un negativo, quindi l'atto resta una scena scura anche in light mode */
html[data-theme="light"] .seq { --navy: #0d1117; --deep: #080b10; --bone: #efeadf; --slate: #a3abb9; --gold: #d4af37; color: var(--bone); }
html[data-theme="light"] .seq .sketch { filter: none; }

/* teoria senza immagine: desktop centrata */
@media (min-width: 1100px) {
  .teoria__stage { place-items: center; }
  .wall { width: min(100%, 64ch); }
  .final { width: min(100%, 52rem); }
}

@media (min-width: 861px) {
  .seq__stage { grid-template-columns: minmax(0, 30fr) minmax(0, 70fr); }
  .seq__media { margin-right: calc(-1 * var(--sc-gutter)); width: calc(100% + var(--sc-gutter)); }
}


/* ================= atto iniziale: Lascia andare, le mani si aprono, adesso ================= */
.hero__stage { display: flex; flex-direction: column; justify-content: center; gap: clamp(0.8rem, 2.4vh, 1.5rem); padding: 5rem var(--sc-gutter) 3rem; background: var(--navy); }
.hero__kicker { position: relative; z-index: 2; font: 600 0.74rem/1.2 var(--f-t); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.hero__h1 { position: relative; z-index: 2; display: flex; flex-direction: column; gap: clamp(0.2rem, 1vh, 0.6rem); font-weight: inherit; }
.hero__pre { font: italic 500 clamp(2.4rem, 1.2rem + 4.4vw, 5.6rem)/1 var(--f-d); color: var(--bone); }
.hero__big { color: var(--bone); align-self: flex-start; }
.hero__sub { position: relative; z-index: 2; max-width: 30rem; font: 400 clamp(1.1rem, 1rem + 0.45vw, 1.4rem)/1.5 var(--f-t); color: var(--bone); }
.hero__scroll { position: relative; z-index: 3; margin-top: 0.4rem; align-self: flex-start; display: inline-flex; align-items: center; gap: 0.7rem; font: 600 0.74rem/1.2 var(--f-t); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); pointer-events: none; }
.hero__media { position: absolute; z-index: 0; top: 0; right: 0; bottom: 0; width: 56%; pointer-events: none; -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 22%); mask-image: linear-gradient(to right, transparent 0%, #000 22%); }
.hero__media .sc-stage__poster, .hero__media video[data-sc-scrub] { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1000px) { .hero__kicker, .hero__h1, .hero__sub { max-width: 41%; } }
@media (max-width: 999px) {
  .hero__stage { justify-content: flex-start; padding-top: 5rem; }
  .hero__media { top: auto; left: 0; width: 100%; height: 56%; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%); mask-image: linear-gradient(to bottom, transparent 0%, #000 22%); }
}

/* il modulo subito dopo l'atto iniziale */
.heroform { padding: clamp(1.5rem, 4vw, 3rem) var(--sc-gutter) clamp(4rem, 8vw, 7rem); background: var(--navy); }
.heroform__in { max-width: 34rem; }

@media (max-height: 700px) and (max-width: 999px) { .hero__media { height: 34%; } .hero__sub { font-size: 1rem; } }


/* ============================ giro 5: intestazione, mobile, chiusura scura ============================ */
.mark { justify-content: flex-end; padding-top: 0.9rem; }
.mark__go {
  display: inline-block; padding: 0.85rem 1.35rem; border-radius: 2px;
  background: var(--gold-bg); color: var(--go-ink); text-decoration: none;
  font: 700 0.9rem/1 var(--f-t); letter-spacing: 0.14em; text-transform: uppercase;
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.7);
  transition: opacity 200ms var(--ease), transform 140ms var(--ease), background-color 140ms var(--ease);
}
@media (hover: hover) and (pointer: fine) { .mark__go:hover { background: #e1bf4c; transform: translateY(-1px); text-decoration: none; } }
.mark__go:active { transform: scale(0.97); }
@media (max-width: 600px) { .mark__go { padding: 0.8rem 1.1rem; font-size: 0.82rem; } }

.hero__scroll { font-size: 1rem; gap: 0.8rem; }
.hero__scroll .teoria__arr { width: 0.8rem; height: 0.8rem; }
.sub-short { display: none; }

/* teoria: titolo grande, sottotitolo, invito a scorrere a destra */
.teoria__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; }
.teoria__title { white-space: normal; }
.teoria__sub { margin-top: 0.6rem; font: italic 500 clamp(1.15rem, 1rem + 0.7vw, 1.6rem)/1.3 var(--f-d); color: var(--slate); max-width: 32ch; }
.teoria__cue { margin-top: 0.5rem; font-size: 1rem; gap: 0.8rem; flex: 0 0 auto; }
.teoria__cue .teoria__arr { width: 0.8rem; height: 0.8rem; }
@media (min-width: 1100px) { .teoria__title { white-space: nowrap; } }

/* testimonianze: pulsante piu invitante */
.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.7em; min-height: 3rem; box-sizing: border-box; padding: 0.8rem 1.5rem;
  border: 1.5px solid var(--gold); border-radius: 2px; color: var(--gold); text-decoration: none;
  font: 700 0.86rem/1 var(--f-t); letter-spacing: 0.14em; text-transform: uppercase;
  transition: background-color 160ms var(--ease), color 160ms var(--ease), transform 140ms var(--ease);
}
@media (hover: hover) and (pointer: fine) { .btn-ghost:hover { background: var(--gold); color: #0d1117; } .btn-ghost:hover span { transform: translateX(4px); } }
.btn-ghost span { transition: transform 160ms var(--ease); }
.btn-ghost:active { transform: scale(0.97); }
html[data-theme="light"] .btn-ghost:hover { color: #f6f2e8; }
.minutes b { white-space: nowrap; }

/* video: la copertina vera */
.video__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1; filter: none; }
.video__pill { display: inline-flex; align-items: center; gap: 0.9rem; padding: 0.85rem 1.4rem; background: rgba(13, 17, 23, 0.82); border: 1px solid rgba(212, 175, 55, 0.7); border-radius: 2px; color: #efeadf; }
.video__lab { color: #efeadf; }
@media (hover: hover) and (pointer: fine) { .video__play:hover { background: rgba(13, 17, 23, 0.18); } .video__play:hover .video__pill { background: rgba(13, 17, 23, 0.92); } }

/* chiusura: non piu bianco acceso, un blu piu chiaro del resto, in dark mode */
:root { --c-bg: #182134; --c-ink: #efeadf; --c-soft: #aab2c0; --c-gold: #d4af37; --c-err: #f0a28d; }
html[data-theme="light"] { --c-bg: #0d1117; --c-ink: #efeadf; --c-soft: #a3abb9; --c-gold: #d4af37; --c-err: #f0a28d; }
.book { box-shadow: 0 26px 40px -18px rgba(0, 0, 0, 0.65); outline: 1px solid rgba(212, 175, 55, 0.35); }
.close .go--solid { color: var(--c-bg); }
.colophon { border-top-color: color-mix(in oklab, var(--bone, #efeadf) 22%, transparent); }

/* mobile: immagine delle mani sopra, poi Lascia andare, adesso, frase breve */
@media (max-width: 999px) {
  .hero__stage { justify-content: flex-start; gap: 0.6rem; padding-top: 4.6rem; }
  .hero__kicker { order: 1; }
  .hero__media { order: 2; position: relative; inset: auto; width: calc(100% + 2 * var(--sc-gutter)); margin-inline: calc(-1 * var(--sc-gutter)); height: clamp(150px, 34vh, 340px); flex: 0 0 auto; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 82%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 82%, transparent 100%); }
  .hero__h1 { order: 3; }
  .hero__sub { order: 4; font-size: 1.15rem; max-width: none; }
  .sub-long { display: none; }
  .sub-short { display: inline; }
}
@media (max-width: 999px) and (max-height: 700px) { .hero__media { height: 26vh; } .hero__sub { font-size: 1.02rem; } }

/* mobile: bottone e testi del modulo centrati e piu grandi */
@media (max-width: 860px) {
  .lead__row { display: flex; justify-content: center; }
  .go { min-height: 3.4rem; padding: 1rem 1.9rem; font-size: 1rem; }
  .lead__assist, .lead__fine, .lead__msg { text-align: center; margin-inline: auto; }
  .lead__assist { font-size: 1.3rem; }
  .lead__fine { font-size: 0.88rem; }
  .heroform__in { margin-inline: auto; }
}


/* ============================ giro 6 ============================ */
/* la chiusura ha lo stesso blu del resto del sito */
:root { --c-bg: #0d1117; }
html[data-theme="light"] { --c-bg: #0d1117; }

/* la frase sotto il titolo della teoria, in oro */
.teoria__sub { color: var(--gold); }

/* nessun vuoto: il modulo e la sequenza salgono sotto l'ultimo testo (le misure le scrive site.js) */
.heroform { position: relative; z-index: 20; background: transparent; padding-top: 0.6rem; margin-top: calc(-1 * var(--hf-pull, 0px)); }
.seq { position: relative; z-index: 6; margin-top: calc(-1 * var(--seq-pull, 0px)); }

/* presentazione: Mi chiamo Sergio, la foto, la storia */
.proof__who { display: flex; flex-direction: column; gap: clamp(1rem, 2vw, 1.5rem); max-width: 30rem; }
.proof__hi { font: 500 clamp(1.9rem, 1.2rem + 2.2vw, 3rem)/1.08 var(--f-d); letter-spacing: -0.012em; }
.proof__hi em { display: block; color: var(--gold); font-weight: 600; }
.proof__story { font: italic 500 clamp(1.25rem, 1.1rem + 0.6vw, 1.7rem)/1.38 var(--f-d); max-width: 30rem; text-wrap: pretty; }
@media (max-width: 860px) { .proof__who { max-width: 26rem; } }

.heroform { padding-bottom: clamp(1.2rem, 2.5vw, 2.2rem); }
@media (min-width: 1100px) { .teoria__head { top: 3.2rem; } .teoria__stage { padding-top: 6.4rem; } }

/* parole chiave in oro */
.gains b, .proof__story em { color: var(--gold); font-weight: 600; }
.proof__story em { font-style: italic; }


/* ============================ giro 7 ============================ */
/* Scorri accanto a Lascia andare, nella stessa riga */
.hero__h1 { position: relative; }
.hero__scroll { position: absolute; right: 0; top: 0.7em; margin: 0; align-self: auto; font-size: 1.15rem; gap: 0.7rem; }
.hero__scroll .teoria__arr { width: 0.95rem; height: 0.95rem; }
@media (max-width: 999px) { .hero__scroll { top: 0.55em; font-size: 1.1rem; } }

/* la soluzione e piu semplice: piu grande, in oro */
.teoria__sub { font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.5rem); line-height: 1.2; max-width: 28ch; }

/* i passaggi della sequenza, piu grandi */
.seq__t { font-size: clamp(2.7rem, 1.2rem + 3.9vw, 5.2rem); line-height: 1.04; overflow-wrap: normal; }
@media (min-width: 861px) { .seq__stage { grid-template-columns: minmax(0, 37fr) minmax(0, 63fr); } .seq__media { margin-right: calc(-1 * var(--sc-gutter)); width: calc(100% + var(--sc-gutter)); } }
@media (max-width: 860px) { .seq__t { font-size: clamp(2.5rem, 1.5rem + 4.6vw, 3.6rem); } }

/* video: solo un piccolo tasto play, la copertina si vede tutta */
.video__pill { width: 3.6rem; height: 3.6rem; padding: 0; justify-content: center; gap: 0; border-radius: 50%; }
.video__tri { border-width: 0.6rem 0 0.6rem 1rem; margin-left: 0.25rem; }

@media (max-width: 860px) {
  .seq__stage { grid-template-rows: auto auto; align-content: center; padding-top: 4.6rem; padding-bottom: 1rem; gap: 0.6rem; }
  .seq__media { align-self: start; margin-bottom: 0; }
}


/* ============================ giro 8 ============================ */
.lead__tag { margin-top: 1rem; font: 700 0.78rem/1.4 var(--f-t); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.close .lead__tag { color: var(--c-gold); }
@media (max-width: 860px) { .lead__tag { text-align: center; margin-inline: auto; font-size: 0.82rem; } }

.colophon__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem 2.2rem; padding: 0 0 1.8rem; margin-bottom: 1.8rem; border-bottom: 1px solid color-mix(in oklab, var(--paper-ink) 18%, transparent); }
.colophon__nav a { font: 700 0.8rem/1.3 var(--f-t); letter-spacing: 0.14em; text-transform: uppercase; color: var(--paper-ink); text-decoration: none; padding: 0.35rem 0; border-bottom: 1px solid transparent; transition: color 120ms var(--ease), border-color 120ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .colophon__nav a:hover { color: var(--gold-paper); border-bottom-color: var(--gold-paper); } }
.colophon__nav a:focus-visible { outline-color: var(--gold-paper); }
@media (max-width: 600px) { .colophon__nav { gap: 0.2rem 1.5rem; } .colophon__nav a { padding: 0.55rem 0; font-size: 0.76rem; } }


/* ============================ giro 9 ============================ */
/* Scorri: subito sotto Lascia andare, in colonna (sparisce quando arriva adesso) */
.hero__scroll, .hero__scroll { position: relative; right: auto; top: auto; align-self: flex-start; margin: 0.1rem 0 0.5rem 0.15rem; font-size: 1.05rem; }
@media (max-width: 999px) { .hero__scroll { top: auto; font-size: 1rem; margin: 0 0 0.3rem 0.1rem; } }

/* la frase sotto adesso: piu grande, gratis in oro */
.hero__sub { font-size: clamp(1.35rem, 1.05rem + 1vw, 2.05rem); line-height: 1.32; max-width: 36rem; }
.hero__sub b { color: var(--gold); font-weight: 700; }
@media (max-width: 999px) { .hero__sub { font-size: clamp(1.4rem, 1.1rem + 1.6vw, 1.7rem); } }
@media (max-width: 999px) and (max-height: 700px) { .hero__sub { font-size: 1.2rem; } }

/* Te la do gratis: centrato sotto il pulsante */
.lead__row { display: flex; flex-direction: column; align-items: center; width: fit-content; }
.lead__tag { margin-top: 0.7rem; font: italic 600 1.35rem/1.15 var(--f-d); letter-spacing: 0; text-transform: none; text-align: center; color: var(--gold); }
@media (max-width: 860px) { .lead__row { margin-inline: auto; } .lead__tag { font-size: 1.4rem; } }
.close .lead__row { margin-inline: auto; }

/* teoria: titolo e frase piu grandi */
.teoria__title { font-size: clamp(2.7rem, 1.3rem + 4.4vw, 5.6rem); line-height: 1; }
@media (min-width: 1100px) { .teoria__title { font-size: clamp(3.2rem, 1rem + 3.7vw, 5.6rem); } }
.teoria__sub { font-size: clamp(1.9rem, 1.1rem + 2.8vw, 3.8rem); line-height: 1.1; max-width: 24ch; margin-top: 0.7rem; }

/* i passaggi sopra l'immagine: riempiono lo spazio della colonna */
.seq__text { container-type: inline-size; }
.seq__t { font-size: clamp(2.6rem, 24cqw, 9.5rem); line-height: 1.02; }
@media (min-width: 861px) { .seq__stage { grid-template-columns: minmax(0, 41fr) minmax(0, 59fr); } }
@media (max-width: 860px) { .seq__t { font-size: clamp(2.6rem, 24cqw, 5.6rem); } }

/* presentazione: foto a sinistra, nome e storia a destra */
.proof__wrap { display: block; }
.proof__who { max-width: none; display: flex; flex-direction: column; gap: clamp(1rem, 2vw, 1.5rem); }
.proof__hi { font-size: clamp(2.3rem, 1.2rem + 3.2vw, 4.6rem); line-height: 1.04; }
.proof__ph { max-width: 26rem; }
.proof__ph img { clip-path: inset(var(--rv, 0%) 0 0 0); will-change: clip-path; }
.proof__story { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.4rem); line-height: 1.3; max-width: 26ch; }
.sw { opacity: 0.16; will-change: opacity; }
@media (min-width: 861px) {
  .proof__who { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "ph hi" "ph story"; column-gap: clamp(2rem, 6vw, 7rem); row-gap: clamp(1.2rem, 2.4vw, 2.2rem); align-content: center; align-items: start; }
  .proof__who .proof__ph { grid-area: ph; max-width: none; }
  .proof__who .proof__hi { grid-area: hi; align-self: end; }
  .proof__who .proof__story { grid-area: story; align-self: start; }
}

/* cosa ti puoi aspettare: la lista cresce, la figura si scioglie */
.metodo__stage { display: grid; grid-template-columns: minmax(0, 48fr) minmax(0, 52fr); align-items: center; gap: clamp(1rem, 3vw, 3rem); padding: 0 var(--sc-gutter); background: var(--navy); }
.metodo__text { position: relative; z-index: 2; }
.metodo__h { font: 500 clamp(2rem, 1.1rem + 2.7vw, 4rem)/1.06 var(--f-d); letter-spacing: -0.012em; text-wrap: balance; max-width: 16ch; }
.metodo .gains { margin-top: clamp(1.1rem, 3vh, 2.2rem); gap: clamp(0.5rem, 1.7vh, 1rem); max-width: 34ch; font-size: clamp(1.15rem, 1rem + 0.6vw, 1.55rem); line-height: 1.32; }
.metodo__fig { position: relative; aspect-ratio: 1 / 1; width: min(100%, 82vh); margin-inline: auto; }
.metodo__media { position: absolute; inset: 0; overflow: hidden; }
.metodo__media .sc-stage__poster, .metodo__media video[data-sc-scrub] { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
html[data-theme="light"] .metodo { --navy: #0d1117; --deep: #080b10; --bone: #efeadf; --slate: #a3abb9; --gold: #d4af37; color: var(--bone); }
html[data-theme="light"] .metodo .sketch { filter: none; }
@media (max-width: 860px) {
  .metodo__stage { display: flex; flex-direction: column; justify-content: center; gap: 0.7rem; padding-top: 4.4rem; padding-bottom: 1rem; }
  .metodo__text { display: contents; }
  .metodo__h { order: 1; font-size: clamp(1.7rem, 1.1rem + 2.6vw, 2.3rem); max-width: none; }
  .metodo__fig { order: 2; aspect-ratio: 1 / 1; width: min(100%, 30vh); margin: 0 auto; align-self: center; }
  .metodo .gains { order: 3; font-size: 1.08rem; gap: 0.45rem; margin-top: 0.2rem; max-width: none; }
}
@media (max-width: 860px) and (max-height: 700px) { .metodo__fig { width: min(100%, 22vh); } .metodo .gains { font-size: 0.98rem; gap: 0.3rem; } .metodo__h { font-size: 1.5rem; } }

/* il resto della sezione: frase, 15 minuti, voci */
.proof--b { padding-top: clamp(3rem, 6vw, 6rem); }
.proof--b .proof__p { text-align: center; margin-inline: auto; max-width: 30ch; }

/* le voci: nuvolette, come se qualcuno parlasse */
.voices { display: grid; gap: clamp(2rem, 3.4vw, 3rem); border-top: 0; max-width: 62rem; margin-inline: auto; margin-top: clamp(2rem, 4vw, 3rem); }
.voice { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; padding: 0; border: 0; width: min(46rem, 94%); }
.voice:nth-child(even) { align-items: flex-end; margin-left: auto; }
.voice p { grid-column: auto; grid-row: auto; position: relative; max-width: none; padding: 1.6rem 1.8rem 1.7rem 3.1rem; border: 1.5px solid color-mix(in oklab, var(--gold) 60%, transparent); border-radius: 1.7rem 1.7rem 1.7rem 0.35rem; background: color-mix(in oklab, var(--gold) 7%, var(--navy)); font-size: clamp(1.3rem, 1.05rem + 1vw, 1.95rem); line-height: 1.25; }
.voice:nth-child(even) p { border-radius: 1.7rem 1.7rem 0.35rem 1.7rem; }
.voice p::before { content: "\201C"; position: absolute; left: 0.85rem; top: 0.55rem; font: 600 4.2rem/1 var(--f-d); font-style: normal; color: var(--gold); }
.voice p::after { content: ""; position: absolute; left: 1.7rem; bottom: -0.62rem; width: 1.1rem; height: 1.1rem; background: color-mix(in oklab, var(--gold) 7%, var(--navy)); border: solid color-mix(in oklab, var(--gold) 60%, transparent); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) skew(10deg, 10deg); }
.voice:nth-child(even) p::after { left: auto; right: 1.7rem; transform: rotate(45deg) skew(-10deg, -10deg); }
.voice footer { grid-column: auto; grid-row: auto; display: flex; align-items: center; gap: 0.8rem; padding: 0 0.6rem; font: 600 0.78rem/1.3 var(--f-t); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.voice footer::before { content: attr(data-i); display: inline-grid; place-items: center; flex: 0 0 auto; width: 2.5rem; height: 2.5rem; border: 1.5px solid var(--gold); border-radius: 50%; font: 600 1.25rem/1 var(--f-d); letter-spacing: 0; text-transform: none; }
.voices > .voice { transform: translate3d(0, 18px, 0) scale(0.95); transform-origin: 8% 100%; transition-duration: 640ms; }
.voices > .voice:nth-child(even) { transform-origin: 92% 100%; }
.voices > .voice.sc-in { transform: none; }
@media (max-width: 860px) { .voice { width: 100%; } .voice p { padding: 1.4rem 1.3rem 1.5rem 2.5rem; } .voice p::before { left: 0.6rem; font-size: 3.6rem; } }

/* didascalia del video: io per primo lo pratico */
.video__p b { color: var(--gold); font-weight: 600; }

/* quando vuoi andare oltre: due carte con immagine */
.next { width: 100%; margin-top: clamp(2.4rem, 5vw, 4rem); }
.next__lead { font: 600 0.8rem/1.2 var(--f-t); letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-gold); }
.next__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(0.9rem, 2vw, 1.4rem); margin-top: 1.2rem; text-align: left; }
.ncard { position: relative; display: flex; flex-direction: column; gap: 0.35rem; padding: 0 0 1.2rem; border: 1.5px solid color-mix(in oklab, var(--c-gold) 38%, transparent); border-radius: 3px; background: color-mix(in oklab, var(--c-ink) 4%, var(--c-bg)); color: var(--c-ink); text-decoration: none; overflow: hidden; transition: border-color 200ms var(--ease), transform 200ms var(--ease), background-color 200ms var(--ease); }
.ncard__art { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid color-mix(in oklab, var(--c-gold) 22%, transparent); }
.ncard__art img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.ncard__k, .ncard__t, .ncard__go { padding-inline: 1.2rem; }
.ncard__k { margin-top: 0.9rem; font: 600 0.74rem/1.35 var(--f-t); letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-soft); }
.ncard__t { font: 600 clamp(1.5rem, 1.2rem + 0.9vw, 1.9rem)/1.1 var(--f-d); letter-spacing: -0.005em; }
.ncard__go { margin-top: 0.5rem; font: 700 0.8rem/1 var(--f-t); letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-gold); }
.ncard__go span { display: inline-block; transition: transform 180ms var(--ease); }
.ncard:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .ncard:hover { border-color: var(--c-gold); transform: translateY(-3px); background: color-mix(in oklab, var(--c-gold) 8%, var(--c-bg)); }
  .ncard:hover .ncard__art img { transform: scale(1.06); }
  .ncard:hover .ncard__go span { transform: translateX(5px); }
}
.ncard:active { transform: scale(0.985); }
@media (max-width: 640px) { .next__cards { grid-template-columns: 1fr; } .next { text-align: center; } }

/* teoria su telefono: il titolo ha tutta la riga, l'invito a scorrere va sotto la frase */
@media (max-width: 700px) {
  .teoria__head { display: block; }
  .teoria__cue { margin-top: 0.7rem; }
  .teoria__title { font-size: clamp(2.5rem, 12vw, 3.4rem); }
}


/* ============================ giro 10 ============================ */
/* moduli: piu aria sotto il pulsante e sopra l'assistenza WhatsApp */
.lead__row { margin-top: 1.7rem; }
.lead__tag { margin-top: 1.4rem; }
.lead__assist { margin-top: 2.4rem; }
.lead__fine { margin-top: 1rem; }
.cl { margin-bottom: 0.85rem; }
@media (max-width: 860px) { .lead__row { margin-top: 1.9rem; } .lead__tag { margin-top: 1.5rem; } .lead__assist { margin-top: 2.6rem; } }

/* quando vuoi andare oltre: titolo grande, due carte larghe */
.next { --w: min(66rem, calc(100vw - 2 * var(--sc-gutter))); width: var(--w); margin-left: calc(50% - var(--w) / 2); margin-top: clamp(4rem, 8vw, 7rem); }
.next__lead { font: italic 500 clamp(2.4rem, 1.3rem + 3.6vw, 4.2rem)/1.04 var(--f-d); letter-spacing: -0.012em; text-transform: none; color: var(--c-ink); text-align: center; text-wrap: balance; }
.next__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 1.8rem); margin-top: clamp(1.6rem, 3vw, 2.6rem); text-align: left; align-items: stretch; }
.ncard { position: relative; display: flex; flex-direction: column; gap: 0; padding: 0; border: 1.5px solid color-mix(in oklab, var(--c-gold) 42%, transparent); border-radius: 4px; background: color-mix(in oklab, var(--c-ink) 4%, var(--c-bg)); color: var(--c-ink); overflow: hidden; transition: border-color 200ms var(--ease), transform 200ms var(--ease), background-color 200ms var(--ease); }
.ncard__art { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0d1117; border-bottom: 1px solid color-mix(in oklab, var(--c-gold) 24%, transparent); }
.ncard__art img, .ncard__art video { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.ncard__body { display: flex; flex-direction: column; gap: 1rem; flex: 1; padding: clamp(1.3rem, 2.4vw, 1.9rem); }
.ncard__t { font: 600 clamp(1.9rem, 1.4rem + 1.5vw, 2.7rem)/1.04 var(--f-d); letter-spacing: -0.01em; color: var(--c-ink); }
.ncard__list { display: grid; gap: 0.5rem; }
.ncard__list li { position: relative; padding-left: 1.5rem; font-size: 1.08rem; line-height: 1.4; }
.ncard__list li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 0.8rem; height: 2px; background: var(--c-gold); }
.ncard__p { font: 400 1.08rem/1.5 var(--f-t); color: var(--c-soft); }
.ncard__p b { color: var(--c-gold); font-weight: 700; }
.ncard__btn { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 0.7em; min-height: 3.2rem; box-sizing: border-box; padding: 0.9rem 1.5rem; background: var(--c-gold); color: #0a0a0a; border-radius: 3px; text-decoration: none; font: 700 0.86rem/1.2 var(--f-t); letter-spacing: 0.12em; text-transform: uppercase; transition: background-color 160ms var(--ease), transform 140ms var(--ease); }
.ncard__btn::after { content: ""; position: absolute; inset: 0; }
.ncard__btn span:last-child { transition: transform 180ms var(--ease); }
.ncard:focus-within { border-color: var(--c-gold); }
.ncard__btn:focus-visible { outline: 2px solid var(--c-ink); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .ncard:hover { border-color: var(--c-gold); transform: translateY(-4px); background: color-mix(in oklab, var(--c-gold) 7%, var(--c-bg)); }
  .ncard:hover .ncard__art img, .ncard:hover .ncard__art video { transform: scale(1.05); }
  .ncard:hover .ncard__btn { background: #e1bf4c; }
  .ncard:hover .ncard__btn span:last-child { transform: translateX(5px); }
}
@media (max-width: 820px) {
  .next__cards { grid-template-columns: 1fr; }
}

/* menu in fondo: come nelle altre pagine, link in maiuscolo e pulsante pieno */
.colophon__nav { gap: 0.4rem 0.9rem; align-items: center; padding: 0 0 2.2rem; margin-bottom: 2.2rem; }
.colophon__nav a { display: inline-flex; align-items: center; min-height: 3.1rem; box-sizing: border-box; padding: 0.8rem 1.3rem; border: 1.5px solid transparent; border-radius: 3px; font: 600 1rem/1.2 var(--f-t); letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-ink); transition: color 160ms var(--ease), border-color 160ms var(--ease), background-color 160ms var(--ease), transform 140ms var(--ease); }
.colophon__nav a.is-cta { background: var(--c-gold); border-color: var(--c-gold); color: #0a0a0a; font-weight: 700; }
@media (hover: hover) and (pointer: fine) {
  .colophon__nav a:hover { color: var(--c-gold); border-color: color-mix(in oklab, var(--c-gold) 60%, transparent); border-bottom-color: color-mix(in oklab, var(--c-gold) 60%, transparent); }
  .colophon__nav a.is-cta:hover { background: #e1bf4c; border-color: #e1bf4c; color: #0a0a0a; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(212, 175, 55, 0.3); }
}
.colophon__nav a:active { transform: scale(0.97); }
@media (max-width: 600px) { .colophon__nav { gap: 0.3rem 0.4rem; } .colophon__nav a { font-size: 0.9rem; padding: 0.75rem 1rem; } .colophon__nav a.is-cta { flex-basis: 100%; justify-content: center; max-width: 20rem; margin-top: 0.4rem; } }

.ncard__t { padding-inline: 0; }
@media (max-width: 820px) { .ncard__btn { font-size: 0.8rem; letter-spacing: 0.08em; width: 100%; justify-content: space-between; } }


/* ============================ giro 11 ============================ */
/* metodo: "Scorri" sotto i piedi e tre frasi che cambiano con lo scorrimento (sotto la figura, o a sinistra all'altezza del femore sugli schermi larghi) */
.metodo__scroll { position: absolute; z-index: 3; left: 0; right: 0; bottom: -2rem; margin-inline: auto; width: fit-content; display: flex; align-items: center; gap: 0.8rem; font: 700 1.05rem/1.2 var(--f-t); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); pointer-events: none; }
.metodo__scroll .teoria__arr { width: 0.8rem; height: 0.8rem; }
.metodo__caps { position: absolute; z-index: 3; left: -7%; right: -7%; top: 49%; pointer-events: none; }
.metodo__cap { position: absolute; left: 0; right: 0; top: 0; margin: 0; text-align: center; font: italic 700 clamp(2.1rem, 1.2rem + 1.9vw, 3.5rem)/1.08 var(--f-d); color: var(--bone); text-wrap: balance; -webkit-text-stroke: 0.2em var(--navy); paint-order: stroke fill; text-shadow: 0 0 0.5em var(--navy), 0 0 0.2em var(--navy); }
.metodo__cap--1 { font-size: clamp(1.8rem, 1.1rem + 1.4vw, 2.7rem); }
.metodo__cap b { color: var(--gold); font-weight: 700; }
@media (max-width: 860px) {
  .metodo__caps { left: -22%; right: -22%; top: 46%; }
  .metodo__cap { font-size: 1.85rem; }
  .metodo__cap--1 { font-size: 1.5rem; }
  .metodo__scroll { font-size: 0.85rem; }
}
@media (prefers-reduced-motion: reduce) { .metodo__scroll { display: none; } }

/* la soluzione e la storia: piu grandi */
.teoria__sub { font-size: clamp(2.2rem, 1.1rem + 3.4vw, 4.5rem); line-height: 1.06; max-width: 24ch; }
@media (min-width: 1100px) {
  .teoria { --tt: clamp(3.2rem, 1rem + 3.7vw, 5.6rem); --ts: min(clamp(2.4rem, 1.1rem + 4vw, 5.2rem), 8vh); }
  .teoria__title { font-size: var(--tt); }
  .teoria__sub { font-size: var(--ts); }
  .teoria__stage { place-items: start; padding-top: calc(3.2rem + var(--tt) + var(--ts) * 2.12 + 3.4rem); }
  @media (max-height: 800px) { .wall__p { font-size: 1.16rem; line-height: 1.5; } }
}
.proof__story { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 3.1rem); line-height: 1.26; max-width: 24ch; }

/* frase di Sergio sopra le citazioni */
.proof--b .proof__p { max-width: 34ch; font-size: clamp(1.45rem, 1.15rem + 1vw, 2.1rem); }
.proof--b .proof__p b { color: var(--gold); font-weight: 600; }

/* citazioni: nuvoletta ben visibile anche da telefono */
@media (max-width: 860px) {
  .voice p { border-width: 2px; border-color: color-mix(in oklab, var(--gold) 90%, transparent); background: color-mix(in oklab, var(--gold) 13%, var(--navy)); }
  .voice p::after { background: color-mix(in oklab, var(--gold) 13%, var(--navy)); border-color: color-mix(in oklab, var(--gold) 90%, transparent); border-width: 0 2px 2px 0; width: 1.4rem; height: 1.4rem; bottom: -0.78rem; }
  .voice p::before { font-size: 4.2rem; left: 0.55rem; top: 0.45rem; }
}

/* carte: titolo giallo, "cosa include", parola evidenziata */
.ncard__t--y { color: var(--c-gold); }
.ncard__inc { margin: 0 0 -0.35rem; font: 700 0.9rem/1.2 var(--f-t); letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-soft); }
.ncard__list b, .ncard__p b { color: var(--c-gold); font-weight: 700; }


/* ============================ giro 12 ============================ */
/* "Come funziona:" sopra le frasi della sequenza */
.seq__how { position: absolute; left: 0; bottom: 100%; margin: 0 0 1.1rem; font: italic 600 clamp(1.7rem, 1.2rem + 1.5vw, 2.6rem)/1.1 var(--f-d); color: var(--gold); white-space: nowrap; }

/* telefono: la soluzione piu grande */
@media (max-width: 1099px) { .teoria__sub { font-size: clamp(2.5rem, 10.8vw, 3.4rem); line-height: 1.06; max-width: none; } .wall__p { font-size: 0.95rem; line-height: 1.42; } .teoria__stage { row-gap: 0.7rem; } }
@media (max-width: 1099px) and (max-height: 760px) { .teoria__sub { font-size: clamp(2.2rem, 9vw, 2.8rem); } .wall__p { font-size: 0.88rem; line-height: 1.36; } }
