/**
 * EMD Landing Page Template — Styles
 * Design system inherited from CertifID C100 portal screens.
 * Fonts: Thicccboi (headings), Inter (body)
 * Icons: Tabler Icons (webfont)
 *
 * COLOR SYSTEM
 * All colors derive from three HSL base values: --brand-h, --brand-s, --brand-l.
 * Changing --brand-h rotates the entire palette hue.
 * Changing --brand-s / --brand-l adjusts the primary accent.
 * Individual tokens (--c-heading, --c-dark-bg, --c-muted, etc.) can be overridden for fine control.
 * Override via inline style on :root or JS: document.documentElement.style.setProperty(...)
 */


/* ═══════════════════════════════════════════════════════════
   1. DESIGN TOKENS
   ═══════════════════════════════════════════════════════════ */
:root {
  /* ── Brand base (HSL components — set by builder) ── */
  --brand-h: 216;
  --brand-s: 79%;
  --brand-l: 48%;

  /* ── Colors computed from brand base ──
     Navy/text use LOW saturation so they stay near-black with a subtle hue tint.
     Brand accent enforces a minimum lightness so buttons always contrast the dark hero. */
  --c-heading:         hsl(var(--brand-h), 28%, 16%);
  --c-dark-bg:         hsl(var(--brand-h), 50%, 18%);
  --c-text:            hsl(var(--brand-h), 5%, 10%);
  --c-muted:           hsl(var(--brand-h), 7%, 46%);
  --c-border-light:    hsl(var(--brand-h), 10%, 91%);
  --c-bg:              hsl(var(--brand-h), 12%, 97%);
  --c-surface:         #ffffff;
  --c-success:         #22c55e;
  --c-success-soft:    #f0fdf4;
  --brand-color:       hsl(var(--brand-h), var(--brand-s), max(var(--brand-l), 42%));
  --brand-color-hover: hsl(var(--brand-h), var(--brand-s), max(calc(var(--brand-l) - 6%), 36%));
  --brand-color-soft:  hsl(var(--brand-h), 50%, 96%);

  /* ── Typography ── */
  --font-heading:   'Thicccboi', system-ui, sans-serif;
  --font-body:      'Inter', system-ui, sans-serif;

  /* ── Layout ── */
  --content-max:    960px;
  --content-narrow: 670px;
  --gutter:         20px;
  --gutter-lg:      41px;

  /* ── Radius ── */
  --r-md:   12px;
  --r-lg:   16px;
  --r-xl:   20px;
  --r-full: 9999px;

  /* ── Shadows ── */
  --shadow-md:  0 4px 24px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.03);
  --shadow-btn: 0 2px 12px hsla(var(--brand-h), var(--brand-s), var(--brand-l), 0.25);

  /* ── Transitions ── */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --dur-med:     0.2s;
  --dur-reveal:  0.7s;
}


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

html {
  scroll-behavior: smooth;
}

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

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

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


/* ═══════════════════════════════════════════════════════════
   3. REVEAL ANIMATION
   ═══════════════════════════════════════════════════════════ */
[data-reveal] {
  opacity: 0;
  transform: translateY(-16px);
  filter: blur(6px);
  transition:
    opacity var(--dur-reveal) var(--ease-out),
    transform var(--dur-reveal) var(--ease-out),
    filter var(--dur-reveal) var(--ease-out);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Container-level reveals: fade only, no slide/blur */
section[data-reveal],
.inline-cta[data-reveal] {
  transform: none;
  filter: none;
  transition: opacity var(--dur-reveal) var(--ease-out);
}


/* ═══════════════════════════════════════════════════════════
   4. PAGE HEADER
   ═══════════════════════════════════════════════════════════ */
.page-header {
  padding: 16px var(--gutter);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid var(--c-border-light);
}

.page-header.scrolled {
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}

.header-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo-wrap {
  width: min(320px, 52vw);
  min-width: 120px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.header-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: left center;
}

.header-logo.logo-variant-wide {
  max-width: 100%;
  max-height: 48px;
}

.header-logo.logo-variant-medium {
  max-width: 180px;
  max-height: 40px;
}

.header-logo.logo-variant-square {
  max-width: 56px;
  max-height: 56px;
}

.header-cobrand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-muted);
}

.header-cobrand img {
  height: 21px;
}

@media (min-width: 768px) {
  .page-header {
    padding: 18px var(--gutter-lg);
  }
}


