/*
 * Community landing (/community). Class prefix fc- = free community landing.
 * Palette of the coaching portal
 * (apps/coaching `.portal`: #f8f9fb ground, brand blue #0066ff) + its dark band.
 * Layout: 1200px container; hero is one centered column with the Whop checkout under the copy.
 * Sections, in page order: base, shared bits, hero, join card, features, reviews, band, footer.
 */
:root {
  --bg: #f8f9fb;
  --card: #ffffff;
  --fg: hsl(222 40% 11%);
  --muted: hsl(220 12% 44%);
  --subtle: hsl(220 12% 58%);
  --border: hsl(220 20% 91%);
  --blue: #0066ff;
  --blue-hover: #0052cc;
  --blue-soft: hsl(216 100% 96%);
  --on-blue: #ffffff;
  --tp: #00b67a;
  --band: #0b0b10;
  --band-fg: #f8fafc;
  --band-muted: #a3b0c2;
  --band-ring: rgba(248, 250, 252, 0.12);
  --skeleton: hsl(220 20% 94%);
  --skeleton-hi: hsl(220 20% 97%);
  --shadow-card: 0 1px 2px rgba(16, 24, 40, 0.04), 0 40px 80px -24px rgba(16, 24, 40, 0.22);
  --shadow-blue: 0 10px 32px -6px rgba(0, 102, 255, 0.45);
  --shadow-blue-strong: 0 10px 32px -6px rgba(0, 102, 255, 0.55);
  --radius: 16px;
  --wrap: 1200px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 10vw, 7.5rem);
}

/* ─── Base ─── */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

img {
  max-width: 100%;
}

p {
  margin: 0;
}

/* ─── Shared bits ─── */
.fc-wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.fc-section {
  margin-top: var(--section);
}

.fc-h2 {
  margin: 0 0 2.5rem;
  text-align: center;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.fc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.75rem;
  border-radius: 14px;
  background: var(--blue);
  color: var(--on-blue);
  font-size: 1.0625rem;
  font-weight: 700;
  transition: background 0.2s;
}

.fc-btn:hover {
  background: var(--blue-hover);
}

.fc-btn svg {
  width: 1.4rem;
  height: 1.4rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fc-btn--block {
  width: 100%;
}

.fc-btn--wide {
  min-width: 13rem;
  padding: 1.1rem 2.25rem;
  border-radius: 18px;
}

/* Trustpilot rating badge: "4.8 ★★★★★ Trustpilot" (hero and reviews head). */
.fc-tp {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--fg);
}

