@media screen and (max-width: 768px) {
  html, body { overflow-x: hidden !important; width: 100% !important; }
  * { max-width: 100vw !important; box-sizing: border-box !important; }
  
  [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  .failures-grid, .crisis-layout, .audience-two-col, .proof-stats-grid,
  .demo-reveal-grid, .program-flow, .mfr-grid, .hero-stats { grid-template-columns: 1fr !important; }
  .stat-row { grid-template-columns: repeat(2, 1fr) !important; }

  #hero { min-height: auto !important; padding: 8.5rem 0 1.5rem !important; }
  .hero-grid-bg { display: none !important; }
  .hero-scroll-indicator { display: none !important; }
  .hero-content { padding: 0 1rem !important; }
  .hero-kicker { font-size: 0.7rem !important; margin-bottom: 0.4rem !important; }
  .hero-headline { font-size: 1.8rem !important; line-height: 1.05 !important; margin-bottom: 0.25rem !important; }
  .hero-sub { font-size: 0.88rem !important; line-height: 1.45 !important; margin: 0.5rem 0 0.75rem !important; }
  .hero-stats { margin-bottom: 0.75rem !important; border: none !important; gap: 0 !important; }
  .hero-stat { padding: 0.5rem 0 !important; border-right: none !important; border-bottom: 1px solid rgba(0,117,226,0.15) !important; }
  .hero-stat:last-child { border-bottom: none !important; }
  .hero-stat-num { font-size: 1.6rem !important; }
  .hero-stat-label { font-size: 0.65rem !important; }
  .hero-ctas { flex-direction: column !important; gap: 0.5rem !important; }
  #hero [style*="grid-template-columns"] { grid-template-columns: 1fr !important; gap: 0.75rem !important; padding: 0.5rem 0 !important; }
  #hero [style*="min-height"] { min-height: 180px !important; }
  
  /* Quote section: prevent text cutoff */
  .acc-image-break { min-height: auto !important; height: auto !important; overflow: visible !important; }
  .acc-image-break [style*="font-size:clamp(2.2rem"] { font-size: 1.3rem !important; line-height: 1.15 !important; }
  .acc-image-break [style*="padding:1.5rem 2rem"] { padding: 1rem 0.75rem !important; }
  
  /* Hero bottom: GIF and mockup need explicit heights when stacked */
  #hero [style*="min-height:420px"] { min-height: 250px !important; height: 250px !important; }
  #hero [style*="height:100%"] { height: 250px !important; object-fit: cover !important; }

  .nav-row-links { display: flex !important; padding: 0 0.4rem 0.4rem !important; }
  .nav-links { display: flex !important; flex-wrap: wrap !important; justify-content: center !important; gap: 0 !important; }
  .nav-links li a { font-size: 0.58rem !important; padding: 0.22rem 0.45rem !important; white-space: nowrap !important; margin: 0.12rem !important; }
  .nav-row-top { padding: 0.5rem 0.75rem !important; }
  .nav-logo-link svg { height: 22px !important; }
  .nav-cta { font-size: 0.7rem !important; padding: 0.4rem 0.75rem !important; }

  .logo-slider-section { padding: 1rem 0 0.5rem !important; }
  section { padding: 1.5rem 0.75rem !important; }
  .container { padding: 0 0.75rem !important; }

  .section-headline { font-size: 1.4rem !important; line-height: 1.1 !important; }
  .section-kicker { font-size: 0.7rem !important; }
  .cta-headline { font-size: 1.4rem !important; }
  .audience-headline { font-size: 1.2rem !important; }

  .crisis-text p { font-size: 0.85rem !important; line-height: 1.45 !important; margin-bottom: 0.6rem !important; }
  .crisis-big-stat { padding: 1rem !important; }
  .crisis-big-num { font-size: 2.5rem !important; }
  .crisis-big-label { font-size: 0.82rem !important; }
  .stat-card { padding: 0.75rem !important; }
  .stat-card-num { font-size: 1.5rem !important; }
  .stat-card-label { font-size: 0.75rem !important; }
  .stat-card-source { font-size: 0.6rem !important; }

  .failures-grid { grid-template-columns: 1fr !important; }
  .failure-card { padding: 1rem !important; }
  .failures-intro p { font-size: 0.85rem !important; }

  .acc-image-break { min-height: 80px !important; }
  .acc-break-overlay { padding: 0.75rem !important; }
  .acc-break-text { font-size: 1.15rem !important; }
  [style*="min-height:200px"] { min-height: 80px !important; }
  [style*="min-height:420px"] { min-height: 120px !important; }

  .accordion-header { padding: 0.85rem 0.6rem !important; }
  .acc-num { display: none !important; }
  .acc-tagline { display: none !important; }
  .acc-title { font-size: 1.05rem !important; }
  .acc-expand-btn { padding: 0.3rem 0.5rem !important; font-size: 0.6rem !important; }
  .aud-col-dark, .aud-col-light, .aud-col-offwhite { padding: 1rem 0.75rem !important; }
  .offer-box { padding: 0.75rem !important; }
  .offer-box ul li { font-size: 0.75rem !important; }
  .ll-step-num { width: 24px !important; height: 24px !important; font-size: 0.7rem !important; }
  .ll-step-content h4 { font-size: 0.85rem !important; }
  .ll-step-content p { font-size: 0.78rem !important; }

  .program-flow { grid-template-columns: 1fr !important; }
  .program-step h4 { font-size: 0.82rem !important; }
  .program-step p { font-size: 0.72rem !important; }

  .demo-reveal-grid { grid-template-columns: 1fr !important; }
  .demo-reveal h3 { font-size: 1.2rem !important; }
  .demo-exp-content h5 { font-size: 0.8rem !important; }
  .demo-exp-content p { font-size: 0.72rem !important; }

  [style*="font-size:2.8rem"] { font-size: 1.5rem !important; }
  [style*="font-size:clamp(1.8rem"] { font-size: 1.2rem !important; }
  [style*="font-size:1.05rem"] { font-size: 0.85rem !important; }
  [style*="border-left:4px"] { padding-left: 0.75rem !important; }
  [style*="padding:3rem"] { padding: 1.25rem 0.75rem !important; }
  [style*="gap:2rem"] { gap: 0.75rem !important; }
  [style*="gap:3rem"] { gap: 0.75rem !important; }

  .badge-row { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 0.4rem !important; max-width: 100% !important; flex-wrap: nowrap !important; }
  .badge-item { padding: 0.3rem 0.4rem !important; }
  .badge-item span { font-size: 0.55rem !important; }
  .badge-item svg { width: 14px !important; height: 18px !important; }
  /* Chart row 2: single column on mobile */
  #chart-row-2 { grid-template-columns: 1fr !important; }
  /* Donut: center ring above legend */
  #chart-row-2 [style*="display:flex;align-items:center;gap:2rem"] {
    flex-direction: column !important;
    align-items: center !important;
    gap: 1rem !important;
  }
  #chart-row-2 svg[viewBox="0 0 180 180"] { width: 140px !important; height: 140px !important; }
  /* Turnover numbers: shrink to fit */
  #chart-row-2 [style*="font-size:4rem"] { font-size: 2rem !important; }
  /* Bottom stat strip: single column */
  #crisis [style*="grid-template-columns:repeat(3,1fr)"] { grid-template-columns: 1fr !important; }
  /* Resources grid mobile */
  #resources [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
  #resources [style*="grid-template-columns:1fr auto"] { grid-template-columns: 1fr !important; }
  #resources [style*="grid-template-columns:1fr 1fr 1fr"] { grid-template-columns: 1fr !important; }
  #crisis [style*="grid-template-columns:1.5fr 1fr"] { grid-template-columns: 1fr !important; }
  #crisis [style*="grid-template-columns:repeat(3,1fr)"] { grid-template-columns: 1fr !important; }

  .btn-primary, .btn-outline { width: 100% !important; display: block !important; text-align: center !important; padding: 0.8rem !important; font-size: 0.78rem !important; }

  img { max-width: 100% !important; }
  [style*="height:320px"] { height: 120px !important; }
  [style*="max-height:320px"] { max-height: 120px !important; }

  .cta-sub { font-size: 0.82rem !important; }
  .cta-contact { font-size: 0.72rem !important; word-break: break-all !important; }
  footer p { font-size: 0.6rem !important; padding: 0.5rem !important; }

  .mock-qr-chip, .mock-lang-badge { display: none !important; }

  /* CHANGED 2026-04-13 | sebastian | claude/commit-staging-changes-lBhUo | mobile demo: headline + green box + preview */
  /* Arrow banners overlap iframe on mobile — hidden; click overlay is the CTA */
  .demo-label-banner { display: none !important; }
  /* Cap iframe preview height on mobile */
  #hero [style*="height:650px"] { height: 280px !important; }
  #hero [style*="min-height:650px"] { min-height: 280px !important; }
  /* Interactive modal: full-screen on mobile so the iframe has max space */
  #interactive-modal > div {
    width: 100vw !important; max-width: 100vw !important;
    height: 100vh !important;
    border: none !important; box-shadow: none !important;
  }

  /* CHANGED 2026-04-13 | sebastian | claude/commit-staging-changes-lBhUo | mobile audit pass 3: logo slider bug fix */
  /* Nuclear max-width:100vw override caps scroll track — remove it so animation works */
  .logo-track { max-width: none !important; width: max-content !important; }

  /* CHANGED 2026-04-21 | sebastian | claude/swap-wotc-wioa | report showcase mobile: stack to single column */
  .report-showcase-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .report-cover-link { max-width: 320px; margin: 0 auto; }
}

