/* ============================================
   DESIGN SYSTEM — Edit these to restyle the whole site
   Change colors, fonts, and spacing here and it updates everywhere.
   ============================================ */
:root {
  /* Colors */
  --color-primary:      #F97316;   /* Orange — main brand color, links */
  --color-secondary:    #7C3AED;   /* Violet — gradient partner */
  --color-accent:       #F97316;   /* Orange — CTA buttons, highlighted text, numbers */
  --color-background:   #ffffff;   /* Page background */
  --color-surface:      #FFF7ED;   /* Very light orange tint for surface areas */
  --color-border:       #E2E8F0;   /* Slate-200 border */
  --color-text:         #0F172A;   /* Slate-900 — rich dark text */
  --color-text-muted:   #64748B;   /* Slate-500 — secondary text */
  --color-stars:        #F59E0B;   /* Amber — star ratings always stay gold */

  /* Fonts — loaded from Google Fonts in index.html */
  --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif; /* Heading font */
  --font-body:    'Inter', system-ui, sans-serif;             /* Body / UI font */

  /* Spacing */
  --spacing-section: 80px;

  /* Shape */
  --border-radius:    10px;
  --border-radius-lg: 20px;
  --border-radius-xl: 28px;

  /* Layout */
  --max-width: 1200px;
  --hero-max-width: 896px;  /* matches max-w-4xl */

  /* Shadows */
  --shadow-video:     0 24px 80px rgba(249, 115, 22, 0.10), 0 8px 32px rgba(0, 0, 0, 0.06);
  --shadow-btn:       0 8px 32px rgba(249, 115, 22, 0.35);
  --shadow-btn-hover: 0 12px 40px rgba(249, 115, 22, 0.50);
}


/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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


/* ============================================
   HERO SECTION
   The full above-the-fold area.
   ============================================ */
.hero {
  position: relative;
  overflow: hidden;
  /* Mobile-first: tight vertical padding, full-width horizontal breathing room */
  padding: 24px 20px 42px;
  text-align: center;
}

/* Subtle grid dot pattern on the background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(249, 115, 22, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

/* Fade the dot pattern out toward the bottom */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, var(--color-background) 100%);
  pointer-events: none;
  z-index: 0;
}

/* ── Atmospheric glow blobs ── */
.hero__blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.45;
}

.hero__blob--1 {
  width: 480px;
  height: 480px;
  background: rgba(249, 115, 22, 0.12);
  top: -80px;
  left: -120px;
}

.hero__blob--2 {
  width: 420px;
  height: 420px;
  background: rgba(124, 58, 237, 0.08);
  top: 60px;
  right: -100px;
}

.hero__blob--3 {
  width: 300px;
  height: 300px;
  background: rgba(249, 115, 22, 0.07);
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
}

/* ── Content wrapper ── */
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--hero-max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}


/* ============================================
   SOCIAL PROOF BADGE
   The pill with avatars + stars at the top of the hero.
   ============================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(79, 70, 229, 0.08);
  margin-bottom: 16px;
}

/* Overlapping avatar stack */
.badge__avatars {
  display: flex;
  flex-direction: row;
}

.badge__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  margin-left: -7px;
}

.badge__avatar:first-child {
  margin-left: 0;
}

/* Stars + label column */
.badge__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.badge__stars {
  display: flex;
  align-items: center;
  gap: 2px;
}

.badge__star {
  width: 13px;
  height: 13px;
  fill: var(--color-stars);
}

.badge__label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-text-muted);
  line-height: 1;
}


/* ============================================
   HERO HEADLINE
   The main h1. <em> gets the orange gradient treatment.
   ============================================ */
.hero__heading {
  font-family: var(--font-heading);
  /* clamp: 1.75rem on tiny phones → scales with viewport → caps at 3.25rem on wide screens */
  font-size: clamp(1.75rem, 6vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--color-text);
  max-width: 100%;  /* let the heading fill the container so it wraps naturally */
  margin-bottom: 16px;
}

/* Highlighted phrase — solid brand blue */
.hero__heading em {
  font-style: normal;
  color: var(--color-accent);
}


/* ============================================
   HERO SUBHEADLINE
   Supporting copy below the main headline.
   ============================================ */
.hero__subheading {
  /* On mobile, 4vw fills most of the screen width; caps at a comfortable reading size on desktop */
  font-size: clamp(0.875rem, 4vw, 1.0625rem);
  line-height: 1.65;
  color: var(--color-text-muted);
  /* Slightly wider than max-w-2xl so the longer funnel subheadline
     wraps to two lines on desktop instead of leaving a short third line */
  max-width: 760px;
  margin-bottom: 22px;
}


