/* Better Mondays: corso "Sblocca le vendite". Mobile first.
   Light theme, same tokens as yourbettermondays.com (brand guide v1.8):
   white and warm-ground bands, ink text, electric purple accents, orange actions, one dark aubergine band. */

@font-face {
  font-family: "Sora";
  src: url("fonts/sora-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --aubergine: #0e0b1f;
  --ground: #f8f7f4;
  --raised: #ffffff;
  --hair: #e4e1ee;
  --ink: #0e0b1f;
  --ink-muted: #5a5670;
  --purple: #5b3df5;
  --orange: #ff6b35;
  --orange-hover: #ff5a1f;
  --orange-text: #b8461b;
  --lilac: #eeeafe;

  --d-raised: #1a1633;
  --d-hair: #2a2547;
  --d-ink: #f8f7f4;
  --d-muted: #ada7cc;

  --error: #b42318;
  --error-bg: #fef3f2;
  --shadow: 0 1px 2px rgba(14, 11, 31, 0.04), 0 12px 32px -14px rgba(14, 11, 31, 0.18);

  --r-m: 12px;
  --r-l: 22px;
  --font-head: "Sora", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }

body {
  margin: 0;
  background: var(--raised);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

img { max-width: 100%; display: block; }

a { color: var(--purple); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--orange);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  z-index: 100;
}
.skip:focus { top: 12px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

/* Bands: white by default, warm ground for alternation, one dark band */
section { padding: 56px 0; }
.band { background: var(--ground); }
.band-dark { background: var(--aubergine); color: var(--d-ink); }
.section-title { font-size: clamp(1.75rem, 5.4vw, 2.5rem); font-weight: 700; margin-bottom: 28px; letter-spacing: -0.03em; }

/* Announcement bar, as on the main site */
.topbar {
  background: var(--aubergine);
  color: var(--d-ink);
  font-size: 0.8125rem;
  text-align: center;
  padding: 9px 16px;
}
.topbar b { color: var(--orange); font-weight: 600; }

/* Header */
.site-header { padding: 22px 0 6px; }
.site-header img { width: 150px; height: auto; }

/* Hero */
.hero {
  padding: 32px 0 64px;
  background: linear-gradient(180deg, var(--raised) 0%, var(--raised) 45%, var(--lilac) 100%);
}
.hero-stack {
  display: grid;
  gap: 28px;
  justify-items: center;
  text-align: center;
}
.hero-text { max-width: 860px; }
.hero-stack .video { width: 100%; max-width: 880px; }
.hero-stack .hero-cta { width: 100%; max-width: 420px; min-height: 58px; font-size: 1.125rem; }
.hero-stack .card { width: 100%; max-width: 560px; margin-top: 12px; text-align: left; scroll-margin-top: 24px; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--purple);
  background: var(--lilac);
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  margin: 0 0 22px;
}
.tag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.2);
}

/* Headline: the old way gets crossed out, the new way arrives */
.hero h1 {
  font-size: clamp(2.125rem, 7.6vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}
.hero h1 .h-old {
  display: block;
  color: var(--ink-muted);
  font-weight: 600;
}
.hero h1 .strike { position: relative; white-space: nowrap; }
.hero h1 .strike::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  top: 54%;
  height: 0.09em;
  min-height: 3px;
  border-radius: 99px;
  background: var(--orange);
  transform: rotate(-2deg) scaleX(1);
  transform-origin: left center;
}
.hero h1 .h-new { display: block; color: var(--orange-text); margin-top: 0.08em; }

