/*
 * The masterclass pages (/masterclass, /masterclass/conferma): the layout of the community landing
 * (/community: 1200px container, everything centred, big headings, one column on phones and grids on
 * wider screens) in the dark colours of the homepage and /francesco (01_brand/BRAND.md).
 * Written phone first; the wider layout is in the min-width blocks next to each part.
 */
:root {
  color-scheme: dark;
  --bg: #040406;
  --card: #0b0b10;
  --card-hi: #12121a;
  --fg: #f8fafc;
  --body: #cbd5e1;
  --muted: #a3b0c2;
  --border: rgba(248, 250, 252, 0.1);
  --border-hi: rgba(248, 250, 252, 0.22);
  --blue: #60a5fa;
  --cta: #0066ff;
  --cta-hover: #0052cc;
  --live: #ef4444;
  --radius: 22px;
  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(5.75rem, 13vw, 10rem);
  /* Single blocks that stay narrow on a wide screen: the event box, a paragraph. */
  --narrow: 34rem;
  --vsl-w: min(24rem, 88vw, calc((100dvh - 8rem) * 9 / 16));
}

* {
  box-sizing: border-box;
}

/* Nothing may make the page wider than the screen: iPhones ignore overflow-x on body alone. */
html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--body);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* A soft blue light behind the top of the page. */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  z-index: -1;
  height: 40rem;
  background: radial-gradient(min(60rem, 90%) 55% at 50% 0%, rgba(0, 102, 255, 0.22), transparent 70%);
  pointer-events: none;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

[hidden] {
  display: none !important;
}

.mc-wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.mc-blue {
  color: var(--blue);
}

.mc-icon {
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ─── The strip on top: what this is and when ─── */
.mc-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.2rem 0.6rem;
  padding: 0.95rem var(--gutter);
  border-bottom: 1px solid var(--border);
  background: rgba(96, 165, 250, 0.06);
  color: var(--fg);
  font-size: clamp(0.75rem, 0.5vw + 0.65rem, 0.9375rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.mc-strip__when {
  color: var(--muted);
}

.mc-strip__short {
  display: none;
}

/* /masterclass on phones (most visits come from Instagram's browser, often an iPhone SE-sized screen):
   its strip (.mc-strip--short; the other pages keep theirs) is one short line ("Live gratis" + the date), so the hero gets the room back. */
@media (max-width: 560px) {
  .mc-strip--short {
    flex-wrap: nowrap;
    gap: 0.45rem;
    padding: 0.65rem var(--gutter);
    font-size: 0.6875rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
  }
  .mc-strip__long {
    display: none;
  }
  .mc-strip__short {
    display: inline;
  }
  .mc-strip--short .mc-strip__dot {
    width: 0.4rem;
    height: 0.4rem;
  }
}

.mc-strip__when:empty {
  display: none;
}

.mc-strip__dot {
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--live);
  animation: mc-pulse 1.8s ease-in-out infinite;
}

.mc-strip--ok .mc-strip__dot {
  background: #10b981;
  animation: none;
}

@keyframes mc-pulse {
  50% {
    opacity: 0.35;
  }
}

/* ─── Hero ─── */
.mc-hero {
  padding-top: clamp(1.75rem, 6vw, 2.75rem);
  text-align: center;
  display: flex;
  flex-direction: column;
}

/* A short screen: the hero's date line goes (the strip shows it), so the proofs fit (masterclass.js). */
.mc-hero.is-tight .mc-event__date {
  display: none;
}

.mc-hero.is-tight .mc-event__label {
  margin-top: 0;
}

.mc-hero .mc-trust {
  margin-top: auto;
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}

/* No active session: no countdown, so the hero is shorter than the screen. Its content sits in the
   middle with the proofs right under the button (no gap before them), and the date line goes: the
   line under it already says there is no session. */
[data-mc-session="none"] .mc-hero {
  justify-content: center;
}

[data-mc-session="none"] .mc-hero .mc-trust {
  margin-top: 1.5rem;
}

[data-mc-session="none"] .mc-hero .mc-event__date {
  display: none;
}

/* The title breaks only between these word groups ("azienda seria" never split). */
.mc-nowrap {
  white-space: nowrap;
}

.mc-title {
  color: var(--fg);
  max-width: 58rem;
  margin-inline: auto;
  font-size: clamp(2rem, 4vw + 1rem, 3.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.mc-sub {
  max-width: 50rem;
  margin: 1rem auto 0;
  font-size: clamp(1.0625rem, 1.2vw + 0.6rem, 1.3rem);
  line-height: 1.5;
  text-wrap: balance;
}

/* "Il link per partecipare è nella tua email" (conferma): its own line, white, with an envelope. */
.mc-sub__mail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.3rem;
  color: var(--fg);
  font-weight: 600;
}

.mc-sub__mail .mc-icon {
  flex: none;
  width: 1.15em;
  height: 1.15em;
  color: var(--blue);
}

/* Phones: a little smaller. */
@media (max-width: 560px) {
  /* /masterclass's title as big as its longest line allows ("Come arrivare da zero" is about 9.9em wide). */
  .mc-title--hero {
    font-size: min(2.15rem, 8.4vw);
  }
  .mc-sub {
    font-size: 0.9375rem;
  }
  /* The proofs under the button (faces, community, Trustpilot), a size smaller on every phone. */
  .mc-hero .mc-trust {
    gap: 0.5rem;
    font-size: 0.6875rem;
  }
  .mc-hero .mc-trust__people {
    gap: 0.4rem;
  }
  .mc-hero .mc-faces img {
    width: 1.5rem;
    height: 1.5rem;
  }
  .mc-hero .mc-faces img + img {
    margin-left: -0.35rem;
  }
  .mc-hero .mc-trust__tp svg {
    width: 3.2rem;
  }}

/* Francesco next to the Italian Closer banner, square, in a rounded frame with a blue ring and a soft glow. */
.mc-photo {
  display: block;
  margin: 1.75rem auto 0;
  padding: 4px;
  border-radius: 28px;
  background: linear-gradient(160deg, #60a5fa, rgba(0, 102, 255, 0.15) 60%, rgba(248, 250, 252, 0.12));
  box-shadow: 0 18px 50px rgba(0, 102, 255, 0.28);
  aspect-ratio: 1;
  width: clamp(7.5rem, min(44vw, 24.5vh), 14.5rem);
}

.mc-photo img {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  object-fit: cover;
}

@media (min-width: 761px) and (max-height: 900px) {
  .mc-hero {
    padding-top: 1.75rem;
  }
  .mc-title {
    font-size: clamp(2.5rem, 7.2vh, 3.75rem);
  }
  .mc-photo {
    width: clamp(6.25rem, 21vh, 14.5rem);
    margin-top: 1.25rem;
  }
  .mc-hero .mc-btn {
    margin-top: 1.1rem;
  }
  .mc-hero .mc-event {
    margin-top: 1.1rem;
  }
  .mc-hero .mc-event__label {
    margin-top: 0.75rem;
  }}

/* Small phones (iPhone SE and the like). */
@media (max-width: 380px), (max-width: 560px) and (max-height: 680px) {
  .mc-hero {
    padding-top: 1.4rem;
  }
  .mc-hero {
    padding-top: 1.1rem;
  }
  .mc-title {
    font-size: 1.85rem;
  }
  .mc-title--hero {
    font-size: min(2rem, 8.4vw);
  }
  .mc-sub {
    margin-top: 0.6rem;
    font-size: 0.875rem;
    line-height: 1.45;
  }
  /* The countdown a size smaller. */
  .mc-hero .mc-event__label {
    margin-top: 0.8rem;
  }
  .mc-count {
    grid-template-columns: repeat(4, minmax(0, 3.2rem));
    gap: 0.4rem;
    margin-top: 0.5rem;
  }
  .mc-count li {
    gap: 0.3rem;
  }
  .mc-count b {
    border-radius: 11px;
    font-size: 1.3rem;
  }
  .mc-photo {
    width: 7.5rem;
    margin-top: 1.1rem;
  }
  .mc-hero .mc-btn {
    margin-top: 1rem;
  }
  /* The proofs under the button, a size smaller so they fit on the first screen. */
  .mc-hero .mc-trust {
    gap: 0.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    font-size: 0.625rem;
  }
  .mc-hero .mc-trust__people {
    gap: 0.35rem;
  }
  .mc-hero .mc-faces img {
    width: 1.375rem;
    height: 1.375rem;
  }
  .mc-hero .mc-faces img + img {
    margin-left: -0.35rem;
  }
  .mc-hero .mc-trust__tp svg {
    width: 3.2rem;
  }
  /* The line under "Partecipa gratis" stays on one line. */
  .mc-btn__text small {
    font-size: 0.75rem;
    white-space: nowrap;
  }}

/* The narrowest phones (320px): the strip and the title one step smaller, so neither runs off the edge. */
@media (max-width: 360px) {
  .mc-strip--short {
    gap: 0.35rem;
    font-size: 0.5625rem;
  }
  .mc-title--hero {
    font-size: 1.6rem;
  }}

/* ─── The button (as on /francesco), with a second line under the label ─── */
.mc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  margin-top: 1.5rem;
  padding: 1rem 1.4rem;
  border: 0;
  border-radius: 15px;
  background: var(--cta);
  box-shadow: 0 10px 30px rgba(0, 102, 255, 0.35);
  color: #ffffff;
  font: inherit;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}

.mc-btn:hover {
  background: var(--cta-hover);
}

@media (min-width: 761px) {
  .mc-btn {
    width: auto;
    min-width: 24rem;
    margin-inline: auto;
    padding: 1.1rem 2.25rem;
    font-size: 1.1875rem;
  }
  /* Inside a card or the form the button keeps the card's width. */
  .mc-form .mc-btn {
    width: 100%;
    min-width: 0;
  }}

.mc-btn[disabled] {
  opacity: 0.6;
  cursor: default;
}

/* The page's "Partecipa gratis" buttons (hero, bottom, sticky bar; not the form's): a soft blue glow
   that breathes slowly, plus a thin light edge on top. Still under reduced motion (below). */
.mc-btn[data-mc-open] {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 10px 30px rgba(0, 102, 255, 0.35),
    0 0 0 1px rgba(77, 148, 255, 0.35);
  animation: mc-glow 3.2s ease-in-out infinite;
}

@keyframes mc-glow {
  0%,
  100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.22),
      0 10px 30px rgba(0, 102, 255, 0.35),
      0 0 0 1px rgba(77, 148, 255, 0.35),
      0 0 22px rgba(0, 102, 255, 0.32);
  }
  50% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.22),
      0 10px 38px rgba(0, 102, 255, 0.5),
      0 0 0 1px rgba(77, 148, 255, 0.6),
      0 0 42px rgba(0, 102, 255, 0.55);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mc-btn[data-mc-open] {
    animation: none;
  }
}