/* ============================================
   VIDEO WRAPPER
   Contains the Wistia embed.
   Border-radius and shadow give it a premium card feel.
   ============================================ */
.video-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-video);
  margin-bottom: 22px;

  /* Dark background prevents a white flash while the Wistia
     swatch and player script are still loading */
  background: #fff;

  /* Smooth entrance animation */
  animation: fadeUp 0.6s ease both;
  animation-delay: 0.15s;
}

/* Wistia player fills the wrapper */
.video-wrapper wistia-player {
  display: block;
  width: 100%;
  height: 100%;
}


/* ============================================
   CTA BUTTON
   Primary call-to-action button.
   Update --color-accent in the :root block to change the color.
   ============================================ -->
*/
.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
  transition: box-shadow 0.2s ease, filter 0.2s ease, transform 0.15s ease;
}

.btn--primary {
  background-color: var(--color-accent);
  color: #fff;
  font-size: clamp(0.95rem, 2vw, 1.0625rem);
  padding: 16px 36px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-btn);
  letter-spacing: 0.01em;
}

.btn--primary:hover {
  filter: brightness(1.08);
  box-shadow: var(--shadow-btn-hover);
}

.btn--primary:active {
  transform: scale(0.98);
}

.btn__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.btn--primary:hover .btn__icon {
  transform: translateX(3px);
}


/* ============================================
   GUARANTEE TEXT
   Small trust copy below the CTA button.
   ============================================ -->
*/
.hero__guarantee {
  font-size: 12px;
  color: var(--color-text-muted);
  opacity: 0.65;
  letter-spacing: 0.01em;
}


/* ============================================
   ANIMATIONS
   Subtle entrance animation for key elements.
   ============================================ -->
*/
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.badge        { animation: fadeUp 0.5s ease both; animation-delay: 0.0s; }
.hero__heading   { animation: fadeUp 0.5s ease both; animation-delay: 0.08s; }
.hero__subheading { animation: fadeUp 0.5s ease both; animation-delay: 0.14s; }
.hero__cta    { animation: fadeUp 0.6s ease both; animation-delay: 0.28s; }


/* ============================================
   LOGO CLOUD SECTION
   Infinite scrolling marquee of company logos.
   Adjust --marquee-speed to change scroll speed (lower = faster).
   ============================================ */

/* How long one full loop takes — increase to slow down, decrease to speed up */
:root {
  --marquee-speed: 35s;
}

.logo-cloud {
  background: var(--color-background);
  /* No top padding — the hero's bottom padding creates the gap */
  padding: 0 16px 40px;
}

/* Intro label above the logos */
.logo-cloud__label {
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

/* Funnel pages: hero sits directly above logo cloud — less dead space
   on small screens between the CTA (or embedded form) and the logos.
   Scoped with :has(+ .logo-cloud) so other layouts (e.g. website) stay unchanged. */
@media (max-width: 767px) {
  .hero:has(+ .logo-cloud) {
    padding-bottom: 22px;
  }

  .hero:has(+ .logo-cloud) + .logo-cloud .logo-cloud__label {
    margin-bottom: 20px;
  }
}

/* Viewport: constrained to max-w-4xl, centered, clips overflow,
   and applies the left/right fade mask */
.logo-cloud__viewport {
  max-width: 896px;
  margin: 0 auto;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 12.5%,
    black 87.5%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 12.5%,
    black 87.5%,
    transparent 100%
  );
}

/* Track holds two identical sets side by side and scrolls left continuously */
.logo-cloud__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll var(--marquee-speed) linear infinite;
}

/* Pause on hover — gives users a moment to read a logo */
.logo-cloud__track:hover {
  animation-play-state: paused;
}

/* Each set is a row of logo items */
.logo-cloud__set {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* Individual logo wrapper */
.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 34px;
}

/* Real logo images — constrained height, auto width, full colour */
.logo-img {
  height: 28px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  display: block;
  opacity: 1;
  transition: opacity 0.25s ease;
}

.logo-item:hover .logo-img {
  opacity: 1;
}

/* Thin vertical divider between logos */
.logo-divider {
  flex-shrink: 0;
  width: 1px;
  height: 28px;
  background: #d1d5db;
  opacity: 0.5;
}

/* The scroll keyframe — moves exactly one set width to the left, then snaps back */
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ============================================
  STATS SECTION
  Premium wide strip with subtle blue tint + depth.
  Mobile: stacked cards. Tablet+: 3-column row.
  ============================================ */