@media screen and (max-width: 420px) {
  .hero-headline { font-size: 1.4rem !important; }
  .section-headline { font-size: 1.15rem !important; }
  .cta-headline { font-size: 1.15rem !important; }
  .stat-card-num { font-size: 1.2rem !important; }
  .crisis-big-num { font-size: 2rem !important; }
  [style*="font-size:2.8rem"] { font-size: 1.2rem !important; }
  .stat-row { grid-template-columns: 1fr !important; }
  .badge-row { grid-template-columns: 1fr 1fr !important; }
}

.ud-main { all: initial; font-family: 'League Spartan', sans-serif; -webkit-font-smoothing: antialiased; display: block; width: 100%; max-width: 100vw; overflow-x: hidden; }
.ud-main *, .ud-main *::before, .ud-main *::after { box-sizing: border-box; margin: 0; padding: 0; }
.ud-main a { text-decoration: none; color: inherit; }
.ud-main ul, .ud-main ol { list-style: none; }
.ud-main img { max-width: 100%; height: auto; }
.ud-main button { font-family: inherit; }

:root {
  --navy: #001D38;
  --navy-mid: #232B42;
  --navy-light: #43596E;
  --accent: #0075E2;
  --accent-light: #6DC8F3;
  --accent-pale: #E8F4FF;
  --white: #FFFFFF;
  --off-white: #F0F4F8;
  --gray: #6F879F;
  --light-gray: #E8EEF4;
  --red: #C0392B;
  --green: #16A34A;
  --blue: #0075E2;
  --purple: #5B2D8E;
  --teal: #028090;
  /* Blue-scale icon colors */
  --icon-1: #001D38;
  --icon-2: #232B42;
  --icon-3: #43596E;
  --icon-4: #2B7BB5;
  --icon-5: #5BA3D9;
  --icon-6: #A8CDED;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; }

html { scroll-behavior: smooth; }

body {
  font-family: 'League Spartan', sans-serif;
  -webkit-font-smoothing: antialiased;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
}

/* --- UTILITY ----------------------------------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.accent { color: var(--accent); }
.accent-light { color: var(--accent-light); }
.white { color: var(--white); }
.mono { font-family: 'Space Mono', monospace; }


/* --- HERO LAYOUT ------------------------------- */
.hero-grid { display: block; }
.hero-img-col {
  position: relative;
}
.hero-img-col img {
  width: 100%; border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  border: 1px solid rgba(0,117,226,0.25);
  display: block;
}
.hero-img-badge {
  position: absolute; bottom: -0.75rem; left: -0.75rem;
  background: var(--accent); color: var(--white);
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.6rem 1rem;
}


/* --- PLATFORM MOCKUP --------------------------- */
.platform-mockup {
  position: relative;
  padding: 1rem 0 2rem;
}
.mock-tablet {
  background: #0a1628;
  border-radius: 16px;
  border: 2px solid rgba(0,117,226,0.35);
  box-shadow: 0 40px 100px rgba(0,0,0,0.7), 0 0 0 1px rgba(0,117,226,0.1), inset 0 1px 0 rgba(255,255,255,0.05);
  overflow: hidden;
}
.mock-screen { padding: 16px; }

.mock-header {
  margin-bottom: 12px;
}
.mock-logo-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mock-lang-row {
  display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap;
}
.mock-lang-pill {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 3px 10px;
  font-family: 'League Spartan', sans-serif;
  font-size: 9px; font-weight: 600;
  letter-spacing: 0.05em; color: rgba(255,255,255,0.4);
  cursor: default;
}
.mock-lang-pill.active-lang {
  background: rgba(0,117,226,0.25);
  border-color: rgba(0,117,226,0.6);
  color: #6DC8F3;
}

.mock-tiles {
  display: grid; grid-template-columns: repeat(5,1fr);
  gap: 6px; margin-bottom: 14px;
}
.mock-tile {
  border-radius: 8px; padding: 10px 6px;
  display: flex; flex-direction: column;
  align-items: center; gap: 6px; cursor: default;
}
.mock-tile-icon { opacity: 0.9; }
.mock-tile-label {
  font-family: 'League Spartan', sans-serif;
  font-size: 8px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,0.8); text-align: center;
}
.tile-safety     { background: rgba(0,47,80,0.9);  border: 1px solid #001D38; }
.tile-compliance { background: rgba(0,55,90,0.9);  border: 1px solid rgba(0,117,226,0.3); }
.tile-quality    { background: rgba(0,40,75,0.9);  border: 1px solid rgba(0,117,226,0.2); }
.tile-maintenance{ background: rgba(0,30,60,0.9);  border: 1px solid rgba(0,90,180,0.3); }
.tile-hr         { background: rgba(0,50,100,0.9); border: 1px solid rgba(0,117,226,0.25); }

.mock-content-area {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px; padding: 14px;
}
.mock-content-header { margin-bottom: 12px; }
.mock-checklist { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.mock-check {
  display: flex; align-items: center; gap: 8px;
}
.mock-check-box {
  width: 16px; height: 16px; border-radius: 3px;
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 9px; color: #6DC8F3;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-weight: 700;
}
.mock-check.done .mock-check-box  { background: rgba(0,117,226,0.3); border-color: #0075E2; }
.mock-check.active .mock-check-box { background: rgba(0,117,226,0.15); border-color: #6DC8F3; color: white; }
.mock-check-line { height: 4px; border-radius: 2px; background: rgba(255,255,255,0.1); flex: 1; }
.mock-check-line.short { max-width: 60%; }
.mock-check.done .mock-check-line { background: rgba(0,117,226,0.4); }
.mock-check.active .mock-check-line { background: rgba(0,117,226,0.25); }

.mock-progress-bar {
  height: 4px; background: rgba(255,255,255,0.08);
  border-radius: 2px; overflow: hidden; margin-top: 4px;
}
.mock-progress-fill {
  width: 42%; height: 100%;
  background: linear-gradient(90deg, #0075E2, #6DC8F3);
  border-radius: 2px;
}

/* Floating chips */
.mock-qr-chip {
  position: absolute; bottom: 2.5rem; left: -1rem;
  background: #001D38;
  border: 1px solid rgba(0,117,226,0.35);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}
.mock-qr-chip span {
  font-family: 'Space Mono', monospace;
  font-size: 8px; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.4);
}
.mock-lang-badge {
  position: absolute; top: 1.5rem; right: -0.5rem;
  background: #001D38;
  border: 1px solid rgba(0,117,226,0.35);
  border-radius: 20px;
  padding: 6px 12px;
  display: flex; align-items: center; gap: 6px;
  font-family: 'League Spartan', sans-serif;
  font-size: 11px; font-weight: 600;
  color: rgba(255,255,255,0.7);
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}
.mock-lang-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #0075E2;
  box-shadow: 0 0 8px rgba(0,117,226,0.8);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

/* Demo label visibility default (block on desktop; mobile positions overridden in @media above) */
.demo-label-desktop { display: block; }

/* --- NAV --------------------------------------- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(0,29,56,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,117,226,0.2);
}
.nav-row-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 2.5rem; gap: 1.5rem;
}
.nav-row-links {
  display: flex; align-items: center; justify-content: center;
  padding: 0 2.5rem 0.6rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  gap: 0;
}
.nav-logo-link {
  display: flex; align-items: center;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo-link svg { height: 32px; width: auto; }
.nav-links {
  display: flex; gap: 0; list-style: none;
  margin: 0; padding: 0; width: 100%; justify-content: center;
}
.nav-links li a {
  font-family: 'League Spartan', sans-serif;
  font-weight: 700; font-size: 0.88rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.75);
  text-decoration: none; transition: all 0.2s;
  padding: 0.45rem 1.1rem; display: block; white-space: nowrap;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2px;
  margin: 0.3rem 0.25rem;
}
.nav-links li a:hover {
  color: var(--accent-light);
  background: rgba(0,117,226,0.15);
  border-color: rgba(0,117,226,0.4);
}
.nav-cta {
  background: var(--accent); color: #FFFFFF;
  font-family: 'League Spartan', sans-serif;
  font-weight: 700; font-size: 0.82rem; letter-spacing: 0.1em;
  text-transform: uppercase; text-decoration: none;
  padding: 0.55rem 1.25rem; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap; flex-shrink: 0;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}
.nav-cta:hover { background: #005bb5; transform: translateY(-1px); }

/* Mobile: same two-row structure but tighter */
@media (max-width: 900px) {
  .nav-row-top { padding: 0.65rem 1.25rem; }
  .nav-row-links { padding: 0 0.5rem 0.5rem; overflow-x: visible; justify-content: center; }
  .nav-links { justify-content: center; flex-wrap: wrap; }
  .nav-links li a { font-size: 0.76rem; padding: 0.35rem 0.7rem; }
  .nav-logo-link svg { height: 28px; }
}

/* --- HERO -------------------------------------- */
#hero {
  min-height: 100vh;
  background: var(--navy);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding: 9rem 2rem 3rem;
}

.hero-grid-bg {
  position: absolute; inset: 0; opacity: 0.04;
  background-image:
    linear-gradient(rgba(0,117,226,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,117,226,0.5) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-amber-line {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 6px; background: var(--accent);
}

.hero-content { max-width: 1200px; margin: 0 auto; padding: 0 2rem; position: relative; }

.hero-kicker {
  font-family: 'Space Mono', monospace;
  font-size: 0.95rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
  display: flex; align-items: center; gap: 1rem;
}
.hero-kicker::before {
  content: ''; display: block; width: 40px; height: 2px; background: var(--accent-light);
}

.hero-headline {
  font-family: 'League Spartan', sans-serif;
  font-weight: 700; font-size: clamp(2.4rem, 5.5vw, 4.8rem);
  line-height: 0.95; text-transform: uppercase;
  letter-spacing: -0.01em; margin-bottom: 0.5rem;
  overflow-wrap: break-word; word-break: break-word;
}
.hero-headline .line-1 { color: var(--white); }
.hero-headline .line-2 { color: var(--accent); }
.hero-headline .line-3 { color: rgba(255,255,255,0.35); font-weight: 300; opacity: 0.4; }

.hero-sub {
  font-size: 1.2rem; font-weight: 300; line-height: 1.6;
  color: rgba(255,255,255,0.7);
  margin: 1.25rem 0 2rem;
}
.hero-sub strong { color: var(--accent-light); font-weight: 600; }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; border: 1px solid rgba(0,117,226,0.2);
  margin-bottom: 2rem;
}
.hero-stat {
  padding: 1rem 1.25rem; border-right: 1px solid rgba(0,117,226,0.2);
}
.hero-stat:last-child { border-right: none; }
.hero-stat-num {
  font-family: 'League Spartan', sans-serif;
  font-weight: 700; font-size: 3rem; color: var(--accent-light);
  line-height: 1; display: block;
}
.hero-stat-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.82rem; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.75); text-transform: uppercase;
  margin-top: 0.4rem; display: block; line-height: 1.4;
}

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  background: var(--accent); color: #FFFFFF;
  font-family: 'League Spartan', sans-serif;
  font-weight: 800; font-size: 1rem; letter-spacing: 0.1em;
  text-transform: uppercase; text-decoration: none;
  padding: 1rem 2.5rem; border: none; cursor: pointer;
  transition: all 0.2s; display: inline-block;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.btn-primary:hover { background: #005bb5; transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: #FFFFFF !important;
  font-family: 'League Spartan', sans-serif;
  font-weight: 700; font-size: 1rem; letter-spacing: 0.1em;
  text-transform: uppercase; text-decoration: none !important;
  padding: 1rem 2.5rem; border: 1px solid rgba(255,255,255,0.3); cursor: pointer;
  transition: all 0.2s; display: inline-block;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent) !important; }

/* CHANGED 2026-04-21 | sebastian | claude/swap-wotc-wioa | report flipbook styles */
.report-cover-link:hover #report-flipbook { box-shadow: 0 35px 90px rgba(0,0,0,0.6); }
@keyframes reportPageTurn {
  0% { transform: perspective(2000px) rotateY(0deg); }
  100% { transform: perspective(2000px) rotateY(-150deg); }
}
.report-page-turned {
  animation: reportPageTurn 0.85s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  transform-origin: left center;
  backface-visibility: hidden;
}
@keyframes spin { to { transform: rotate(360deg); } }
.report-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.2); transition: all 0.3s ease;
}
.report-dot.active { background: var(--accent-light); transform: scale(1.3); }