.mc-btn__text {
  display: grid;
}

.mc-btn__text small {
  margin-top: 0.15rem;
  font-size: 0.8125rem;
  font-weight: 500;
  opacity: 0.85;
}

/* Phones: the hero and bottom buttons smaller (2026-11-14), not the full width, as compact as the bar's. */
@media (max-width: 760px) {
  [data-mc-first-cta] .mc-btn,
  .mc-btn[data-mc-last-cta] {
    width: auto;
    min-width: min(100%, 16.5rem);
    margin-inline: auto;
    padding: 0.75rem 1.5rem;
    border-radius: 13px;
    font-size: 1.0625rem;
  }
  [data-mc-first-cta] .mc-btn__text small,
  [data-mc-last-cta] .mc-btn__text small {
    font-size: 0.75rem;
  }}

.mc-btn--ghost {
  border: 1px solid var(--border-hi);
  background: transparent;
  box-shadow: none;
  color: var(--fg);
}

.mc-btn--ghost:hover {
  background: var(--card-hi);
}

/* ─── The event: date and countdown. No box around it: the date, a label, four tiles. ─── */
.mc-event {
  max-width: var(--narrow);
  margin: 1.5rem auto 0;
  text-align: center;
}

.mc-event__date {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--fg);
  font-size: 1.0625rem;
  font-weight: 600;
}

.mc-event__date .mc-icon {
  color: var(--blue);
}

.mc-event__label {
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.mc-count {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 4rem));
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.7rem;
}