.stats {
  background: var(--color-background);
  padding: 0 20px 16px;
}

.stats__inner {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  background: #fff;
  border: none;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

.stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 16px;
}

.stats__item + .stats__item {
  border-top: 1px solid rgba(249, 115, 22, 0.12);
}

.stats__number {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 6.8vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-accent);
  line-height: 1;
}

.stats__label {
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.45;
  max-width: 220px;
}


/* ============================================
   TESTIMONIALS SECTION
   Two-row infinite marquee — row 1 scrolls left, row 2 right.
   Adjust --t-row1-speed / --t-row2-speed to change speeds.
   Left/right edges fade to the section background colour.
   ============================================ */

/* Speed tokens — increase value to slow down */
:root {
  --t-row1-speed: 42s;
  --t-row2-speed: 56s;
}

.testimonials {
  position: relative;
  overflow: hidden;
  background: var(--color-background);
  padding: 30px 0 24px;
}

/* No hairlines — all sections share the same white background for seamless flow */

/* Left + right fade overlays — key for the infinite scroll illusion */
.testimonials__fade-left,
.testimonials__fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  pointer-events: none;
  z-index: 2;
}
.testimonials__fade-left  {
  left: 0;
  background: linear-gradient(to right, var(--color-background), transparent);
}
.testimonials__fade-right {
  right: 0;
  background: linear-gradient(to left, var(--color-background), transparent);
}

/* Section header */
.testimonials__header {
  text-align: center;
  padding: 0 20px;
  margin-bottom: 40px;
}

.testimonials__eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.testimonials__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text);
  line-height: 1.15;
}

/* Each row clips overflow and adds gap between rows */
.testimonials__row {
  overflow: hidden;
  margin-bottom: 16px;
}

.testimonials__row:last-child {
  margin-bottom: 0;
}

/* The scrolling track — two identical sets side by side */
.testimonials__track {
  display: flex;
  width: max-content;
}

.testimonials__track--left {
  animation: marquee-scroll var(--t-row1-speed) linear infinite;
}

.testimonials__track--right {
  animation: marquee-scroll var(--t-row2-speed) linear infinite reverse;
}

/* Each set is a flex row of cards */
.testimonials__set {
  display: flex;
  flex-shrink: 0;
}

/* ── Testimonial card ── */
.testimonial-card {
  width: 300px;
  flex-shrink: 0;
  margin: 0 10px;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
}

/* Star row */
.testimonial-card__stars {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 12px;
}

.testimonial-card__stars svg {
  width: 12px;
  height: 12px;
  fill: var(--color-stars);
  flex-shrink: 0;
}

/* Quote text */
.testimonial-card__quote {
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--color-text);
  flex: 1;
  margin-bottom: 16px;
}

/* Author row — avatar + name + language */
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonial-card__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--color-border);
}

.testimonial-card__name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.2;
}

.testimonial-card__detail {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.2;
  margin-top: 2px;
}

/* CTA directly below moving testimonials */
.testimonials-cta {
  background: var(--color-background);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 26px 20px 36px;
}

/* ============================================
   ABOUT THE METHOD SECTION
   Founder story section inspired by the reference:
   - eyebrow + emotional headline
   - image + narrative copy
   - 3 trust cards
   ============================================ */
.about-method {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(249, 115, 22, 0.10) 0%, rgba(249, 115, 22, 0.04) 35%, var(--color-background) 100%);
  padding: 64px 20px 40px;
}

.about-method__inner {
  max-width: 1024px;
  margin: 0 auto;
}

.about-method__eyebrow {
  text-align: center;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 14px;
}

.about-method__heading {
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-text);
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  margin-bottom: 36px;
}

.about-method__heading span {
  color: var(--color-accent);
}

.about-method__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
  margin-bottom: 28px;
}

.about-method__image-wrap {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #FED7AA;
  background: linear-gradient(145deg, #eaf2ff, #f6f9ff);
  box-shadow: 0 20px 48px rgba(249, 115, 22, 0.15);
}

.about-method__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.about-method__image-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff;
  background: linear-gradient(90deg, #2563eb, #FB923C);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 22px rgba(249, 115, 22, 0.35);
}

.about-method__text h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: var(--color-text);
}

.about-method__text p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.about-method__text p strong {
  color: var(--color-text);
  font-weight: 700;
}