.hero-scroll-indicator {
  position: absolute; bottom: 0.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: rgba(255,255,255,0.3); font-family: 'Space Mono', monospace; font-size: 0.78rem;
  letter-spacing: 0.12em; text-transform: uppercase; animation: bounce 2s infinite;
}
.hero-scroll-indicator::after {
  content: ''; display: block; width: 1px; height: 40px; background: var(--accent-light); opacity: 0.6;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

/* --- CRISIS SECTION ---------------------------- */
#crisis {
  background: var(--off-white); color: var(--navy);
  padding: 4rem 2rem;
}
.section-kicker {
  font-family: 'Space Mono', monospace;
  font-size: 0.92rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
  display: flex; align-items: center; gap: 1rem;
}
.section-kicker::before {
  content: ''; display: block; width: 30px; height: 2px; background: var(--accent);
}
.section-headline {
  font-family: 'League Spartan', sans-serif;
  font-weight: 700; font-size: clamp(2.5rem, 5vw, 4rem);
  text-transform: uppercase; line-height: 1; margin-bottom: 1rem;
  color: var(--navy);
}
.section-headline span { color: var(--accent); }

.crisis-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
  align-items: start; margin-top: 2rem;
}
.crisis-text p {
  font-size: 1.1rem; line-height: 1.7; color: var(--gray); margin-bottom: 1rem;
}
.crisis-text p strong { color: var(--navy); font-weight: 600; }

.crisis-big-stat {
  background: var(--navy); padding: 2rem;
  position: relative; overflow: hidden;
}
.crisis-big-stat::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 6px; background: var(--accent);
}
.crisis-big-num {
  font-family: 'League Spartan', sans-serif;
  font-weight: 700; font-size: 6rem; line-height: 1;
  color: var(--accent-light); display: block;
}
.crisis-big-label {
  font-size: 1.1rem; color: rgba(255,255,255,0.7); margin-top: 0.5rem;
  font-weight: 300; line-height: 1.5;
}
.crisis-big-source {
  font-family: 'Space Mono', monospace; font-size: 0.65rem;
  letter-spacing: 0.1em; color: rgba(255,255,255,0.3); margin-top: 1rem;
}

.stat-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--light-gray); margin-top: 2rem;
  border: 1px solid var(--light-gray);
}
.stat-card {
  background: var(--white); padding: 1.5rem;
  position: relative;
}
.stat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: var(--icon-3);
}
.stat-card-num {
  font-family: 'League Spartan', sans-serif;
  font-weight: 700; font-size: 2.8rem; color: var(--navy);
  display: block; line-height: 1;
}
.stat-card-label {
  font-size: 0.85rem; color: var(--gray); margin-top: 0.5rem; line-height: 1.4;
}
.stat-card-source {
  font-family: 'Space Mono', monospace; font-size: 0.75rem;
  letter-spacing: 0.05em; color: var(--gray); margin-top: 0.75rem;
}