/* ═══════════════════════════════════════════════════════════
   5. HERO SECTION
   Full-bleed dark section with bold type.
   ═══════════════════════════════════════════════════════════ */
.hero {
  background: var(--c-dark-bg);
  color: #fff;
  padding: 80px var(--gutter) 72px;
  position: relative;
  overflow: hidden;
}

/* Subtle dot grid background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Split layout: text left, graphic right */
.hero-split {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.hero-copy {
  text-align: center;
}

.hero-copy .hero-trust {
  justify-content: center;
}

@media (min-width: 768px) {
  .hero {
    padding: 100px var(--gutter-lg) 88px;
  }
  .hero-split {
    flex-direction: row;
    align-items: center;
    gap: 56px;
  }
  .hero-copy {
    flex: 1;
    max-width: 480px;
    text-align: left;
  }
  .hero-graphic {
    flex-shrink: 0;
  }
  .hero-copy .hero-trust {
    justify-content: flex-start;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
  backdrop-filter: blur(4px);
}

.hero-badge i {
  font-size: 14px;
  color: #fff;
}

.hero h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(32px, 5.5vw, 52px);
  line-height: 1.1;
  text-wrap: balance;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,0.72);
  margin: 0 0 36px;
  text-wrap: pretty;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--brand-color);
  color: #fff;
  border: none;
  border-radius: var(--r-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition:
    background var(--dur-med) ease,
    transform 0.12s ease,
    box-shadow var(--dur-med) ease;
  text-decoration: none;
}

.hero-cta:hover {
  background: var(--brand-color-hover);
  box-shadow: 0 4px 20px hsla(var(--brand-h), var(--brand-s), var(--brand-l), 0.35);
}

.hero-cta:active {
  transform: scale(0.985);
}

.hero-cta i {
  font-size: 18px;
  transition: transform 0.15s;
}

.hero-cta:hover i {
  transform: translateX(2px);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

.hero-trust i {
  font-size: 15px;
  color: var(--c-success);
}

/* Decorative glow orb */
.hero-orb {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, hsla(var(--brand-h), var(--brand-s), var(--brand-l), 0.15) 0%, transparent 70%);
  top: -100px;
  right: -80px;
  pointer-events: none;
}

/* ── Hero graphic container ────────────────────────────── */
.hero-graphic {
  flex-shrink: 0;
  overflow: visible; /* allow tilted phone shadow to bleed out */
}

/* ── Hero iPhone mockup ─────────────────────────────────
   All styles scoped under .hero-iphone to avoid conflicts
   with existing page styles.
   font-size: 8px sets 1em for all internal em values:
     phone height = 80em = 640px
     phone width  = 640 × 37/76 ≈ 311px
   ─────────────────────────────────────────────────────── */
.hero-iphone {
  font-size: 8px;
  line-height: 1;
}

@media (min-width: 768px) {
  .hero-iphone { margin-left: 40px; }
}

.hero-iphone .phone {
  position: relative;
  height: 80em;
  aspect-ratio: 37 / 76;
  background: #000;
  border-radius: 6.666em;
  box-shadow:
    0 0 0 0.08em #1c2030,
    0 0 0 0.4em hsl(220, 22%, 80%);
  transform: perspective(2000px) rotateY(-15deg) rotateX(6deg);
  filter: drop-shadow(-14px 32px 52px rgba(0, 0, 0, 0.33));
}

.hero-iphone .phone::before {
  content: '';
  position: absolute;
  inset: 6.666em -0.4em;
  border: 0.45em solid hsl(220, 18%, 30%);
  border-left-width: 0;
  border-right-width: 0;
}

.hero-iphone .buttons {
  position: absolute;
  inset: -0.4em;
  pointer-events: none;
}

.hero-iphone .btn {
  position: absolute;
  width: 0.36em;
  background: hsl(220, 24%, 88%);
  border-radius: 0.18em 0 0 0.18em;
  box-shadow:
    inset -0.15em  0       0.1em #000,
    inset  0       0       0.1em hsl(220, 30%, 90%),
    inset  0       0.2em   0.1em hsl(220, 30%, 90%),
    inset  0      -0.2em   0.1em hsl(220, 30%, 90%),
    inset -0.1em   0.333em 0.1em rgba(0, 0, 0, .5),
    inset -0.1em  -0.333em 0.1em rgba(0, 0, 0, .5);
}