.about-method__stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.about-method__stat {
  background: linear-gradient(180deg, #FFF7ED, #FFEDD5);
  border: 1px solid #FED7AA;
  border-radius: 14px;
  padding: 14px 14px;
  text-align: center;
}

.about-method__stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 6.6vw, 1.75rem);
  line-height: 1;
  color: var(--color-accent);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.about-method__stat-label {
  font-size: 0.75rem;
  line-height: 1.35;
  color: var(--color-text-muted);
}


/* ============================================
   VIDEO TESTIMONIALS SECTION
   6-card Vimeo grid. 1 col mobile → 3 col desktop.
   Each card: 16:9 iframe + quote + author.
   To add/remove cards: duplicate/delete an <article class="vtcard">.
   ============================================ */
.vt {
  background: var(--color-background);
  padding: 36px 20px 80px;
}

/* Centered header */
.vt__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
}

.vt__eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.vt__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--color-text);
  line-height: 1.12;
  margin-bottom: 14px;
}

.vt__sub {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* Responsive grid: 1 col → 3 col */
.vt__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Individual card */
.vtcard {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(249, 115, 22, 0.05);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.vtcard:hover {
  box-shadow: 0 12px 36px rgba(249, 115, 22, 0.13);
  transform: translateY(-3px);
}

/* 16:9 responsive iframe wrapper */
.vtcard__video {
  position: relative;
  padding-top: 56.25%;
  background: #0f172a;
}

.vtcard__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Text below the video */
.vtcard__body {
  padding: 18px 20px 20px;
}

.vtcard__quote {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

/* Thin rule then name/role */
.vtcard__author {
  border-top: 1px solid var(--color-border);
  padding-top: 14px;
}

.vtcard__name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.2;
}

.vtcard__title {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: 3px;
}

/* CTA block below the grid */
.vt__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 48px;
}


/* ============================================
   COURSE PHASES TIMELINE
   4-phase alternating scroll section.
   Mobile: stacked single-column.
   Desktop (1024px+): 2-col alternating + animated centre line.
   To swap images: change src on each .cpt__img.
   ============================================ */
.cpt {
  background: linear-gradient(180deg, #FFF7ED 0%, #ffffff 28%);
  padding: 72px 20px 80px;
}

.cpt__inner {
  max-width: 1040px;
  margin: 0 auto;
}

/* Header */
.cpt__header {
  text-align: center;
  margin-bottom: 52px;
}

.cpt__eyebrow-pill {
  display: inline-block;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.cpt__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.625rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.13;
  color: var(--color-text);
  max-width: 600px;
  margin: 0 auto;
}

/* Body — relative so the centre line can be absolute inside */
.cpt__body {
  position: relative;
}

/* ── Animated centre line — only visible at 1024px+ via JS + media query ── */
.cpt__line-rail {
  display: none;
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
}

/* Faint background track */
.cpt__line-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #FED7AA, #FDBA74 50%, #FED7AA);
  border-radius: 999px;
}

/* Filled portion — height driven by rAF lerp in script.js (no CSS transition) */
.cpt__line-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(to bottom, var(--color-accent), #FB923C);
  border-radius: 999px;
  will-change: height;
  transform: translateZ(0); /* promote to GPU layer for paint-free updates */
}

/* Glowing orb at tip of fill — top driven by JS */
.cpt__line-orb {
  position: absolute;
  left: 50%;
  top: 0;
  width: 14px;
  height: 14px;
  background: var(--color-accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.18), 0 0 18px rgba(249, 115, 22, 0.5);
  animation: cpt-orb-pulse 2s ease-in-out infinite;
  z-index: 2;
  will-change: top;
  transform: translate(-50%, -50%) translateZ(0); /* GPU layer */
}

@keyframes cpt-orb-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(249,115,22,0.18), 0 0 12px rgba(249,115,22,0.4); }
  50%       { box-shadow: 0 0 0 7px rgba(249,115,22,0.12), 0 0 26px rgba(249,115,22,0.55); }
}

/* ── Items ── */
.cpt__items {
  display: flex;
  flex-direction: column;
  gap: 52px;
  position: relative;
  z-index: 1;
}

.cpt__item {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Phase pill */
.cpt__phase-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.08);
  border: 1px solid rgba(249, 115, 22, 0.18);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.cpt__item-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.8vw, 1.625rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 18px;
}

/* Bullet list */
.cpt__bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.cpt__bullet {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #7C5A3A;
}

.cpt__check {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Image */
.cpt__img-wrap {
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 12px 40px rgba(249, 115, 22, 0.10);
  aspect-ratio: 16 / 10;
  background: var(--color-surface);
}

.cpt__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Section CTA */
.cpt__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 56px;
}