/* --- SIX FAILURES ------------------------------- */
#failures {
  background: var(--navy); padding: 4rem 2rem;
  position: relative; overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}
#failures::before {
  content: 'LANGUAGE'; position: absolute;
  font-family: 'League Spartan', sans-serif; font-weight: 700;
  font-size: 20vw; color: rgba(255,255,255,0.02);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  white-space: nowrap; pointer-events: none;
}

.failures-intro { max-width: 700px; margin-bottom: 2rem; }
.failures-intro p { font-size: 1.1rem; color: rgba(255,255,255,0.65); line-height: 1.7; margin-top: 1.5rem; }

.failures-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(0,117,226,0.12);
  width: 100%;
}
.failure-card {
  background: var(--navy); padding: 1.5rem 1.25rem;
  min-width: 0; overflow: hidden;
  border-top: 4px solid transparent;
  transition: border-color 0.3s, background 0.3s;
  position: relative; cursor: default;
}
.failure-card:hover { background: rgba(255,255,255,0.03); border-top-color: var(--accent); }
.failure-card-safety { --card-color: var(--red); }
.failure-card-compliance { --card-color: var(--teal); }
.failure-card-quality { --card-color: var(--blue); }
.failure-card-maintenance { --card-color: var(--purple); }
.failure-card-hr { --card-color: var(--green); }
.failure-card:hover { border-top-color: var(--card-color, var(--accent)); }


.failure-icon-wrap {
  width: 56px; height: 56px;
  background: rgba(0,117,226,0.08);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.failure-icon-wrap svg {
  display: block;
}

.failure-title {
  font-family: 'League Spartan', sans-serif;
  font-weight: 800; font-size: 1.1rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent-light); margin-bottom: 1rem;
  text-align: center;
}
.failure-body { font-size: 0.9rem; color: rgba(255,255,255,0.78); line-height: 1.6; }
.failure-osha {
  margin-top: auto;
  padding-top: 1.25rem;
  font-family: 'Space Mono', monospace; font-size: 0.78rem;
  letter-spacing: 0.05em; line-height: 1.6;
  display: flex; align-items: center; gap: 0.75rem;
}
.failure-osha::before,
.failure-osha::after {
  content: '';
  flex-shrink: 0;
  width: 2px;
  height: 2.2em;
  background: #0075E2;
  opacity: 0.6;
  border-radius: 1px;
}
.failure-card { display: flex; flex-direction: column; }

/* --- AUDIENCE SECTIONS ------------------------- */
#audiences { background: var(--off-white); }



/* Audience: Workforce Development Boards */
.edo-section {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 600px;
}
.edo-left {
  background: var(--navy); padding: 3.5rem 3rem;
  position: relative; overflow: hidden;
}
.edo-left::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 6px; background: var(--accent);
}
.edo-right { background: var(--white); padding: 3.5rem 3rem; }

.audience-headline {
  font-family: 'League Spartan', sans-serif;
  font-weight: 700; font-size: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase; line-height: 1; margin-bottom: 1rem;
}
.audience-headline .accent { color: var(--accent); }

.audience-body { font-size: 1rem; line-height: 1.7; margin-bottom: 2rem; }

.ll-steps { display: flex; flex-direction: column; gap: 1rem; }
.ll-step { display: flex; gap: 1.5rem; align-items: flex-start; }
.ll-step-num {
  width: 40px; height: 40px; background: var(--accent);
  font-family: 'League Spartan', sans-serif;
  font-weight: 700; font-size: 1.1rem; color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}
.ll-step-content h4 {
  font-family: 'League Spartan', sans-serif;
  font-weight: 700; font-size: 1rem; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--navy); margin-bottom: 0.25rem;
}
.ll-step-content p { font-size: 0.9rem; color: var(--gray); line-height: 1.5; }

.offer-box {
  background: rgba(0,29,56,0.6); padding: 2rem; margin-top: 2rem;
  border-left: 4px solid var(--accent);
}
.offer-box h4 {
  font-family: 'League Spartan', sans-serif;
  font-weight: 800; font-size: 1rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 1rem;
}
.offer-box ul { list-style: none; }
.offer-box ul li {
  font-size: 0.9rem; color: rgba(255,255,255,0.7); padding: 0.4rem 0;
  display: flex; align-items: center; gap: 0.75rem;
}
.offer-box ul li::before { content: '→'; color: var(--accent); font-weight: 700; }

/* Audience: Resettlement */
.refugee-section {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 600px;
}
.refugee-left { background: var(--accent); padding: 3.5rem 3rem; }
.refugee-right { background: var(--off-white); padding: 3.5rem 3rem; }

/* Audience: Manufacturers */
.mfr-section { background: var(--navy); padding: 3.5rem 3rem; }
.mfr-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(0,117,226,0.12); margin-top: 2rem;
}
.mfr-card {
  background: var(--navy-mid); padding: 1.75rem;
  border-top: 4px solid transparent; transition: border-color 0.2s;
}
.mfr-card:hover { border-top-color: var(--accent); }
.mfr-card h3 {
  font-family: 'League Spartan', sans-serif;
  font-weight: 800; font-size: 1.2rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 1rem;
}
.mfr-card p { font-size: 0.92rem; color: rgba(255,255,255,0.78); line-height: 1.6; }

/* --- PROOF SECTION ----------------------------- */
#proof { background: var(--navy); padding: 4rem 2rem; }

.proof-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: 2.5rem; }

.proof-case {
  background: var(--navy-mid); padding: 2rem;
  border-left: 6px solid var(--accent); position: relative;
}
.proof-case-tag {
  font-family: 'Space Mono', monospace;
  font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
  background: rgba(0,117,226,0.1); padding: 0.4rem 0.8rem; display: inline-block;
}
.proof-case h3 {
  font-family: 'League Spartan', sans-serif;
  font-weight: 800; font-size: 1.5rem; color: var(--white);
  margin-bottom: 1rem; line-height: 1.2;
}
.proof-case p { font-size: 0.95rem; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 1rem; }
.proof-case .result {
  background: rgba(0,117,226,0.12); border-left: 3px solid var(--accent);
  padding: 1rem; margin-top: 1.5rem;
  font-size: 0.95rem; color: var(--accent-light); line-height: 1.6; font-style: italic;
}

.proof-stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: rgba(0,117,226,0.12); align-content: start;
}
.proof-stat {
  background: var(--navy-mid); padding: 1.5rem;
  position: relative;
}
.proof-stat-num {
  font-family: 'League Spartan', sans-serif;
  font-weight: 700; font-size: 3.5rem; line-height: 1; color: var(--accent-light);
}
.proof-stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.78); margin-top: 0.3rem; line-height: 1.4; }
.proof-stat-source { font-family: 'Space Mono', monospace; font-size: 0.75rem; color: rgba(255,255,255,0.2); margin-top: 0.5rem; }

/* --- LUNCH & LEARN PROGRAM --------------------- */
#program { background: var(--off-white); padding: 4rem 2rem; }
#program .section-headline { color: var(--navy); }

.program-flow {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0; margin-top: 2.5rem; position: relative;
}
.program-flow::before {
  content: ''; position: absolute;
  top: 50px; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  z-index: 0;
}
.program-step {
  text-align: center; padding: 0 0.5rem; position: relative; z-index: 1;
}
.program-step-icon {
  width: 64px; height: 64px; background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem; font-size: 1.6rem;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.program-step-icon.amber-bg { background: var(--accent); }
.program-step h4 {
  font-family: 'League Spartan', sans-serif;
  font-weight: 800; font-size: 0.9rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--navy); margin-bottom: 0.75rem;
}
.program-step p { font-size: 0.8rem; color: var(--gray); line-height: 1.5; }

.demo-reveal {
  background: var(--navy); padding: 2.5rem; margin-top: 2.5rem;
  position: relative; overflow: hidden;
}
.demo-reveal::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--accent);
}
.demo-reveal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.demo-reveal h3 {
  font-family: 'League Spartan', sans-serif;
  font-weight: 700; font-size: 2.5rem; text-transform: uppercase;
  color: var(--white); line-height: 1; margin-bottom: 1rem;
}
.demo-reveal h3 span { color: var(--accent); }
.demo-reveal p { font-size: 1rem; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 1rem; }
.demo-reveal .reveal-callout {
  background: rgba(0,117,226,0.1); border: 1px solid rgba(0,117,226,0.3);
  padding: 1.5rem; margin-top: 1.5rem;
  font-size: 0.95rem; color: var(--accent-light); line-height: 1.6; font-style: italic;
}