.hero-iphone .btn-silent { right: 100%; top: calc(6.666em * 2);         height: 3em;   }
.hero-iphone .btn-vol-up { right: 100%; top: calc(6.666em * 2 + 4.5em); height: 6em;   }
.hero-iphone .btn-vol-dn { right: 100%; top: calc(6.666em * 2 + 12em);  height: 6em;   }
.hero-iphone .btn-power  { left:  100%; top: calc(6.666em * 3); transform: scaleX(-1); height: 9.5em; }

.hero-iphone .screen-con {
  position: absolute;
  inset: 0;
  border-radius: 6.666em;
  border: 1.25em solid #000;
  overflow: hidden;
}

.hero-iphone .screen-con::after {
  content: '';
  position: absolute;
  z-index: 20;
  bottom: 0.75em;
  left: 50%;
  transform: translateX(-50%);
  width: 36%;
  height: 0.56em;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 999px;
}

.hero-iphone .screen-inner {
  position: absolute;
  inset: 0;
  border-radius: 5.416em; /* 6.666 - 1.25 */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--brand-color);
}

.hero-iphone .status-bar     { flex-shrink: 0; line-height: 0; }
.hero-iphone .status-bar svg { display: block; width: 100%; height: auto; }

.hero-iphone .payment-sheet {
  flex: 1;
  background: #fff;
  border-radius: 2.8em 2.8em 0 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 1.6em 2.2em 4em;
  gap: 1.6em;
  font-family: 'Inter', sans-serif;
}

.hero-iphone .drag-handle {
  width: 4.5em;
  height: 0.45em;
  background: #d1d5db;
  border-radius: 999px;
  align-self: center;
  flex-shrink: 0;
}

.hero-iphone .company-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
}

.hero-iphone .company-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 11em;
  max-height: 2.8em;
  object-fit: contain;
  object-position: left center;
}

.hero-iphone .company-logo.logo-variant-wide {
  max-width: 18em;
  max-height: 3.1em;
}

.hero-iphone .verified-badge {
  flex-shrink: 0;
}

.hero-iphone .company-logo.logo-variant-medium {
  max-width: 9em;
  max-height: 2.55em;
}

.hero-iphone .company-logo.logo-variant-square {
  max-width: 2.7em;
  max-height: 2.7em;
}

.hero-iphone .verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.4em 1em;
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
  border-radius: 999px;
  font-size: 1.2em;
  font-weight: 700;
}

.hero-iphone .verified-badge svg { width: 1.3em; height: 1.3em; display: block; }

.hero-iphone .step-row   { display: flex; flex-direction: column; gap: 0.8em; }
.hero-iphone .step-label { font-size: 1.2em; font-weight: 500; color: #6b7280; }
.hero-iphone .step-dots  { display: flex; gap: 0.5em; }

.hero-iphone .step-dot {
  height: 0.55em;
  width: 1.4em;
  border-radius: 999px;
  background: #d1d5db;
}

.hero-iphone .step-dot.active { width: 3.8em; background: var(--brand-color); }

.hero-iphone .amount-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3em;
}