/* ============================================
   FEATURED QUOTE SECTION
   Single testimonial pull-quote card.
   ============================================ */
.featured-quote {
  background: var(--color-background);
  padding: 24px 20px 84px;
}

.featured-quote__card {
  max-width: 860px;
  margin: 0 auto;
  padding: 52px 26px 44px;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  background:
    radial-gradient(560px 170px at 50% 0%, rgba(249, 115, 22, 0.12), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #FFF7ED 100%);
  box-shadow: 0 18px 48px rgba(249, 115, 22, 0.10);
  text-align: center;
}

.featured-quote__text {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2.1vw, 1.45rem);
  line-height: 1.42;
  letter-spacing: -0.018em;
  color: var(--color-text);
  max-width: 740px;
  margin: 0 auto 30px;
}

.featured-quote__author {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.featured-quote__avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid #FED7AA;
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.20);
}

.featured-quote__name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
}

.featured-quote__role {
  margin-top: 2px;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.2;
}


/* ============================================
   RESPONSIVE — TABLET (768px+)
   ============================================ */
@media (min-width: 768px) {
  .hero {
    padding: 44px 32px 52px;
  }

  .badge {
    gap: 12px;
    padding: 8px 16px 8px 10px;
    margin-bottom: 24px;
  }

  .badge__avatar {
    width: 32px;
    height: 32px;
  }

  .hero__heading {
    margin-bottom: 20px;
  }

  .hero__subheading {
    margin-bottom: 36px;
  }

  .video-wrapper {
    border-radius: var(--border-radius-xl);
    margin-bottom: 36px;
  }

  /* Logo cloud — more horizontal breathing room on tablet */
  .logo-cloud {
    padding: 0 32px 40px;
  }

  /* Stats — wider 3-column strip */
  .stats__inner {
    grid-template-columns: repeat(3, 1fr);
    max-width: 980px;
  }

  .stats__item {
    padding: 26px 24px;
  }

  .stats__item + .stats__item {
    border-top: none;
    border-left: 1px solid rgba(249, 115, 22, 0.12);
  }

  .about-method {
    padding: 72px 32px 44px;
  }

  .about-method__content {
    grid-template-columns: 320px 1fr;
    gap: 32px;
    margin-bottom: 34px;
  }

  .about-method__stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .about-method__stat {
    padding: 20px 16px;
  }

  /* Video testimonials — 2-col on tablet */
  .vt {
    padding: 40px 32px 88px;
  }

  .vt__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .featured-quote {
    padding: 32px 32px 96px;
  }

  .featured-quote__card {
    padding: 62px 40px 52px;
  }
}


/* ============================================
   RESPONSIVE — DESKTOP (1280px+)
   ============================================ -->
*/
@media (min-width: 1280px) {
  .hero {
    padding: 52px 40px 40px;
  }

  .stats {
    padding: 0 40px 20px;
  }

  .stats__inner {
    max-width: 1200px;
  }

  .about-method {
    padding: 76px 40px 48px;
  }

  .about-method__content {
    grid-template-columns: 360px 1fr;
    gap: 44px;
  }

  /* Video testimonials — 3-col on desktop */
  .vt {
    padding: 44px 40px 96px;
  }

  .vt__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  /* Course Phases Timeline — wider padding on large screens */
  .cpt {
    padding: 88px 40px 96px;
  }

  .cpt__header {
    margin-bottom: 72px;
  }

  .cpt__items {
    gap: 88px;
  }

  .featured-quote {
    padding: 40px 40px 104px;
  }
}


/* ============================================
   RESPONSIVE — COURSE PHASES (1024px+)
   Enables the 2-column alternating layout and
   the animated centre line. Separate breakpoint
   so the layout switch is not too early/late.
   ============================================ */
@media (min-width: 1024px) {
  .cpt__line-rail {
    display: block;
  }

  .cpt__item {
    flex-direction: row;
    align-items: center;
    gap: 72px;
  }

  /* Flipped items — image comes first visually */
  .cpt__item--flip {
    flex-direction: row-reverse;
  }

  .cpt__text,
  .cpt__img-wrap {
    flex: 1;
    min-width: 0; /* prevent flex children from overflowing */
  }
}


/* ============================================
   SECONDARY BUTTON VARIANT
   Outlined button used for secondary CTAs like
   "View more testimonials". Inherits .btn base.
   ============================================ */
.btn--secondary {
  background: transparent;
  color: var(--color-accent);
  border: 1.5px solid var(--color-accent);
  box-shadow: none;
  font-size: 0.9375rem;
  padding: 13px 28px;
  border-radius: var(--border-radius-lg);
  gap: 8px;
}