.demo-experience {
  display: flex; flex-direction: column; gap: 1rem;
}
.demo-exp-item {
  display: flex; gap: 1.5rem; align-items: center;
  background: rgba(255,255,255,0.04); padding: 1rem 1.5rem;
  border-left: 3px solid rgba(0,117,226,0.3);
  transition: border-color 0.2s;
}
.demo-exp-item:hover { border-left-color: var(--accent); }
.demo-exp-icon { font-size: 1.5rem; }
.demo-exp-content h5 {
  font-family: 'League Spartan', sans-serif;
  font-weight: 700; font-size: 0.9rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--white); margin-bottom: 0.2rem;
}
.demo-exp-content p { font-size: 0.82rem; color: rgba(255,255,255,0.72); line-height: 1.4; }

/* --- FINAL CTA --------------------------------- */
#cta {
  background: var(--navy); padding: 3.5rem 2rem;
  border-top: 6px solid var(--accent);
  text-align: center; position: relative; overflow: hidden;
  background-image: url('https://undesked.com/hs-fs/hubfs/factory-workers-working-with-adept-robotic-arm-workshop.jpg?width=2000&height=1334');
  background-size: cover; background-position: center;
  background-blend-mode: overlay; background-color: rgba(0,29,56,0.88);
}
#cta::before {
  content: ''; position: absolute; inset: 0; opacity: 0.03;
  background-image:
    linear-gradient(rgba(0,117,226,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,117,226,0.5) 1px, transparent 1px);
  background-size: 60px 60px;
}
.cta-headline {
  font-family: 'League Spartan', sans-serif;
  font-weight: 700; font-size: clamp(2.5rem, 6vw, 5rem);
  text-transform: uppercase; line-height: 1; margin-bottom: 1rem; position: relative;
}
.cta-sub {
  font-size: 1.1rem; color: rgba(255,255,255,0.65); max-width: 600px;
  margin: 0 auto 3rem; line-height: 1.6; position: relative;
}
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }

.cta-divider {
  display: flex; align-items: center; gap: 1.5rem;
  margin: 2rem auto; max-width: 400px; color: rgba(255,255,255,0.3);
  font-family: 'Space Mono', monospace; font-size: 0.7rem; letter-spacing: 0.1em;
}
.cta-divider::before, .cta-divider::after {
  content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.1);
}

.cta-contact {
  font-family: 'Space Mono', monospace; font-size: 0.8rem; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.35); position: relative;
}
.cta-contact a { color: var(--accent-light); text-decoration: none; }
.cta-contact a:hover { text-decoration: underline; }

/* --- FOOTER ------------------------------------ */
footer {
  background: rgba(0,0,0,0.5); padding: 2rem;
  text-align: center;
  font-family: 'Space Mono', monospace; font-size: 0.7rem; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.2);
}
footer a { color: rgba(255,255,255,0.3); text-decoration: none; }

/* --- ANIMATIONS -------------------------------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { opacity: 0; animation: fadeUp 0.7s ease forwards; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }


.icon-circle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
  flex-shrink: 0;
}
.icon-circle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 6px; flex-shrink: 0;
}
.failure-icon-title {
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem; margin-bottom: 1rem; text-align: center;
}
.failure-icon { display: flex; flex-shrink: 0; }
.failure-icon .icon-circle { width: 40px; height: 40px; border-radius: 8px; }
.program-step-icon .icon-circle { width: 100%; height: 100%; border-radius: 0; }
.demo-exp-icon { display: flex; align-items: center; }
.demo-exp-icon .icon-circle { flex-shrink: 0; }
/* Counter animation */
.counter { font-variant-numeric: tabular-nums; }


/* --- ACCORDION SECTIONS ----------------------- */
/* CHANGED 2026-04-07 | sebastian | claude/name-website-gylYv | changed to off-white for zebra striping */
#audiences { background: var(--off-white); }

.accordion-item { border-bottom: 1px solid rgba(0,117,226,0.15); }

.accordion-header {
  width: 100%; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.75rem 3rem; gap: 2rem;
  transition: background 0.2s, filter 0.2s;
  text-align: left; position: relative;
}
.accordion-header::before {
  content: ''; position: absolute;
  left: 0; top: 0; bottom: 0; width: 6px;
}
.edo-header          { background: #0075E2; }
.edo-header::before  { background: #FFFFFF; }
.refugee-header      { background: rgba(0,20,50,0.95); }
.refugee-header::before { background: var(--accent); }
.mfr-header          { background: #004fa3; }
.mfr-header::before  { background: rgba(255,255,255,0.4); }

.accordion-header:hover { filter: brightness(1.15); }
.accordion-header[aria-expanded="true"] { filter: brightness(1.08); }

.acc-left {
  display: flex; align-items: center; gap: 2.5rem; flex: 1;
}
.acc-num {
  font-family: 'Space Mono', monospace;
  font-size: 0.9rem; letter-spacing: 0.15em;
  color: rgba(255,255,255,0.3); flex-shrink: 0; min-width: 2rem;
}
.acc-title {
  font-family: 'League Spartan', sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 2.4vw, 2.4rem);
  line-height: 1.1; text-transform: uppercase;
  color: var(--white); letter-spacing: -0.01em;
}

/* Right side of header &mdash; tagline + expand pill button */
.acc-right {
  display: flex; align-items: center; gap: 1.5rem; flex-shrink: 0;
}
.acc-tagline {
  font-family: 'League Spartan', sans-serif;
  font-weight: 400; font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  max-width: 260px; line-height: 1.5; text-align: right;
}

/* Big obvious expand button */
.acc-expand-btn {
  display: flex; align-items: center; gap: 0.6rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 2px;
  padding: 0.65rem 1.25rem;
  color: var(--white);
  font-family: 'League Spartan', sans-serif;
  font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
  pointer-events: none; /* parent button handles click */
}
.accordion-header:hover .acc-expand-btn {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.5);
}
.accordion-header[aria-expanded="true"] .acc-expand-btn {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.6);
}
.acc-expand-btn .acc-icon {
  font-size: 0.9rem; line-height: 1;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  display: inline-block;
}
.accordion-header[aria-expanded="true"] .acc-icon {
  transform: rotate(180deg);
}
.acc-expand-label-open  { display: none; }
.acc-expand-label-close { display: none; }
.accordion-header[aria-expanded="false"] .acc-expand-label-open  { display: inline; }
.accordion-header[aria-expanded="true"]  .acc-expand-label-close { display: inline; }

/* Accordion body */
.accordion-body {
  overflow: hidden;
  max-height: 2000px;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.35s ease;
  opacity: 1;
}
.accordion-body--closed {
  max-height: 0;
  opacity: 0;
}

/* Image breaks between accordion items */
.acc-image-break {
  height: 28vh; min-height: 180px; max-height: 300px;
  overflow: hidden; position: relative;
}
.acc-image-break img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
.acc-break-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: center; padding: 0 4rem;
}
.green-overlay {
  background: linear-gradient(to right,rgba(0,29,56,0.9) 0%,rgba(0,29,56,0.5) 60%,transparent 100%);
}
.blue-overlay {
  background: linear-gradient(to right,rgba(0,29,56,0.9) 0%,rgba(0,29,56,0.5) 60%,transparent 100%);
}
.acc-break-stat {
  font-family: 'Space Mono', monospace;
  font-size: 0.88rem; letter-spacing: 0.15em;
  text-transform: uppercase; margin-bottom: 0.75rem;
}
.green-overlay .acc-break-stat { color: var(--accent-light); }
.blue-overlay  .acc-break-stat { color: var(--accent-light); }
.acc-break-text {
  font-family: 'League Spartan', sans-serif;
  font-weight: 600; font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  line-height: 1.3; color: var(--white);
}

/* Mobile accordion */
@media (max-width: 900px) {
  html, body { overflow-x: hidden; }
  #audiences + div { grid-template-columns: 1fr; }

  .accordion-header { padding: 2rem 1.5rem; }
  .acc-left { gap: 1.5rem; }
  .acc-tagline { display: none; }
  .acc-right { gap: 1rem; }
  .acc-break-overlay { padding: 0 2rem; }
}
/* Small screen accordion &mdash; covered in main 600px block below */