@media (prefers-reduced-motion: no-preference) {
  .js .hero h1 .strike::after { animation: strike 0.6s cubic-bezier(.65, 0, .35, 1) 0.45s backwards; }
  .js .hero h1 .h-new { animation: rise 0.8s cubic-bezier(.2, .7, .2, 1) 0.95s backwards; }
  .js .hero .sub { animation: rise 0.8s cubic-bezier(.2, .7, .2, 1) 1.1s backwards; }
  .js .hero .video { animation: rise 0.8s cubic-bezier(.2, .7, .2, 1) 1.2s backwards; }
  .js .hero .hero-cta { animation: rise 0.8s cubic-bezier(.2, .7, .2, 1) 1.35s backwards; }
  .js .hero .card { animation: rise 0.8s cubic-bezier(.2, .7, .2, 1) 1.45s backwards; }
}
@keyframes strike {
  from { transform: rotate(-2deg) scaleX(0); }
  to { transform: rotate(-2deg) scaleX(1); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.hero .sub {
  margin: 20px auto 0;
  font-size: 1.125rem;
  color: var(--ink-muted);
  max-width: 36em;
}

/* Intro video: 16:9 thumbnail, player swapped in on click */
.video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-l);
  overflow: hidden;
  background: var(--aubergine);
  box-shadow: var(--shadow);
}
.video iframe,
.vthumb { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vthumb { display: block; cursor: pointer; }
.vthumb img { width: 100%; height: 100%; object-fit: cover; }
/* Play sits on the photo half, clear of the face and of the branded panel on the right */
.vthumb .play {
  position: absolute;
  left: 38%;
  top: 64%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: var(--ink);
  box-shadow: 0 0 0 6px rgba(255, 107, 53, 0.25), 0 10px 24px rgba(14, 11, 31, 0.35);
  transition: transform 0.15s ease;
}
.vthumb .play svg { width: 26px; height: 26px; margin-left: 3px; }
.vthumb:hover .play, .vthumb:focus-visible .play { transform: translate(-50%, -50%) scale(1.08); }
.vthumb:focus-visible { outline-offset: -4px; outline-color: var(--raised); }

/* Form card */
.card {
  background: var(--raised);
  border: 1px solid var(--hair);
  border-radius: var(--r-l);
  padding: 24px 20px;
  box-shadow: var(--shadow);
}
.card h2 { font-size: 1.375rem; font-weight: 700; margin-bottom: 18px; }

.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 6px;
}
.field .opt { font-weight: 400; color: var(--ink-muted); }

.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem; /* 16px avoids iOS zoom on focus */
  color: var(--ink);
  background: var(--ground);
  border: 1px solid var(--hair);
  border-radius: var(--r-m);
  padding: 12px 14px;
  transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #8a8699; }
.field input:focus,
.field textarea:focus {
  outline: none;
  background: var(--raised);
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(91, 61, 245, 0.18);
}
.field input[aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: 0.875rem; margin: 6px 0 0; }

/* Honeypot: off screen, not display:none, so simple bots still fill it */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--orange);
  border: 0;
  border-radius: var(--r-m);
  padding: 14px 20px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}
.btn:hover { background: var(--orange-hover); color: var(--ink); }
.btn-arrow {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}
.btn:hover .btn-arrow, .btn:focus-visible .btn-arrow { transform: translate(2px, -2px); }
.btn:hover .btn-arrow-down, .btn:focus-visible .btn-arrow-down { transform: translateY(3px); }
.btn[disabled] .btn-arrow { display: none; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { cursor: progress; opacity: 0.85; }

.spinner {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(14, 11, 31, 0.25);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-note { margin: 12px 0 0; font-size: 0.9375rem; font-weight: 600; text-align: center; }
.consent { margin: 14px 0 0; font-size: 0.8125rem; color: var(--ink-muted); line-height: 1.5; }
.form-error {
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--error-bg);
  border: 1px solid #fecdca;
  color: var(--error);
  font-size: 0.9375rem;
}

.success { text-align: center; padding: 24px 4px; }
.success .icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--orange);
  display: grid;
  place-items: center;
}
.success h2 { margin-bottom: 8px; }
.success p { margin: 0; color: var(--ink-muted); }
@media (prefers-reduced-motion: no-preference) {
  .success:not([hidden]) .icon { animation: pop 0.45s cubic-bezier(.3, 1.5, .5, 1) backwards; }
  .success:not([hidden]) .check { stroke-dasharray: 1; animation: draw 0.4s ease-out 0.3s backwards; }
  .success:not([hidden]) h2, .success:not([hidden]) p { animation: rise 0.6s cubic-bezier(.2, .7, .2, 1) 0.35s backwards; }
}
@keyframes pop { from { transform: scale(0.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* Cosa ricevi */
.ricevi { display: grid; gap: 28px; }
.ricevi .section-title { margin-bottom: 18px; }

/* 7 segments = the 7 lessons, filled one after another once in view */
.track { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; max-width: 320px; }
.track i {
  display: block;
  height: 6px;
  border-radius: 99px;
  background: var(--orange);
}
.track-caption { margin: 12px 0 0; font-size: 0.9375rem; color: var(--ink-muted); }
.track-caption a { font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .js .track i {
    background: var(--hair);
    transition: background-color 0.35s ease;
  }
  .js .in .track i { background: var(--orange); }
  .js .in .track i:nth-child(2) { transition-delay: 0.12s; }
  .js .in .track i:nth-child(3) { transition-delay: 0.24s; }
  .js .in .track i:nth-child(4) { transition-delay: 0.36s; }
  .js .in .track i:nth-child(5) { transition-delay: 0.48s; }
  .js .in .track i:nth-child(6) { transition-delay: 0.6s; }
  .js .in .track i:nth-child(7) { transition-delay: 0.72s; }
}

.benefits { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--hair); }
.benefits li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--hair);
}
.benefits .ic {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--r-m);
  background: var(--lilac);
  fill: none;
  stroke: var(--purple);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.benefits h3 { font-size: 1.1875rem; font-weight: 600; margin-bottom: 4px; }