.btn--secondary:hover {
  background: var(--color-accent);
  color: #fff;
  box-shadow: var(--shadow-btn);
  transform: translateY(-1px);
}


/* ============================================
   TESTIMONIAL GRID SECTION
   12-card text testimonial grid.
   Mobile starts with 3 cards, desktop with 6.
   Load-more reveals +3 each click in JavaScript.
   ============================================ */
.tgrid {
  background: var(--color-background);
  padding: 36px 20px 72px;
}

.tgrid__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.tgrid__header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}

.tgrid__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--color-text);
  margin-bottom: 12px;
}

.tgrid__sub {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* Grid: 1-col mobile, 2-col tablet, 3-col desktop */
.tgrid__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* Individual card */
.tgrid__card {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 22px 22px 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
  overflow: hidden;
}

.tgrid__card::before {
  content: '\201C';
  position: absolute;
  top: 10px;
  right: 18px;
  font-size: 4rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--color-accent);
  opacity: 0.15;
  pointer-events: none;
  user-select: none;
}

.tgrid__card:hover {
  box-shadow: 0 8px 32px rgba(249,115,22,0.10);
  transform: translateY(-2px);
}

.tgrid__card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.tgrid__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--color-border);
}

.tgrid__author {
  flex: 1;
}

.tgrid__name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
}

.tgrid__role {
  font-size: 0.775rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.tgrid__quote {
  font-size: 0.875rem;
  line-height: 1.72;
  color: var(--color-text-muted);
}

/* JS toggle class for progressive reveal */
.tgrid__card--hidden {
  display: none !important;
}

.tgrid__more-wrap {
  text-align: center;
  margin-top: 32px;
}

/* ============================================
   BENTO FEATURES SECTION
   A modern bento-style feature grid.
   5 cards with layout:
     Desktop: [ Card A (2-col) ][ Card B (1-col, row-span 2) ]
              [ Card C (1-col) ][ Card D (1-col) ]
              [ Card E (3-col, full-width) ]
   Tablet: 2-col flow, Card E spans full width.
   Mobile: 1-col stack.
   ============================================ */
.bento-features {
  background: var(--color-background);
  padding: 0 20px 88px;
}

.bento-features__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.bento-features__header {
  text-align: center;
  padding-top: 16px;
  margin-bottom: 44px;
}

.bento-features__pill {
  display: inline-block;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.bento-features__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.625rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--color-text);
  margin-bottom: 12px;
}

.bento-features__sub {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto;
}

/* Grid container */
.bento-features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

/* Base card */
.bf-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 22px;
  padding: 28px 28px 0;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.bf-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

/* Card text block */
.bf-card__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.bf-card__label--light { color: rgba(255,255,255,0.7); }

.bf-card__title {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 8px;
}

.bf-card__title--light { color: #fff; }

.bf-card__desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.bf-card__desc--light { color: rgba(255,255,255,0.78); }

/* Accent card — orange gradient */
.bf-card--accent {
  background: linear-gradient(150deg, #F97316 0%, #e86200 100%);
  border-color: transparent;
  box-shadow: 0 8px 40px rgba(249,115,22,0.3);
}

.bf-card--accent:hover {
  box-shadow: 0 12px 48px rgba(249,115,22,0.4);
  transform: translateY(-2px);
}

/* Visual area — fills remaining card height */
.bf-card__visual {
  flex: 1;
  display: flex;
  align-items: flex-end;
  position: relative;
}

/* ── LESSON PLAYER VISUAL (Card A) ── */
.bfv-player {
  width: 100%;
  background: #0f172a;
  border-radius: 14px 14px 0 0;
  padding: 12px 14px 0;
  overflow: hidden;
}

.bfv-player__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.bfv-player__dots {
  display: flex;
  gap: 5px;
}

.bfv-player__dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.bfv-player__tab {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.38);
  font-family: var(--font-body);
}

.bfv-player__screen {
  background: #1e293b;
  border-radius: 10px;
  padding: 18px 14px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.bfv-player__bar-wrap {
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}

.bfv-player__bar-fill {
  width: 42%;
  height: 100%;
  background: var(--color-accent);
  border-radius: 2px;
}

.bfv-lesson-list {
  list-style: none;
  padding: 0 0 14px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bfv-lesson {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  padding: 5px 7px;
  border-radius: 7px;
  font-family: var(--font-body);
}

.bfv-lesson--done  { color: rgba(255,255,255,0.48); }
.bfv-lesson--active {
  background: rgba(249,115,22,0.14);
  color: #fdba74;
}

/* ── LIVE VISUAL (Card B) ── */
.bf-card__visual--live {
  flex-direction: column;
  align-items: flex-start;
  padding: 4px 0 28px;
  gap: 14px;
}

.bfv-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fff;
}

.bfv-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  animation: live-blink 1.4s ease-in-out infinite;
}

@keyframes live-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}