.fc-tp__score {
  font-size: 1.25rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* Star strip SVGs fill with currentColor. */
.fc-tp__stars {
  display: block;
  width: 7.5rem;
  height: auto;
  color: var(--tp);
}

.fc-tp__stars--sm {
  width: 6rem;
}

.fc-tp__brand {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Overlapping closer faces + count (hero and band). */
.fc-people {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 2rem;
  font-size: 0.9375rem;
  color: var(--muted);
}

.fc-people b {
  color: var(--fg);
}

.fc-faces {
  display: flex;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fc-faces li + li {
  margin-left: -0.6rem;
}

.fc-faces img {
  display: block;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 3px solid var(--bg);
  object-fit: cover;
}

/* ─── Hero ─── */
.fc-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* The first screen: Trustpilot → title → line → faces, then the form (no video since 2026-11-27). Starts at the top
   with steady padding (never centred, so tall screens get no gap above). */
.fc-fold {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding-top: clamp(1.25rem, 3.5svh, 3rem);
}

.fc-fold .fc-tp {
  flex-shrink: 0;
}

.fc-fold ~ .fc-join {
  margin-top: clamp(2rem, 5svh, 3.5rem);
}

.fc-title {
  margin: clamp(0.6rem, 2.2svh, 1.5rem) 0 0;
  font-size: clamp(1.85rem, min(5.4vw, 6.3svh), 4.25rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

/* Two lines on wide screens: "… high ticket sales" / "più grande d'Italia". */
@media (min-width: 900px) {
  .fc-title .fc-blue {
    display: block;
  }
}

.fc-lead {
  max-width: 46rem;
  margin-top: clamp(0.5rem, 2svh, 1.5rem);
  font-size: clamp(0.95rem, min(1.8vw, 2.3svh), 1.25rem);
  color: var(--muted);
  text-wrap: pretty;
}

/* Under the line: the faces (no video since 2026-11-27, the form follows). */
.fc-lead + .fc-people {
  margin-top: clamp(1rem, 3svh, 2rem);
}

/* Hero: faces on one line, the count under them. */
.fc-people--stack {
  flex-direction: column;
  gap: 0.6rem;
}

/* ─── Join card (the Whop form: the main element of the page) ─── */
.fc-join {
  width: 100%;
  max-width: 760px;
  margin-top: clamp(2.25rem, 5vw, 3rem);
  padding: clamp(1rem, 2.5vw, 1.5rem) clamp(1.25rem, 4vw, 2.75rem) clamp(1.25rem, 4vw, 2.75rem);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  text-align: left;
  scroll-margin-top: 1.5rem;
}

/* Card header: Academy chip (left) | "Entra gratis su Whop" (right). Stacked on phones. */
.fc-join__head {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.fc-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
  padding-right: clamp(1.25rem, 3vw, 2rem);
  border-right: 1px solid var(--border);
  text-align: center;
}

.fc-chip__img {
  width: 6.5rem;
  height: auto;
  aspect-ratio: 3 / 2;
  border-radius: 14px;
  object-fit: cover;
}

.fc-chip__name {
  margin-top: 0.2rem;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
  white-space: nowrap;
}

/* Whop and Discord marks in a soft grey, separated by a dot. */
.fc-chip__on {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--subtle);
  font-weight: 700;
}

.fc-chip__whop {
  width: 1.05rem;
  height: auto;
}

.fc-chip__discord {
  width: 0.95rem;
  height: auto;
}

.fc-join__cta {
  flex: 1;
  min-width: 0;
  text-align: center;
}

.fc-join__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: clamp(1.15rem, 2.6vw, 1.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.fc-whop {
  width: auto;
  height: 1.3em;
  margin-top: 0.15em;
  color: var(--fg);
}

.fc-join__meta {
  margin-top: 0.35rem;
  font-size: 0.875rem;
  color: var(--muted);
}

@media (max-width: 560px) {
  .fc-join__head {
    flex-direction: column;
  }

  .fc-chip {
    padding-right: 0;
    border-right: 0;
  }
}

/* While loading, the frame holds the form's usual height (335px) under a skeleton; once Whop's
   form is in (.is-ready, set by the page script), it wraps the iframe exactly so the rounded
   corners clip it on all four sides. */
.fc-join__frame {
  position: relative;
  min-height: 335px;
  overflow: hidden;
  border-radius: 14px;
}

.fc-join.is-ready .fc-join__frame {
  min-height: 0;
}

#whop-checkout-embed {
  opacity: 0;
  transition: opacity 0.35s ease;
}

#whop-checkout-embed iframe {
  display: block;
}

/* Whop's iframe starts taller than the form (480px) and shrinks once loaded: keep it out of the
   layout until then, so the card holds the skeleton's height. */
.fc-join:not(.is-ready) #whop-checkout-embed {
  position: absolute;
  inset: 0 0 auto;
}

.fc-join.is-ready #whop-checkout-embed {
  opacity: 1;
}

.fc-skeleton {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: opacity 0.35s ease;
}

.fc-skeleton span {
  display: block;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--skeleton) 25%, var(--skeleton-hi) 50%, var(--skeleton) 75%);
  background-size: 200% 100%;
  animation: fc-shimmer 1.4s ease-in-out infinite;
}

.fc-skeleton__label {
  width: 7rem;
  height: 0.9rem;
  margin-top: 0.6rem;
}

.fc-skeleton__field {
  height: 2.9rem;
}

.fc-skeleton__button {
  height: 3.4rem;
  margin-top: 1.4rem;
  border-radius: 12px;
}