.benefits p { margin: 0; color: var(--ink-muted); font-size: 1rem; }

/* Da così a così: like the main site's Prima / Dopo, paper vs dark */
.compare { display: grid; gap: 16px; }
.compare-col { border-radius: var(--r-l); padding: 24px 22px; }
.compare-col h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 14px; }
.compare-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.compare-col li { position: relative; padding-left: 30px; font-size: 1rem; line-height: 1.5; }
.compare-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}
.compare-before {
  background-color: var(--raised);
  background-image:
    linear-gradient(#f1eff6 1px, transparent 1px),
    linear-gradient(90deg, #f1eff6 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: -1px -1px;
  border: 1px solid var(--hair);
}
.compare-before h3,
.compare-before li { color: var(--ink-muted); }
.compare-before li::before {
  background-color: var(--hair);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 3l6 6M9 3l-6 6' stroke='%235a5670' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}
.compare-after { background: var(--aubergine); color: var(--d-ink); }
.compare-after li::before {
  background-color: var(--orange);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3l2.3 2.2L9.5 3.8' fill='none' stroke='%230e0b1f' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.section-cta { margin-top: 36px; }
.section-cta .btn { width: auto; padding: 14px 28px; }

/* Il programma: a real sequence, so numbered steps on one line */
.programma-grid { display: grid; gap: 28px; }
.programma-intro p { margin: 0; font-size: 1.125rem; color: var(--ink-muted); max-width: 26em; }
.lessons { list-style: none; margin: 0; padding: 0; position: relative; }
.lessons::before,
.lessons::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  border-radius: 2px;
}
.lessons::before { background: var(--hair); }
.lessons::after { background: var(--orange); transform-origin: top; }
.lesson {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 18px;
  padding-bottom: 28px;
}
.lesson:last-child { padding-bottom: 0; }
.lesson-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--raised);
  border: 2px solid var(--orange);
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
}
.lesson h3 { font-size: 1.1875rem; font-weight: 600; line-height: 1.3; margin: 7px 0 6px; }
.lesson p { margin: 0; color: var(--ink-muted); font-size: 1rem; }
.lesson .lesson-template {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 12px;
  padding: 7px 12px;
  border-radius: 10px;
  background: var(--lilac);
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: 1.4;
}
.lesson-template b { font-weight: 600; color: var(--purple); }
.lesson-template svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  fill: none;
  stroke: var(--purple);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .js .lessons::after { transform: scaleY(0); transition: transform 1.6s cubic-bezier(.4, 0, .2, 1) 0.3s; }
  .js .lessons.in::after { transform: scaleY(1); }
}

/* Testimonials */
.quotes { display: grid; gap: 16px; }
.quote {
  margin: 0;
  background: var(--raised);
  border: 1px solid var(--hair);
  border-radius: var(--r-l);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow);
}
.quote .result {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--orange-text);
}
.quote blockquote { margin: 0; flex: 1; }
.quote blockquote p { margin: 0; font-size: 1.0625rem; }
.quote figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--ink-muted);
}
.quote figcaption b { color: var(--ink); font-weight: 600; }
.avatar {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--aubergine);
  border: 1px solid var(--hair);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.is-light { background: var(--raised); }
.avatar.is-light img { width: 24px; height: auto; object-fit: contain; }

/* Per chi è / non è */
.fit { display: grid; gap: 16px; }
.for-whom {
  background: var(--aubergine);
  color: var(--d-ink);
  border-radius: var(--r-l);
  padding: 32px 22px;
}
.for-whom .label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--orange);
  margin: 0 0 12px;
}
.for-whom p.big {
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 4.2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin: 0;
}
.not-fit {
  background: var(--raised);
  border: 1px solid var(--hair);
  border-radius: var(--r-l);
  padding: 28px 22px;
}
.not-fit .label { font-size: 1rem; font-weight: 600; margin: 0 0 12px; }
.not-fit p { margin: 0 0 14px; color: var(--ink-muted); }
.not-fit ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--ink-muted); }
.not-fit li { position: relative; padding-left: 26px; }
.not-fit li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 3l6 6M9 3l-6 6' stroke='%235a5670' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Chi sono */
.about { display: grid; gap: 24px; align-items: center; }
.about img {
  width: 100%;
  max-width: 200px;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-l);
  box-shadow: var(--shadow);
}
.about p { margin: 0; font-size: 1.125rem; color: var(--ink-muted); }
.about p strong { color: var(--ink); font-weight: 600; }