.bfv-avatars {
  display: flex;
  align-items: center;
}

.bfv-avatars img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.45);
  margin-left: -10px;
}

.bfv-avatars img:first-child { margin-left: 0; }

.bfv-avatars__more {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.4);
  margin-left: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 700;
  color: #fff;
}

.bfv-live-stat {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
}

/* ── SPEAKING BUBBLES VISUAL (Card C) ── */
.bf-card__visual--speak {
  flex-direction: column;
  align-items: stretch;
  padding: 4px 0 26px;
  gap: 8px;
}

.bfv-bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.78rem;
  line-height: 1.45;
  font-family: var(--font-body);
}

.bfv-bubble--left {
  background: var(--color-surface);
  color: var(--color-text-muted);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}

.bfv-bubble--right {
  background: var(--color-accent);
  color: #fff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

/* ── WAVEFORM VISUAL (Card D) ── */
.bf-card__visual--audio {
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 8px 0 24px;
  gap: 10px;
}

.bfv-waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 52px;
}

.bfv-waveform span {
  width: 4px;
  border-radius: 3px;
  background: var(--color-accent);
  transform-origin: center;
  animation: waveform-bar 1.3s ease-in-out infinite;
}

.bfv-waveform span:nth-child(1)  { height: 14px; animation-delay: 0.00s; }
.bfv-waveform span:nth-child(2)  { height: 26px; animation-delay: 0.08s; }
.bfv-waveform span:nth-child(3)  { height: 36px; animation-delay: 0.16s; }
.bfv-waveform span:nth-child(4)  { height: 44px; animation-delay: 0.24s; }
.bfv-waveform span:nth-child(5)  { height: 30px; animation-delay: 0.32s; }
.bfv-waveform span:nth-child(6)  { height: 20px; animation-delay: 0.40s; }
.bfv-waveform span:nth-child(7)  { height: 38px; animation-delay: 0.32s; }
.bfv-waveform span:nth-child(8)  { height: 48px; animation-delay: 0.24s; }
.bfv-waveform span:nth-child(9)  { height: 34px; animation-delay: 0.16s; }
.bfv-waveform span:nth-child(10) { height: 22px; animation-delay: 0.08s; }
.bfv-waveform span:nth-child(11) { height: 16px; animation-delay: 0.00s; }
.bfv-waveform span:nth-child(12) { height: 28px; animation-delay: 0.08s; }
.bfv-waveform span:nth-child(13) { height: 40px; animation-delay: 0.16s; }
.bfv-waveform span:nth-child(14) { height: 32px; animation-delay: 0.24s; }
.bfv-waveform span:nth-child(15) { height: 18px; animation-delay: 0.32s; }

@keyframes waveform-bar {
  0%, 100% { opacity: 0.45; transform: scaleY(0.55); }
  50%       { opacity: 1;    transform: scaleY(1); }
}

.bfv-audio-track {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  font-family: var(--font-body);
}

/* ── COMMUNITY VISUAL (Card E) ── */
.bf-card__visual--community {
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 12px 0 28px;
  gap: 10px;
}

.bfv-community__avatars {
  display: flex;
  align-items: center;
}

.bfv-community__avatars img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid #fff;
  margin-left: -12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.bfv-community__avatars img:first-child { margin-left: 0; }

.bfv-community__more {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 2.5px solid #fff;
  margin-left: -12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: #fff;
}

.bfv-community__label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ── Card E always full-width ── */
.bf-card--e {
  grid-column: 1 / -1;
}


/* ============================================
   HERO INLINE FORM WRAPPER
   Used in funnel-form/ instead of the video.
   data-tf-live renders the Typeform inside this
   container. Min-height prevents a blank flash
   before the form JS initialises.
   ============================================ */
.hero-form-wrap {
  width: 100%;
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-video);
  background: transparent;
  margin-bottom: 12px;
}

.hero-form-wrap > div {
  width: 100%;
  min-height: 0;
}

@media (min-width: 768px) {
  .funnel-form-page .hero__inner {
    max-width: 940px; /* Slightly wider than the default 896px */
  }
}