/* Faded out and no longer animating once the form is in. */
.fc-join.is-ready .fc-skeleton {
  opacity: 0;
  pointer-events: none;
}

.fc-join.is-ready .fc-skeleton span {
  animation: none;
}

@keyframes fc-shimmer {
  to {
    background-position: -200% 0;
  }
}

/* Plain checkout link, shown only without JS (<noscript> style in the head) or when Whop's
   script never mounted the form (.is-failed). */
.fc-join__fallback {
  display: none;
}

.fc-join.is-failed .fc-join__fallback {
  display: flex;
}

/* After the join (.is-done): a one-line status replaces the form while the page leaves for
   Whop's sign-in. */
.fc-join.is-done .fc-join__frame {
  display: none;
}

.fc-join__done {
  margin: 0;
  padding: 1.25rem 0 0.25rem;
  color: var(--muted);
  line-height: 1.5;
  text-align: center;
}

.fc-join__done b {
  color: var(--fg);
}

.fc-join__done a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Reads as the first line of Whop's form below it: its label size and grey, its left inset. */
.fc-join__hint {
  margin: 0 0 0.25rem;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  line-height: 1.4;
  color: #60646c;
}

.fc-join__hint svg {
  flex: none;
  width: 1.15rem;
  height: auto;
  color: #8b8d98;
}

.fc-join.is-done .fc-join__hint,
.fc-join.is-failed .fc-join__hint {
  display: none;
}

/* Same text as Whop's own notice just above it (13px, tight leading, its neutral grey, plain
   links), right under it, so the two read as one block. */
.fc-join__legal {
  margin: 0.3rem 0 0;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: -0.09px;
  color: #838383;
  text-align: center;
}

.fc-join__legal a {
  color: inherit;
}

.fc-join.is-done .fc-join__legal {
  display: none;
}

/* ─── Cosa trovi dentro ─── */
.fc-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.fc-feature {
  padding: clamp(1.5rem, 2.5vw, 2rem);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.fc-feature__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  background: var(--blue-soft);
}