/* --- STACKED AUDIENCE SECTIONS ---------------- */
.audience-section { position: relative; overflow: hidden; }

.audience-label-strip {
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0.75rem 2rem;
  font-family: 'League Spartan', sans-serif;
  font-weight: 700; font-size: 1rem; letter-spacing: 0.12em;
  text-transform: uppercase;
}
.label-num {
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem; opacity: 0.5;
}
.strip-edo     { background: #001122; color: var(--accent-light); border-bottom: 1px solid rgba(0,117,226,0.2); }
.strip-refugee { background: #001122; color: var(--accent-light); border-bottom: 1px solid rgba(0,117,226,0.2); }
.strip-mfr     { background: #003380; color: rgba(255,255,255,0.6); border-bottom: 1px solid rgba(255,255,255,0.15); }

.audience-two-col {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 600px;
}
.aud-col-dark {
  background: var(--navy); padding: 3.5rem 3rem;
  position: relative;
}
.aud-col-dark.accent-bar::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 5px; background: var(--accent);
}
.aud-col-dark.green-bar::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 5px; background: var(--accent);
}
.aud-col-light {
  background: var(--white); padding: 3.5rem 3rem;
}
.aud-col-offwhite {
  background: var(--off-white); padding: 3.5rem 3rem;
}
.mfr-full {
  background: var(--accent); position: relative; overflow: hidden;
}
.mfr-full::before {
  content: ''; position: absolute; inset: 0; opacity: 0.05;
  background-image: linear-gradient(rgba(255,255,255,0.5) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,0.5) 1px,transparent 1px);
  background-size: 60px 60px; pointer-events: none;
}
.mfr-full .inner {
  max-width: 1200px; margin: 0 auto; padding: 3.5rem 2rem; position: relative;
}

/* --- RESPONSIVE -------------------------------- */
@media (max-width: 1100px) {
  .failures-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .audience-two-col { grid-template-columns: 1fr; }
  .mfr-full { padding: 3rem 1.5rem; }
  .aud-col-dark, .aud-col-light, .aud-col-offwhite { padding: 3rem 1.5rem; }
  .hero-stats { grid-template-columns: 1fr; }
  .crisis-layout { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .failures-grid { grid-template-columns: repeat(2, 1fr); }
  .edo-section, .refugee-section { grid-template-columns: 1fr; }
  .proof-layout { grid-template-columns: 1fr; }
  .program-flow { grid-template-columns: 1fr; }
  .mfr-grid { grid-template-columns: 1fr; }
  .demo-reveal-grid { grid-template-columns: 1fr; }
  .nav-links { display: flex; flex-wrap: wrap; justify-content: center; }
  .nav-cta { font-size: 0.8rem; padding: 0.5rem 1rem; }
  nav { padding: 0.75rem 1.25rem; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; padding: 0 1.25rem; max-width: 100%; overflow: hidden; }
  .hero-img-col { display: none; }
  .hero-ctas { flex-direction: column; }
  .btn-primary, .btn-outline { text-align: center; width: 100%; box-sizing: border-box; }
  #hero { padding: 8.5rem 0 3rem; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .proof-layout { grid-template-columns: 1fr; }
  .proof-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .program-flow { grid-template-columns: 1fr; }
  .program-flow::before { display: none; }
  .mfr-grid { grid-template-columns: 1fr; }
  .demo-reveal-grid { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .audience-label-strip { padding: 0.75rem 1.25rem; font-size: 0.68rem; }
}
/* Old mobile blocks removed &mdash; handled by nuclear override at end of stylesheet */
/* --- LOGO SLIDER ------------------------------- */
.logo-slider-section {
  background: var(--white);
  padding: 2.5rem 0 2rem;
  overflow: hidden;
  position: relative;
}
.logo-slider-section .slider-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gray); text-align: center;
  margin-bottom: 1.25rem;
}
.logo-track-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}
.logo-track-wrapper::before,
.logo-track-wrapper::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2;
  pointer-events: none;
}
.logo-track-wrapper::before { left: 0; background: linear-gradient(to right, var(--white), transparent); }
.logo-track-wrapper::after  { right: 0; background: linear-gradient(to left, var(--white), transparent); }
.logo-track {
  display: flex; align-items: center;
  gap: 4rem;
  animation: scroll-logos 40s linear infinite;
  width: max-content;
}
.logo-track img {
  height: 48px; width: auto;
  opacity: 0.6;
  filter: grayscale(20%);
  transition: opacity 0.3s, filter 0.3s;
  flex-shrink: 0;
  object-fit: contain;
}
.logo-track img:hover { opacity: 1; filter: grayscale(0%); }

@keyframes scroll-logos {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- COMPLIANCE BADGES (STATIC) ---------------- */
.badge-slider-section {
  background: var(--navy);
  border-top: 1px solid rgba(0,117,226,0.15);
  border-bottom: 1px solid rgba(0,117,226,0.15);
  padding: 2rem 2rem;
  position: relative;
}
.badge-slider-section .slider-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); text-align: center;
  margin-bottom: 1.25rem;
}
.badge-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: nowrap;
  max-width: 1200px;
  margin: 0 auto;
}
.badge-item {
  display: flex; align-items: center; gap: 0.75rem;
  background: rgba(0,117,226,0.06);
  border: 1px solid rgba(0,117,226,0.15);
  border-radius: 4px;
  padding: 0.6rem 1.25rem 0.6rem 0.75rem;
}
.badge-item svg { flex-shrink: 0; }
.badge-item span {
  font-family: 'League Spartan', sans-serif;
  font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  white-space: nowrap;
}

@keyframes scroll-badges {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

html.scorecard-modal-open,
body.scorecard-modal-open {
  overflow: hidden !important;
  touch-action: none;
}

html.calculator-modal-open,
body.calculator-modal-open {
  overflow: hidden !important;
  touch-action: none;
}

#calculator-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0,10,24,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow-y: auto;
  align-items: flex-start;
  justify-content: center;
  padding: 0;
}
#calculator-modal.open { display: flex; }

.calculator-modal-inner {
  position: relative;
  width: 100%;
  max-width: 860px;
  min-height: 100vh;
  background: #0A1628;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.65);
}

.calculator-modal-close {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 10;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.75);
  border-radius: 6px;
  width: 34px;
  height: 34px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}
.calculator-modal-close:hover {
  background: rgba(255,255,255,0.18);
  color: #fff;
}

#calculator-modal-frame {
  display: block;
  width: 100%;
  height: 100vh;
  border: 0;
  background: #fff;
}

/* ══════════════════════════════════════════════════════════════
   SCORECARD MODAL
   ══════════════════════════════════════════════════════════════ */

#scorecard-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0,10,24,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow-y: auto;
  align-items: flex-start;
  justify-content: center;
}
#scorecard-modal.open { display: flex; }

.scorecard-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 200;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.55);
  border-radius: 6px;
  width: 34px; height: 34px;
  font-size: 20px; line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}
