/* ==========================================================================
   Token
   ========================================================================== */
:root {
  --accent: #5F000A;
  --ink: rgb(36, 36, 36);
  --ink-cream: #f5efe6;
  --text-muted: rgb(92, 92, 98);
  --bg: #fff;

  --font-serif: "Spectral", serif;
  --font-sans: "Inter", system-ui, sans-serif;
  --font-button: "Plus Jakarta Sans", system-ui, sans-serif;
  --inter-features: "blwf" on, "cv03" on, "cv04" on, "cv09" on, "cv11" on;

  /* Molla di Framer (stiffness 200, damping 50) approssimata */
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, p { margin: 0; }
a { color: inherit; text-decoration: none; }

.page {
  position: relative;
  min-height: 100vh;
  overflow: clip;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ==========================================================================
   Blocco 1 — Sfondo hero
   ========================================================================== */
.hero-bg {
  position: absolute;
  z-index: 0;
  top: 63px;
  left: 50%;
  transform: translateX(-50%);
  width: 1080px;
  aspect-ratio: 2.33333;
  overflow: clip;
  pointer-events: none;
}
.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-bg.is-empty img { display: none; }
.hero-bg__side-fade {
  position: absolute;
  inset: 0;
  background: radial-gradient(51% 106.935%, #fff0 56.5766%, #fff 100%);
}
.hero-bg__white-fade {
  position: absolute;
  inset: -26px 0 -14px;
  background: linear-gradient(#fff0 20.6627%, #fff 67.3828%);
}

/* ==========================================================================
   Blocco 1 — Barra di navigazione (misure dal progetto Framer)
   ========================================================================== */
.nav {
  position: relative;
  z-index: 9;
  width: 100%;
  padding: 10px 24px 0;
  display: flex;
  justify-content: center;
}
.nav__bar {
  width: 100%;
  max-width: 942px;
  padding: 4px;
  display: flex;
  align-items: center;
  gap: 36px;
  border-radius: 0 0 30px 30px;
  background: #fff;
}
.nav__wordmark {
  font-family: "Geist", var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #000;
  white-space: nowrap;
}
.nav__links { flex: 1; display: flex; justify-content: flex-end; gap: 36px; }
.nav__links a {
  font-family: "Geist", var(--font-sans);
  font-size: 16px;
  letter-spacing: -0.03em;
  line-height: 1.75em;
  color: #000;
  transition: color 0.2s ease;
}
.nav__links a:hover { color: #00000080; }
.nav__cta {
  position: relative;
  height: 44px;
  padding: 10px 26px 10px 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 269px;
  background: rgb(23, 23, 23);
  color: #fff;
  font-family: "Geist", var(--font-sans);
  font-size: 15px;
  letter-spacing: -0.02em;
  line-height: 1.75em;
  white-space: nowrap;
  box-shadow:
    0 1.2px 1.2px -0.34px rgba(0, 0, 0, 0.08),
    0 2.87px 2.87px -0.69px rgba(0, 0, 0, 0.08),
    0 5.23px 5.23px -1.03px rgba(0, 0, 0, 0.08),
    0 8.69px 8.69px -1.38px rgba(0, 0, 0, 0.08),
    0 14.04px 14.04px -1.72px rgba(0, 0, 0, 0.08),
    0 22.98px 22.98px -2.06px rgba(0, 0, 0, 0.08),
    0 39.57px 39.57px -2.41px rgba(0, 0, 0, 0.07),
    0 72px 72px -2.75px rgba(0, 0, 0, 0.07);
}
/* riflesso lucido in alto a destra */
.nav__cta-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(100% 100% at 100% 0%, rgba(255, 255, 255, 0.37) 0%, rgba(255, 255, 255, 0) 100%);
}
/* freccia: all'hover ne entra una nuova da sinistra */
.nav__cta-icon { position: relative; width: 20px; height: 20px; overflow: hidden; flex-shrink: 0; }
.nav__cta-icon svg {
  position: absolute;
  inset: 0;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.35s var(--ease-spring);
}
.nav__cta-icon svg + svg { transform: translateX(-24px); }
.nav__cta:hover .nav__cta-icon svg:first-child { transform: translateX(24px); }
.nav__cta:hover .nav__cta-icon svg + svg { transform: translateX(0); }

/* ==========================================================================
   Blocco 1 — Hero
   ========================================================================== */
.hero {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 87px 36px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}
.hero__container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.hero__heading {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.hero__text {
  width: min-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* Pillola "Limited Capacity" */
.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  padding: 3px 15px 3px 3px;
  border-radius: 40px;
  background: linear-gradient(var(--accent) 0%, #050505 100%);
  white-space: pre;
  letter-spacing: -0.01em;
  line-height: 1;
  font-feature-settings: var(--inter-features);
}
.badge__label {
  padding: 5px 8px;
  border-radius: 30px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.7);
}
.badge__text {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}

/* Titolo */
.hero__title {
  align-self: stretch;
  font-family: var(--font-serif);
  font-size: 64px;
  font-weight: 300;
  letter-spacing: -0.05em;
  line-height: 1em;
  text-align: center;
  text-wrap: balance;
  color: var(--ink);
}
.hero__title span {
  background-image: linear-gradient(0deg, #000 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Sottotitolo */
.hero__subtitle {
  width: 800px;
  max-width: 800px;
  font-size: 19px;
  letter-spacing: -0.02em;
  line-height: 1.8em;
  text-align: center;
  text-wrap: balance;
  color: var(--text-muted);
  font-feature-settings: var(--inter-features);
}
.hero__subtitle strong { font-weight: 700; }

/* Pulsanti */
.hero__buttons {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Testo che "rotola" all'hover: due copie impilate in una finestra di 21px */
.roll {
  height: 21px;
  overflow: clip;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.roll > span {
  white-space: pre;
  line-height: 1.3em;
  transform: translateY(-33px);
  transition: transform 0.45s var(--ease-spring);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 42px rgba(190, 30, 55, 0.55), 0 8px 24px rgba(0, 0, 0, 0.35); }
.btn-primary:hover .roll > span,
.btn-link:hover .roll > span { transform: translateY(0); }

.btn-primary {
  padding: 12px 22px 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(217, 86, 106, 0.3);
  background: linear-gradient(155deg, #b3263a 0%, #7a0010 55%, var(--accent) 100%);
  color: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  font-family: var(--font-button);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: 0 0 28px rgba(190, 30, 55, 0.35), 0 4px 16px rgba(0, 0, 0, 0.3);
  user-select: none;
}

.btn-link {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  color: var(--ink);
  font-family: var(--font-button);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  user-select: none;
}
.btn-link .roll__accent { color: var(--accent); }
.btn-link__icon {
  width: 20px;
  height: 21px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Video */
.hero__video {
  width: 106%;
}
.video-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 15px;
  background: #000;
  overflow: clip;
  cursor: pointer;
}
.video-card__poster {
  position: absolute;
  inset: 0;
  border-radius: 15px;
  background-size: cover;
  background-position: center;
}
.video-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.18);
}
.video-card__play {
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px 0 rgba(0, 0, 0, 0.25);
  transition: transform 0.3s var(--ease-spring);
}
.video-card:hover .video-card__play { transform: scale(1.06); }
.video-card__play svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: rgb(17, 17, 19);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.video-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10;
}
.lightbox[hidden] { display: none; }
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  cursor: pointer;
}
.lightbox__frame {
  position: absolute;
  top: calc(50% - 217px);
  left: calc(50% - 385px);
  width: 770px;
  height: 434px;
  border-radius: 15px;
  overflow: clip;
  background: #000;
}
.lightbox__frame video,
.lightbox__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
}

/* Animazione d'ingresso (fade + 10px verso l'alto, ritardo 0.3s) */
.appear {
  animation: appear 0.9s var(--ease-spring) 0.3s both;
}
@keyframes appear {
  from { opacity: 0.001; transform: translateY(10px); }
  to   { opacity: 1;     transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .appear, .badge { animation: none; }
  .roll > span, .video-card__play { transition: none; }
}

/* ==========================================================================
   Breakpoint (gli stessi del sito originale)
   ========================================================================== */

/* Extra large ≥ 1800px */
@media (min-width: 1800px) {
  .hero-bg { width: 1462px; top: 79px; }
  .hero__text { width: 100%; }
  .badge { animation: appear 0.9s var(--ease-spring) 1s both; }
  .badge__label, .badge__text { font-size: 18px; }
  .hero__title { align-self: auto; width: 100%; font-size: 88px; }
}

/* Tablet 810–1199px */
@media (min-width: 810px) and (max-width: 1199.98px) {
  .hero { padding: 80px 36px; }
  .hero__container { max-width: 730px; }
  .hero__video { width: 90%; }
  .lightbox__frame {
    width: 686px; height: 387px;
    top: calc(50% - 193.5px); left: calc(50% - 343px);
  }
}

/* Mobile < 810px */
@media (max-width: 809.98px) {
  .hero-bg {
    transform: none;
    width: auto;
    top: -36px;
    left: -345px;
    right: -345px;
  }
  .nav { padding: 8px 12px 0; }
  .nav__bar { gap: 12px; padding: 4px 4px 4px 12px; }
  .nav__links { display: none; }
  .nav__wordmark { flex: 1; font-size: 16px; }
  .nav__cta { height: 42px; padding: 8px 16px 8px 14px; font-size: 13px; gap: 6px; }
  .nav__cta-icon, .nav__cta-icon svg { width: 16px; height: 16px; }

  .hero { gap: 0; padding: 27px 16px 77px; }
  .hero__container { gap: 0; max-width: 376px; }
  .hero__video { width: 100%; }
  .hero__text { width: 100%; }

  .hero__title { align-self: auto; order: 1; width: 100%; font-size: 51px; }
  .hero__title span { background-image: linear-gradient(0deg, #000 0%, var(--accent) 94.4083%); }

  .hero__subtitle {
    order: 2; width: auto; max-width: 800px;
    font-size: 18px; line-height: 1.4em;
  }
  .hero__video { order: 3; }
  .hero__buttons { order: 4; flex-direction: column; width: 100%; }
  .btn-primary { width: 100%; }
  .btn-link { width: 100%; }

  .lightbox__frame {
    width: 337px; height: 190px;
    top: calc(50% - 95px); left: calc(50% - 168.5px);
  }
}

/* ==========================================================================
   Comuni ai blocchi successivi
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }

/* ==========================================================================
   Blocco 2 — Il problema (font e misure dall'ispirazione Framer)
   ========================================================================== */
.problem {
  --font-geist: "Geist", system-ui, sans-serif;
  --font-display: "Inter", system-ui, sans-serif; /* Inter con optical size = Inter Display */
  --font-iserif: "Instrument Serif", serif;

  position: relative;
  z-index: 1;
  width: 100%;
  padding: 100px 24px 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
}

/* Titoli: Geist, parole che entrano sfocate una alla volta */
.p2-title {
  max-width: 1000px;
  margin: 0;
  font-family: var(--font-geist);
  font-size: 68px;
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 1.25em;
  text-align: center;
  color: rgb(23, 23, 23);
}
.p2-title mark {
  padding: 0 0.12em;
  border-radius: 23px;
  background: var(--accent);
  color: #fff;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
/* "L'opportunità è già nella tua lista": più respiro sopra e sotto */


/* Sottotitolo e testo sotto "L'opportunità…" */
.p2-subtitle {
  margin: 12px 0 0;
  font-family: var(--font-iserif);
  font-style: italic;
  font-size: 44px;
  line-height: 1.2;
  text-align: center;
  color: rgba(0, 0, 0, 0.5);
}
.p2-lead {
  max-width: 640px;
  margin: 28px 0 0;
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7em;
  letter-spacing: -0.01em;
  text-align: center;
  text-wrap: balance;
  color: rgba(0, 0, 0, 0.55);
}

/* Statistiche — misure e stili da postflows.io */
.stats {
  width: 100%;
  max-width: 1240px;
  margin: 110px 0 60px;
  padding: 0 40px;
}
.stats__row {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.stats__item {
  position: relative;
  z-index: 3;
  flex: 1 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.stats__icon-wrap {
  padding: 6px;
  opacity: 0;
  transform: perspective(1200px) scale(0.8);
  transition: opacity 0.6s ease, transform 0.6s var(--ease-spring);
}
.stats.visible .stats__icon-wrap { opacity: 1; transform: perspective(1200px) scale(1); }
.stats.visible .stats__item:nth-child(2) .stats__icon-wrap { transition-delay: 0.1s; }
.stats.visible .stats__item:nth-child(3) .stats__icon-wrap { transition-delay: 0.2s; }
.stats__icon {
  position: relative;
  padding: 2px;
  border-radius: 100px;
  background: #fff;
  box-shadow: 0 6px 12px #0000001f, 0 2px 5px #0000001f, 0 6px 11px #0000000d;
}
.stats__icon::before {
  content: "";
  position: absolute;
  inset: -10px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,1) 55%, rgba(255,255,255,0) 72%);
}
.stats__icon svg {
  box-sizing: content-box;
  display: block;
  width: 26px;
  height: 26px;
  padding: 12px;
  border-radius: 100px;
  background: linear-gradient(180deg, #4c4c4c 0%, #111 100%);
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}
.stats__icon svg.stats__logo { fill: #fff; stroke: none; }
.stats__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: "Satoshi", var(--font-display), sans-serif;
}
.stats__number {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.4em;
  color: #2b2b2c;
  white-space: pre;
}
.stats__label {
  margin: 0;
  max-width: 300px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5em;
  color: #6b6b6b;
  text-align: center;
  text-wrap: balance;
}
/* linea orizzontale sfumata che unisce le icone */
.stats__line {
  position: absolute;
  z-index: 1;
  top: 39px;
  left: 50%;
  width: 1162px;
  max-width: 100vw;
  height: 1.5px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(240,240,240,0) 0%, rgba(224,224,224,0.7) 23.6%, rgb(199,199,199) 50%, rgba(199,199,199,0.7) 77.7%, rgba(199,199,199,0) 100%);
}
/* banda d'ombra morbida dietro la linea */
.stats__shadow {
  position: absolute;
  z-index: 0;
  top: 18px;
  left: 50%;
  width: 100%;
  height: 47px;
  opacity: 0.7;
  transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0) 100%);
}

.bw {
  display: inline-block;
  opacity: 0.001;
  filter: blur(10px);
  transform: translateY(10px);
  transition: opacity 0.6s ease, filter 0.6s ease, transform 0.6s var(--ease-spring);
}
.visible .bw { opacity: 1; filter: blur(0); transform: none; }

/* Card a ventaglio */
.fan {
  --p: 0; /* 0 → 1 mentre scorri */
  position: relative;
  width: 100%;
  max-width: 1143px;
  margin: 90px 0 110px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
}
.fan__col { flex: 1 1 0; display: flex; justify-content: center; }
.fan__col:nth-of-type(1) { padding-top: 62px; }
.fan__col:nth-of-type(3) { padding-top: 64px; }

.fan__card {
  --q: calc(1 - var(--p));
  width: 307px;
  min-height: 306px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.25), 12px 16px 16px 0 rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.04);
  font-family: var(--font-display);
  font-optical-sizing: auto;
  will-change: transform;
}
/* posizione iniziale (dal codice Framer) → posizione finale */
.fan__col:nth-of-type(1) .fan__card {
  transform: translate(calc(var(--q) * 321px), calc(var(--q) * -20px)) rotate(calc(-4deg + var(--q) * -14deg));
}
.fan__col:nth-of-type(2) .fan__card {
  min-height: 288px;
  transform: translate(calc(var(--q) * 7px), calc(var(--q) * 161px)) rotate(calc(5deg + var(--q) * 29deg));
}
.fan__col:nth-of-type(3) .fan__card {
  width: 309px;
  min-height: 328px;
  transform: translate(calc(var(--q) * -274px), calc(var(--q) * -98px)) rotate(calc(-2deg + var(--q) * -2deg));
}
.fan__num {
  font-size: 72px;
  font-weight: 300;
  letter-spacing: -0.06em;
  line-height: 1.25em;
  color: #000;
}
.fan__card h3 {
  margin: 0 0 4px;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.6em;
  color: #000;
}
.fan__card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7em;
  color: rgba(0, 0, 0, 0.5);
}
.fan__line {
  position: absolute;
  z-index: 3;
  inset: -40px 0 auto;
  width: 100%;
  height: auto;
  overflow: visible;
  pointer-events: none;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
}
.fan__line circle { fill: #fff; opacity: var(--p); }
.fan__path {
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--p));
}

/* Citazione + divisore */
.p2-quote {
  max-width: 900px;
  margin: 0;
  font-family: var(--font-iserif);
  font-size: 29px;
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
  color: rgba(0, 0, 0, 0.5);
}
.p2-divider {
  display: flex;
  gap: 40px;
  margin: 40px 0 40px;
}
.p2-divider span {
  width: 69px;
  height: 1px;
  opacity: 0.5;
  background: linear-gradient(90deg, #54545400 0%, rgba(0, 0, 0, 0.5) 100%);
}
.p2-divider span + span { background: linear-gradient(270deg, #54545400 0%, rgba(0, 0, 0, 0.5) 100%); }

/* Paragrafo che si accende parola per parola + pillole */
/* Paragrafo al centro, ai lati "Senza di me" (sx) e "Con me" (dx) */
.retention {
  position: relative;
  width: 100%;
  max-width: 940px;
  padding: 48px 160px;
}
.retention__text {
  margin: 0;
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-feature-settings: "salt" on;
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.4em;
  text-align: center;
  text-wrap: balance;
  color: #000;
}
.retention__text .w { opacity: 0.2; transition: opacity 0.25s ease; }
.retention__text .w.on { opacity: 1; }

/* le due colonne di pillole occupano i lati; le pillole sono sparse e inclinate come nel Framer */
/* schermi larghi: pillole sparse e inclinate ai lati del testo, come nel Framer
   (posizioni relative al riquadro di 940px) */
@media (min-width: 1300px) {
  .retention__side { display: contents; }
  .retention__side .chip { position: absolute; }
  .retention__side--without .chip:nth-child(1) { top: 62px; left: -150px; --final: rotate(3deg); }
  .retention__side--without .chip:nth-child(2) { top: 50%; left: -105px; --final: translateY(-50%) rotate(4deg); }
  .retention__side--without .chip:nth-child(3) { bottom: 52px; left: -125px; --final: rotate(-4deg); }
  .retention__side--with .chip:nth-child(1) { top: 51px; right: -140px; --final: rotate(-4deg); }
  .retention__side--with .chip:nth-child(2) { top: 50%; right: -125px; --final: translateY(-50%) rotate(-4deg); }
  .retention__side--with .chip:nth-child(3) { bottom: 52px; right: -105px; --final: rotate(4deg); }
}
.chip {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 280px;
  padding: 4px 20px 4px 4px;
  border: 1px solid #fff;
  border-radius: 147px;
  background: #fff;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.25), 12px 16px 16px 0 rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.04);
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1.3em;
  color: #000;
  cursor: grab;
  user-select: none;
  touch-action: none;
  opacity: 0;
  translate: var(--dx, 0) var(--dy, 0);
  transform: var(--final, ) var(--from);
  transition: opacity 0.7s ease, transform 0.9s var(--ease-spring);
}
.chip.dragging { cursor: grabbing; transition: none; }
.chip.back { transition: translate 0.5s var(--ease-spring); }
[data-chips].visible .chip { opacity: 1; transform: var(--final, none); }
[data-chips].visible .chip:nth-of-type(2) { transition-delay: 0.08s; }
[data-chips].visible .chip:nth-of-type(3) { transition-delay: 0.16s; }
.chip i {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.chip svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* senza di me: grigio e un po' spento */
.chip--no { color: #6b6b70; }
.chip--no i { background: #b4b4b8; }
/* con me: bordeaux */
.chip--yes { border-color: rgba(95, 0, 10, 0.18); color: #111; }
.chip--yes i { background: var(--accent); }

/* ==========================================================================
   Blocchi 3 e 4 — Card a ventaglio "pilastri"
   ========================================================================== */
.pillars {
  --p-bg: #141414;
  --p-card: #fff;
  --p-border: rgba(0,0,0,0.08);
  --p-title: #fff;
  --p-text: #8a8a8a;
  --accent-light: #d9566a;
  --accent-glow: rgba(190, 30, 55, 0.35);

  position: relative;
  z-index: 1;
  width: 100%;
  padding: 110px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background:
    radial-gradient(ellipse 65% 55% at 15% 80%, rgba(160, 20, 40, 0.14) 0%, transparent 100%),
    var(--p-bg);
}
.pillars--light {
  --p-bg: #fff;
  background:
    radial-gradient(ellipse 65% 55% at 85% 80%, rgba(95, 0, 10, 0.06) 0%, transparent 100%),
    var(--p-bg);
}
.pillars--plain { background: #fff; }
.pillars--light .pillars__header h2 { color: #111; }
.pillars--light .pillars__header p { color: var(--text-muted); }

.pillars__header { max-width: 820px; text-align: center; margin-bottom: 56px; }
.pillars__header .p2-title {
  margin: 0 0 18px;
  font-family: "Geist", var(--font-sans);
  font-size: 68px;
  font-weight: 400;
  line-height: 1.25em;
  letter-spacing: -0.06em;
  color: rgb(23, 23, 23);
}
@media (min-width: 812px) and (max-width: 1199.98px) { .pillars__header .p2-title { font-size: 54px; } }
@media (max-width: 811.98px) { .pillars__header .p2-title { font-size: 43px; } }
.pillars__header h2 {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(38px, 4.6vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--p-title);
}
.pillars__header p {
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: var(--p-text);
}
.glow {
  background: linear-gradient(160deg, #f2a3ae 0%, var(--accent-light) 45%, #a3192b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 22px var(--accent-glow));
}
.pillars--light .glow {
  background: linear-gradient(160deg, #b3263a 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 18px rgba(95, 0, 10, 0.18));
}

.cards-grid {
  width: 100%;
  max-width: 1240px;
  padding: 20px 10px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.pcard {
  --rot: 0deg;
  --ty: 0px;
  position: relative;
  flex: 1;
  max-width: 400px;
  padding: 38px 30px;
  border: 1px solid var(--p-border);
  border-radius: 32px;
  background: var(--p-card);
  overflow: hidden;
  transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  transform: rotate(var(--rot)) translateY(calc(var(--ty) + 26px));
}
.pcard.visible { transform: rotate(var(--rot)) translateY(var(--ty)); }
.pcard { box-shadow: 0 1px 2px rgba(0,0,0,0.05), 0 12px 32px rgba(0,0,0,0.08); }
.cards-grid .pcard:nth-child(1) { --rot: -3deg; z-index: 2; margin-right: -22px; }
.cards-grid .pcard:nth-child(2) { --rot: 1deg; --ty: -14px; z-index: 4; }
.cards-grid .pcard:nth-child(3) { --rot: 2.5deg; z-index: 2; margin-left: -22px; }
.pcard::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-light), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.pcard:hover {
  z-index: 10 !important;
  border-color: rgba(95, 0, 10, 0.3);
  box-shadow: 0 22px 64px rgba(0,0,0,0.14);
  animation: jitter 0.45s ease;
}
.pcard:hover::after { opacity: 1; }
@keyframes jitter {
  0%, 100% { transform: rotate(var(--rot)) translateY(var(--ty)); }
  15% { transform: rotate(var(--rot)) translateY(var(--ty)) translate(-4px, -3px); }
  30% { transform: rotate(var(--rot)) translateY(var(--ty)) translate(4px, 2px); }
  50% { transform: rotate(var(--rot)) translateY(var(--ty)) translate(-3px, 3px); }
  70% { transform: rotate(var(--rot)) translateY(var(--ty)) translate(3px, -2px); }
  85% { transform: rotate(var(--rot)) translateY(var(--ty)) translate(-1px, 1px); }
}
.pcard__icon { display: block; margin-bottom: 16px; fill: none; color: var(--accent); }
.pcard h3 {
  margin: 0 0 11px;
  font-size: clamp(19px, 1.8vw, 24px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #111;
}
.pcard > p {
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: var(--text-muted);
}
.pcard__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.pcard__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: -0.01em;
  color: #4a4a50;
}
.pcard__list li::before {
  content: "";
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 1px solid rgba(95, 0, 10, 0.25);
  background: rgba(95, 0, 10, 0.07) url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='%235F000A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat;
}

.pillars__cta { margin-top: 48px; }
.btn-glow {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1px solid rgba(217, 86, 106, 0.3);
  background: linear-gradient(155deg, #b3263a 0%, #7a0010 55%, var(--accent) 100%);
  color: #fff;
  font-family: var(--font-button);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: 0 0 28px var(--accent-glow), 0 4px 16px rgba(0,0,0,0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 42px rgba(190, 30, 55, 0.55), 0 8px 24px rgba(0,0,0,0.35);
}

/* ==========================================================================
   Blocco 5 — FAQ (stile da thrivetribemedia.com, colori del sito)
   ========================================================================== */
.faq {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 100px 28px;
  background: #fff;
  font-family: "Geist", -apple-system, BlinkMacSystemFont, sans-serif;
}
.faq__inner { max-width: 1180px; margin: 0 auto; }
.faq__title {
  max-width: 820px;
  margin: 0 auto 64px;
  font-family: "Geist", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 68px;
  font-weight: 400;
  line-height: 1.25em;
  letter-spacing: -0.06em;
  text-align: center;
  color: rgb(23, 23, 23);
}
/* "frequenti": testo bordeaux sfumato con alone, senza pillola */
.faq__glow { filter: drop-shadow(0 0 20px rgba(95, 0, 10, 0.35)); }
.faq__glow,
.faq__glow .bw {
  background: linear-gradient(160deg, #8a1020 0%, #5F000A 55%, #3d0006 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (min-width: 812px) and (max-width: 1199.98px) { .faq__title { font-size: 54px; } }
@media (max-width: 811.98px) { .faq__title { font-size: 43px; margin-bottom: 40px; } }
.faq-list { max-width: 760px; margin: 64px auto 0; display: flex; flex-direction: column; gap: 9px; }
.faq-item {
  background: rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: rgba(95, 0, 10, 0.25); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: none;
  border: none;
  color: #111;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  letter-spacing: -0.015em;
  transition: background 0.2s;
}
.faq-q:hover { background: rgba(0,0,0,0.04); }
.faq-q:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.faq-q em { font-style: normal; color: var(--accent); }
.faq-chev {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  background: rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #555;
  transition: all 0.28s ease;
}
.faq-item.open .faq-chev {
  background: rgba(95, 0, 10, 0.08);
  border-color: rgba(95, 0, 10, 0.25);
  color: var(--accent);
  transform: rotate(180deg);
}
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.38s ease; }
.faq-a-in {
  padding: 0 22px 20px;
  font-size: 0.87rem;
  color: rgba(0,0,0,0.6);
  line-height: 1.75;
  letter-spacing: -0.01em;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .chip, .pcard:hover { animation: none; }
}

/* Responsive dei blocchi 2–5 */
@media (min-width: 812px) and (max-width: 1199.98px) {
  .p2-title { font-size: 54px; }
  .fan { transform: scale(0.72); margin: 20px 0 40px; }
  .stats__label { font-size: 22px; line-height: 1.2em; color: #8f8f8f; }
  .stats__line { width: 770px; }
}
/* sotto i 1440px le pillole non ci stanno ai lati: vanno sotto il paragrafo, in due colonne */
@media (max-width: 1299.98px) {
  .retention { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 24px; padding: 0 16px; min-height: 0; max-width: 1000px; }
  .retention__text { grid-column: 1 / -1; grid-row: 1; }
  .retention__side { display: flex; flex-direction: column; gap: 18px; }
  .chip { max-width: none; }
  .retention__side--without { align-items: flex-end; }
  .retention__side--with { align-items: flex-start; }
  .retention__side .chip:nth-child(1) { --final: rotate(3deg); }
  .retention__side .chip:nth-child(2) { --final: rotate(-3deg); }
  .retention__side .chip:nth-child(3) { --final: rotate(2deg); }
}
@media (max-width: 1100px) {
  .chip { white-space: normal; border-radius: 24px; line-height: 1.35em; padding: 6px 16px 6px 6px; }
}
@media (max-width: 809.98px) {
  .problem { padding: 60px 16px 90px; }
  .p2-title { font-size: 43px; }
  .fan { flex-direction: column; align-items: center; gap: 24px; margin: 48px 0 64px; }
  .fan__col { padding: 0 !important; width: 100%; }
  .fan__col .fan__card { width: 100%; max-width: 340px; min-height: 0; transform: rotate(calc(var(--q) * 4deg)) !important; }
  .fan__col:nth-of-type(2) .fan__card { transform: rotate(calc(var(--q) * -4deg)) !important; }
  .fan__line { display: none; }
  .p2-quote { font-size: 24px; }
  .p2-subtitle { font-size: 34px; }
  .stats { margin-top: 64px; padding: 0; }
  .stats__row { flex-direction: column; align-items: center; gap: 44px; }
  .stats__item { flex: none; width: 100%; }
  .stats__line, .stats__shadow { display: none; }
  .stats__label { font-size: 18px; line-height: 1.2em; color: #8f8f8f; }
  .retention__text { font-size: 26px; }
  .retention { grid-template-columns: 1fr; padding: 0; }
  .retention__side--without, .retention__side--with { align-items: stretch; }

  .pillars { padding: 80px 16px; }
  .cards-grid { flex-direction: column; align-items: center; }
  .pcard { max-width: 100%; --ty: 0px; }
  .pcard { padding-bottom: 60px; } /* compensa la sovrapposizione di 22px tra le card */
  .cards-grid .pcard:nth-child(1) { --rot: -1.5deg; z-index: 3; margin: 0; }
  .cards-grid .pcard:nth-child(2) { --rot: 1deg; z-index: 4; margin: -22px 0 0; }
  .cards-grid .pcard:nth-child(3) { --rot: -0.5deg; z-index: 5; margin: -22px 0 0; }

  .faq { padding: 64px 16px 80px; }
  .faq-list { margin-top: 40px; }
}

/* ==========================================================================
   Calcolatore "Leak meter" — stili originali di kyrscaling.com
   ========================================================================== */
.leak {
  --ink: #141317;
  --paper: #fffdf8;
  --red: #b3263a; /* cremisi, abbinato al bordeaux (era arancione) */
  --blue: #5F000A; /* bordeaux (era blu) */
  --purple: #5F000A; /* bordeaux (era viola) */
  --line-soft: rgba(20, 19, 23, 0.14);
  --fg-55: rgba(20, 19, 23, 0.58);
  --fg-70: rgba(20, 19, 23, 0.74);
  --display: "Bebas Neue", sans-serif;
  --tag: "Sedgwick Ave Display", "Bebas Neue", cursive;
  --marker: "Permanent Marker", "Comic Sans MS", cursive;
  --wob-sm: 12px 4px 10px 5px / 5px 10px 4px 12px;
  --ease-k: cubic-bezier(.22, .61, .36, 1);
  --drip-purple: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 34' preserveAspectRatio='none'%3E%3Cpath d='M5 12 C 35 4 85 4 115 10' fill='none' stroke='%235F000A' stroke-width='7' stroke-linecap='round'/%3E%3Cpath d='M62 14 c1.2 5.5 1.2 10 0 14 c-1 3.2 -4.2 3.2 -4.2 0 c0 -4.5 1.4 -8.5 1.4 -14 z' fill='%235F000A'/%3E%3C/svg%3E");

  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 0 110px;
  overflow: hidden;
  background: #fff;
  color: var(--ink);
  font-family: "Inter", sans-serif;
}
.leak__wrap { max-width: 1400px; margin: 0 auto; padding: 0 80px; }
.leak__head { margin-bottom: 48px; max-width: 760px; margin-left: auto; margin-right: auto; text-align: center; }
.leak__head .leak__title { margin: 0; text-wrap: balance; }
.leak__eyebrow {
  position: relative;
  display: inline-block;
  margin-bottom: 24px;
  padding: 7px 18px 5px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(233, 226, 208, .94);
  transform: rotate(-1.4deg);
  box-shadow: 2px 3px 8px rgba(20, 19, 23, .14);
  clip-path: polygon(1.5% 8%, 4% 0, 97% 4%, 100% 14%, 99% 88%, 95.5% 100%, 3% 96%, 0 82%);
}
.leak__head h2 {
  margin: 0 0 22px;
  font-family: var(--display);
  font-size: clamp(2.6rem, 5.4vw, 5rem);
  font-weight: 400;
  line-height: .94;
  letter-spacing: .01em;
}
.leak__head p { margin: 0; font-size: clamp(14px, 1.2vw, 16px); color: var(--fg-55); line-height: 1.75; max-width: 62ch; }

.leakmeter {
  position: relative; max-width: 760px; margin: 0 auto;
  background: var(--paper); border: 2.5px solid var(--ink); border-radius: var(--wob-sm);
  box-shadow: 9px 9px 0 var(--blue);
  padding: 48px 44px 44px;
}
.leakmeter.reveal { transform: rotate(-.6deg) translateY(26px); }
.leakmeter.reveal.visible { transform: rotate(-.6deg); }
.leakmeter::before {
  content: ""; position: absolute; top: -14px; left: 50%; width: 110px; height: 26px; z-index: 3; margin-left: -55px;
  background: rgba(233, 226, 208, .92); transform: rotate(-2deg); box-shadow: 0 2px 6px rgba(20, 19, 23, .18);
  clip-path: polygon(2% 20%, 5% 0, 96% 6%, 100% 30%, 98% 84%, 94% 100%, 4% 94%, 0 70%);
}
.leakmeter p { margin: 0; }
.leakmeter__row { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; margin-bottom: 40px; }
.leakmeter__field label { display: block; font-family: var(--display); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-55); margin-bottom: 18px; }
.leakmeter__val { display: inline-block; margin-top: 14px; font-family: var(--marker); font-size: 19px; color: var(--red); transform: rotate(-1.5deg); }
.leakmeter__field:nth-child(2) .leakmeter__val { color: var(--blue); }
.leakmeter input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: none; cursor: pointer; margin: 0; display: block; }
.leakmeter input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 9px); }
.leakmeter input[type=range]::-moz-range-track { height: 6px; border-radius: 6px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 9px); }
.leakmeter input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--red); border: 3px solid var(--ink); margin-top: -12px;
  box-shadow: 3px 3px 0 rgba(20, 19, 23, .6); transition: transform .15s var(--ease-k);
}
.leakmeter input[type=range]::-webkit-slider-thumb:hover,
.leakmeter input[type=range]::-webkit-slider-thumb:active { transform: scale(1.14); }
.leakmeter input[type=range]::-moz-range-thumb {
  width: 30px; height: 30px; border-radius: 50%; background: var(--red); border: 3px solid var(--ink);
  box-shadow: 3px 3px 0 rgba(20, 19, 23, .6);
}
.leakmeter__field:nth-child(2) input[type=range]::-webkit-slider-thumb { background: var(--blue); }
.leakmeter__field:nth-child(2) input[type=range]::-moz-range-thumb { background: var(--blue); }
.leakmeter input[type=range]:focus-visible { outline: none; }
.leakmeter input[type=range]:focus-visible::-webkit-slider-thumb { outline: 3px dashed var(--blue); outline-offset: 3px; }
.leakmeter input[type=range]:focus-visible::-moz-range-thumb { outline: 3px dashed var(--blue); outline-offset: 3px; }
.leakmeter__output { text-align: center; padding: 6px 0 30px; border-top: 2px dashed var(--line-soft); border-bottom: 2px dashed var(--line-soft); margin-bottom: 34px; }
.leakmeter .leakmeter__amount { margin: 26px 0 16px; }
.leakmeter__num { font-family: var(--tag); font-size: clamp(2.6rem, 6.4vw, 4.8rem); color: var(--red); position: relative; display: inline-block; line-height: 1; }
.leakmeter__num::after { content: ""; position: absolute; left: -6%; right: -6%; bottom: -34px; height: 30px; background-image: var(--drip-purple); background-size: 100% 100%; background-repeat: no-repeat; }
.leakmeter__suffix { display: block; font-family: var(--display); font-size: clamp(1.1rem, 2.4vw, 1.6rem); letter-spacing: .01em; color: var(--ink); margin-top: 30px; }
.leakmeter .leakmeter__monthly { font-family: var(--marker); font-size: 15px; color: var(--purple); margin-top: 14px; }
.leakmeter__monthly[hidden] { display: none; }
.leakmeter__note { font-size: 13px; color: var(--fg-55); max-width: 52ch; margin: 0 auto !important; line-height: 1.65; }
.leakmeter .leakmeter__more {
  margin: 0 0 22px;
  text-align: center;
  font-size: 15px;
  color: var(--fg-70);
}
.leakmeter__ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.leak-btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--display); font-size: 16px; letter-spacing: .14em; text-transform: uppercase; font-weight: 400;
  padding: 15px 30px 13px; border: 2.5px solid var(--ink); color: var(--ink); background: var(--paper);
  border-radius: var(--wob-sm); white-space: nowrap;
  box-shadow: 5px 5px 0 var(--ink);
  transform: rotate(-.8deg);
  transition: transform .16s var(--ease-k), box-shadow .16s var(--ease-k), background .16s var(--ease-k), color .16s var(--ease-k);
}
.leak-btn:hover { transform: rotate(-.8deg) translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); background: var(--paper); color: var(--ink); }
.leak-btn:active { transform: rotate(-.8deg) translate(5px, 5px); box-shadow: 0 0 0 var(--ink); }
.leak-btn--solid { background: var(--ink); color: #fff; box-shadow: 5px 5px 0 var(--red); }
.leak-btn--solid:hover { background: var(--ink); color: #fff; box-shadow: 2px 2px 0 var(--red); }
.leak-btn--ghost { border-style: dashed; border-width: 2px; box-shadow: none; background: transparent; color: var(--fg-70); transform: rotate(.6deg); }
.leak-btn--ghost:hover { background: transparent; color: var(--ink); border-color: var(--ink); border-style: solid; box-shadow: 3px 3px 0 var(--blue); transform: rotate(.6deg) translate(-1px, -1px); }

@media (max-width: 1100px) { .leak__wrap { padding: 0 40px; } }
@media (max-width: 760px) {
  .leak__wrap { padding: 0 22px; }
  .leakmeter { padding: 38px 26px 34px; }
  .leakmeter__row { grid-template-columns: 1fr; gap: 34px; }
}

/* ==========================================================================
   Blocco 4 — Cosa offro (misure da locorummedia.com, colori e font del sito)
   ========================================================================== */
.offer {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 140px 0;
  background: #fff;
  color: rgb(23, 23, 23);
  font-family: "Geist", var(--font-sans);
}
.offer__heading {
  margin: 0 auto 72px;
  padding: 0 24px;
  font-family: "Geist", var(--font-sans);
}
.offer__wrap {
  width: 100%;
  max-width: 1112px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.offer__tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 64px;
  padding: 6px 20px;
  border-radius: 90px;
  background: rgba(0, 0, 0, 0.05);
}
.offer__tab {
  width: 160px;
  min-height: 40px;
  padding: 4px 24px;
  border: 0;
  border-radius: 80px;
  background: transparent;
  color: rgb(23, 23, 23);
  font: 500 18px/180% "Geist", var(--font-sans);
  letter-spacing: -0.02em;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, width 0.3s ease;
}
.offer__tab.is-active { width: 200px; background: var(--accent); color: #fff; }
.offer__tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.offer__panels { width: 100%; }
.offer__panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 32px;
  opacity: 0;
}
.offer__panel[hidden] { display: none; }
.offer__panel.is-active { opacity: 1; transition: opacity 0.3s ease; }
.offer__img { display: block; width: 100%; height: auto; }

.offer__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 490px;
}
.offer__text h3 {
  margin: 0 0 20px;
  font-size: 4em;
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.offer__text p {
  margin: 0 0 10px;
  font-family: var(--font-display, "Inter"), sans-serif;
  font-optical-sizing: auto;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.6em;
  color: rgba(0, 0, 0, 0.7);
}
.offer__cta {
  display: inline-block;
  margin-top: 10px;
  padding: 17px 30px;
  border: 1px solid transparent;
  border-radius: 30px;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  text-transform: uppercase;
  transition: all 0.2s;
}
.offer__cta:hover { background: #000; color: #fff; }
.offer__sign {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 24px;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  color: rgb(23, 23, 23);
}
.offer__sign span { width: 30%; height: 1px; background: currentColor; }

@media (max-width: 991px) {
  .offer { padding: 120px 0; }
  .offer__heading { font-size: 54px; }
}
@media (max-width: 767px) {
  .offer { padding: 80px 0; }
  .offer__panel { grid-template-columns: 1fr; gap: 24px; }
  .offer__tabs { padding-right: 10px; }
}
@media (max-width: 479px) {
  .offer { padding: 64px 0; }
  .offer__heading { margin-bottom: 40px; font-size: 43px; }
  .offer__wrap { padding: 0 16px; }
  .offer__tabs { width: 100%; margin-bottom: 24px; padding: 6px; gap: 4px; }
  .offer__tab { width: 27vw; padding: 4px 3vw; font-size: 4.4vw; }
  .offer__tab.is-active { width: 33vw; }
  .offer__text h3 { font-size: 45px; }
  .offer__text p { font-size: 17px; }
}

/* ==========================================================================
   Pannello scuro: "L'opportunità…" + statistiche + calcolatore
   ========================================================================== */
.spotlight {
  --font-geist: "Geist", system-ui, sans-serif;
  --font-display: "Inter", system-ui, sans-serif;
  --font-iserif: "Instrument Serif", serif;
  --panel-bg: #0d0b0b;

  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 24px 40px;
  background: #fff;
}
.spotlight__panel {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: 130px 40px 120px;
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  background:
    radial-gradient(60% 40% at 50% 0%, rgba(95, 0, 10, 0.55) 0%, rgba(95, 0, 10, 0) 100%),
    var(--panel-bg);
}
/* linee guida verticali sottili, come nel riferimento */
.spotlight__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.06), rgba(255,255,255,0.06)) 6% 0 / 1px 100% no-repeat,
    linear-gradient(rgba(255,255,255,0.06), rgba(255,255,255,0.06)) 50% 0 / 1px 100% no-repeat,
    linear-gradient(rgba(255,255,255,0.06), rgba(255,255,255,0.06)) 94% 0 / 1px 100% no-repeat;
}
.spotlight__panel > * { position: relative; }

/* testi su sfondo scuro */
.spotlight .p2-title { margin: 0; color: #fff; }
.spotlight .p2-title mark { background: #8a0f1f; }
.spotlight .p2-subtitle { color: rgba(255, 255, 255, 0.55); }
.spotlight .p2-lead { color: rgba(255, 255, 255, 0.65); }

/* statistiche su sfondo scuro */
.spotlight .stats { margin-bottom: 110px; }
.spotlight .stats__number { color: #fff; }
.spotlight .stats__label { color: rgba(255, 255, 255, 0.55); }
.spotlight .stats__icon { background: rgba(255, 255, 255, 0.18); box-shadow: 0 6px 12px #0006, 0 2px 5px #0005; }
.spotlight .stats__icon::before { background: radial-gradient(circle, var(--panel-bg) 55%, rgba(13, 11, 11, 0) 72%); }
.spotlight .stats__line { background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.12) 23.6%, rgba(255,255,255,0.22) 50%, rgba(255,255,255,0.12) 77.7%, rgba(255,255,255,0) 100%); }
.spotlight .stats__shadow { display: none; }

/* calcolatore dentro il pannello */
.spotlight .leak { width: 100%; padding: 0; overflow: visible; background: transparent; color: #fff; }
.spotlight .leak__wrap { padding: 0; }
.spotlight .leak__head h2 { color: #fff; }
.spotlight .leakmeter { box-shadow: 9px 9px 0 #8a0f1f; color: var(--ink); }

@media (max-width: 809.98px) {
  .spotlight { padding: 0 10px 24px; }
  .spotlight__panel { padding: 80px 18px 70px; border-radius: 24px; }
  .spotlight .stats { margin-bottom: 72px; }
}

/* ==========================================================================
   CTA finale + footer (misure da postflows.io, arancione → bordeaux)
   ========================================================================== */


.footer {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 100px 64px;
  background: linear-gradient(#fff 0%, #fbf1f1 100%);
  color: #2b2b2b;
}
.footer__inner { max-width: 1360px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }
.footer__top { display: flex; align-items: flex-start; gap: 150px; }
.footer__brand { display: flex; flex-direction: column; gap: 12px; }
.footer__logo { display: inline-flex; align-items: center; gap: 10px; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; color: #111; }
.footer__tagline { margin: 0; font-size: 24px; font-weight: 400; line-height: 1.4em; color: #2b2b2b; white-space: pre; }
.footer__cols { flex: 1 0 0; display: flex; justify-content: space-between; align-items: flex-start; padding-right: 100px; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
/* Navigazione in orizzontale: titolo sopra, link in riga */
.footer__col--row { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 28px; row-gap: 12px; }
.footer__col--row h4 { flex-basis: 100%; }
.footer__col h4 { margin: 0 0 4px; font-size: 18px; font-weight: 500; color: #2b2b2b; }
.footer__col > a { font-size: 16px; color: #2b2b2b; transition: color 0.2s linear; }
.footer__col > a:hover { color: var(--accent); }
.footer__socials { display: flex; flex-direction: column; gap: 14px; }
.footer__social {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  border: 1px solid #e8e6e6;
  border-radius: 13px;
  background: #fff;
  font-size: 16px; line-height: 1.4em; color: #6b6b6b;
  transition: border-color 0.2s, color 0.2s;
}
.footer__social:hover { border-color: rgba(95, 0, 10, 0.3); color: var(--accent); }
.footer__social svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 40px; }
.footer__bottom p { margin: 0; font-size: 16px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.4em; }
.footer__badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8.5px 13.8px;
  border: 1.98px solid #ebebeb;
  border-radius: 13.5px;
  background: #fff;
  font-size: 16px; font-weight: 500;
}
.footer__badge strong { color: var(--accent); }

@media (min-width: 810px) and (max-width: 1299.98px) {
}
@media (max-width: 809.98px) {
  .footer { padding: 100px 20px; }
  .footer__top { flex-direction: column; gap: 32px; }
  .footer__tagline { white-space: normal; }
  .footer__cols { width: 100%; padding-right: 0; flex-wrap: wrap; gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 32px; }
}

/* ==========================================================================
   Chi sono (misure da thrivetribemedia.com, sfondo bianco e bordeaux)
   ========================================================================== */
.founder {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 48px 20px;
  background: #fff;
}
.note {
  position: relative;
  max-width: 768px;
  margin: 0 auto;
  padding: 40px 304px 40px 40px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 28px;
}
.note__photos {
  position: absolute;
  right: -24px;
  top: -32px;
  width: 272px;
  height: 336px;
  pointer-events: none;
}
.note__polaroid {
  position: absolute;
  border-radius: 6px;
  background: #fff;
}
.note__polaroid img { display: block; width: 100%; height: auto; }
.note__polaroid--front img { aspect-ratio: 3 / 4; object-fit: cover; object-position: center 20%; }
.note__polaroid--back img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center 70%; }
.note__polaroid img.is-empty { aspect-ratio: 3 / 4; background: #eee9e9; }
.note__polaroid--back {
  right: 80px;
  top: 32px;
  width: 208px;
  padding: 8px 8px 32px;
  transform: rotate(8deg);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}
.note__polaroid--back img.is-empty { aspect-ratio: 3 / 2; }
.note__polaroid--front {
  right: 0;
  top: 0;
  width: 224px;
  padding: 8px 8px 36px;
  transform: rotate(-5deg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}
.note__head { display: flex; align-items: center; gap: 16px; }
.note__avatar {
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
}
.note__avatar.is-empty { background: #eee9e9; }
.note__from { font-weight: 600; color: var(--ink); }
.note__role { font-size: 14px; color: var(--text-muted); }
.note__role strong { font-weight: 600; color: var(--ink); }
.note__text { margin-top: 24px; font-size: 17px; line-height: 1.625; color: rgba(17, 17, 17, 0.9); }
.note__text p { margin: 0 0 16px; }
.note__text p:last-child { margin-bottom: 0; }
.note__text .note__ps { font-family: "Instrument Serif", serif; font-style: italic; font-size: 21px; line-height: 1.4; }
.note__text .w { opacity: 0.18; transition: opacity 0.25s ease; }
.note__text .w.on { opacity: 1; }
.note__sign { margin-top: 24px; }
.note__sign a {
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(95, 0, 10, 0.6);
  text-underline-offset: 4px;
}
.note__sign a:hover { text-decoration-color: var(--accent); }
.note__sign span { margin-left: 8px; font-size: 12px; color: var(--text-muted); }

/* Sotto i 1024px: foto piccole in alto a destra, come nell'originale */
@media (max-width: 1023.98px) {
  .note { padding: 24px; }
  .note__photos { right: -8px; top: -28px; width: 144px; height: 160px; }
  .note__polaroid--back { right: 48px; top: 24px; width: 96px; padding: 6px 6px 20px; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12); }
  .note__polaroid--front { width: 80px; padding: 6px 6px 20px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16); }
  .note__head { padding-right: 112px; }
}

/* ==========================================================================
   Resta in contatto (misure da itqan-portfolio, arancione → bordeaux)
   ========================================================================== */
.connect__card {
  font-family: "Instrument Sans", sans-serif;
  margin-bottom: 36px;
  width: 100%;
  max-width: 760px;
  padding: 52px 40px;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  overflow: clip;
  background: linear-gradient(145deg, #22060a 0%, #111 55%, #0e1018 100%);
  box-shadow: 0 28px 80px #1111112e;
  opacity: 0;
  transform: translateY(36px) scale(0.96);
  transition: opacity 0.8s ease, transform 0.8s var(--ease-spring);
}
.connect__card.visible { opacity: 1; transform: none; }
.connect__eyebrow {
  width: 100%;
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2em;
  text-transform: uppercase;
  color: #ffffffa3;
}
.connect__title {
  width: 100%;
  margin: 0;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.02em;
  text-wrap: balance;
  color: #fff;
}
.connect__title span { color: #b3263a; }
.connect__text {
  width: 520px;
  max-width: 100%;
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6em;
  text-wrap: balance;
  color: #ffffffb8;
}
.connect__buttons { display: flex; align-items: center; justify-content: center; gap: 14px; }
.connect__btn {
  position: relative;
  width: 180px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  overflow: hidden;
  isolation: isolate;
  background: #fff;
  color: #111;
  user-select: none;
  transition: color 1080ms cubic-bezier(0.23, 1, 0.32, 1);
}
.connect__btn-label {
  position: relative;
  z-index: 2;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1em;
  white-space: nowrap;
  transition: color 1080ms cubic-bezier(0.23, 1, 0.32, 1);
}
.connect__btn-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to left, var(--accent) 0%, #a3192b 50%, #fff 100%);
  transform: translateX(100%);
  transition: transform 1080ms cubic-bezier(0.23, 1, 0.32, 1);
}
.connect__btn-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='3.5' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.49;
  mix-blend-mode: overlay;
}
.connect__btn:hover .connect__btn-bg { transform: translateX(0); }
.connect__btn:hover .connect__btn-label { color: #fff; }
.connect__btn:focus-visible { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35); }

@media (min-width: 810px) and (max-width: 1199.98px) {
  .connect__card { padding: 48px 36px; }
}
@media (max-width: 809.98px) {
  .connect__card { border-radius: 24px; padding: 40px 22px; text-align: center; }
  .connect__title { font-size: 30px; }
  .connect__buttons { flex-direction: column; gap: 10px; width: 100%; }
  .connect__btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .connect__card { opacity: 1; transform: none; transition: none; }
  .connect__btn, .connect__btn-label, .connect__btn-bg { transition: none; }
}

/* Footer: colonna sinistra (brand + navigazione) e riquadro "Resta in contatto" a destra */
.footer__top {
  display: grid;
  grid-template-columns: 1fr minmax(0, 440px);
  align-items: start;
  gap: 64px;
}
.footer__left { display: flex; flex-direction: column; gap: 48px; }

/* "Resta in contatto" nel footer: versione chiara, in tono con il footer */
.connect__card--footer {
  width: 100%;
  margin: 0;
  padding: 32px;
  border: 1px solid #ece4e4;
  border-radius: 24px;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 16px 40px rgba(95, 0, 10, 0.07);
}
.connect__card--footer .connect__eyebrow { color: var(--accent); }
.connect__card--footer .connect__title { font-size: 28px; line-height: 1.08em; color: #111; }
.connect__card--footer .connect__title span { color: var(--accent); }
.connect__card--footer .connect__text { width: 100%; font-size: 14px; color: #6b6b6b; }
.connect__card--footer .connect__buttons { justify-content: flex-start; width: 100%; gap: 10px; margin-top: 8px; }
.connect__card--footer .connect__btn { flex: 1; width: auto; border: 1px solid var(--accent); background: var(--accent); color: #fff; }
.connect__card--footer .connect__btn + .connect__btn { background: transparent; color: var(--accent); }
.connect__card--footer .connect__btn-bg { background: linear-gradient(to left, #111 0%, #3d0006 50%, var(--accent) 100%); }
.connect__card--footer .connect__btn:hover .connect__btn-label { color: #fff; }

@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 809.98px) {
  .connect__card--footer { padding: 26px 22px; text-align: left; }
  .connect__card--footer .connect__buttons { flex-direction: column; }
  .connect__card--footer .connect__btn { width: 100%; }
}

/* ==========================================================================
   Cosa significa per te (misure da retentionforbrands.com, blu → bordeaux)
   ========================================================================== */
.split {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 100px 24px;
  background: #fff;
  font-family: "Geist", var(--font-sans);
}
.split__grid {
  width: 100%;
  max-width: 1276px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(50px, 1fr));
  gap: 43px;
}
.split__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; padding: 5px 0; }
.split__intro h2 {
  margin: 0 0 12px;
  font-size: 60px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.05em;
  text-wrap: balance;
  color: rgb(23, 23, 23);
}
.split__intro h2 span { color: var(--accent); }
.split__intro p {
  margin: 0 0 8px;
  font-family: var(--font-display, "Inter"), sans-serif;
  font-size: 18px;
  line-height: 160%;
  color: rgb(2, 6, 23);
}
.split__btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  line-height: 26px;
  transition: background 0.2s, transform 0.2s;
}
.split__btn:hover { background: #7a0010; transform: translateY(-1px); }

.split__table { display: flex; align-items: flex-start; width: 100%; max-width: 760px; justify-self: start; }
.split__col { flex: 1 0 0; display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 0; }
.split__col h3 {
  margin: 0;
  font-size: 34px;
  font-weight: 400;
  letter-spacing: -0.04em;
  white-space: nowrap;
  color: rgb(15, 15, 15);
}
.split__list {
  list-style: none;
  margin: 0;
  width: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.split__list--team { background: #f5f7f9; border-radius: 30px 0 0 30px; }
.split__list--brand { background: var(--accent); border-radius: 0 30px 30px 0; color: #fff; }
.split__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px 7px 7px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 150%;
  color: rgb(29, 50, 45);
}
.split__list--brand .split__item { color: #fff; }
.split__item svg {
  flex-shrink: 0;
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 1100px) {
  .split__grid { grid-template-columns: 1fr; }
  .split__table { justify-self: stretch; max-width: none; }
}
@media (max-width: 767.98px) {
  .split { padding: 64px 16px; }
  .split__intro { align-items: center; text-align: center; }
  .split__intro h2 { font-size: 34px; }
  .split__intro p { font-size: 15px; }
  .split__col h3 { font-size: 22px; }
  .split__list { padding: 12px 8px; gap: 4px; }
  .split__item { font-size: 13px; gap: 6px; padding: 6px 4px; }
  .split__item svg { width: 16px; height: 16px; }
}

/* ==========================================================================
   Il mio impatto in azione (misure da retentionforbrands.com, blu → bordeaux)
   ========================================================================== */
.impact {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 60px 0 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  background: #fff;
  font-family: "Geist", var(--font-sans);
}
.impact__head { width: 100%; max-width: 800px; padding: 0 24px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.impact__head h2 {
  margin: 0;
  font-size: 60px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgb(23, 23, 23);
}
.impact__head h2 span { color: var(--accent); }
.impact__head p {
  margin: 0;
  font-family: var(--font-display, "Inter"), sans-serif;
  font-size: 18px;
  line-height: 160%;
  color: rgb(2, 6, 23);
}
.impact__benefits {
  width: 100%;
  max-width: 1200px;
  padding: 0 60px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.impact__line {
  flex: 1 0 0;
  min-width: 20px;
  height: 0;
  border-top: 3px dotted rgba(94, 120, 143, 0.5);
  opacity: 0.5;
}
.impact__benefit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 18px;
  font-weight: 500;
  line-height: 150%;
  color: rgb(22, 16, 30);
}
.impact__benefit svg {
  width: 32px;
  height: 22px;
  fill: rgba(95, 0, 10, 0.2);
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.impact__ticker {
  width: 100%;
  padding: 10px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 12.5%, #000 87.5%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 12.5%, #000 87.5%, transparent 100%);
}
.impact__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 10px;
  width: max-content;
  animation: impact-scroll var(--ticker-duration, 60s) linear infinite;
}
.impact__ticker:hover .impact__track { animation-play-state: paused; }
.impact__track li { flex-shrink: 0; }
.impact__note { max-width: 560px; margin: 0; padding: 0 24px; font-size: 12px; line-height: 1.5; text-align: center; color: rgba(0, 0, 0, 0.38); }
.impact__track img { display: block; height: 632px; width: auto; }
@keyframes impact-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-1 * var(--set-width, 50%))); }
}
@media (max-width: 991.98px) {
  .impact__benefits { flex-wrap: wrap; justify-content: center; padding: 0 24px; gap: 16px 32px; }
  .impact__line { display: none; }
}
@media (max-width: 767.98px) {
  .impact { padding: 48px 0 70px; }
  .impact__head h2 { font-size: 34px; }
  .impact__head p { font-size: 15px; }
  .impact__benefit { font-size: 15px; }
  .impact__track img { height: 420px; }
}
@media (prefers-reduced-motion: reduce) { .impact__track { animation: none; } }

/* ==========================================================================
   CTA finale (struttura e misure da glaciertemplate, arancione → bordeaux)
   ========================================================================== */
.ready {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 60px 20px 40px;
  display: flex;
  justify-content: center;
  background: #fff;
}
.ready__card {
  position: relative;
  width: 100%;
  max-width: 1160px;
  overflow: hidden;
  border: 1px solid #241417;
  border-radius: 12px;
  background: #0e0a0b;
  font-family: "Inter", sans-serif;
  isolation: isolate;
}
/* arco luminoso al posto della loro immagine di sfondo */
.ready__glow {
  position: absolute;
  inset: -200px 0 auto;
  height: 772px;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(130% 85% at 50% 108%, transparent 58%, rgba(255, 220, 220, 0.55) 59.2%, rgba(179, 38, 58, 0.85) 60.5%, rgba(95, 0, 10, 0.45) 63%, transparent 69%),
    radial-gradient(60% 50% at 100% 55%, rgba(179, 38, 58, 0.45) 0%, transparent 70%),
    radial-gradient(50% 45% at 0% 70%, rgba(95, 0, 10, 0.35) 0%, transparent 70%);
}
.ready__glow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 10, 11, 0) 57%, #0e0a0b 100%);
}
.ready__content {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  margin: 0 auto;
  padding: 100px 72px 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.ready__pill {
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 40px;
  background: rgba(14, 10, 11, 0.04);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 150%;
  text-transform: uppercase;
  color: #fff;
}
.ready__title {
  max-width: 640px;
  margin: 0;
  font-family: "Geist", "Inter", sans-serif;
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 110%;
  text-wrap: balance;
  color: #fff;
}
.ready__title span { color: #d9566a; }
.ready__text {
  max-width: 780px;
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 400;
  line-height: 150%;
  color: #ded3d5;
}
.ready__buttons { display: flex; align-items: center; justify-content: center; gap: 20px; width: 100%; }
.ready__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 18px 16px;
  border: 1px solid #3a2226;
  border-radius: 40px;
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1em;
  white-space: nowrap;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.ready__btn:hover { background: rgba(255, 255, 255, 0.05); border-color: #5a343a; }
.ready__btn--primary {
  padding: 14px 18px;
  border-color: #c2475a;
  background: var(--accent);
  box-shadow: inset 0 -2px 10px 0 rgba(217, 86, 106, 0.8);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.ready__btn--primary:hover { background: #7a0010; border-color: #d9566a; }
.ready__btn--primary span { display: inline-block; transition: transform 0.25s ease; }
.ready__btn--primary:hover span { transform: translateX(4px); }

/* striscia di email inclinata che scorre in basso */
.ready__emails {
  position: absolute;
  z-index: 1;
  left: -10px;
  bottom: -100px;
  width: 116%;
  transform: rotate(-3deg);
}
.ready__ticker { height: 326px; padding: 10px; overflow: hidden; }
.ready__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 10px;
  width: max-content;
  height: 100%;
  animation: ready-scroll 60s linear infinite;
}
.ready__track li { flex-shrink: 0; height: 100%; aspect-ratio: 0.613; border-radius: 6px; overflow: hidden; }
.ready__track img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
@keyframes ready-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-100% / 3 - 10px / 3)); }
}

@media (max-width: 809.98px) {
  .ready { padding: 40px 10px 24px; }
  .ready__glow { inset: -60px 0 auto; height: 360px; }
  .ready__content { padding: 72px 20px 272px; gap: 18px; }
  .ready__title { font-size: 32px; }
  .ready__text { font-size: 16px; }
  .ready__buttons { flex-direction: column; gap: 12px; }
  .ready__btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .ready__track { animation: none; } }
@media (max-width: 479.98px) {
  .note { padding: 20px; }
  .note__head { gap: 12px; padding-right: 92px; }
  .note__avatar { width: 48px; height: 48px; }
  .note__role { font-size: 13px; }
}

/* Elenco di cosa include ogni servizio (tab "I miei servizi") */
.offer__list { margin: 6px 0 26px; }
.offer__list li { font-size: 15px; }
.offer__tab { width: auto; min-width: 160px; white-space: nowrap; }
.offer__tab.is-active { width: auto; min-width: 200px; }
.offer__text .offer__lead { font-weight: 600; color: var(--accent); }

/* Tab "I miei servizi": tre email dei tuoi design a ventaglio al posto dell'immagine */
.offer__visual { position: relative; width: 100%; aspect-ratio: 1 / 1; max-width: 520px; justify-self: center; }
.offer__visual img {
  position: absolute;
  top: 8%;
  left: 50%;
  width: 40%;
  aspect-ratio: 3 / 5;
  object-fit: cover;
  object-position: top;
  border-radius: 14px;
  background: #f4f1f1;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 18px 40px rgba(0, 0, 0, 0.14);
  transition: transform 0.5s var(--ease-spring, ease);
}
.offer__visual img:nth-child(1) { transform: translateX(-118%) rotate(-9deg) translateY(30px); z-index: 1; }
.offer__visual img:nth-child(2) { transform: translateX(-50%); z-index: 3; }
.offer__visual img:nth-child(3) { transform: translateX(18%) rotate(9deg) translateY(30px); z-index: 2; }
.offer__panel.is-active .offer__visual:hover img:nth-child(1) { transform: translateX(-128%) rotate(-12deg) translateY(24px); }
.offer__panel.is-active .offer__visual:hover img:nth-child(3) { transform: translateX(28%) rotate(12deg) translateY(24px); }

/* Schema del flusso (tab One shot) — tutto in proporzione grazie alle unità cqw */
.offer__visual.flow { container-type: inline-size; aspect-ratio: 100 / 128; max-width: 540px; font-family: "Inter", sans-serif; }
.flow__panel {
  position: absolute;
  left: 2%;
  top: 1.5%;
  width: 52%;
  padding: 4.5cqw 0 3cqw;
  border-radius: 2cqw;
  background: #fff;
  box-shadow: 0 2cqw 7cqw rgba(0, 0, 0, 0.09);
}
.flow__title { margin: 0 4.5cqw 3.4cqw; font: 600 4.2cqw/1.1 "Geist", sans-serif; letter-spacing: -0.03em; color: #111; }
.flow__q { margin: 0; padding: 3.4cqw 4.5cqw 2.4cqw; border-top: 1px solid rgba(0, 0, 0, 0.08); font-size: 2.7cqw; font-weight: 600; color: #111; }
.flow__select {
  margin: 0 4.5cqw;
  padding: 2cqw 2.6cqw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(95, 0, 10, 0.35);
  border-radius: 1.2cqw;
  background: rgba(95, 0, 10, 0.08);
  font-size: 2.6cqw;
  color: var(--accent);
  font-weight: 500;
}
.flow__select svg { width: 3cqw; height: 3cqw; fill: none; stroke: currentColor; stroke-width: 2.4; }
.flow__opts { list-style: none; margin: 0.6cqw 4.5cqw 0 7.5cqw; padding: 0; }
.flow__opts li { padding: 2.2cqw 0; border-bottom: 1px solid rgba(0, 0, 0, 0.08); font-size: 2.6cqw; color: #333; }
.flow__opts li:last-child { border-bottom: 0; }

.flow__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; color: #1c1c1c; }
.flow__lines path { fill: none; stroke: currentColor; stroke-width: 1.3px; vector-effect: non-scaling-stroke; }

.flow__node {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 2.4cqw;
  padding: 2.6cqw 3cqw;
  border-radius: 1.6cqw;
  background: #fff;
  box-shadow: 0 1.6cqw 5cqw rgba(0, 0, 0, 0.09);
  font-size: 2.6cqw;
  line-height: 1.3;
  color: #222;
}
.flow__node svg { flex: none; width: 4.6cqw; height: 4.6cqw; fill: none; stroke: #1c1c1c; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.flow__node b { font-weight: 600; }
.flow__node--start { background: var(--accent); color: #fff; box-shadow: 0 2cqw 6cqw rgba(95, 0, 10, 0.3); }
.flow__node--start svg { stroke: #fff; }
.flow__node--end { border: 1px solid rgba(95, 0, 10, 0.25); }
.flow__node--end svg { stroke: var(--accent); }
.flow__label { position: absolute; z-index: 2; transform: translate(-50%, -50%); font-size: 2.6cqw; font-weight: 500; color: #1c1c1c; }

/* piccola animazione: i blocchi compaiono in sequenza quando la tab è attiva */
.offer__panel.is-active .flow__panel,
.offer__panel.is-active .flow__node,
.offer__panel.is-active .flow__label { animation: flow-in 0.5s ease both; }
.offer__panel.is-active .flow__node:nth-of-type(2) { animation-delay: 0.1s; }
.offer__panel.is-active .flow__node:nth-of-type(3) { animation-delay: 0.2s; }
.offer__panel.is-active .flow__node:nth-of-type(4) { animation-delay: 0.3s; }
.offer__panel.is-active .flow__node:nth-of-type(5) { animation-delay: 0.4s; }
.offer__panel.is-active .flow__node:nth-of-type(6) { animation-delay: 0.5s; }
@keyframes flow-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.offer__panel.is-active .flow__label { animation-name: flow-label-in; animation-delay: 0.3s; }
@keyframes flow-label-in { from { opacity: 0; } to { opacity: 1; } }

/* Composizione "Servizio completo": email + dashboard (stile kit di presentazione) */
.offer__visual.suite {
  container-type: inline-size;
  aspect-ratio: 1 / 1;
  max-width: 560px;
  overflow: hidden;
  border-radius: 3.5cqw;
  background:
    radial-gradient(55% 45% at 85% 100%, rgba(138, 16, 32, 0.55) 0%, transparent 100%),
    radial-gradient(40% 35% at 10% 30%, rgba(138, 16, 32, 0.35) 0%, transparent 100%),
    #141011;
  font-family: "Inter", sans-serif;
}
.suite__email {
  position: absolute;
  width: 18%;
  height: 90%;
  object-fit: cover;
  object-position: top;
  border-radius: 1.6cqw;
  background: #222;
  box-shadow: 0 2cqw 5cqw rgba(0, 0, 0, 0.45);
}
.suite__card {
  position: absolute;
  z-index: 2;
  padding: 2.6cqw 3cqw;
  border-radius: 2cqw;
  background: #fff;
  color: #1c1c1c;
  box-shadow: 0 3cqw 8cqw rgba(0, 0, 0, 0.4);
}
.suite__eyebrow { margin: 0 0 1.4cqw; font-size: 1.9cqw; font-weight: 600; color: #666; letter-spacing: -0.01em; }
.suite__big { margin: 0; font: 600 3.6cqw/1.15 "Geist", sans-serif; letter-spacing: -0.03em; color: #111; }
.suite__small { margin: 0.4cqw 0 0.8cqw; font-size: 1.7cqw; color: #777; }
.suite__up { display: inline-block; padding: 0.3cqw 1cqw; border-radius: 99px; background: rgba(95, 0, 10, 0.09); color: var(--accent); font: 600 1.6cqw/1.3 "Inter", sans-serif; vertical-align: middle; }
.suite__row { display: flex; gap: 4cqw; }

.suite__card--summary { left: 3%; top: 8%; width: 46%; transform: rotate(-7deg); }
.suite__card--table { right: 3%; top: 15%; width: 44%; padding: 2cqw 2.6cqw; transform: rotate(4deg); font-size: 1.8cqw; }
.suite__thead, .suite__tr { display: grid; grid-template-columns: 1.6fr 1fr 0.7fr; align-items: center; gap: 1cqw; }
.suite__thead { padding-bottom: 1cqw; border-bottom: 1px solid rgba(0, 0, 0, 0.08); color: #888; font-size: 1.6cqw; }
.suite__tr { padding: 1.3cqw 0; border-bottom: 1px solid rgba(0, 0, 0, 0.06); color: #333; }
.suite__tr:last-child { border-bottom: 0; }
.suite__tr span:last-child, .suite__thead span:last-child { text-align: right; }
.suite__tr em { justify-self: start; padding: 0.3cqw 1.1cqw; border-radius: 99px; background: rgba(95, 0, 10, 0.09); color: var(--accent); font-style: normal; font-weight: 600; font-size: 1.6cqw; }

.suite__card--chart { left: 18%; top: 58%; width: 62%; transform: rotate(2deg); }
.suite__legend { display: flex; gap: 2.4cqw; margin: 1.2cqw 0; font-size: 1.6cqw; color: #666; }
.suite__legend i { display: inline-block; width: 1.4cqw; height: 1.4cqw; margin-right: 0.8cqw; border-radius: 0.4cqw; background: var(--accent); vertical-align: middle; }
.suite__legend span + span i { background: #d9a2aa; }
.suite__bars { display: flex; align-items: flex-end; gap: 1.2cqw; height: 13cqw; padding-top: 1cqw; border-top: 1px solid rgba(0, 0, 0, 0.06); }
.suite__bars i { position: relative; flex: 1; display: flex; flex-direction: column-reverse; border-radius: 0.6cqw 0.6cqw 0 0; background: #d9a2aa; overflow: hidden; }
.suite__bars b { display: block; background: var(--accent); }

/* animazione all'apertura della tab */
.offer__panel.is-active .suite__email { animation: flow-in 0.6s ease both; }
.offer__panel.is-active .suite__email:nth-child(2) { animation-delay: 0.05s; }
.offer__panel.is-active .suite__email:nth-child(3) { animation-delay: 0.1s; }
.offer__panel.is-active .suite__email:nth-child(4) { animation-delay: 0.15s; }
.offer__panel.is-active .suite__email:nth-child(5) { animation-delay: 0.2s; }
.offer__panel.is-active .suite__card { animation: suite-pop 0.6s var(--ease-spring, ease) 0.3s both; }
.offer__panel.is-active .suite__card--table { animation-delay: 0.42s; }
.offer__panel.is-active .suite__card--chart { animation-delay: 0.54s; }
@keyframes suite-pop { from { opacity: 0; translate: 0 14px; scale: 0.94; } to { opacity: 1; translate: 0 0; scale: 1; } }
.offer__panel.is-active .suite__bars i { animation: suite-bar 0.8s ease 0.7s both; transform-origin: bottom; }
@keyframes suite-bar { from { transform: scaleY(0); } to { transform: none; } }
.offer__visual.suite .suite__email { width: 18%; height: 90%; aspect-ratio: auto; transform: none; border-radius: 1.6cqw; }
.offer__visual.suite:hover .suite__email { transform: none; }

/* Dashboard: badge verdi, barre blu (sotto) e verdi (sopra) come nelle analytics di Klaviyo */
.suite__up,
.suite__tr em { background: rgba(31, 157, 85, 0.12); color: #1a8a4a; }
.suite__bars i { background: #34b36b; }
.suite__bars b { background: #2f6fe4; }
.suite__legend i { background: #2f6fe4; }
.suite__legend span + span i { background: #34b36b; }

/* ==========================================================================
   Hero — fascia delle email che scorre (al posto del video)
   ========================================================================== */
.hero-strip {
  position: relative;
  width: 100vw;
  margin: -24px calc(50% - 50vw) 0;
  padding: 18px 0 34px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.hero-strip__track {
  display: flex;
  gap: 22px;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: hero-strip 55s linear infinite;
  will-change: transform;
}
.hero-strip:hover .hero-strip__track { animation-play-state: paused; }
.hero-strip__track li {
  flex: none;
  width: 230px;
  height: 380px;
  overflow: hidden;
  border-radius: 18px;
  background: #f4f1f1;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 16px 36px rgba(0, 0, 0, 0.1);
  transition: transform 0.35s ease;
}
.hero-strip__track li:nth-child(odd) { transform: translateY(14px); }
.hero-strip__track li:hover { transform: translateY(-6px); }
.hero-strip__track img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
@keyframes hero-strip { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 11px)); } }
@media (prefers-reduced-motion: reduce) { .hero-strip__track { animation: none; } }
@media (max-width: 809.98px) {
  .hero-strip { margin-top: 28px; padding: 12px 0 26px; }
  .hero-strip__track { gap: 14px; animation-duration: 40s; }
  .hero-strip__track li { width: 160px; height: 270px; border-radius: 14px; }
  .hero-strip__track li:nth-child(odd) { transform: translateY(10px); }
}