.fc-feature__icon svg {
  width: 1.4rem;
  height: 1.4rem;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fc-feature h3 {
  margin: 1.4rem 0 0.4rem;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.fc-feature p {
  font-size: 0.975rem;
  color: var(--muted);
}

/* Scroll reveal (classes set by the page script): one card after the other. */
.fc-features.is-hidden .fc-feature {
  opacity: 0;
  transform: translateY(20px);
}

.fc-features.is-shown .fc-feature {
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fc-features.is-shown .fc-feature:nth-child(2) {
  transition-delay: 0.25s;
}

.fc-features.is-shown .fc-feature:nth-child(3) {
  transition-delay: 0.5s;
}

.fc-features.is-shown .fc-feature:nth-child(4) {
  transition-delay: 0.75s;
}

.fc-section-cta {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.fc-section-cta .fc-btn {
  box-shadow: var(--shadow-blue);
}

@media (max-width: 1100px) {
  .fc-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .fc-features {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ─── Reviews ─── */
.fc-section__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  text-align: center;
}

.fc-section__head .fc-h2 {
  margin: 0;
}

/* Full-bleed marquee; the track holds the cards twice (copy added by the page script) and
   slides by half its width, so the loop is seamless. */
.fc-marquee {
  margin-top: 2.5rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.fc-marquee__track {
  --marquee-gap: 1.25rem;
  display: flex;
  gap: var(--marquee-gap);
  width: max-content;
  margin: 0;
  padding: 0.25rem 0;
  list-style: none;
  animation: fc-scroll 135s linear infinite;
}

.fc-marquee:hover .fc-marquee__track,
.fc-marquee:focus-within .fc-marquee__track {
  animation-play-state: paused;
}

@keyframes fc-scroll {
  to {
    transform: translateX(calc(-50% - var(--marquee-gap) / 2));
  }
}

.fc-review {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  width: 23rem;
  padding: 1.6rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.fc-review p {
  flex: 1;
  font-size: 1.0625rem;
  line-height: 1.5;
}

.fc-review__who {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
}

.fc-review__avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 0.8125rem;
  font-weight: 700;
}

/* Small Trustpilot links; the vertical padding brings the tap target to ~28px. */
.fc-review__verify,
.fc-seeall a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding-block: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s;
}

.fc-review__verify:hover,
.fc-seeall a:hover {
  color: var(--tp);
}

.fc-review__verify svg,
.fc-seeall svg {
  width: 0.9rem;
  height: 0.9rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fc-seeall {
  margin-top: 1.5rem;
  text-align: center;
}

.fc-seeall a {
  font-size: 0.9375rem;
}

@media (max-width: 600px) {
  .fc-review {
    width: 18.5rem;
  }

  .fc-marquee__track {
    animation-duration: 95s;
  }
}

/* ─── Closing band: photo (left) | title, text, faces, CTA ─── */
.fc-band {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.75rem, 5vw, 4rem);
  padding: clamp(1.75rem, 3.5vw, 2.75rem) clamp(1.75rem, 5vw, 4rem);
  background: var(--band);
  color: var(--band-fg);
  border-radius: 28px;
}

.fc-band__photo {
  display: block;
  width: clamp(8rem, 16vw, 12rem);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 999px;
  border: 4px solid var(--band-ring);
}

/* Zoomed on head and shoulders (the source is a full-length portrait). */
.fc-band__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  transform: scale(1.35);
  transform-origin: 50% 16%;
}

.fc-band__body {
  min-width: 0;
}

.fc-band__title {
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.fc-band__body > p {
  max-width: 36rem;
  margin-top: 0.75rem;
  font-size: clamp(1.0625rem, 1.8vw, 1.2rem);
  color: var(--band-muted);
}

/* One row: faces centred in the free space, "Entra gratis" right-aligned. */
.fc-band__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.25rem 2rem;
  margin-top: 1.5rem;
}

.fc-band__actions .fc-people {
  justify-self: center;
}

.fc-people--band {
  margin-top: 0;
  white-space: nowrap;
  font-size: 1rem;
  color: var(--band-muted);
}

.fc-people--band .fc-faces img {
  width: 2.5rem;
  height: 2.5rem;
  border-color: var(--band);
}

.fc-band .fc-btn {
  margin-top: 2rem;
  box-shadow: var(--shadow-blue-strong);
}

@media (max-width: 760px) {
  .fc-band {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
  }

  .fc-band__body {
    width: 100%;
  }

  .fc-band__body > p {
    margin-inline: auto;
  }

  .fc-band__actions {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }

  .fc-band__actions .fc-btn {
    justify-self: stretch;
    width: 100%;
  }

  /* Phones: faces on one line, "e altri 700+" under them. */
  .fc-people--band {
    flex-direction: column;
    gap: 0.5rem;
  }

  .fc-people--band .fc-faces img {
    width: 2.75rem;
    height: 2.75rem;
  }
}

/* ─── Footer ─── */
/* ─── Footer: company details on the left (Meta verification checks them against the trade
   license), legal links on the right; stacked on phones. Quiet on purpose: under the closing
   band, it must not compete with the join button. ─── */
.fc-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 1.25rem 3rem;
  margin-top: clamp(4rem, 9vw, 6rem);
  padding-block: 2rem 2.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--muted);
}

.fc-footer p {
  margin: 0;
}

.fc-footer__company {
  margin-top: 0.5rem !important;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--subtle);
}

.fc-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0 1.25rem;
}

/* Vertical padding for a ~28px tap target. */
.fc-footer a {
  display: inline-block;
  padding-block: 0.25rem;
}

.fc-footer__brand a {
  padding-block: 0;
}

.fc-footer a:hover {
  color: var(--fg);
}

@media (max-width: 760px) {
  .fc-footer {
    grid-template-columns: minmax(0, 1fr);
  }

  .fc-footer nav {
    justify-content: flex-start;
    order: -1;
  }
}

/* ─── Reduced motion: no marquee (the row scrolls by hand instead), no shimmer, no smooth
   scroll. The reveal is skipped by the page script. ─── */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fc-marquee__track,
  .fc-skeleton span {
    animation: none;
  }

  .fc-marquee {
    overflow-x: auto;
  }
}