/* ============================================
   RESPONSIVE — TESTIMONIAL GRID & BENTO
   ============================================ */
@media (min-width: 768px) {
  /* Testimonial grid: 2-col */
  .tgrid__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  /* Bento grid: 2-col flow (card E still full-width via 1 / -1) */
  .bento-features__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (min-width: 1024px) {
  /* Testimonial grid: 3-col */
  .tgrid__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  /* Bento grid: 3-col with explicit placement
     Row 1: Card A (2-col) + Card B (1-col, spans 2 rows)
     Row 2: Card C (1-col) + Card D (1-col)
     Row 3: Card E (3-col full-width)                      */
  .bento-features__grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto auto;
    gap: 16px;
  }

  .bf-card--a { grid-column: 1 / 3; grid-row: 1; }
  .bf-card--b { grid-column: 3 / 4; grid-row: 1 / 3; }
  .bf-card--c { grid-column: 1 / 2; grid-row: 2; }
  .bf-card--d { grid-column: 2 / 3; grid-row: 2; }
  .bf-card--e { grid-column: 1 / 4; grid-row: 3; }
}


/* ============================================
   FAQ SECTION
   Accordion-style list. Chevron rotates on open.
   Answer height animates via grid-template-rows
   (the smoothest CSS-only height trick available).
   ============================================ */
.faq {
  position: relative;
  overflow: hidden;
  background: var(--color-background);
  padding: 72px 20px 96px;
}

/* Soft background blob — orange tint, matches hero */
.faq__blob {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  border-radius: 50%;
  background: rgba(249,115,22,0.06);
  filter: blur(80px);
  pointer-events: none;
}

.faq__inner {
  position: relative;
  z-index: 1;
  max-width: 768px;
  margin: 0 auto;
}

/* Header */
.faq__header {
  text-align: center;
  margin-bottom: 48px;
}

.faq__pill {
  display: inline-block;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.faq__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--color-text);
  margin-bottom: 12px;
}

.faq__sub {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* Accordion list */
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Individual item */
.faq__item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: box-shadow 0.22s ease;
}

.faq__item:hover {
  box-shadow: 0 4px 20px rgba(249,115,22,0.08);
}

/* Active item gets a subtle left accent */
.faq__item.is-open {
  border-color: rgba(249,115,22,0.25);
  box-shadow: 0 4px 24px rgba(249,115,22,0.10);
}

/* Question button */
.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.9875rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.45;
  transition: color 0.18s ease;
}

.faq__question:hover {
  color: var(--color-accent);
}

.faq__item.is-open .faq__question {
  color: var(--color-accent);
}

/* Chevron icon wrapper */
.faq__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-text-muted);
  transition: background 0.22s ease, color 0.22s ease, transform 0.3s ease;
}

.faq__item.is-open .faq__icon {
  background: rgba(249,115,22,0.12);
  color: var(--color-accent);
  transform: rotate(180deg);
}

/* Answer — animates height via grid-template-rows */
.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s ease;
}

.faq__item.is-open .faq__answer {
  grid-template-rows: 1fr;
}

.faq__answer-inner {
  overflow: hidden;
}

.faq__answer-inner p {
  padding: 0 22px 20px;
  margin: 0;
  border-top: 1px solid var(--color-border);
  padding-top: 14px;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}

@media (min-width: 768px) {
  .faq {
    padding: 80px 40px 104px;
  }

  .faq__question {
    font-size: 1.0625rem;
    padding: 22px 26px;
  }

  .faq__answer-inner p {
    padding: 14px 26px 22px;
  }
}


/* ============================================
   FOOTER
   Minimal footer matching the page's clean theme.
   ============================================ */
.site-footer {
  background: #f8fafc;
  border-top: 1px solid var(--color-border);
  padding: 24px 20px;
}

.site-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.site-footer__copy {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  text-align: center;
}

.site-footer__nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.site-footer__link {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__link:hover {
  color: var(--color-text);
}

@media (min-width: 768px) {
  .site-footer {
    padding: 28px 40px;
  }

  .site-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
  }

  .site-footer__copy {
    text-align: left;
  }
}

/* ============================================
   MOBILE ENFORCED OVERRIDES (stats)
   Keeps mobile stats compact even if cached/older
   rules or external CSS compete in production.
   ============================================ */
@media (max-width: 767px) {
  .stats__number {
    font-size: clamp(1.5rem, 5.8vw, 1.95rem) !important;
  }

  .stats__label {
    font-size: 0.78rem !important;
    line-height: 1.45 !important;
  }
}