.mc-count li {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* A tile: a blue tint fading down, a thin blue edge, the number in the accent blue. */
.mc-count b {
  display: grid;
  place-items: center;
  border: 1px solid rgba(96, 165, 250, 0.26);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(96, 165, 250, 0.16), rgba(96, 165, 250, 0.03));
  box-shadow: inset 0 1px 0 rgba(248, 250, 252, 0.06);
  color: var(--blue);
  font-size: clamp(1.4rem, 6vw, 1.75rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  aspect-ratio: 1;
}

/* Desktop: slightly bigger tiles. */
@media (min-width: 761px) {
  .mc-count {
    grid-template-columns: repeat(4, minmax(0, 4.6rem));
    gap: 0.6rem;
  }
  .mc-count b {
    border-radius: 16px;
    font-size: 2rem;
  }}

/* Short screens (13" laptops, iPhone SE): a smaller title, countdown and gaps, so the hero still ends
   on the proofs inside the first screen (2026-11-14). */
@media (min-width: 761px) and (max-height: 800px) {
  .mc-hero {
    padding-top: 1.25rem;
  }
  .mc-title {
    font-size: clamp(2.25rem, 6.2vh, 3.75rem);
  }
  .mc-sub {
    margin-top: 0.6rem;
  }
  .mc-hero .mc-btn {
    margin-top: 0.9rem;
    padding-block: 0.85rem;
  }
  .mc-hero .mc-count {
    grid-template-columns: repeat(4, minmax(0, 3.75rem));
  }
  .mc-hero .mc-count b {
    font-size: 1.6rem;
  }
  .mc-hero .mc-trust {
    padding-top: 1rem;
    padding-bottom: 1.25rem;
  }}

@media (max-width: 560px) and (max-height: 700px) {
  .mc-hero .mc-count {
    grid-template-columns: repeat(4, minmax(0, 3.4rem));
  }
  .mc-hero .mc-count b {
    font-size: 1.35rem;
  }
  .mc-hero .mc-trust {
    padding-top: 1rem;
    padding-bottom: 1.25rem;
  }}

/* Live now, or no date yet: the boxes give way to one line. */
.mc-event__state {
  margin-top: 0.75rem;
  color: var(--fg);
  font-weight: 700;
}

/* ─── Two small proofs under the countdown, one under the other: the community (the members' faces
   over its text), then Trustpilot (stars next to the score). No boxes. ─── */
.mc-trust {
  display: grid;
  justify-items: center;
  gap: 0.7rem;
  margin-top: 1.5rem;
  padding-bottom: 1.5rem;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.35;
}

.mc-trust b {
  color: var(--fg);
  font-weight: 700;
}

.mc-trust__tp {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
}

.mc-trust__tp svg {
  width: 3.75rem;
  height: auto;
  color: #00b67a;
}

.mc-trust__people {
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  text-align: center;
  text-wrap: balance;
}

.mc-faces {
  display: flex;
}

.mc-faces img + img {
  margin-left: -0.5rem;
}

/* 34px (was 24): the students' faces are recognisable (files are 128px, sharp on retina). */
.mc-faces img {
  width: 1.875rem;
  height: 1.875rem;
  border: 2px solid var(--bg);
  border-radius: 50%;
  object-fit: cover;
}

/* ─── Sections ─── */
.mc-section {
  margin-top: var(--section);
  text-align: center;
}

.mc-eyebrow {
  margin-bottom: 0.6rem;
  color: var(--blue);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mc-h2 {
  margin-bottom: clamp(1.1rem, 3vw, 2rem);
  color: var(--fg);
  font-size: clamp(1.75rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

/* The method, proven: one card (hairline, blue light from the top): the line, four students (photo,
   before, after), the figure, the other students' faces. */
.mc-method__card {
  position: relative;
  max-width: 44rem;
  margin-inline: auto;
  padding: clamp(1.6rem, 4vw, 2.6rem) clamp(1rem, 3vw, 2.2rem);
  border: 1px solid var(--border-hi);
  border-radius: 20px;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(0, 102, 255, 0.18), transparent 60%),
    rgba(248, 250, 252, 0.02);
  overflow: hidden;
}

.mc-method__title {
  max-width: 30rem;
  margin-inline: auto;
  color: var(--fg);
  font-size: clamp(1.3rem, 2.8vw, 1.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

/* Testimonial cards: round photo top left, the result, before, the name. One column on phones,
   two by two from tablets. */
.mc-cases {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

@media (min-width: 761px) {
  .mc-cases {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

.mc-case {
  display: flex;
  flex-direction: column;
  padding: 0.8rem 0.9rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(7, 8, 12, 0.65);
}

.mc-case__photo {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  object-fit: cover;
}

.mc-case__result {
  margin-top: 0.6rem;
  color: var(--fg);
  font-size: 0.875rem;
  line-height: 1.4;
}

.mc-case__result b {
  font-weight: 700;
}

.mc-case__before {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.4;
}

.mc-case__before span {
  font-weight: 600;
}

/* The photo with the name beside it. */
.mc-case__head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.mc-case__name {
  color: var(--fg);
  font-size: 0.875rem;
  font-weight: 700;
}

/* Under the cards: the other students' faces, then one small line. */
.mc-method__figure {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

.mc-method__figure b {
  color: var(--fg);
  font-weight: 800;
}

.mc-method__faces {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 0.3rem;
  margin-top: 1.4rem;
  padding-left: 0.35rem;
}

.mc-method__faces img {
  width: 1.75rem;
  height: 1.75rem;
  margin-left: -0.35rem;
  border: 2px solid #0b0f18;
  border-radius: 50%;
  object-fit: cover;
}

/* The twelve faces in two even rows of six (28px each, overlapping 5.6px). */
.mc-method__faces {
  max-width: calc(6 * 1.4rem + 0.7rem);
  margin-inline: auto;
}

/* Who it is for: two cards side by side (stacked on phones). "Fa per te" lit in blue, "Non fa per te"
   quiet in grey. Each card opens with a pill (icon + words), then its lines with a small marker. */
.mc-fit {
  display: grid;
  gap: 0.9rem;
  max-width: 46rem;
  margin-inline: auto;
  text-align: left;
}

@media (min-width: 761px) {
  .mc-fit {
    grid-template-columns: 1.15fr 1fr;
    align-items: start;
  }
}

.mc-fit__col {
  padding: clamp(1.15rem, 3vw, 1.6rem);
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(248, 250, 252, 0.02);
}

.mc-fit__col--yes {
  border-color: rgba(96, 165, 250, 0.35);
  background:
    radial-gradient(140% 90% at 0% 0%, rgba(0, 102, 255, 0.2), transparent 60%),
    rgba(7, 8, 12, 0.6);
  box-shadow: 0 18px 50px -20px rgba(0, 102, 255, 0.45);
}

.mc-fit__head {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem 0.35rem 0.4rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
}

.mc-fit__col--yes .mc-fit__head {
  background: rgba(0, 102, 255, 0.16);
  color: var(--fg);
}

.mc-fit__col--no .mc-fit__head {
  background: rgba(248, 250, 252, 0.06);
  color: var(--muted);
}

.mc-fit__icon {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  padding: 0.22rem;
  border-radius: 50%;
  fill: none;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mc-fit__col--yes .mc-fit__icon {
  background: var(--cta);
  stroke: #ffffff;
}

.mc-fit__col--no .mc-fit__icon {
  background: rgba(248, 250, 252, 0.12);
  stroke: var(--muted);
}

.mc-fit ul {
  display: grid;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}

/* Each line after a hairline, with a small dot in the card's colour. */
.mc-fit li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.1rem;
  color: var(--fg);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.mc-fit li + li {
  border-top: 1px solid var(--border);
}

.mc-fit li:last-child {
  padding-bottom: 0;
}

.mc-fit li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 1.3rem;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--blue);
}

.mc-fit__col--no li {
  color: var(--muted);
}

.mc-fit__col--no li::before {
  background: rgba(163, 176, 194, 0.5);
}

/* Why now: the points use the numbered list of "Cosa imparerai"; then the Placement Hub block (own small
   title and subtitle) over the requests. */
.mc-why {
  min-width: 0;
}

.mc-why__hub {
  margin-top: clamp(2.5rem, 6vw, 3.5rem);
}

.mc-why__title {
  color: var(--fg);
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.mc-why__sub {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.9375rem;
  text-wrap: balance;
}

/* The requests: edge to edge of the page column (negative gutters, never 100vw: wider than the screen on
   iPhones), two rows that scroll sideways together (by hand, nothing moves on its own),
   faded at the right edge to say there is more. */
.mc-why__requests {
  display: grid;
  grid-template-rows: repeat(2, auto);
  grid-auto-flow: column;
  grid-auto-columns: clamp(11rem, 22vw, 15rem);
  gap: 0.75rem;
  min-width: 0;
  margin: 1.2rem calc(-1 * var(--gutter)) 0;
  padding: 0 var(--gutter) 0.75rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: thin;
  scrollbar-color: rgba(248, 250, 252, 0.2) transparent;
  -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
  mask-image: linear-gradient(90deg, #000 85%, transparent);
}

.mc-why__requests img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  opacity: 0.9;
  scroll-snap-align: start;
}

/* With a mouse: press and drag to scroll (masterclass.js). Nothing gets selected or dragged out. */
@media (hover: hover) and (pointer: fine) {
  .mc-why__requests {
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
  }
  .mc-why__requests img {
    -webkit-user-drag: none;
    pointer-events: none;
  }
  .mc-why__requests.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
  }
}

/* Under the requests: one small grey line. */
.mc-why__note {
  margin-top: 0.5rem;
  color: rgba(163, 176, 194, 0.7);
  font-size: 0.6875rem;
  letter-spacing: 0.01em;
}

/* A title written on two lines (<br>): on phones its size follows the width so each line stays one. */
@media (max-width: 560px) {
  .mc-h2--two {
    font-size: min(1.75rem, 6.9vw);
  }}

.mc-text {
  max-width: var(--narrow);
  margin-inline: auto;
  font-size: clamp(1rem, 1vw + 0.6rem, 1.15rem);
}

/* Numbered points (what we cover, what happens that evening): no boxes, a number and a hairline. */
.mc-points {
  display: grid;
  max-width: 54rem;
  margin-inline: auto;
  counter-reset: point;
  text-align: left;
}

.mc-points li {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1.15rem 0;
  border-top: 1px solid var(--border);
  counter-increment: point;
}

.mc-points li::before {
  content: counter(point, decimal-leading-zero);
  padding-top: 0.1rem;
  color: var(--blue);
  font-size: 0.9375rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.mc-points b {
  display: block;
  color: var(--fg);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
}

.mc-points span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}

@media (min-width: 761px) {
  .mc-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 3rem;
  }
  /* One under the other, as a list to read down. */
  .mc-points--1 {
    grid-template-columns: minmax(0, 1fr);
    max-width: 40rem;
  }
  .mc-points li {
    padding: 1.4rem 0;
  }}

/* ─── Who presents: a plain photo (no ring, no glow), his name under it ─── */
.mc-who__photo {
  display: block;
  width: clamp(7rem, 12vw, 8.5rem);
  margin: 0.5rem auto 0;
  overflow: hidden;
  border: 1px solid var(--border-hi);
  border-radius: 20px;
  aspect-ratio: 4 / 5;
}

.mc-who__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

.mc-who__name {
  margin-top: 0.85rem;
  color: var(--fg);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.mc-who__aka {
  margin: 0.1rem 0 1.1rem;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.mc-who__role {
  max-width: 36rem;
  margin-inline: auto;
  font-size: clamp(1rem, 1vw + 0.6rem, 1.125rem);
  line-height: 1.55;
}

.mc-who__role + .mc-who__role {
  margin-top: 0.75rem;
}

.mc-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 38rem;
  margin: 1.75rem auto 0;
  text-align: center;
}

/* Phones: one under the other, left-aligned: the figure, its label next to it. No lines. */
@media (max-width: 560px) {
  .mc-stats {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.9rem;
    width: 100%;
    max-width: 100%;
    margin: 2.5rem 0 2.75rem;
    text-align: left;
  }
  .mc-stats li {
    display: grid;
    grid-template-columns: 5.25rem minmax(0, 1fr);
    align-items: baseline;
    gap: 0.75rem;
  }
  .mc-stats span {
    margin-top: 0;
    font-size: 0.875rem;
  }}

.mc-stats b {
  display: block;
  color: var(--fg);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.1;
}

.mc-stats span {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.75rem;
}

/* A small wall of proof screenshots: two columns on phones, three on wider screens, each kept whole.
   Folded under a blur until "Vedi di più" (as on /community). */
.mc-shots {
  position: relative;
  max-width: 24rem;
  max-height: 34rem;
  margin: 1.75rem auto 0;
  overflow: hidden;
}

/* Phones: one under the other, read while scrolling down. */
.mc-shots a {
  display: block;
  margin-bottom: 0.85rem;
  break-inside: avoid;
}

.mc-shots picture {
  display: block;
}

.mc-shots img {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.2s;
}

.mc-shots a:hover img {
  border-color: var(--border-hi);
}

.mc-shots::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(rgba(4, 4, 6, 0), var(--bg) 88%);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  -webkit-mask-image: linear-gradient(transparent, #000 45%);
  mask-image: linear-gradient(transparent, #000 45%);
  pointer-events: none;
}

.mc-shots__more {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.55rem 1.1rem;
  transform: translateX(-50%);
  border: 1px solid var(--border-hi);
  border-radius: 999px;
  background: var(--card-hi);
  color: var(--fg);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.mc-shots.is-open {
  max-height: none;
}

.mc-shots.is-open::after,
.mc-shots.is-open .mc-shots__more {
  display: none;
}

@media (min-width: 761px) {
  .mc-shots {
    max-width: 52rem;
    max-height: 26rem;
    columns: 3;
    column-gap: 0.75rem;
  }
  .mc-shots a {
    margin-bottom: 0.75rem;
  }}

/* ─── The students' wins: all 24 screenshots, shown whole, in rows of one height filling the width (each
   grows with its own width-to-height ratio, --a, so a row stays level). Full page width on desktop. ─── */
.mc-wins {
  --row: 4.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.mc-win {
  flex: var(--a) 1 calc(var(--a) * var(--row));
}

/* The last row keeps the row height instead of stretching its few screenshots across the width. */
.mc-wins::after {
  content: "";
  flex: 999 1 0;
  order: 9999;
}

.mc-wins img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
}

@media (min-width: 761px) {
  .mc-wins {
    --row: 7rem;
    gap: 0.6rem;
  }}

@media (min-width: 1100px) {
  .mc-wins {
    --row: 10.5rem;
  }}

/* ─── Student clips: a row to swipe; the cover loads, the player on tap ─── */
.mc-reels {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 62%;
  gap: 0.75rem;
  margin-inline: calc(var(--gutter) * -1);
  padding: 0 var(--gutter) 0.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.mc-reels::-webkit-scrollbar {
  display: none;
}

@media (min-width: 761px) {
  .mc-reels {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 280px));
    justify-content: center;
    gap: 1rem;
    margin-inline: 0;
    padding: 0;
    overflow: visible;
  }}

.mc-reel {
  scroll-snap-align: center;
}

.mc-reel__play {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: var(--card);
  cursor: pointer;
  aspect-ratio: 9 / 16;
}

.mc-reel__play img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mc-reel__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--cta);
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.35);
}

.mc-reel__icon svg {
  width: 1.6rem;
  height: 1.6rem;
  margin-left: 3px;
  fill: #ffffff;
}

.mc-reel iframe {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 18px;
  background: var(--card);
  aspect-ratio: 9 / 16;
}

/* ─── The confirmation page: video, steps, links ─── */
.mc-video {
  display: grid;
  place-items: center;
  max-width: 46rem;
  margin: 1.25rem auto 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--muted);
  font-size: 0.875rem;
  aspect-ratio: 16 / 9;
}

.mc-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.mc-steps {
  display: grid;
  gap: 0.75rem;
  max-width: 58rem;
  margin-inline: auto;
  text-align: left;
}

@media (min-width: 761px) {
  .mc-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }}

/* ─── The button that follows the page once the first one is out of view ─── */
.mc-sticky {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 20;
  padding: 0.75rem var(--gutter) calc(0.75rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
  background: rgba(4, 4, 6, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transform: translateY(110%);
  transition: transform 0.25s ease;
  padding-block: 0.6rem calc(0.6rem + env(safe-area-inset-bottom));
}

.mc-sticky.is-on {
  transform: none;
}

.mc-sticky .mc-btn {
  width: auto;
  max-width: 22rem;
  min-width: min(100%, 17rem);
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  border-radius: 12px;
  font-size: 1rem;
}

.mc-sticky .mc-btn__text small {
  font-size: 0.75rem;
}

/* Phones: smaller still, so it covers less of the page. */
@media (max-width: 560px) {
  .mc-sticky {
    padding: 0.5rem var(--gutter) calc(0.5rem + env(safe-area-inset-bottom));
  }
  .mc-sticky .mc-btn {
    min-width: min(100%, 15rem);
    padding: 0.5rem 1rem;
    border-radius: 11px;
    font-size: 0.9375rem;
  }
  .mc-sticky .mc-btn__text small {
    font-size: 0.6875rem;
  }}

/* Room for the bar at the end of the page. */
.mc-has-sticky {
  padding-bottom: 6rem;
}

/* ─── The form, in a sheet over the page ─── */
.mc-dialog {
  width: min(100% - 1.5rem, 31rem);
  max-height: calc(100dvh - 1.5rem);
  overflow-y: auto;
  border: 1px solid rgba(96, 165, 250, 0.3);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #161a26, #0f1118 55%);
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.06), 0 24px 60px rgba(0, 102, 255, 0.16);
  color: var(--body);
  padding: 2rem 1.9rem 1.6rem;
}

/* Phones: a little less at the sides, so the fields keep their width. */
@media (max-width: 480px) {
  .mc-dialog {
    padding: 2.25rem 1.75rem 1.9rem;
  }}

.mc-dialog::backdrop {
  background: rgba(4, 4, 6, 0.86);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.mc-dialog__close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.mc-dialog__close:hover {
  background: var(--card-hi);
  color: var(--fg);
}

/* The hero's photo under the sheet's title, in the hero's frame (square, blue ring), smaller. */
.mc-dialog .mc-dialog__photo {
  width: 8.5rem;
  margin: 1rem auto 0;
  box-shadow: 0 12px 34px rgba(0, 102, 255, 0.2);
}

.mc-dialog__title {
  padding-right: 2rem;
  color: var(--fg);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  padding-inline: 2rem;
  font-size: clamp(1.25rem, 2.5vw + 0.8rem, 1.45rem);
  text-align: center;
}

.mc-dialog__when {
  color: var(--blue);
  font-weight: 600;
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  text-align: center;
}

.mc-form {
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
}

/* The form's two steps (name, then email and phone): each spaced as the form was. */
.mc-form__step {
  display: grid;
  gap: 0.6rem;
}

.mc-form__step[hidden] {
  display: none;
}

/* A bit more air above "Continua" and "Prenota il tuo posto" than between the fields. */
.mc-form .mc-form__step .mc-btn {
  margin-top: 0.9rem;
}

/* Under the date: Trustpilot and the community in one small line. */
.mc-dialog__proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.35;
  text-align: center;
}

.mc-dialog__proof b {
  color: var(--fg);
  font-weight: 700;
}

.mc-dialog__proof svg {
  width: 3.4rem;
  height: auto;
  color: #00b67a;
}

/* Everywhere: the name on its own line (no colon), the figures under it, small. */
.mc-dialog__proof {
  row-gap: 0.15rem;
  font-size: 0.6875rem;
}

.mc-dialog__proof svg {
  width: 3rem;
}

.mc-dialog__proof-name {
  flex-basis: 100%;
}

.mc-dialog__proof-colon {
  display: none;
}

/* A field step 2's check found wrong (masterclass.js): a red edge until it is edited. */
.mc-form .mc-field input[aria-invalid="true"],
.mc-form .mc-phone:has(input[aria-invalid="true"]) {
  border-color: #f87171;
  outline-color: #f87171;
}

/* Under the phone: why we ask for it. */
.mc-form__note {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.4;
}

/* Step 2's way back to the name: a quiet text link under the button. */
.mc-form__back {
  justify-self: center;
  padding: 0.2rem 0.5rem;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 0.8125rem;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.mc-field {
  display: grid;
  gap: 0.2rem;
}

.mc-field span {
  color: var(--fg);
  font-weight: 600;
  font-size: 0.8125rem;
}

/* 16px: a smaller size makes iPhones zoom into the field. */
.mc-field input {
  width: 100%;
  border: 1px solid var(--border-hi);
  background: #07080c;
  color: var(--fg);
  font: inherit;
  font-size: 1rem;
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
}

.mc-field input:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
  border-color: transparent;
}

/* A field filled by the browser keeps the form's own colours (Chrome and Safari paint theirs over
   it, which also split the phone field in two). */
.mc-field input:-webkit-autofill,
.mc-field input:-webkit-autofill:hover,
.mc-field input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 100px #07080c inset;
  box-shadow: 0 0 0 100px #07080c inset;
  -webkit-text-fill-color: var(--fg);
  caret-color: var(--fg);
  transition: background-color 100000s ease-in-out 0s;
}

.mc-field input:autofill {
  box-shadow: 0 0 0 100px #07080c inset;
  -webkit-text-fill-color: var(--fg);
}

/* The phone: one field. The prefix at its start, a hairline, the number (the Hub's PrefixedPhoneField). */
.mc-phone {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-hi);
  background: #07080c;
  border-radius: 10px;
}

.mc-phone:focus-within {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
  border-color: transparent;
}

.mc-phone__code {
  position: relative;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.3rem;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  cursor: pointer;
  padding: 0.55rem 0.6rem 0.55rem 0.85rem;
}

.mc-phone__code .mc-icon {
  width: 0.9rem;
  height: 0.9rem;
  color: var(--muted);
}

/* The hairline between the prefix and the number. */
.mc-phone__code::after {
  content: "";
  position: absolute;
  top: 28%;
  right: 0;
  bottom: 28%;
  width: 1px;
  background: var(--border-hi);
}

/* The real list, invisible over the prefix: a tap opens the device's own picker. */
.mc-phone__code select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  font-size: 1rem;
  cursor: pointer;
}

.mc-phone input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  border-radius: 0 9px 9px 0;
}

.mc-phone input:focus {
  outline: 0;
}

.mc-form .mc-btn {
  margin-top: 0.35rem;
  padding-block: 0.8rem;
  border-radius: 12px;
  font-size: 1.0625rem;
}

.mc-form__status {
  min-height: 1.2em;
  color: var(--fg);
  font-size: 0.875rem;
  text-align: center;
}

.mc-form__status:empty {
  display: none;
}

.mc-form__legal {
  color: var(--subtle, #7b879a);
  font-size: 0.6875rem;
  line-height: 1.45;
  text-align: center;
}

.mc-form__legal a {
  color: inherit;
}

/* ─── Footer: company details as on every page ─── */
.mc-footer {
  margin-top: var(--section);
  padding-block: 1.5rem 2rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.6;
  text-align: center;
}

.mc-footer p + p {
  margin-top: 0.5rem;
}

.mc-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1rem;
  margin-top: 0.85rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .mc-strip__dot {
    animation: none;
  }
  .mc-sticky {
    transition: none;
  }}

.mc-hero--ok .mc-sub b {
  color: var(--fg);
}

/* A smaller subtitle on the confirmation page. */
.mc-hero--ok .mc-sub {
  max-width: 34rem;
  font-size: clamp(0.9375rem, 0.6vw + 0.75rem, 1.0625rem);
}

/* Francesco's message: vertical. */
.mc-video--v {
  width: min(11.5rem, 48vw);
  margin-top: 1.75rem;
  aspect-ratio: 9 / 16;
}

/* Four questions: a short horizontal video each, the question on its thumbnail, one under the
   other (2026-11-14). */
.mc-qas {
  display: grid;
  gap: 1rem;
  max-width: 38rem;
  margin-inline: auto;
}

/* Wide screens: two by two (phones: one under the other). */
@media (min-width: 761px) {
  .mc-qas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    max-width: 60rem;
  }}