/* ─── The 2026-11-05 page: Google proof, wins wall, Francesco proofs, student clips, FAQ (fi-* classes) ─── */

/* More air between sections */
:root {
  --section: clamp(5.5rem, 14vw, 9rem);
}

/* Trustpilot above the headline, smaller */
.fc-fold .fc-tp {
  gap: 0.375rem;
  opacity: 0.9;
}
.fc-fold .fc-tp__score {
  font-size: 0.875rem;
}
.fc-fold .fc-tp__stars {
  width: 4.75rem;
}
.fc-fold .fc-tp__brand {
  font-size: 0.875rem;
}


/* Claim section: Google card first, the headline under it */
.fi-gkicker {
  margin: 0 0 1rem;
  text-align: center;
  color: var(--subtle);
  font-size: 0.875rem;
  font-weight: 600;
}
.fi-claim__title {
  margin: 2.5rem auto 0;
}

/* Google proof: the search on top, the AI overview line below, in one card */
.fi-gcard {
  display: block;
  max-width: 760px;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-card);
  text-decoration: none;
}
.fi-gcard img {
  display: block;
  width: 100%;
  height: auto;
}
.fi-gcard__search {
  display: block;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--border);
}
.fi-gcard__ai {
  display: block;
  padding: clamp(1rem, 3vw, 1.75rem) clamp(0.75rem, 3vw, 2rem);
}

/* The three numbers under the proof */
.fi-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 760px;
  margin: 1.5rem auto 0;
  padding: 0;
  list-style: none;
  text-align: center;
}
.fi-stats li {
  padding: 0.25rem 0.5rem;
}
.fi-stats li + li {
  border-left: 1px solid var(--border);
}
.fi-stats b {
  display: block;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 800;
  line-height: 1.1;
}
.fi-stats span {
  display: block;
  margin-top: 0.125rem;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.35;
}

/* Wins wall: the whole image, no frame, no fade; tap opens it full size */
.fi-wins__title {
  margin: 0 0 1rem;
  text-align: center;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 800;
}
.fi-wall {
  max-width: 900px;
  margin: 0 auto;
}
.fi-wall__open {
  display: block;
}
.fi-wall img {
  display: block;
  width: 100%;
  height: auto;
}

/* Student clips: 3 vertical videos */
.fi-reels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 280px));
  justify-content: center;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
/* The cover + play button (the player replaces it on tap) */
.fi-reel__play {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--band);
  cursor: pointer;
  aspect-ratio: 9 / 16;
}
.fi-reel__play img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fi-reel__icon {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.35);
  transition: transform 0.15s;
}
.fi-reel__play:hover .fi-reel__icon {
  transform: translate(-50%, -50%) scale(1.06);
}
.fi-reel__icon svg {
  width: 28px;
  height: 28px;
  margin-left: 3px;
  fill: #fff;
}
.fi-reel iframe {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  border: 0;
  background: var(--band);
  border-radius: var(--radius);
}


.fi-note {
  margin: 1.25rem 0 0;
  text-align: center;
  color: var(--subtle);
  font-size: 0.875rem;
}

.fi-note__link {
  color: var(--blue);
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
}
.fi-note__link:hover {
  text-decoration: underline;
}

/* Francesco, minimal: round photo, one line, two numbers, small "worked with" cards */
.fi-who {
  max-width: 640px;
  text-align: center;
}
.fi-who__photo {
  display: block;
  width: 112px;
  height: 112px;
  margin: 0 auto 1rem;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: var(--shadow-card);
}
/* Zoom on the face: the portrait is a full-body shot */
.fi-who__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  transform: scale(1.9);
  transform-origin: 50% 22%;
}