/* FAQ */
.faq-wrap { max-width: 820px; }
.faq { border-top: 1px solid var(--hair); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.125rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--lilac) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 2.5v7M2.5 6h7' stroke='%235b3df5' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat;
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 44px 20px 0; }
.faq .ans p { margin: 0; color: var(--ink-muted); }
@media (prefers-reduced-motion: no-preference) {
  .faq details[open] .ans { animation: rise 0.35s ease backwards; }
}

/* Final CTA: the dark band */
.cta-bottom { text-align: center; padding: 64px 0; }
.cta-line {
  margin: 0 0 20px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.5rem, 5vw, 2.25rem);
  letter-spacing: -0.03em;
}
.cta-bottom .btn { width: auto; padding: 14px 28px; }

/* Floating CTA */
.float-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 50;
  width: auto;
  box-shadow: 0 0 0 1px rgba(14, 11, 31, 0.08), 0 14px 32px -10px rgba(14, 11, 31, 0.55);
  transform: translateY(160%);
  transition: transform 0.4s cubic-bezier(.2, .8, .2, 1);
}
.float-cta.show { transform: none; }
.float-cta .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 4px rgba(14, 11, 31, 0.18);
}
@media (prefers-reduced-motion: no-preference) {
  .float-cta.show .dot { animation: cta-pulse 2.4s ease-out infinite; }
}
@keyframes cta-pulse {
  0% { box-shadow: 0 0 0 0 rgba(14, 11, 31, 0.35); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(14, 11, 31, 0); }
}

/* Reveal on scroll (motion.js adds .in) */
@media (prefers-reduced-motion: no-preference) {
  .js .rv {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2, .7, .2, 1);
  }
  .js .rv.in { opacity: 1; transform: none; }
  .js .benefits .rv:nth-child(2), .js .quotes .rv:nth-child(2), .js .compare .rv:nth-child(2) { transition-delay: 0.1s; }
  .js .benefits .rv:nth-child(3) { transition-delay: 0.2s; }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--hair);
  padding: 28px 0 36px;
  font-size: 0.875rem;
  color: var(--ink-muted);
}
.site-footer a { color: var(--ink-muted); }
.site-footer a:hover { color: var(--ink); }

/* Thank-you page */
.thanks-page { background: linear-gradient(180deg, var(--raised) 0%, var(--lilac) 100%); min-height: 100vh; }
.thanks {
  min-height: 70vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  text-align: center;
  padding: 48px 16px;
}
.thanks h1 { font-size: clamp(2rem, 7vw, 3rem); font-weight: 700; margin-bottom: 18px; letter-spacing: -0.03em; }
.thanks p { color: var(--ink-muted); font-size: 1.125rem; max-width: 30em; margin: 0 auto 28px; }
.thanks .btn { width: auto; padding: 14px 28px; }
.thanks-page .site-footer { border-top-color: rgba(14, 11, 31, 0.08); }
@media (prefers-reduced-motion: no-preference) {
  .thanks h1 { animation: rise 0.8s cubic-bezier(.2, .7, .2, 1) 0.1s backwards; }
  .thanks p { animation: rise 0.8s cubic-bezier(.2, .7, .2, 1) 0.25s backwards; }
  .thanks .btn { animation: rise 0.8s cubic-bezier(.2, .7, .2, 1) 0.4s backwards; }
}

/* Desktop */
@media (min-width: 760px) {
  .wrap { padding: 0 32px; }
  .site-header { padding-top: 28px; }
  .site-header img { width: 170px; }
  .hero { padding: 48px 0 88px; }
  .card { padding: 32px 28px; }
  section { padding: 88px 0; }
  .cta-bottom { padding: 96px 0; }
  .ricevi { grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
  .quotes { grid-template-columns: repeat(2, 1fr); }
  .programma-grid { grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
  .programma-intro { position: sticky; top: 40px; }
  .compare { grid-template-columns: 1fr 1fr; }
  .compare-col { padding: 32px 30px; }
  .fit { grid-template-columns: 1.5fr 1fr; align-items: stretch; }
  .for-whom { padding: 48px; }
  .not-fit { padding: 40px 32px; }
  .about { grid-template-columns: 240px 1fr; gap: 56px; }
  .about img { max-width: 240px; }
  .float-cta { left: 50%; right: auto; transform: translate(-50%, 160%); padding: 14px 26px; }
  .float-cta.show { transform: translate(-50%, 0); }
}

@media (min-width: 1000px) {
  .hero-stack { gap: 36px; }
  .hero h1 { font-size: clamp(3rem, 4.8vw, 4.25rem); }
  .hero .sub { font-size: 1.25rem; }
  .vthumb .play { width: 88px; height: 88px; }
  .vthumb .play svg { width: 34px; height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation-duration: 0.01ms !important; }
}