.scorecard-modal-close:hover { background: rgba(255,255,255,0.14); color: #fff; }

/* Scoped container — defines scorecard design tokens so they don't bleed into main site */
.scorecard-modal-inner {
  --bg-dark:        #0A1628;
  --bg-navy:        #0E1E33;
  --bg-card:        #121F36;
  --bg-card-light:  #162640;
  --border-subtle:  #1C3050;
  --text-white:     #FFFFFF;
  --text-primary:   #CBD5E1;
  --text-muted:     #64748B;
  --text-dim:       #475569;
  --accent-blue:    #3B82F6;
  --red:            #EF4444;
  --yellow:         #F59E0B;
  --green:          #10B981;

  font-family: 'DM Sans', -apple-system, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  width: 100%;
  max-width: 860px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* ── Top bar ── */
.scorecard-modal-inner .topbar {
  background: var(--bg-navy);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 40px;
  display: flex; justify-content: space-between; align-items: center;
  position: sticky; top: 0; z-index: 100;
}
.scorecard-modal-inner .topbar-left { display: flex; align-items: center; gap: 14px; }
.scorecard-modal-inner .topbar-left img { height: 26px; }
.scorecard-modal-inner .topbar-left span {
  font-size: 8px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text-dim); border-left: 1px solid var(--border-subtle); padding-left: 14px;
}
.scorecard-modal-inner .progress-wrap {
  display: flex; align-items: center; gap: 12px;
  font-size: 9px; color: var(--text-muted);
}
.scorecard-modal-inner .progress-bar-outer {
  width: 180px; height: 4px; background: var(--border-subtle); border-radius: 2px; overflow: hidden;
}
.scorecard-modal-inner .progress-bar-inner {
  height: 100%; background: var(--accent-blue); border-radius: 2px; transition: width 0.5s ease;
}

/* ── Screens ── */
.scorecard-modal-inner .screen { display: none; flex: 1; }
.scorecard-modal-inner .screen.active { display: flex; flex-direction: column; }

/* ── Intro screen ── */
.scorecard-modal-inner #screen-intro {
  align-items: center; justify-content: center;
  padding: 60px 40px; text-align: center;
}
.scorecard-modal-inner .intro-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.2);
  border-radius: 20px; padding: 6px 14px;
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent-blue); margin-bottom: 24px;
}
.scorecard-modal-inner #screen-intro h1 {
  font-size: 40px; font-weight: 800; color: var(--text-white);
  letter-spacing: -1px; line-height: 1.1; margin-bottom: 16px; max-width: 580px;
}
.scorecard-modal-inner #screen-intro h1 span { color: var(--accent-blue); }
.scorecard-modal-inner #screen-intro > p {
  font-size: 14px; color: var(--text-primary); line-height: 1.6;
  max-width: 480px; margin: 0 auto 32px;
}
.scorecard-modal-inner .intro-meta {
  display: flex; gap: 24px; justify-content: center;
  margin-bottom: 36px; font-size: 11px; color: var(--text-muted);
}
.scorecard-modal-inner .intro-meta span { display: flex; align-items: center; gap: 6px; }
.scorecard-modal-inner .intro-meta .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-blue); opacity: 0.6;
}
.scorecard-modal-inner .btn-start {
  background: var(--accent-blue); color: #fff; border: none;
  border-radius: 8px; padding: 16px 40px;
  font-size: 15px; font-weight: 700; font-family: 'DM Sans', sans-serif;
  cursor: pointer; transition: background 0.2s, transform 0.15s; letter-spacing: -0.2px;
}
.scorecard-modal-inner .btn-start:hover { background: #2563EB; transform: translateY(-2px); }

/* ── Question screen ── */
.scorecard-modal-inner #screen-question {
  align-items: center; justify-content: center;
  padding: 40px 40px 60px;
}
.scorecard-modal-inner .q-wrap { width: 100%; max-width: 640px; }
.scorecard-modal-inner .q-number {
  font-size: 9px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 12px;
}
.scorecard-modal-inner .q-text {
  font-size: 22px; font-weight: 700; color: var(--text-white);
  line-height: 1.3; letter-spacing: -0.4px; margin-bottom: 8px;
}
.scorecard-modal-inner .q-sub {
  font-size: 11px; color: var(--text-muted); line-height: 1.5; margin-bottom: 28px;
}
.scorecard-modal-inner .options { display: flex; flex-direction: column; gap: 10px; }
.scorecard-modal-inner .option {
  background: var(--bg-card); border: 1.5px solid var(--border-subtle);
  border-radius: 8px; padding: 14px 18px;
  cursor: pointer; transition: all 0.18s ease;
  display: flex; align-items: flex-start; gap: 14px;
}
.scorecard-modal-inner .option:hover {
  border-color: rgba(59,130,246,0.4);
  background: rgba(59,130,246,0.05);
  transform: translateX(4px);
}
.scorecard-modal-inner .option.selected {
  border-color: var(--accent-blue);
  background: rgba(59,130,246,0.1);
}
.scorecard-modal-inner .option-letter {
  width: 26px; height: 26px; border-radius: 6px;
  background: var(--bg-card-light); border: 1px solid var(--border-subtle);
  font-size: 11px; font-weight: 700; color: var(--text-muted);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: all 0.18s;
}
.scorecard-modal-inner .option.selected .option-letter {
  background: var(--accent-blue); border-color: var(--accent-blue); color: #fff;
}
.scorecard-modal-inner .option-text {
  font-size: 13px; color: var(--text-primary); line-height: 1.4; padding-top: 3px;
}
.scorecard-modal-inner .q-nav {
  display: flex; justify-content: space-between; align-items: center; margin-top: 28px;
}
.scorecard-modal-inner .btn-next {
  background: var(--accent-blue); color: #fff; border: none;
  border-radius: 7px; padding: 12px 28px;
  font-size: 13px; font-weight: 700; font-family: 'DM Sans', sans-serif;
  cursor: pointer; transition: all 0.18s; opacity: 0.4; pointer-events: none;
}
.scorecard-modal-inner .btn-next.enabled { opacity: 1; pointer-events: all; }
.scorecard-modal-inner .btn-next.enabled:hover { background: #2563EB; transform: translateY(-1px); }
.scorecard-modal-inner .q-skip {
  font-size: 10px; color: var(--text-dim); cursor: pointer; text-decoration: underline;
}
.scorecard-modal-inner .q-skip:hover { color: var(--text-muted); }

/* ── Results screen ── */
.scorecard-modal-inner #screen-results { align-items: center; padding: 40px 40px 60px; }
.scorecard-modal-inner .results-wrap { width: 100%; max-width: 700px; }
.scorecard-modal-inner .results-header { text-align: center; margin-bottom: 32px; }
.scorecard-modal-inner .results-eyebrow {
  font-size: 9px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 12px;
}
.scorecard-modal-inner .score-dial-wrap {
  display: flex; flex-direction: column; align-items: center; margin-bottom: 20px;
}
.scorecard-modal-inner .score-dial {
  width: 140px; height: 140px; position: relative; margin-bottom: 12px;
}
.scorecard-modal-inner .score-dial svg { transform: rotate(-90deg); }
.scorecard-modal-inner .score-dial .dial-bg { fill: none; stroke: var(--bg-card-light); stroke-width: 10; }
.scorecard-modal-inner .score-dial .dial-fill {
  fill: none; stroke-width: 10; stroke-linecap: round;
  transition: stroke-dasharray 1.5s ease; stroke-dasharray: 0 326;
}
.scorecard-modal-inner .score-dial-num {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.scorecard-modal-inner .score-dial-num .big { font-size: 36px; font-weight: 800; color: var(--text-white); line-height: 1; }
.scorecard-modal-inner .score-dial-num .of  { font-size: 10px; color: var(--text-muted); margin-top: 2px; }
.scorecard-modal-inner .risk-badge {
  display: inline-block; border-radius: 20px; padding: 6px 18px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 8px;
}
.scorecard-modal-inner .badge-red    { background: rgba(239,68,68,0.15);   border: 1px solid rgba(239,68,68,0.3);   color: var(--red);    }
.scorecard-modal-inner .badge-yellow { background: rgba(245,158,11,0.15);  border: 1px solid rgba(245,158,11,0.3);  color: var(--yellow); }
.scorecard-modal-inner .badge-green  { background: rgba(16,185,129,0.15);  border: 1px solid rgba(16,185,129,0.3);  color: var(--green);  }
.scorecard-modal-inner .risk-headline {
  font-size: 24px; font-weight: 800; color: var(--text-white); letter-spacing: -0.5px; margin-bottom: 8px;
}
.scorecard-modal-inner .risk-desc {
  font-size: 12px; color: var(--text-primary); line-height: 1.6; max-width: 500px; margin: 0 auto;
}
.scorecard-modal-inner .breakdown-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 24px 0;
}
.scorecard-modal-inner .breakdown-card {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: 8px; padding: 14px 16px;
}
.scorecard-modal-inner .breakdown-card .bc-label {
  font-size: 8px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 6px;
}
.scorecard-modal-inner .breakdown-card .bc-title {
  font-size: 11px; font-weight: 600; color: var(--text-white); margin-bottom: 4px;
}
.scorecard-modal-inner .breakdown-card .bc-text { font-size: 9px; color: var(--text-muted); line-height: 1.5; }
.scorecard-modal-inner .breakdown-card.flagged { border-left: 3px solid var(--red); }
.scorecard-modal-inner .breakdown-card.ok      { border-left: 3px solid var(--green); }
.scorecard-modal-inner .results-cta {
  background: linear-gradient(135deg, rgba(59,130,246,0.09) 0%, rgba(59,130,246,0.04) 100%);
  border: 1px solid rgba(59,130,246,0.22); border-radius: 10px;
  padding: 22px 26px; display: flex; justify-content: space-between;
  align-items: center; gap: 24px; margin-top: 8px;
}
.scorecard-modal-inner .results-cta h3 { font-size: 16px; font-weight: 700; color: var(--text-white); margin-bottom: 5px; }
.scorecard-modal-inner .results-cta p  { font-size: 11px; color: var(--text-muted); line-height: 1.5; max-width: 380px; }
.scorecard-modal-inner .btn-cta {
  background: var(--accent-blue); color: #fff; border: none;
  border-radius: 7px; padding: 13px 22px;
  font-size: 12px; font-weight: 700; font-family: 'DM Sans', sans-serif;
  cursor: pointer; white-space: nowrap; transition: all 0.18s; text-decoration: none; display: inline-block;
}
.scorecard-modal-inner .btn-cta:hover { background: #2563EB; transform: translateY(-1px); }
.scorecard-modal-inner .btn-retake {
  background: transparent; color: var(--text-muted);
  border: 1px solid var(--border-subtle); border-radius: 7px;
  padding: 10px 18px; font-size: 11px; font-weight: 500;
  font-family: 'DM Sans', sans-serif; cursor: pointer;
  transition: all 0.18s; margin-top: 10px; width: 100%;
}
.scorecard-modal-inner .btn-retake:hover { color: var(--text-primary); border-color: var(--text-dim); }
.scorecard-modal-inner .btn-download-pdf {
  background: transparent;
  border: 1px solid rgba(59,130,246,0.4); color: var(--accent-blue);
  border-radius: 7px; padding: 10px 18px;
  font-size: 11px; font-weight: 600; font-family: 'DM Sans', sans-serif;
  cursor: pointer; transition: all 0.18s; margin-top: 8px; width: 100%;
}
.scorecard-modal-inner .btn-download-pdf:hover {
  background: rgba(59,130,246,0.08); border-color: var(--accent-blue);
}

/* ── Scorecard footer ── */
.scorecard-modal-inner .sc-footer {
  border-top: 1px solid var(--border-subtle); padding: 12px 40px;
  display: flex; justify-content: space-between; font-size: 8px; color: var(--text-dim);
}

/* ── Fade animation (scoped name to avoid collision) ── */
.scorecard-modal-inner .fade-in { animation: scFadeIn 0.35s ease forwards; }
@keyframes scFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Email gate overlay ── */
.sc-email-gate {
  display: none;
  position: absolute; inset: 0;
  background: rgba(0,10,24,0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 150;
  align-items: center; justify-content: center;
}
.sc-email-gate.open { display: flex; }
.sc-email-gate-box {
  background: #0E1E33; border: 1px solid #1C3050;
  border-radius: 12px; padding: 32px 36px;
  max-width: 400px; width: 90%; text-align: center;
}
.sc-email-gate-box h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px; font-weight: 800; color: #FFFFFF;
  margin-bottom: 8px; letter-spacing: -0.3px;
}
.sc-email-gate-box > p {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px; color: #94A3B8; line-height: 1.6; margin-bottom: 20px;
}
.sc-email-gate-box input[type="email"] {
  width: 100%; background: #0A1628;
  border: 1.5px solid #1C3050; border-radius: 7px;
  padding: 12px 14px; font-size: 13px;
  color: #CBD5E1; font-family: 'DM Sans', sans-serif;
  outline: none; margin-bottom: 6px; transition: border-color 0.18s;
  box-sizing: border-box;
}
.sc-email-gate-box input[type="email"]:focus { border-color: #3B82F6; }
.sc-email-gate-box input[type="email"]::placeholder { color: #475569; }
.sc-email-gate-error {
  font-size: 10px; color: #EF4444; min-height: 14px;
  text-align: left; margin-bottom: 10px; font-family: 'DM Sans', sans-serif;
}
.sc-btn-confirm-download {
  width: 100%; background: #3B82F6; color: #fff; border: none;
  border-radius: 7px; padding: 13px;
  font-size: 13px; font-weight: 700; font-family: 'DM Sans', sans-serif;
  cursor: pointer; transition: background 0.18s; margin-bottom: 8px; box-sizing: border-box;
}
.sc-btn-confirm-download:hover { background: #2563EB; }
.sc-btn-cancel-download {
  background: transparent; color: #64748B;
  border: 1px solid #1C3050; border-radius: 7px;
  padding: 10px; width: 100%;
  font-size: 11px; font-weight: 500; font-family: 'DM Sans', sans-serif;
  cursor: pointer; transition: all 0.18s; box-sizing: border-box;
}
.sc-btn-cancel-download:hover { color: #CBD5E1; border-color: #475569; }

/* ── Standalone scorecard page body ── */
body.scorecard-standalone {
  margin: 0; padding: 0;
  background: #0A1628;
  display: flex; flex-direction: column; min-height: 100vh;
}

/* ── Suppress HubSpot timed pop-up forms on mobile ── */
@media screen and (max-width: 768px) {
  .leadinModal,
  .leadin-modal,
  .leadinModal-overlay,
  [id^="leadinModal-"],
  [class*="hs-modal"],
  [class*="hs-popup"],
  .hs-form-popup,
  .hs_popup_modal,
  .hubspot-popup { display: none !important; }
}


/* ── Mobile demo selector UI ─────────────────────────────────────────────────
   Hidden on desktop; visible on mobile only.
   CHANGED 2026-04-16 | sebastian | claude/fix-session-crashes-JTA5r | recreate styles from ed306c32 deploy */

/* Desktop: hide mobile-only elements */
.demo-mobile-header,
.demo-mobile-ui { display: none; }

@media screen and (max-width: 768px) {
  .demo-mobile-header {
    display: block;
    text-align: center;
    padding: 1rem 1rem 0;
  }
  .demo-mobile-eyebrow {
    font-family: 'Space Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.3rem;
  }
  .demo-mobile-headline {
    font-family: 'League Spartan', sans-serif;
    font-weight: 700;
    font-size: clamp(1.4rem, 5vw, 2rem);
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 0.4rem;
  }
  .demo-mobile-headline em {
    font-style: normal;
    color: var(--accent);
  }
  .demo-mobile-sub {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
    max-width: 360px;
    margin: 0 auto;
  }
  .demo-mobile-ui {
    display: block;
    border: 1px solid rgba(0,117,226,0.35);
    background: rgba(0,29,56,0.55);
    margin: 0.75rem 0;
    padding: 0.6rem;
  }
  .demo-mobile-section { margin-bottom: 0.5rem; }
  .demo-mobile-section:last-child { margin-bottom: 0; }
  .demo-section-header {
    font-family: 'Space Mono', monospace;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-light);
    margin-bottom: 0.35rem;
  }
  .demo-opts-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
  }
  .demo-form-opt,
  .demo-lang-opt {
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    padding: 0.35rem 0.65rem;
    border: 1px solid rgba(0,117,226,0.3);
    background: transparent;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    clip-path: polygon(0 0, calc(100% - 5px) 0, 100% 5px, 100% 100%, 5px 100%, 0 calc(100% - 5px));
  }
  .demo-form-opt.active,
  .demo-lang-opt.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
  }
}


/* ── Modal close buttons — larger tap targets on mobile ───────────────────────
   CHANGED 2026-04-15 | sebastian | claude/commit-staging-changes-lBhUo | mobile close button UX */
@media screen and (max-width: 768px) {
  .modal-x-btn {
    min-width: 44px !important;
    min-height: 44px !important;
    font-size: 1.6rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    padding: 0 !important;
  }
  /* Interactive modal close: prominent dark circle so it's obvious */
  #interactive-modal .modal-x-btn {
    width: 48px !important;
    height: 48px !important;
    background: rgba(0, 29, 56, 0.92) !important;
    border: 1px solid rgba(0, 117, 226, 0.5) !important;
    border-radius: 50% !important;
    font-size: 1.5rem !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5) !important;
    top: 10px !important;
    right: 10px !important;
  }
  .calculator-modal-close {
    width: 44px !important;
    height: 44px !important;
    font-size: 1.4rem !important;
  }
  /* Reduce iframe wrapper padding on mobile */
  .demo-iframe-wrapper { padding: 0 !important; }
}