/* The Misha Perov interview picture, under "Ha lavorato con", before the proof */
.fi-interview {
  max-width: 412px;
  margin: 1rem auto 0;
}
.fi-interview > picture img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.fi-interview__by {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.875rem;
}
.fi-interview__by img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}
.fi-interview__by b {
  color: var(--fg);
}
.fi-who__title {
  margin-bottom: 0.75rem;
}
.fi-who__text {
  max-width: 30rem;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.55;
}
.fi-stats--2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 380px;
}
.fi-people__label {
  margin: 1.75rem 0 0.625rem;
  color: var(--subtle);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.fi-people {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.fi-people li {
  width: 200px;
  max-width: 46%;
}
.fi-people img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
}

/* Mentor messages: a short preview that blurs out, "Vedi di più" shows them whole */
.fi-proof {
  position: relative;
  display: grid;
  gap: 0.625rem;
  max-width: 412px;
  max-height: 180px;
  margin: 1rem auto 0;
  overflow: hidden;
}
.fi-proof img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.fi-proof::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(rgba(248, 249, 251, 0), var(--bg) 85%);
  -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;
}
.fi-proof__more {
  position: absolute;
  left: 50%;
  bottom: 0.5rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  transform: translateX(-50%);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  box-shadow: var(--shadow-card);
  color: var(--fg);
  font: inherit;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
}
.fi-proof__more svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.fi-proof.is-open {
  max-height: none;
}
.fi-proof.is-open::after,
.fi-proof.is-open .fi-proof__more {
  display: none;
}

/* FAQ */
.fi-faq {
  max-width: 760px;
  margin: 0 auto;
}
.fi-faq details {
  border-bottom: 1px solid var(--border);
}
.fi-faq summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 0;
  font-weight: 700;
  font-size: 1.0625rem;
  cursor: pointer;
  list-style: none;
}
.fi-faq summary::-webkit-details-marker {
  display: none;
}
.fi-faq summary::after {
  content: "+";
  color: var(--blue);
  font-weight: 800;
}
.fi-faq details[open] summary::after {
  content: "\2212";
}
.fi-faq details p {
  margin: 0 0 1.125rem;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 760px) {
  /* Phones: less padding in the Google card, so the AI line stays as big as it can */
  .fi-gcard__ai {
    padding: 0.875rem 0.375rem;
  }
  .fi-reels {
    grid-template-columns: repeat(3, 70vw);
    justify-content: start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.5rem;
  }
  .fi-reel {
    scroll-snap-align: center;
  }
}

/* The claim (under the form since 2026-11-27) */
.fi-claim {
  margin-top: clamp(4.5rem, 12vw, 6.5rem);
}
/* The form in its own block, right after the first screen */
.fi-join {
  margin-top: clamp(4.5rem, 12vw, 6rem);
}
.fi-join .fc-join {
  margin-top: 0;
}
/* Cosa trovi dentro: 3 cards (the live-call card was removed), one row on desktop */
.fi-features--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 760px) {
  .fi-features--3 {
    grid-template-columns: 1fr;
  }
}

/* Desktop: Francesco's proofs bigger (phones keep the narrow column) */
@media (min-width: 761px) {
  .fi-who {
    max-width: 760px;
  }
  .fi-people li {
    width: 290px;
  }
  .fi-interview,
  .fi-proof {
    max-width: 592px;
  }
  .fi-proof {
    max-height: 260px;
  }
}

/* ─── Sticky button (as on /masterclass): fixed at the bottom once the form is scrolled past (above the screen),
   hidden while the closing band is on screen (script at the end of community.html). ─── */
.fc-sticky {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
  background: rgba(248, 249, 251, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transform: translateY(110%);
  transition: transform 0.25s ease;
}
.fc-sticky.is-on {
  transform: none;
}
.fc-sticky .fc-btn {
  min-width: min(100%, 17rem);
  padding: 0.7rem 1.4rem;
  border-radius: 12px;
  font-size: 1rem;
  box-shadow: var(--shadow-blue);
}
@media (max-width: 560px) {
  .fc-sticky {
    padding: 0.5rem var(--gutter) calc(0.5rem + env(safe-area-inset-bottom));
  }
  .fc-sticky .fc-btn {
    min-width: min(100%, 15rem);
    padding: 0.6rem 1rem;
    font-size: 0.9375rem;
  }
}
/* Room for the bar under the footer. */
body[data-landing="community"] {
  padding-bottom: 5rem;
}