.hero-iphone .amount-label   { font-size: 1.2em; color: #6b7280; }
.hero-iphone .amount-value   { font-size: 3.8em; font-weight: 800; color: #0f172a; line-height: 1; letter-spacing: -0.03em; margin: 0.35em 0; }
.hero-iphone .amount-address { font-size: 1.2em; color: #6b7280; }

.hero-iphone .bank-row {
  display: flex;
  align-items: center;
  gap: 1.2em;
  padding: 1.3em 1.4em;
  background: #f9fafb;
  border: 0.1em solid #e5e7eb;
  border-radius: 1.4em;
}

.hero-iphone .bank-icon {
  width: 3.6em;
  height: 3.6em;
  border-radius: 0.9em;
  background: var(--brand-color-soft);
  color: var(--brand-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-iphone .bank-icon svg  { width: 2em;   height: 2em;   display: block; flex-shrink: 0; }
.hero-iphone .bank-row > svg { width: 2.2em; height: 2.2em; display: block; flex-shrink: 0; }
.hero-iphone .bank-info      { flex: 1; }
.hero-iphone .bank-name      { font-size: 1.3em; font-weight: 700; color: #0f172a; }
.hero-iphone .bank-sub       { font-size: 1.1em; color: #6b7280; }

.hero-iphone .cta-ghost {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8em;
  padding: 1.5em;
  border: 0.15em solid var(--brand-color);
  border-radius: 1.4em;
  color: var(--brand-color);
  font-size: 1.5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero-iphone .cta-ghost svg { width: 1.5em; height: 1.5em; display: block; flex-shrink: 0; }

.hero-iphone .trust-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-size: 1.1em;
  color: #6b7280;
}

.hero-iphone .trust-line svg { width: 1.3em; height: 1.3em; display: block; flex-shrink: 0; }

/* Mobile: scale down the phone */
@media (max-width: 767px) {
  .hero-iphone { font-size: 5.5px; } /* ~440px tall */
}


/* ═══════════════════════════════════════════════════════════
   6. SECTION UTILITIES
   ═══════════════════════════════════════════════════════════ */
.section {
  padding: 72px var(--gutter);
}

.section--alt {
  background: var(--c-bg);
}

.section-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--brand-color-soft);
  color: var(--brand-color);
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-headline {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.2;
  color: var(--c-heading);
  text-wrap: balance;
  margin-bottom: 7px;
  letter-spacing: -0.01em;
}

.section-intro {
  font-size: 16px;
  color: var(--c-muted);
  max-width: 600px;
  text-wrap: pretty;
  line-height: 1.65;
}

/* Shared centered section header pattern */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header .section-intro {
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .section {
    padding: 96px var(--gutter-lg);
  }
}


/* ═══════════════════════════════════════════════════════════
   7. HOW IT WORKS — Stacked cards with connector line
   ═══════════════════════════════════════════════════════════ */
.steps-rail {
  max-width: var(--content-narrow);
  margin: 0 auto;
}

.step-wrapper {
  position: relative;
  margin-bottom: 20px;
}

.step-wrapper:last-child {
  margin-bottom: 0;
}

/* Connector line — spans full gap, aligned to icon center */
.step-wrapper:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 44px; /* 24px padding + 20px half-icon */
  width: 2px;
  height: 20px;
  background: var(--c-border-light);
}

.step {
  background: var(--c-surface);
  border: 1px solid var(--c-border-light);
  border-radius: var(--r-lg);
  padding: 24px;
}

.step-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.step-dot {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--brand-color-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-dot i {
  font-size: 20px;
  color: var(--brand-color);
}

.step-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 17px;
  color: var(--c-heading);
  line-height: 1.3;
  margin-top: 9px;
}

.step-desc {
  font-size: 15px;
  color: var(--c-muted);
  text-wrap: pretty;
  line-height: 1.6;
  padding-left: 54px;
  margin-bottom: 16px;
}


/* ═══════════════════════════════════════════════════════════
   8. BENEFITS — 3-column card grid
   ═══════════════════════════════════════════════════════════ */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.benefit-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border-light);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  transition:
    box-shadow var(--dur-med),
    opacity var(--dur-reveal) var(--ease-out),
    transform var(--dur-reveal) var(--ease-out),
    filter var(--dur-reveal) var(--ease-out);
}

.benefit-card:hover {
  box-shadow: var(--shadow-md);
}

.benefit-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--brand-color-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.benefit-icon i {
  font-size: 20px;
  color: var(--brand-color);
}

.benefit-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 17px;
  color: var(--c-heading);
  margin-bottom: 8px;
}

.benefit-desc {
  font-size: 15px;
  color: var(--c-muted);
  text-wrap: pretty;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* ═══════════════════════════════════════════════════════════
   9. FRAUD EDUCATION — Single card, numbered sections
   ═══════════════════════════════════════════════════════════ */
.edu-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border-light);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.edu-section {
  padding: 32px 28px;
}

.edu-section + .edu-section {
  border-top: 1px solid var(--c-border-light);
}

.edu-section-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.edu-num {
  width: 32px;
  height: 32px;
  border-radius: var(--r-full);
  background: var(--brand-color-soft);
  color: var(--brand-color);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.edu-block-title {
  font-family: var(--font-heading);
  font-weight: 600;
  margin-top: 4px;
  font-size: 18px;
  color: var(--c-heading);
}

.edu-block-text {
  font-size: 15px;
  color: var(--c-muted);
  text-wrap: pretty;
  line-height: 1.7;
  padding-left: 46px;
}


/* ═══════════════════════════════════════════════════════════
   10. VIDEO SECTION
   ═══════════════════════════════════════════════════════════ */

/* Overrides .section-header margin for tighter video layout */
.video-header {
  margin-bottom: 32px;
}

/* Extends .section-intro with smaller font + top margin */
.video-intro {
  font-size: 15px;
  margin-top: 12px;
}

.video-wrapper {
  position: relative;
  margin-top: 36px;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
  aspect-ratio: 16 / 9;
  cursor: pointer;
}

.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 115px;
  height: 115px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med);
}

.video-play svg {
  width: 32px;
  height: 36px;
  margin-left: 4px;
}

.video-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background var(--dur-med);
  pointer-events: none;
}