/* The students' stories: YouTube videos with our cover; the player loads on tap. */
.mc-stories {
  display: grid;
  gap: 1.5rem;
  max-width: 72rem;
  margin-inline: auto;
  text-align: left;
}

@media (min-width: 761px) {
  .mc-stories {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }}

/* Phones: one row to swipe, edge to edge, the next story peeking in (2026-11-14). */
@media (max-width: 760px) {
  .mc-stories {
    grid-auto-flow: column;
    grid-auto-columns: 80%;
    gap: 0.75rem;
    margin-inline: calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 0.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .mc-stories::-webkit-scrollbar {
    display: none;
  }
  .mc-stories > li {
    scroll-snap-align: start;
  }}

.mc-yt {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--card);
  cursor: pointer;
  aspect-ratio: 16 / 9;
}

.mc-yt img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.mc-yt:hover img {
  transform: scale(1.03);
}

.mc-yt__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--cta);
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.35);
}

.mc-yt__play svg {
  width: 1.6rem;
  height: 1.6rem;
  margin-left: 3px;
  fill: #ffffff;
}

/* The question videos: the play button in the middle, white with the blue arrow (Davide, 2026-11-15). */
[data-bunny-qa] .mc-yt__play {
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

[data-bunny-qa] .mc-yt__play svg {
  fill: var(--cta);
}

/* The question video once tapped: the player in a rounded box that clips one extra pixel top and bottom. */
.mc-yt__box {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #000000;
  aspect-ratio: 16 / 9;
}

/* While Bunny's player loads, our cover stays on top with a small wheel; it fades when the video moves. */
.mc-yt__cover,
.mc-yt__wait {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.mc-yt__cover {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mc-yt__wait {
  top: 50%;
  left: 50%;
  width: 3.5rem;
  height: 3.5rem;
  margin: -1.75rem 0 0 -1.75rem;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.mc-yt__wait::after {
  content: "";
  position: absolute;
  inset: 0.9rem;
  border: 2.5px solid rgba(0, 102, 255, 0.25);
  border-top-color: var(--cta);
  border-radius: 50%;
  animation: mc-spin 0.7s linear infinite;
}

.mc-yt__box.is-playing .mc-yt__cover,
.mc-yt__box.is-playing .mc-yt__wait {
  opacity: 0;
}

.mc-yt__box iframe {
  position: absolute;
  top: -1px;
  left: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  border: 0;
}

.mc-yt__frame {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 18px;
  background: #000000;
  aspect-ratio: 16 / 9;
}

.mc-story__name {
  margin-top: 0.75rem;
  color: var(--fg);
  font-weight: 800;
}

.mc-story__what {
  margin-top: 0.1rem;
  font-size: 0.9375rem;
  line-height: 1.45;
}

/* The community and the YouTube channel: two cards. */
.mc-res {
  display: grid;
  gap: 0.85rem;
  max-width: 62rem;
  margin-inline: auto;
  text-align: left;
}

@media (min-width: 761px) {
  .mc-res {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }}

.mc-res__card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  gap: 1rem 1.1rem;
  align-items: center;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}

.mc-res__card:hover {
  border-color: var(--border-hi);
  transform: translateY(-2px);
}

.mc-res__img {
  width: 5.5rem;
  border-radius: 14px;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

.mc-res__body {
  display: grid;
  gap: 0.2rem;
}

.mc-res__body b {
  color: var(--fg);
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.mc-res__body > span:last-child {
  font-size: 0.9375rem;
  line-height: 1.45;
}

.mc-res__on {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mc-res__whop {
  width: 1.3rem;
  height: auto;
  color: #fa4616;
}

.mc-res__discord {
  width: 1.15rem;
  height: auto;
  color: #5865f2;
}

.mc-res__go {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
  color: var(--fg);
  font-size: 0.9375rem;
  font-weight: 600;
}

.mc-res__go .mc-icon {
  color: var(--muted);
  transition: transform 0.2s, color 0.2s;
}

.mc-res__card:hover .mc-res__go .mc-icon {
  color: var(--fg);
  transform: translateX(3px);
}

/* The YouTube card: the logo in the place of the picture. */
.mc-res__icon {
  display: grid;
  place-items: center;
  width: 5.5rem;
  border-radius: 14px;
  background: rgba(255, 0, 51, 0.08);
  aspect-ratio: 3 / 2;
}

.mc-res__icon svg {
  width: 2.4rem;
  height: auto;
}

/* "Vedi altri risultati" under the folded wall. */
.mc-wins__more {
  width: auto;
  min-width: 0;
  margin: 1.5rem auto 0;
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
}

/* The three steps: a numbered list down a thin line, no boxes; the buttons are small pills with the
   services' logos (WhatsApp, Apple Wallet, Google, Apple, Outlook). */
.mc-flow {
  display: grid;
  max-width: 38rem;
  margin-inline: auto;
  text-align: left;
}

.mc-flow__item {
  position: relative;
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 1rem;
  padding-bottom: 4.5rem;
}

.mc-flow__item:last-child {
  padding-bottom: 0;
}

/* The line joining the numbers. */
.mc-flow__item:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 2.5rem;
  bottom: 0.25rem;
  left: calc(1.125rem - 0.5px);
  width: 1px;
  background: var(--border-hi);
}

.mc-flow__n {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(96, 165, 250, 0.45);
  border-radius: 50%;
  background: rgba(96, 165, 250, 0.1);
  color: var(--blue);
  font-weight: 800;
}

.mc-flow__title {
  margin-top: 0.3rem;
  color: var(--fg);
  font-size: 1.1875rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.mc-flow__body > p {
  margin-top: 0.3rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.mc-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.mc-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem 0.6rem 0.75rem;
  border: 1px solid var(--border-hi);
  border-radius: 999px;
  background: var(--card);
  color: var(--fg);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.mc-pill:hover {
  border-color: rgba(248, 250, 252, 0.45);
  background: var(--card-hi);
}

.mc-pill--wa {
  border-color: transparent;
  background: #25d366;
  color: #ffffff;
  font-weight: 700;
}

.mc-pill--wa:hover {
  border-color: transparent;
  background: #1fbe5b;
}

/* The WhatsApp logo as usual: white outline, green inside (the button's green). */
.mc-pill--wa .mc-logo {
  width: 1.15rem;
  height: 1.15rem;
}

.mc-logo {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
}

/* The wallet row: Apple's and Google's own badges as they are, as tall as the pills around them
   (the calendar ones: 45px, 40px on phones), so they read as one set. Google's kit asks for 48px; 40px chosen on
   purpose by Davide, 2026-11-15. Clear space on every side, also on phones. */
.mc-pills--wallet {
  align-items: center;
}

.mc-inapp {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

.mc-inapp p {
  margin: 0;
  line-height: 1.5;
}

.mc-wallet-badge {
  display: inline-flex;
  margin: 0.125rem;
  line-height: 0;
}

.mc-wallet-badge img {
  display: block;
  width: auto;
  height: 45px;
}

/* Google's badge reads larger than Apple's at the same height (bigger logo, wider): 1px less. */
.mc-wallet-badge[data-mc-wallet="google"] img {
  height: 44px;
}

.mc-wallet-badge[hidden] {
  display: none;
}

/* Phones: the pills a little smaller, so the three calendar ones stay on one line. */
@media (max-width: 560px) {
  .mc-pills {
    gap: 0.4rem;
    /* The row uses the width under the number too, centred on the page. */
    margin-left: -3.25rem;
  }
  .mc-pill {
    gap: 0.4rem;
    padding: 0.55rem 0.75rem 0.55rem 0.6rem;
    font-size: 0.8125rem;
  }
  .mc-logo {
    width: 1.1rem;
    height: 1.1rem;
  }
  /* The wallet badges follow the smaller pills: 40px, Google's 1px less. */
  .mc-wallet-badge img {
    height: 40px;
  }
  .mc-wallet-badge[data-mc-wallet="google"] img {
    height: 39px;
  }}

/* The confirmation page: a little more room between sections than /masterclass. */
.mc-conferma {
  --section: clamp(7rem, 16vw, 12rem);
}

/* The confirmation page's eyebrow, in grey. */
.mc-eyebrow--ok {
  color: var(--muted);
}

/* The confirmation page's close: "Ci vediamo in diretta", the date, one line. */
/* The close of the confirmation page: the hero's photo over the title, smaller. */
.mc-end .mc-photo {
  width: 9.5rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 12px 34px rgba(0, 102, 255, 0.2);
}

@media (max-width: 560px) {
  .mc-end .mc-photo {
    width: 8rem;
    margin-bottom: 1.25rem;
  }
}

.mc-end__date {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--fg);
  font-size: clamp(1.125rem, 1.5vw + 0.6rem, 1.375rem);
  font-weight: 700;
}

.mc-end__date .mc-icon {
  color: var(--blue);
}

.mc-end__note {
  max-width: 30rem;
  margin: 0.75rem auto 0;
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* ─── Francesco's video on conferma: opens in the middle, then shrinks into its box ─── */
.mc-video--v.has-video {
  position: relative;
  /* No outline once the video is in: it showed as two light lines at the top and bottom. */
  border: 0;
  background: #000000;
}

.mc-vsl {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  background: #000000;
}

.mc-vsl iframe {
  display: block;
  /* 2px bigger on every side and cropped by the rounded box: the player's own background never shows
     as a thin light line at an edge while the video loads or scales. */
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  margin: -2px;
  border: 0;
}

/* In the middle of the screen, over the blurred page: as tall as fits, vertical. */
.mc-vsl.is-big {
  position: fixed;
  z-index: 61;
  inset: 0;
  width: var(--vsl-w);
  height: auto;
  margin: auto;
  border-radius: 20px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
  aspect-ratio: 9 / 16;
}

.mc-vsl-back {
  position: fixed;
  z-index: 60;
  inset: 0;
  background: rgba(4, 4, 6, 0.55);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  animation: mc-fade-in 0.3s ease;
  transition: opacity 0.4s ease;
}

.mc-vsl-back.is-going {
  opacity: 0;
}

@keyframes mc-fade-in {
  from {
    opacity: 0;
  }
}

.mc-vsl-back__label {
  position: absolute;
  top: max(1rem, calc((100dvh - var(--vsl-w) * 16 / 9) / 2 - 4.4rem));
  left: 0;
  right: 0;
  display: grid;
  gap: 0.15rem;
  color: var(--fg);
  font-size: clamp(1.25rem, 1vw + 1rem, 1.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-align: center;
}

.mc-vsl-back__label small {
  color: var(--fg);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0;
}

@media (max-width: 560px) {
  :root {
    --vsl-w: min(76vw, calc((100dvh - 9rem) * 9 / 16));
  }}

/* The X: just the cross, no circle. */
.mc-vsl-back__x {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: none;
  color: var(--fg);
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}

/* While it is open the page doesn't scroll behind it. */
html.mc-vsl-open,
html.mc-vsl-open body {
  overflow: hidden;
}

/* "Tocca per ascoltare": over the muted video until tapped. */
.mc-vsl__sound {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.6rem;
  padding: 0 1rem 18%;
  border: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.55));
  color: #ffffff;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
}

.mc-vsl__sound svg {
  width: 3.25rem;
  height: 3.25rem;
  padding: 0.8rem;
  border-radius: 50%;
  background: var(--cta);
  box-shadow: 0 10px 30px rgba(0, 102, 255, 0.45);
  fill: #ffffff;
  stroke: #ffffff;
  stroke-width: 1.6;
  stroke-linecap: round;
  animation: mc-pulse-ring 1.8s ease-in-out infinite;
}

.mc-vsl__sound svg path + path {
  fill: none;
}

@keyframes mc-pulse-ring {
  50% {
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.45), 0 0 0 10px rgba(0, 102, 255, 0.18);
  }
}

/* The WhatsApp button at the bottom: the usual bar (blurred, thin line on top), a small pill in it. */
.mc-sticky--wa {
  display: flex;
  justify-content: center;
  padding: 0.8rem var(--gutter) calc(0.8rem + env(safe-area-inset-bottom));
}

.mc-sticky--wa .mc-pill {
  gap: 0.45rem;
  padding: 0.55rem 1.1rem 0.55rem 0.85rem;
  font-size: 0.875rem;
}

.mc-sticky--wa .mc-logo {
  width: 1.05rem;
  height: 1.05rem;
}

@media (max-width: 480px) {
  .mc-dialog {
    padding: 1.75rem 1.4rem 1.4rem;
  }}

/* Phones: the WhatsApp and Wallet buttons in the steps slightly bigger (the calendar's three stay
   compact, to keep one line). */
@media (max-width: 560px) {
  [data-mc-whatsapp-step] .mc-pill,
  [data-mc-wallet-step] .mc-pill {
    gap: 0.45rem;
    padding: 0.6rem 0.95rem 0.6rem 0.75rem;
    font-size: 0.875rem;
  }
  [data-mc-whatsapp-step] .mc-logo,
  [data-mc-wallet-step] .mc-logo {
    width: 1.15rem;
    height: 1.15rem;
  }}

/* The sound button, top right of the video: the classic speaker, crossed out while muted. */
.mc-vsl__mute {
  position: absolute;
  z-index: 2;
  top: 0.6rem;
  right: 0.6rem;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  cursor: pointer;
}

.mc-vsl__mute svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mc-vsl__mute svg .f {
  fill: #ffffff;
}

/* Docked in the page while still muted: "Tocca per ascoltare" smaller, to fit the small box. */
.mc-vsl:not(.is-big) .mc-vsl__sound {
  gap: 0.4rem;
  padding-bottom: 12%;
  font-size: 0.75rem;
}

.mc-vsl:not(.is-big) .mc-vsl__sound svg {
  width: 2.4rem;
  height: 2.4rem;
  padding: 0.6rem;
}

.mc-vsl:not(.is-big) .mc-vsl__mute {
  top: 0.45rem;
  right: 0.45rem;
  width: 1.9rem;
  height: 1.9rem;
}

/* Step 1: one extra the WhatsApp group gives (Francesco's photo, two short lines) over the button. No
   box, centred in the list like the steps' title, and narrow enough to stay clear of the steps' line. */
.mc-perks {
  margin-top: 1rem;
  margin-left: -3.25rem;
  text-align: center;
}

.mc-perks__line {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: var(--body);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.35;
}

.mc-perks__face {
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--border-hi);
  border-radius: 50%;
  object-fit: cover;
}

.mc-perks .mc-pills {
  margin: 0.8rem 0 0;
}

@media (max-width: 560px) {
  .mc-perks__line {
    font-size: 0.8125rem;
  }}

/* Wide screens: the WhatsApp bar's button bigger (on phones it stays compact). */
@media (min-width: 761px) {
  .mc-sticky--wa .mc-pill {
    gap: 0.55rem;
    padding: 0.8rem 1.6rem 0.8rem 1.3rem;
    font-size: 1.0625rem;
  }
  .mc-sticky--wa .mc-logo {
    width: 1.35rem;
    height: 1.35rem;
  }}

/* Wide screens: the video in the page a bit bigger (phones keep the small size). */
@media (min-width: 761px) {
  .mc-video--v {
    width: 15rem;
  }}

/* Wide screens: a little bigger titles and text; the buttons and Francesco's line centred on the
   page, as on phones. */
@media (min-width: 761px) {
  .mc-flow {
    max-width: 40rem;
  }
  .mc-flow__title {
    margin-top: 0.15rem;
    font-size: 1.375rem;
  }
  .mc-flow__body > p {
    font-size: 1rem;
  }
  /* The buttons and Francesco's line centred on the page (the row spans under the number too). */
  .mc-pills {
    justify-content: center;
    margin: 1.1rem 0 0 -3.25rem;
  }
  .mc-perks {
    margin: 1.1rem 0 0 -3.25rem;
    text-align: center;
  }
  .mc-perks__line {
    font-size: 0.9375rem;
  }
  .mc-perks .mc-pills {
    margin: 1rem 0 0;
  }}

/* Phones: the two wallet buttons small, side by side on one line. */
@media (max-width: 560px) {
  [data-mc-wallet-step] .mc-pills {
    gap: 0.3rem;
  }
  [data-mc-wallet-step] .mc-pill {
    justify-content: center;
    gap: 0.35rem;
    padding: 0.45rem 0.7rem 0.45rem 0.55rem;
    font-size: 0.78rem;
  }
  [data-mc-wallet-step] .mc-logo {
    width: 0.95rem;
    height: 0.95rem;
  }}

/* ─── /masterclass/entra: the general entry link (2026-11-14) ─── */
.mc-hero--join .mc-photo {
  margin-top: 1.5rem;
}

.mc-join {
  display: grid;
  gap: 0.75rem;
  width: 100%;
  max-width: 24rem;
  margin: 1.75rem auto 0;
  text-align: left;
}

.mc-join .mc-btn {
  width: 100%;
  min-width: 0;
  margin: 0;
}

.mc-join__status {
  min-height: 1.2em;
  color: var(--body);
  font-size: 0.9375rem;
  line-height: 1.5;
  text-align: center;
}

.mc-join__status p + p {
  margin-top: 0.35rem;
}

.mc-join__status a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mc-join__ok {
  color: var(--fg);
  font-weight: 700;
}

.mc-join__err {
  color: #fca5a5;
  font-weight: 600;
}

/* The line under the field's label: what to type. */
.mc-field__hint {
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-size: 0.8125rem;
}

/* Who is not registered yet: set apart by a line, the question in white, the button with a blue edge. */
.mc-join__signup {
  display: grid;
  justify-items: center;
  gap: 0.7rem;
  width: 100%;
  max-width: 24rem;
  margin: 1.75rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--fg);
  font-weight: 600;
  font-size: 1rem;
}

/* "Iscriviti gratis per entrare": second to "Entra ora" (not filled), clearly a button. */
.mc-join__signup-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1.2rem 0.7rem 1.35rem;
  border: 1px solid rgba(96, 165, 250, 0.6);
  border-radius: 12px;
  background: rgba(0, 102, 255, 0.12);
  color: var(--fg);
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.mc-join__signup-btn .mc-icon {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s;
}

.mc-join__signup-btn:hover .mc-icon {
  transform: translateX(2px);
}

.mc-join__signup-btn:hover {
  border-color: #60a5fa;
  background: rgba(0, 102, 255, 0.2);
}

/* ─── /masterclass/prenota: the call booking (2026-11-14) ─── */
.mc-hero--book .mc-title {
  max-width: 44rem;
}

.mc-booking {
  /* Wide enough on desktop for Calendly's two columns (details left, calendar right): it may go
     past the page's text width, centred on the screen. */
  position: relative;
  left: 50%;
  width: min(70rem, 100vw - 2rem);
  margin: 2rem 0 0;
  overflow: hidden;
  border-radius: var(--radius);
  transform: translateX(-50%);
}

/* Calendly's standard widget: Calendly's default size until it says its height (calendly.page_height). */
.mc-booking__widget {
  min-width: 320px;
  height: 700px;
}

.mc-booked {
  max-width: 34rem;
  margin: 1.25rem auto 0;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.08);
  color: var(--fg);
}

/* The booking bar: more room round a bigger button than the sign-up page's bar. */
.mc-sticky--book {
  padding-block: 0.9rem calc(0.9rem + env(safe-area-inset-bottom));
}

.mc-sticky--book .mc-btn {
  max-width: 26rem;
  padding: 0.9rem 1.5rem;
  border-radius: 14px;
  font-size: 1.0625rem;
}

@media (max-width: 560px) {
  .mc-sticky--book {
    padding-block: 0.75rem calc(0.75rem + env(safe-area-inset-bottom));
  }
  .mc-sticky--book .mc-btn {
    width: 100%;
    padding: 0.8rem 1.25rem;
    font-size: 1rem;
  }}

/* Steps with an icon instead of a number (prenota): grey, in a rounded square like an app icon. */
.mc-flow--icons .mc-flow__item {
  grid-template-columns: 2.75rem minmax(0, 1fr);
}

.mc-flow--icons .mc-flow__item:not(:last-child)::before {
  top: 3rem;
  left: calc(1.375rem - 0.5px);
}

.mc-flow__n--icon {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--border-hi);
  border-radius: 12px;
  background: var(--card-hi);
  color: var(--muted);
}

.mc-flow__n--icon svg {
  width: 1.3rem;
  height: 1.3rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* A dot inside the strip's text (prenota): on the same line as the words, also on phones. */
.mc-strip span .mc-strip__dot {
  display: inline-block;
  margin-right: 0.35rem;
  vertical-align: 0.1em;
}

/* Desktop: Calendly needs its frame 1120px wide for its columns, but draws its card (800px) in the
   middle with wide white margins. At rest the window onto it is smaller, 32px of white round the
   card; at the first click inside the calendar (masterclass.js, .is-open) it widens to the whole
   frame, because picking a day adds the column of times and the card grows. */
@media (min-width: 1200px) {
  .mc-booking {
    width: 54rem;
    transition: width 0.35s ease;
  }
  .mc-booking__widget {
    width: 70rem;
    margin: -34px 0 0 -128px;
    transition: margin 0.35s ease;
  }
  .mc-booking.is-open {
    width: 70rem;
  }
  .mc-booking.is-open .mc-booking__widget {
    margin: -34px 0 0;
  }}

/* A button waiting for HQ (the sign-up form): a turning wheel in place of the label, same size. */
.mc-btn.is-loading,
.mc-pill.is-loading {
  position: relative;
  color: transparent;
}

.mc-btn.is-loading > *,
.mc-pill.is-loading > * {
  visibility: hidden;
}

.mc-btn.is-loading::after,
.mc-pill.is-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.35rem;
  height: 1.35rem;
  margin: -0.675rem 0 0 -0.675rem;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: mc-spin 0.7s linear infinite;
}

/* A pill is smaller than a button: a smaller wheel. */
.mc-pill.is-loading::after {
  width: 1rem;
  height: 1rem;
  margin: -0.5rem 0 0 -0.5rem;
  border-width: 2px;
}

@keyframes mc-spin {
  to {
    transform: rotate(360deg);
  }
}

/* The countdown's numbers stay invisible until HQ's date fills them (no "00" flash on load). */
[data-mc-count] [data-mc-cd] {
  transition: opacity 0.2s ease;
}

[data-mc-count]:not(.is-ready) [data-mc-cd] {
  opacity: 0;
}

/* ── /masterclass/replay (2026-11-18): the landing's hero with the video in place of the photo ───── */
.mc-replay__status { margin: 4rem 0; text-align: center; }
.mc-replay__status:empty { display: none; }
.mc-replay-page .mc-hero { padding-top: 2.25rem; }
.mc-replay-page .mc-title--hero { font-size: clamp(1.9rem, 3vw + 1rem, 3rem); }
.mc-replay-page .mc-sub { margin-top: 0.6rem; }
.mc-replay-page .mc-event { margin-top: 1.4rem; }
.mc-count--three { grid-template-columns: repeat(3, minmax(0, 3.4rem)); }
.mc-count--three b { font-size: 1.35rem; }
.mc-replay__video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 1.6rem;
  overflow: hidden;
  border-radius: 16px;
  background: #000;
  border: 1px solid rgba(248, 250, 252, 0.08);
}
.mc-replay__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* The general link's cover (2026-11-21): Francesco's photo darkened, a round play button; a tap opens the sign-up. */
.mc-replay__cover { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.9rem; padding: 0; border: 0; background: #000; color: #f8fafc; cursor: pointer; font: inherit; }
.mc-replay__cover[hidden] { display: none; }
.mc-replay__cover picture, .mc-replay__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.mc-replay__cover img { opacity: 0.42; }
.mc-replay__play { position: relative; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 999px; background: #2563eb; box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.25), 0 18px 40px rgba(37, 99, 235, 0.45); transition: transform 0.2s ease; }
.mc-replay__play svg { width: 32px; height: 32px; margin-left: 4px; fill: #fff; }
.mc-replay__cover:hover .mc-replay__play, .mc-replay__cover:focus-visible .mc-replay__play { transform: scale(1.06); }
.mc-replay__cover-text { position: relative; font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
/* The landing's button (same weight, radius and glow), as wide as its text. */
.mc-replay__cta {
  box-sizing: border-box;
  display: inline-flex;
  width: auto;
  min-width: 0;
  margin: 1.5rem auto 0;
  padding: 1rem 1.8rem;
}
.mc-replay__next { margin-top: 2.75rem; }
.mc-replay__next-title { margin: 0; font-size: clamp(1.4rem, 1vw + 1.05rem, 1.75rem); font-weight: 700; letter-spacing: -0.015em; color: #f8fafc; }
.mc-replay__next .mc-replay__cta { margin-top: 1.4rem; }
@media (max-width: 600px) {
  .mc-replay__next { margin-top: 3rem; }
  .mc-replay__next-title { font-size: 1.2rem; line-height: 1.3; text-wrap: balance; }
  .mc-replay__next .mc-replay__cta { margin-top: 1rem; padding: 0.75rem 1.25rem; font-size: 0.95rem; }
}
.mc-replay-page .mc-hero { text-align: center; }
/* Sections under the video stay smaller than the page's title. */
.mc-replay-page .mc-h2 { font-size: clamp(1.4rem, 1.2vw + 1rem, 1.9rem); }
.mc-replay-page .mc-replay__closed { padding-top: 5rem; }

.mc-replay-pop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(4, 4, 6, 0.7);
  backdrop-filter: blur(4px);
  animation: mc-pop-in 0.3s ease-out;
}
.mc-replay-pop[hidden] { display: none; }
.mc-replay-pop__card {
  position: relative;
  box-sizing: border-box;
  width: min(380px, 100%);
  overflow: hidden;
  text-align: center;
  background: #0b0b10;
  border: 1px solid rgba(248, 250, 252, 0.08);
  border-radius: 22px;
}
/* The landing's photo, wide on top, fading into the card. */
.mc-replay-pop__photo { position: relative; display: block; }
.mc-replay-pop__photo img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: 60% 22%;
}
.mc-replay-pop__photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(transparent, #0b0b10);
}
.mc-replay-pop__body { padding: 0 1.5rem 1.5rem; margin-top: -1.1rem; position: relative; }
.mc-replay-pop__time {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  font-size: 0.78rem;
  white-space: nowrap;
  color: #cbd5e1;
  background: rgba(11, 11, 16, 0.85);
  border: 1px solid rgba(96, 165, 250, 0.25);
  border-radius: 999px;
}
.mc-replay-pop__time b { color: var(--blue, #60a5fa); font-variant-numeric: tabular-nums; }
.mc-replay-pop__title { margin: 0.9rem 0 0.4rem; font-size: 1.3rem; line-height: 1.22; font-weight: 700; letter-spacing: -0.015em; color: #f8fafc; text-wrap: balance; }
.mc-replay-pop__sub { margin: 0; font-size: 0.92rem; line-height: 1.45; color: #a3b0c2; text-wrap: balance; }
.mc-replay-pop__card .mc-replay__cta { box-sizing: border-box; display: flex; width: 100%; min-width: 0; margin: 1.15rem 0 0; }
.mc-replay-pop__close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 2;
  width: 32px;
  height: 32px;
  font-size: 20px;
  line-height: 1;
  color: #f8fafc;
  background: rgba(4, 4, 6, 0.55);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}
.mc-replay-pop__close:hover { background: rgba(4, 4, 6, 0.8); }
@keyframes mc-pop-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