.video-wrapper:hover::after {
  background: rgba(0,0,0,0.2);
}

.video-wrapper:hover .video-play {
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 6px 32px rgba(0,0,0,0.3);
}

/* Video modal */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease-out), visibility 0.3s;
}

.video-modal.active {
  opacity: 1;
  visibility: visible;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(4px);
}

.video-modal-content {
  position: relative;
  width: 90vw;
  max-width: var(--content-max);
  transform: scale(0.92);
  transition: transform 0.3s var(--ease-out);
}

.video-modal.active .video-modal-content {
  transform: scale(1);
}

.video-modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-med);
}

.video-modal-close:hover {
  background: rgba(255,255,255,0.25);
}

.video-modal-player {
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #000;
}

.video-modal-player iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}


/* ═══════════════════════════════════════════════════════════
   11. FOOTER + DISCLOSURES
   ═══════════════════════════════════════════════════════════ */

/* Disclosures — standalone section just below Hero */
.disclosures-section {
  padding: 32px var(--gutter);
  border-top: 1px solid var(--c-border-light);
  border-bottom: 1px solid var(--c-border-light);
  background: var(--c-surface);
}

.disclosures-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.page-footer {
  background: var(--c-surface);
  color: var(--c-text);
  padding: 28px var(--gutter);
  border-top: 1px solid var(--c-border-light);
}

.footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.disclosures-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--c-heading);
  margin-bottom: 12px;
}

.disclosures-label i {
  font-size: 16px;
  color: var(--c-heading);
}

.disclosures-text {
  font-size: 13px;
  color: var(--c-muted);
  line-height: 1.7;
  text-wrap: pretty;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--c-muted);
}

.footer-left i {
  font-size: 15px;
  color: var(--c-success);
}

.footer-right {
  font-size: 12px;
  color: var(--c-muted);
}

@media (min-width: 768px) {
  .disclosures-section {
    padding: 32px var(--gutter-lg);
  }
  .page-footer {
    padding: 28px var(--gutter-lg);
  }
}


/* ═══════════════════════════════════════════════════════════
   12. INLINE CTA (mid-page repeat)
   ═══════════════════════════════════════════════════════════ */
.inline-cta {
  text-align: center;
  padding: 64px var(--gutter);
  background: var(--c-dark-bg);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.inline-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.03) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
}

.inline-cta-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.inline-cta h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(22px, 3.5vw, 30px);
  line-height: 1.2;
  margin-bottom: 8px;
  text-wrap: balance;
}

.inline-cta p {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 28px;
}

@media (min-width: 768px) {
  .inline-cta {
    padding: 64px var(--gutter-lg);
  }
}


/* ═══════════════════════════════════════════════════════════
   13. SMALL SCREEN ADJUSTMENTS (≤480px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .section {
    padding: 48px var(--gutter);
  }

  .inline-cta {
    padding: 40px var(--gutter);
  }

  .hero {
    padding: 56px var(--gutter) 48px;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .header-logo {
    max-height: 30px;
  }

  .header-logo-wrap {
    width: min(220px, 52vw);
    height: 32px;
  }

  .header-cobrand {
    font-size: 12px;
    gap: 6px;
  }

  .header-cobrand img {
    height: 17px;
  }

  .hero-cta {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }

  .hero-graphic {
    max-width: 100%;
  }

  .step-desc,
  .edu-block-text {
    padding-left: 0;
  }

  .video-play {
    width: 80px;
    height: 80px;
  }

  .video-play svg {
    width: 24px;
    height: 28px;
  }
}


/* ═══════════════════════════════════════════════════════════
   14. REDUCED MOTION
   ═══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}
