/* ============================================
   MEDHAIQ.AI — Executive Global Launch
   Design Standard: Linear / Notion / McKinsey.com
   Mobile-first, premium enterprise aesthetic
   ============================================ */

:root {
  /* Color Palette */
  --navy-deep:    #0A0E1A;
  --navy-rich:    #0D1220;
  --navy-card:    #111827;
  --navy-border:  #1E293B;
  --royal-blue:   #1E40AF;
  --blue-bright:  #3B82F6;
  --blue-glow:    rgba(59, 130, 246, 0.15);
  --emerald:      #059669;
  --emerald-soft: rgba(5, 150, 105, 0.12);
  --gold:         #D97706;
  --gold-soft:    rgba(217, 119, 6, 0.15);
  --white:        #FFFFFF;
  --white-soft:   rgba(255, 255, 255, 0.08);
  --white-border: rgba(255, 255, 255, 0.08);
  --text-muted:   #9DA8BA;
  --text-faint:   #9AA6B8;
  --light-surface: #F8FAFC;

  /* Typography */
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;

  /* Sizing */
  --max-w: 1160px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;

  /* ============================================
     DENSITY PASS — new tokens, none existed before.
     Introduced so the global scale reduction is driven from one place
     instead of 14+ separately hardcoded selectors. Every consuming rule
     below was refactored to reference these instead of a literal value. */
  --section-pad-y: 76px;
  --section-pad-x: 40px;
  --card-pad: 24px;
  --card-pad-sm: 18px;
  --btn-pad-y: 12px;
  --btn-pad-x: 22px;
  --hero-h1-size: clamp(36px, 6vw, 48px);
  --hero-h1-tracking: -0.04em;
  --h2-size: clamp(22px, 4.5vw, 29px);
  --h2-tracking: -0.03em;
  --eyebrow-size: 13px;
  --eyebrow-tracking: 0.1em;
  --body-size: 18px;
  --body-line: 1.6;
  --table-pad: 12px 16px;
  --hero-sub-color: rgba(255, 255, 255, 0.92);

  /* Brand tokens — logo gradient */
  --brand-iq-gradient: linear-gradient(
    135deg,
    #3D8BFF 0%,
    #4F74FF 38%,
    #6D5CF5 72%,
    #8B5CF6 100%
  );
}

/* ============================================
   BRAND LOGO COMPONENT — tokenized, contextual sizing
   via .brand-logo--sm/md/lg modifiers (no inline styles,
   no per-instance aspect-ratio math).
   ============================================ */
.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
  transition: opacity 0.2s ease;
}
.brand-logo:hover { opacity: 0.9; }

.brand-logo__icon {
  height: auto;
  width: auto;
  max-width: none;
  max-height: 40px; /* hard ceiling — if a page's stylesheet link ever
     fails to load, this still prevents the icon from rendering at its
     full natural size and spilling over surrounding content */
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.brand-logo__text {
  font-weight: 700;
  letter-spacing: -0.04em;
  font-family: var(--font-display);
  color: var(--white);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.brand-logo__iq {
  background: var(--brand-iq-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* Contextual sizing — sm: footer watermark, md: navbars/dashboards
   (default), lg: login/auth first-impression screens */
.brand-logo--sm { gap: 8px; }
.brand-logo--sm .brand-logo__icon { height: 20px; }
.brand-logo--sm .brand-logo__text { font-size: 16px; }

.brand-logo--md { gap: 10px; }
.brand-logo--md .brand-logo__icon { height: 26px; }
.brand-logo--md .brand-logo__text { font-size: 20px; }

.brand-logo--lg { gap: 11px; }
.brand-logo--lg .brand-logo__icon { height: 28px; }
.brand-logo--lg .brand-logo__text { font-size: 22px; }

@media (max-width: 640px) {
  .brand-logo--full .brand-logo__text {
    display: none;
  }
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--navy-deep);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--white);
  letter-spacing: -0.02em;
}
p, li, span, label, input, select, textarea {
  font-family: var(--font-body);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }

/* ============================================
   SCROLL ANIMATIONS (IntersectionObserver)
   Fade-in + translateY for sections below fold
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.reveal-item { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal-item.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   GLOBAL NAVIGATION — Section 1
   ============================================ */
.mh-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--navy-deep); /* was transparent-until-scroll; now always
    solid — "quiet, permanent brand frame" per the approved public-page
    direction. Safe globally: every current consumer of this file is in
    the approved light-migration set, and About (already light at the
    top in places) shows no regression from an always-solid header. */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid var(--navy-border);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.mh-nav.mh-nav-scrolled {
  background: rgba(10, 15, 30, 0.97);
  border-bottom-color: var(--white-border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.mh-nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Logo */
.mh-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.mh-logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--navy-deep);
  border: 1px solid var(--navy-border);
  display: flex; `
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0, 82, 255, 0.3);
}
.mh-logo-mark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0052FF, #0EA5E9);
  opacity: 0.9;
  border-radius: 9px;
}
.mh-logo-mark svg {
  position: relative;
  z-index: 1;
}
.mh-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--white);
  letter-spacing: -0.3px;
}
.mh-logo-text span { color: var(--blue-bright); }

/* Nav links */
.mh-nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
}
.mh-nav-link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.mh-nav-link:hover { color: var(--white); background: var(--white-soft); }
.mh-nav-link.active {
  color: var(--blue-bright);
  position: relative;
}
.mh-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--blue-bright);
  border-radius: 1px;
}

.mh-nav-actions {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}
.mh-nav-cta {
  background: var(--royal-blue);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  padding: 8px 17px;
  border-radius: 40px;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
  box-shadow: 0 0 30px rgba(30, 64, 175, 0.4);
  margin-right: 8px;
}
.mh-nav-cta:hover {
  background: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 4px 40px rgba(30, 64, 175, 0.5);
}
/* Sign In — secondary action for existing/returning users. Reuses the
      same font-family/size/weight as .mh-nav-link so it reads as part of the
      same nav system, not a bolted-on button. */
   .mh-nav-signin {
     font-family: var(--font-body);
     font-size: 14px;
     font-weight: 600;
     color: var(--text-muted);
     padding: 8px 14px;
     border-radius: 8px;
     white-space: nowrap;
     transition: color 0.15s ease, background 0.15s ease;
   }
   .mh-nav-signin:hover { color: var(--white); background: var(--white-soft); }

/* Hamburger */
.mh-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.mh-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: all 0.25s ease;
}
.mh-hamburger.mh-hamburger-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mh-hamburger.mh-hamburger-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mh-hamburger.mh-hamburger-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile menu */
.mh-mobile-menu {
  display: none;
  background: var(--navy-deep);
  border-top: 1px solid var(--white-border);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.mh-mobile-menu.mh-mobile-menu-open {
  display: block;
  /* was a fixed 400px — too short once a logged-in user opens the
     Platform accordion (6 extra sublinks + account rows push past
     400px and were being hard-clipped with no way to reach them).
     85vh + scroll keeps the same open/close animation feel while
     making everything reachable on any phone height. (audit fix) */
  max-height: 85vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px 0 24px;
}
.mh-mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 0 24px;
  gap: 4px;
}
.mh-mobile-link {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 12px 0;
  border-bottom: 1px solid var(--white-soft);
  transition: color 0.15s ease;
}
.mh-mobile-link:hover { color: var(--white); }
.mh-mobile-cta {
  margin-top: 12px;
  background: var(--royal-blue);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: 30px;
  text-align: center;
  display: block;
}

/* ============================================
   HERO — Section 2 (CSS/JS Animation, NO video)
   ============================================ */
.mh-hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 56px 32px 24px; /* NOT changed — see conflict flag in chat: hero.ejs was explicitly locked to zero changes earlier in this conversation */
  background: var(--navy-deep);
}

/* Diagonal grid background */
.mh-hero-grid {
  display: none;
}

/* Radial glow */
.mh-hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(30, 64, 175, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 80% 60%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.mh-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 48px;
  align-items: center;
}
.mh-hero-inner > div {
  min-width: 0;
}

/* Left text block */
.mh-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(30, 64, 175, 0.15);
  border: 1px solid rgba(30, 64, 175, 0.3);
  border-radius: 30px;
  padding: 7px 16px;
  margin-bottom: 18px;
}
.mh-hero-badge-text {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hero-sub-color);
}
.mh-hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-bright);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.mh-hero-h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--hero-h1-size);
  line-height: 1.0;
  letter-spacing: var(--hero-h1-tracking);
  color: var(--white);
  margin-bottom: 20px;
}

.mh-hero-h2 {
  font-family: var(--font-body);
  font-weight: 500; /* spec asked for 450 or 500 — using 500 since Inter is loaded at
                       fixed weights (400/500/600/700/800), not as a variable font;
                       450 would silently fall back to 400 and render no different */
  font-size: 20px;
  color: var(--hero-sub-color);
  margin-bottom: 24px;
  line-height: 1.5;
}
.mh-hero-sub {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-faint);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 480px;
}

.mh-hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px; /* Reduce this number until the gap looks right */
}

/* Tertiary CTA — "See How It Works", demoted from its former outline-button
   spot. Reuses --text-muted and the existing --white-border ring treatment
   (same border already used elsewhere in this file); no new visual language. */
.mh-hero-tertiary-row { margin-bottom: 36px; }
.mh-hero-tertiary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  transition: color 0.2s ease;
}
.mh-hero-tertiary:hover { color: var(--white); }
.mh-hero-tertiary-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--white-border);
  color: var(--white);
  flex-shrink: 0;
  transition: border-color 0.2s ease;
}
.mh-hero-tertiary:hover .mh-hero-tertiary-icon { border-color: var(--blue-bright); }

.mh-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--royal-blue);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: 40px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 0 30px rgba(30, 64, 175, 0.4);
  white-space: nowrap;
}
/* Explore-page closing CTA ("Ready to measure your interview readiness?")
   keeps the larger, lighter-weight treatment on purpose — scoped here so it
   never affects the Hero CTA or any other .mh-btn-primary usage. */
.mh-explore-cta .mh-btn-primary {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  line-height: 1;
  gap: 16px;
  padding: var(--btn-pad-y) 38px;
}
.mh-btn-primary:hover {
  background: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 4px 40px rgba(30, 64, 175, 0.5);
}

.mh-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: 40px;
  border: 1.5px solid var(--white-border);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.mh-btn-outline:hover {
  background: var(--white);
  color: var(--navy-deep);
}

.mh-hero-proof {
  display: none;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: -10px; /* Pulls the bullets closer to the buttons */
}
.mh-proof-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
}
.mh-proof-item strong { color: var(--white); font-weight: 600; }
.mh-proof-sep {
  display: none;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-faint);
}

/* Right: Live Interview Audio Terminal */
.mh-hero-mockup-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.mh-terminal {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 80px rgba(59, 130, 246, 0.08), 0 32px 80px rgba(0,0,0,0.6);
}

/* Chrome bar */
.mh-term-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: var(--navy-card);
  border-bottom: 1px solid var(--navy-border);
}
.mh-term-dots { display: flex; gap: 6px; }
.mh-dot { width: 10px; height: 10px; border-radius: 50%; }
.mh-dot-red { background: #EF4444; }
.mh-dot-yellow { background: #F59E0B; }
.mh-dot-green { background: #10B981; }
.mh-term-title {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #64748B;
  letter-spacing: 0.04em;
}
.mh-term-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  color: #10B981;
  letter-spacing: 0.1em;
}
.mh-term-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.8);
  animation: term-pulse 1.5s ease-in-out infinite;
}
@keyframes term-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Body */
.mh-term-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Meta row */
.mh-term-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: #475569;
}
.mh-term-meta-sep { color: var(--navy-border); }
.mh-term-meta-item { color: #64748B; display: flex; align-items: center; gap: 4px; }

/* Main split: waveform + score */
.mh-term-main {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}

/* Voice waveform section */
.mh-term-wave-section {
  background: var(--navy-rich);
  border: 1px solid var(--navy-border);
  border-radius: 10px;
  padding: 12px;
}
.mh-term-wave-label {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #334155;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.mh-term-wave {
  height: 48px;
  display: flex;
  align-items: center;
}
.mh-audio-bars {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 100%;
  width: 100%;
}
.mh-audio-bar {
  flex: 1;
  height: var(--h, 20px);
  background: linear-gradient(180deg, #3B82F6, #1D4ED8);
  border-radius: 2px;
  animation: audio-wave 1.2s ease-in-out infinite;
  animation-delay: var(--d, 0s);
  opacity: 0.85;
  min-width: 2px;
  max-width: 5px;
}
@keyframes audio-wave {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.3); }
}
.mh-term-wave-freq {
  font-family: var(--font-mono);
  font-size: 8px;
  color: #334155;
  margin-top: 8px;
}

/* Score dial */
.mh-term-score-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.mh-term-score-label {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #475569;
  text-transform: uppercase;
}
.mh-dial-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mh-dial-svg { display: block; }
.mh-dial-arc {
  animation: dial-sweep 1.8s ease-out forwards;
  transform-origin: 44px 44px;
  transform: rotate(-225deg);
}
@keyframes dial-sweep {
  from { stroke-dashoffset: 226.195; }
  to { stroke-dashoffset: 38.453; }
}
.mh-dial-pct {
  position: absolute;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  color: #3B82F6;
}

/* Analytical strip */
.mh-term-strip {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--navy-rich);
  border: 1px solid var(--navy-border);
  border-radius: 8px;
  overflow: hidden;
}
.mh-term-strip-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 6px;
  gap: 3px;
}
.mh-term-strip-label {
  font-family: var(--font-mono);
  font-size: 8px;
  color: #334155;
  letter-spacing: 0.05em;
}
.mh-term-strip-val {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: #64748B;
}
.mh-term-strip-ok { color: #10B981; }
.mh-term-strip-sep {
  width: 1px;
  height: 28px;
  background: var(--navy-border);
}

/* Footer */
.mh-term-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: #334155;
  padding: 0 2px;
}
.mh-term-footer-sep { color: var(--navy-border); }
.mh-term-footer-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #F59E0B;
  animation: term-pulse 1.5s ease-in-out infinite;
}
.mh-term-ai-tag {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #3B82F6;
  margin-left: auto;
}

/* ============================================
   CAREER JOURNEY TIMELINE — Section 3
   ============================================ */
.mh-timeline {
  padding: var(--section-pad-y) var(--section-pad-x);
  background-color: var(--navy-rich);
  background-image: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(20,184,166,0.06), transparent 70%);
}
.mh-timeline-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.mh-section-center {
  text-align: center;
}
.mh-eyebrow {
  font-family: var(--font-body);
  font-size: var(--eyebrow-size);
  font-weight: 700;
  letter-spacing: var(--eyebrow-tracking);
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 14px;
}
.mh-section-title {
  font-family: var(--font-display);
  font-size: var(--h2-size);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: var(--h2-tracking);
  margin-bottom: 12px;
}
.mh-section-sub {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 700px; /* was 560px — widened per this round's "tweet-width" fix */
  margin: 0 auto;
}

.mh-timeline-track {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 64px;
  position: relative;
  overflow-x: auto;
  padding-bottom: 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--navy-border) transparent;
}
.mh-timeline-track::-webkit-scrollbar { height: 4px; }
.mh-timeline-track::-webkit-scrollbar-track { background: transparent; }
.mh-timeline-track::-webkit-scrollbar-thumb { background: var(--navy-border); border-radius: 2px; }

/* Timeline line */
.mh-timeline-line {
  position: absolute;
  top: 28px;
  left: 40px;
  right: 40px;
  height: 1px;
  background: var(--navy-border);
}

.mh-timeline-node {
  flex: 1;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 0 12px;
}
.mh-timeline-dot-wrap {
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}
.mh-timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--navy-border);
  border: 2px solid var(--navy-border);
  transition: all 0.4s ease;
  cursor: pointer;
}
.mh-timeline-node .mh-timeline-dot {
  background: rgba(59, 130, 246, 0.3);
  border-color: var(--blue-bright);
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.3);
}

.mh-timeline-node:hover .mh-timeline-dot {
  transform: scale(1.3);
}

.mh-timeline-content {
  text-align: center;
  opacity: 1;
}
.mh-timeline-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-faint);
  margin-bottom: 8px;
}
.mh-timeline-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  color: var(--blue-bright);
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.15);
}
.mh-timeline-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}
.mh-timeline-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
  max-width: 120px;
}

/* ============================================
   PLATFORM ARCHITECTURE — Section 4
   Technical Blueprint — enterprise architecture diagram
   Namespaced under .mh-bp-* (Blueprint). Local color tokens below
   match the reference spec exactly without touching global brand
   tokens (--emerald/--gold) used elsewhere on the site.
   ============================================ */
.mh-arch {
  padding: var(--section-pad-y) var(--section-pad-x);
  background-color: var(--navy-deep);
  background-image: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(59,130,246,0.06), transparent 70%);
  --bp-blue:  #3B82F6;
  --bp-green: #10B981;
  --bp-amber: #F59E0B;
  --bp-card:  #0B1220;
  --bp-border: rgba(255, 255, 255, 0.08);
  --bp-desc:  #9CA3AF;
}
.mh-arch-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.mh-bp-stack {
  display: flex;
  flex-direction: column;
  margin-top: 48px;
}

/* ---- Layer card ---- */
.mh-bp-layer {
  background: var(--bp-card);
  border: 1px solid var(--bp-border);
  border-top: 3px solid transparent;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  position: relative;
}
.mh-bp-layer-blue  { border-top-color: var(--bp-blue); }
.mh-bp-layer-green { border-top-color: var(--bp-green); }
.mh-bp-layer-amber { border-top-color: var(--bp-amber); }

.mh-bp-layer-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 12px;
}
.mh-bp-layer-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}
.mh-bp-layer-blue  .mh-bp-layer-label { color: var(--bp-blue); }
.mh-bp-layer-green .mh-bp-layer-label { color: var(--bp-green); }
.mh-bp-layer-amber .mh-bp-layer-label { color: var(--bp-amber); }

.mh-bp-future-badge {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bp-amber);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 3px 10px;
  border-radius: 999px;
}

.mh-bp-layer-desc {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 16px; /* layer title -> description, per typography refinement pass */
  max-width: 640px;
}

.mh-bp-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06); /* slightly softer than the shared --bp-border */
  margin: 18px 0 26px; /* description -> divider: 18px, divider -> capability row: 26px */
}

/* ---- Five-column grid ---- */
.mh-bp-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.mh-bp-col {
  padding: 0 20px; /* uniform on every column, including first/last, for more even
    capability spacing (previously the edge columns had asymmetric padding) */
}
.mh-bp-col:not(:first-child) {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.mh-bp-icon {
  width: 52px; /* was 44/48px — the icon is now the visual anchor of each capability */
  height: 52px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--bp-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px; /* icon -> title */
}
.mh-bp-icon svg { width: 24px; height: 24px; } /* icon glyph sized up slightly with the container */
.mh-bp-layer-blue  .mh-bp-icon { box-shadow: 0 0 12px rgba(59, 130, 246, 0.16); }
.mh-bp-layer-green .mh-bp-icon { box-shadow: 0 0 12px rgba(16, 185, 129, 0.16); }
.mh-bp-layer-amber .mh-bp-icon { box-shadow: 0 0 12px rgba(245, 158, 11, 0.16); }
.mh-bp-layer-blue  .mh-bp-icon svg { color: var(--bp-blue); }
.mh-bp-layer-green .mh-bp-icon svg { color: var(--bp-green); }
.mh-bp-layer-amber .mh-bp-icon svg { color: var(--bp-amber); }

.mh-bp-col-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: #F8FAFC;
  line-height: 1.32;
  letter-spacing: -0.01em;
  margin-bottom: 8px; /* Tightened from 14px to improve visual clustering */
  
  /* Truncation properties explicitly removed */
  display: block; 
}

.mh-bp-col-desc {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  color: #94A3B8; /* Overrides the slightly lighter var(--bp-desc) */
  line-height: 1.55;
  
  /* Truncation properties explicitly removed */
  display: block;
}

/* ---- Connector between layers ---- */
.mh-bp-connector {
  position: relative;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mh-bp-connector-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  border-left: 2px dashed rgba(255, 255, 255, 0.15);
}
.mh-bp-connector-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bp-card);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  animation: bp-glow 2.5s ease-in-out infinite;
}
.mh-bp-connector-blue  .mh-bp-connector-circle { color: var(--bp-blue); box-shadow: 0 0 14px rgba(59, 130, 246, 0.35); }
.mh-bp-connector-green .mh-bp-connector-circle { color: var(--bp-green); box-shadow: 0 0 14px rgba(16, 185, 129, 0.35); }
@keyframes bp-glow {
  0%, 100% { opacity: 0.75; }
  50% { opacity: 1; }
}

/* ---- Footer badge ---- */
.mh-bp-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  margin: 40px auto 0;
  padding: 14px 26px;
  background: var(--bp-card);
  border: 1px solid var(--bp-border);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--text-muted);
}
.mh-bp-footer svg { color: var(--bp-blue); flex-shrink: 0; }

/* ---- Multi-Model Architecture panel (standalone, full width) ---- */
.mh-bp-model-panel {
  margin-top: 32px;
  background: var(--bp-card);
  border: 1px solid var(--bp-border);
  border-radius: 20px;
  padding: 32px 40px;
}
.mh-bp-model-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -0.2px;
}
.mh-bp-model-body {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
}
.mh-bp-model-divider {
  height: 1px;
  background: var(--bp-border);
  margin: 18px 0;
}
.mh-bp-chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  margin: 4px 4px 4px 0;
}
.mh-bp-chip-blue  { background: rgba(59, 130, 246, 0.15); color: var(--bp-blue); }
.mh-bp-chip-green { background: rgba(16, 185, 129, 0.12); color: var(--bp-green); }
.mh-bp-chip-amber { background: rgba(245, 158, 11, 0.12); color: var(--bp-amber); }

/* ---- Responsive ----
   Desktop (>1024px): full 5-column grid with vertical dividers, exactly like the reference.
   Tablet (769–1024px): 3 columns, dividers dropped (they'd misalign across wrapped rows).
   Mobile (<=768px): each layer stacks to a single column; typography hierarchy preserved. */
@media (max-width: 1024px) {
  .mh-bp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .mh-bp-col { border-left: none !important; padding: 0 16px; }
}
@media (max-width: 640px) {
  .mh-bp-grid { grid-template-columns: 1fr; row-gap: 28px; }
  .mh-bp-col { padding: 0 !important; }
  .mh-bp-layer { padding: 28px 24px; }
  .mh-bp-model-panel { padding: 24px; }
}

/* ============================================
   AI CAREER SCORE — Section 5
   ============================================ */
.mh-score {
  padding: var(--section-pad-y) var(--section-pad-x);
  background: var(--light-surface);
}
.mh-score-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.mh-score .mh-section-title { color: var(--navy-rich); }
.mh-score .mh-section-sub { color: #64748b; }
.mh-score .mh-eyebrow { color: var(--royal-blue); }

.mh-score-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 60px;
}

/* Drop zones */
.mh-drop-zones {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mh-drop-zone {
  background: white;
  border: 1.5px dashed #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}
.mh-drop-zone:hover {
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.08);
}
.mh-drop-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  flex-shrink: 0;
}
.mh-drop-label {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-rich);
  margin-bottom: 2px;
}
.mh-drop-hint {
  font-size: 12px;
  color: #94a3b8;
}
.mh-drop-select {
  width: 100%;
  margin-top: 6px;
  padding: 10px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius);
  background: white;
  color: var(--navy-rich);
  font-family: var(--font-body);
  font-size: 14px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}
.mh-drop-select:focus {
  outline: none;
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.mh-score-cta-wrap {
  margin-top: 8px;
}
.mh-score-run-btn {
  width: 100%;
  background: var(--royal-blue);
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  padding: 16px 28px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 0 30px rgba(30, 64, 175, 0.3);
}
.mh-score-run-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 40px rgba(30, 64, 175, 0.4);
}
.mh-score-run-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.mh-score-disclaimer {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 10px;
  line-height: 1.5;
  text-align: center;
}

/* CV upload extracting animation */
.mh-upload-extracting {
  display: none;
  font-size: 11px;
  font-weight: 600;
  color: var(--blue-bright);
  margin-top: 6px;
  position: relative;
  overflow: hidden;
}
.mh-upload-extracting::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.4), transparent);
  animation: extract-scan 1.2s ease-in-out infinite;
}
@keyframes extract-scan {
  0%   { left: -60%; }
  100% { left: 110%; }
}
.mh-upload-zone.extracting .mh-upload-extracting { display: block !important; }
.mh-upload-zone.extracting .mh-upload-hint       { display: none !important; }
.mh-upload-filename {
  display: none;
  font-size: 12px;
  font-weight: 600;
  color: #22c55e;
  margin-top: 2px;
}
.mh-upload-zone.uploaded .mh-upload-hint       { display: none !important; }
.mh-upload-zone.uploaded .mh-upload-filename   { display: block !important; }
.mh-upload-zone.uploaded                        { border-color: #22c55e; }

/* Score output */
.mh-score-output {
  position: relative;
}
.mh-score-card {
  background: var(--navy-rich);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  text-align: center;
  display: none;
}
.mh-score-card.mh-score-visible { display: block !important; }

.mh-score-centre {
  margin-bottom: 32px;
}
.mh-score-overall-ring {
  width: 120px;
  height: 120px;
  position: relative;
  margin: 0 auto 16px;
}
.mh-score-overall-ring svg {
  transform: rotate(-90deg);
}
.mh-score-overall-val {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.mh-score-overall-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -2px;
  line-height: 1;
}
.mh-score-overall-label {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.mh-score-overall-pulse {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  opacity: 0;
  animation: score-ring 2s ease-out infinite;
}
@keyframes score-ring {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.2); opacity: 0; }
}

.mh-score-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.mh-metric-dial {
  text-align: center;
}
.mh-metric-ring-wrap {
  width: 72px;
  height: 72px;
  position: relative;
  margin: 0 auto 8px;
}
.mh-metric-ring-wrap svg { transform: rotate(-90deg); }
.mh-metric-ring-val {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}
.mh-metric-label {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Loading shimmer */
.mh-score-loading {
  display: none;
  background: var(--navy-rich);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
}
.mh-score-loading.mh-score-loading-visible { display: block !important; }
.mh-shimmer {
  height: 16px;
  background: var(--navy-card);
  border-radius: 8px;
  margin-bottom: 12px;
  animation: shimmer 1.5s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

/* ============================================
   INTEGRATIONS GRID — Section 6
   ============================================ */
.mh-integrations {
  padding: var(--section-pad-y) var(--section-pad-x);
  background: var(--navy-deep);
}
.mh-integrations-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.mh-int-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 64px;
}
.mh-int-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.mh-int-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
}
.mh-int-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(30, 64, 175, 0.12);
  border: 1px solid rgba(30, 64, 175, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-bright);
  flex-shrink: 0;
}
.mh-int-info {}
.mh-int-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}
.mh-int-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.mh-int-code-panel {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.7;
}
.mh-int-code-panel span { color: var(--blue-bright); }
.mh-int-code-panel .comment { color: var(--text-faint); }

/* ============================================
   AUDIENCE RADAR MATRIX — Section 7
   ============================================ */
.mh-audience {
  padding: var(--section-pad-y) var(--section-pad-x);
  background: var(--navy-rich);
}
.mh-audience-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.mh-audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 64px;
}
.mh-audience-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.mh-audience-card:hover {
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-4px);
}
.mh-audience-photo {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.mh-audience-photo-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
}
.mh-audience-initials {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-muted);
}
.mh-audience-initials-bg {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mh-audience-body {
  padding: var(--card-pad-sm);
}
.mh-audience-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.mh-audience-badge-blue { background: rgba(30, 64, 175, 0.15); color: var(--blue-bright); }
.mh-audience-badge-emerald { background: rgba(5, 150, 105, 0.12); color: var(--emerald); }
.mh-audience-badge-gold { background: rgba(217, 119, 6, 0.12); color: var(--gold); }
.mh-audience-badge-purple { background: rgba(139, 92, 246, 0.12); color: #8B5CF6; }
.mh-audience-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}
.mh-audience-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   RECRUITER PORTAL & ANALYTICS — Section 8
   ============================================ */
.mh-recruiter {
  padding: var(--section-pad-y) var(--section-pad-x);
  background: var(--navy-deep);
}
.mh-recruiter-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.mh-recruiter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 64px;
}
.mh-recruiter-pane {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.mh-recruiter-pane-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--navy-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mh-recruiter-pane-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}
.mh-recruiter-pane-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(5, 150, 105, 0.12);
  color: var(--emerald);
}

/* Pane 1: Recruiter Search bar */
.mh-recruiter-search {
  padding: 14px 20px;
  border-bottom: 1px solid var(--navy-border);
}
.mh-recruiter-search-input {
  width: 100%;
  background: var(--navy-deep);
  border: 1px solid var(--navy-border);
  border-radius: 10px;
  padding: 10px 14px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
  outline: none;
}
.mh-recruiter-search-input::placeholder { color: var(--text-faint); }
.mh-recruiter-search-input:focus { border-color: var(--blue-bright); }

/* Candidate rows */
.mh-candidate-rows { padding: 12px 0; }
.mh-candidate-row {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  gap: 14px;
  transition: background 0.15s ease;
  cursor: pointer;
}
.mh-candidate-row:hover { background: var(--white-soft); }
.mh-candidate-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  flex-shrink: 0;
}
.mh-candidate-info { flex: 1; }
.mh-candidate-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
}
.mh-candidate-role {
  font-size: 11px;
  color: var(--text-muted);
}
.mh-candidate-score {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--emerald);
}
.mh-candidate-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 12px;
}
.mh-candidate-badge-ready {
  background: rgba(5, 150, 105, 0.15);
  color: var(--emerald);
}
.mh-candidate-badge-coaching {
  background: rgba(217, 119, 6, 0.15);
  color: var(--gold);
}

/* Heatmap */
.mh-heatmap {
  padding: 16px 20px;
}
.mh-heatmap-label {
  font-size: 11px;
  color: var(--text-faint);
  margin-bottom: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.mh-heatmap-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}
.mh-heatmap-cell {
  aspect-ratio: 1;
  border-radius: 4px;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--navy-rich);
}
.mh-heatmap-cell-hi { background: rgba(5, 150, 105, 0.8); }
.mh-heatmap-cell-md { background: rgba(59, 130, 246, 0.6); }
.mh-heatmap-cell-lo { background: rgba(217, 119, 6, 0.5); }

/* Pane 2: Enterprise Analytics */
.mh-analytics-section {
  padding: 16px 20px;
  border-bottom: 1px solid var(--navy-border);
}
.mh-analytics-section:last-child { border-bottom: none; }
.mh-analytics-label {
  font-size: 11px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  font-weight: 600;
}

/* Bell curve */
.mh-bell-svg { width: 100%; height: 60px; }

/* Progress bars */
.mh-dept-bars { display: flex; flex-direction: column; gap: 8px; }
.mh-dept-bar-row { display: flex; align-items: center; gap: 10px; }
.mh-dept-bar-label {
  font-size: 11px;
  color: var(--text-muted);
  width: 60px;
  flex-shrink: 0;
}
.mh-dept-bar-track {
  flex: 1;
  height: 6px;
  background: var(--navy-deep);
  border-radius: 3px;
  overflow: hidden;
}
.mh-dept-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--royal-blue), var(--blue-bright));
  transition: width 1s ease;
}
.mh-dept-bar-val {
  font-size: 11px;
  font-weight: 600;
  color: var(--blue-bright);
  width: 32px;
  text-align: right;
  flex-shrink: 0;
}

/* Skill gap table */
.mh-skill-table { width: 100%; }
.mh-skill-table-row {
  display: grid;
  grid-template-columns: 1fr 60px 60px 50px;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--white-soft);
  font-size: 11px;
  color: var(--text-muted);
}
.mh-skill-table-row:last-child { border-bottom: none; }
.mh-skill-pos { color: var(--emerald); font-weight: 600; }
.mh-skill-neg { color: #f87171; font-weight: 600; }

/* Succession score */
.mh-succession-score {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
}
.mh-succession-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--emerald);
  letter-spacing: -1px;
}
.mh-succession-label {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Callout chips */
.mh-recruiter-callouts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.mh-callout-chip {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: 30px;
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.mh-callout-chip:hover {
  border-color: var(--blue-bright);
  color: var(--white);
}
.mh-callout-chip svg { color: var(--blue-bright); }

/* ============================================
   INTELLIGENCE FRAMEWORK — Section 9
   ============================================ */
.mh-framework {
  padding: var(--section-pad-y) var(--section-pad-x);
  background: #ffffff;
}
.mh-framework-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.mh-framework .mh-section-title { color: var(--navy-rich); }
.mh-framework .mh-section-sub { color: #64748b; }
.mh-framework .mh-eyebrow { color: var(--royal-blue); }

.mh-framework-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}
.mh-frame-card {
  padding: 30px var(--card-pad);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.mh-frame-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
  border-color: #cbd5e1;
  transform: translateY(-2px);
}
.mh-frame-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.mh-frame-icon-blue { background: rgba(30, 64, 175, 0.08); color: var(--royal-blue); }
.mh-frame-icon-emerald { background: rgba(5, 150, 105, 0.08); color: var(--emerald); }
.mh-frame-icon-gold { background: rgba(217, 119, 6, 0.08); color: var(--gold); }
.mh-frame-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy-rich);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.mh-frame-sub {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.mh-frame-body {
  font-size: 14px;
  color: #64748b;
  line-height: 1.7;
}

/* ============================================
   PRODUCT PROOF GRID — Section 10
   ============================================ */
.mh-proof {
  padding: var(--section-pad-y) var(--section-pad-x);
  background-color: var(--navy-rich);
  background-image: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(139,92,246,0.06), transparent 70%);
}
.mh-proof-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.mh-proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 64px;
}
.mh-proof-panel {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}
.mh-proof-panel-label {
  padding: 12px 20px;
  border-bottom: 1px solid var(--navy-border);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.mh-proof-panel-label .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.mh-proof-panel-label .dot-blue { background: var(--blue-bright); }
.mh-proof-panel-label .dot-emerald { background: var(--emerald); }
.mh-proof-panel-label .dot-gold { background: var(--gold); }

.mh-proof-content {
  padding: 24px 20px;
  min-height: 160px;
  position: relative;
}

/* Panel 1: Interview in progress —
   FIX: the typewriter animation used to grow these elements past their
   min-height while typing, which grew #mh-proof-1's row height and pushed
   everything below (including Trust Architecture) down the page — a
   real, reproducible CLS bug. #mh-proof-1 (this panel only, by ID) now
   gets a fixed height + overflow:hidden so the panel itself can never
   grow, and the two text elements below get fixed heights sized to
   comfortably contain the longest question / the full answer, so text
   animates inside a stable container instead of expanding it. The other
   three .mh-proof-content panels are untouched — this only targets #mh-proof-1. */
#mh-proof-1 {
  height: 210px;
  overflow: hidden;
}
.mh-interview-q {
  font-family: var(--font-body);
  font-size: 13px;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  height: 50px;
  overflow: hidden;
}
.mh-interview-ans {
  background: var(--navy-deep);
  border-radius: var(--radius);
  padding: 12px 14px;
  height: 90px;
  box-sizing: border-box;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  overflow: hidden;
}
.mh-interview-cursor {
  display: inline-block;
  width: 2px;
  height: 12px;
  background: var(--blue-bright);
  animation: blink 0.8s step-end infinite;
  vertical-align: middle;
}

/* Panel 2: Scoring bars */
.mh-score-bars { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.mh-score-bar-row { display: flex; align-items: center; gap: 10px; }
.mh-score-bar-label {
  font-size: 11px;
  color: var(--text-muted);
  width: 120px;
  flex-shrink: 0;
}
.mh-score-bar-track {
  flex: 1;
  height: 8px;
  background: var(--navy-deep);
  border-radius: 4px;
  overflow: hidden;
}
.mh-score-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--blue-bright), var(--emerald));
  width: 0;
  transition: width 1.2s ease;
}
.mh-score-bar-fill.gold-fill {
  background: linear-gradient(90deg, var(--gold), #fbbf24);
}
.mh-score-bar-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--emerald);
  width: 32px;
  text-align: right;
  flex-shrink: 0;
}
.mh-score-bar-num.gold { color: var(--gold); }
.mh-filler-counter {
  font-size: 11px;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  gap: 6px;
}
.mh-filler-counter strong { color: #f87171; }

/* Panel 3: Exit report */
.mh-report-wrap { display: flex; align-items: center; gap: 20px; }
.mh-report-score-ring {
  width: 80px;
  height: 80px;
  position: relative;
  flex-shrink: 0;
}
.mh-report-score-ring svg { transform: rotate(-90deg); }
.mh-report-score-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.mh-report-score-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -1px;
  line-height: 1;
}
.mh-report-score-label { font-size: 10px; color: var(--text-muted); }
.mh-report-points { flex: 1; }
.mh-report-point {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  padding: 4px 0;
  border-bottom: 1px solid var(--white-soft);
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.mh-report-point:last-child { border-bottom: none; }
.mh-report-point.show { opacity: 1; transform: translateX(0); }

/* Panel 4: SVG trend line */
.mh-trend-svg-wrap {
  width: 100%;
  height: 100px;
}
.mh-trend-svg-wrap svg {
  width: 100%;
  height: 100%;
}
.mh-trend-line {
  stroke: var(--blue-bright);
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  transition: stroke-dashoffset 2s ease;
}
.mh-trend-line.animated { stroke-dashoffset: 0; }
.mh-trend-area {
  fill: url(#trendGradient);
  opacity: 0;
  transition: opacity 1s ease 1.8s;
}
.mh-trend-area.animated { opacity: 1; }
.mh-trend-dot {
  fill: var(--blue-bright);
  r: 4;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mh-trend-dot.animated { opacity: 1; }
.mh-trend-label {
  font-size: 10px;
  font-weight: 600;
  fill: var(--text-muted);
}
.mh-trend-val {
  font-size: 10px;
  font-weight: 700;
  fill: var(--white);
}

/* ============================================
   FOOTER
   ============================================ */
.mh-footer {
  padding: 68px 40px 48px;
  background: var(--navy-deep);
  border-top: 1px solid var(--white-border);
}
.mh-footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mh-footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mh-footer-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
}
.mh-footer-name span { color: var(--blue-bright); }
.mh-footer-copy { font-size: 12px; color: var(--text-faint); }
.mh-footer-built { font-size: 12px; color: var(--text-faint); display: flex; align-items: center; gap: 6px; }

/* Footer — new layout */
.mh-footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.mh-footer-brand-col { display: flex; flex-direction: column; gap: 12px; }
.mh-footer-logo { display: flex; align-items: center; gap: 8px; }
.mh-footer-tagline { font-size: 13px; font-weight: 700; color: var(--white); }
.mh-footer-desc { font-size: 12px; color: #8F9BAF; }
.mh-footer-links-col { display: flex; flex-wrap: wrap; gap: 32px 40px; }
.mh-footer-link-group { display: flex; flex-direction: column; gap: 8px; }
.mh-footer-link-heading { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #AEB8C8; margin-bottom: 12px; }
.mh-footer-link { font-size: 13px; color: var(--text-faint); transition: color 0.15s ease; }
.mh-footer-link:hover { color: var(--white); }
.mh-footer-contact-btn { font-size: 13px; color: var(--text-faint); background: none; border: none; cursor: pointer; text-align: left; font-family: var(--font-body); transition: color 0.15s ease; padding: 0; }
.mh-footer-contact-btn:hover { color: var(--white); }
.mh-footer-brand-col-right { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.mh-footer-social { display: flex; gap: 16px; align-items: center; }
.mh-footer-social-link { font-size: 13px; color: var(--text-faint); transition: color 0.15s ease; }
.mh-footer-social-link:hover { color: var(--white); }
.mh-footer-bottom { border-top: 1px solid var(--white-border); padding-top: 20px; margin-top: 40px; }

/* Contact Modal */
.mh-contact-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.mh-contact-modal {
  background: var(--navy-card);
  border: 1px solid var(--white-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 480px;
  width: 90%;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.mh-contact-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  transition: color 0.15s ease;
}
.mh-contact-modal-close:hover { color: var(--white); }
.mh-contact-modal-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.mh-contact-modal-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; }
.mh-contact-form { display: flex; flex-direction: column; gap: 16px; }
.mh-contact-field { display: flex; flex-direction: column; gap: 6px; text-align: left; }
.mh-contact-field label { font-size: 12px; font-weight: 600; color: var(--text-muted); letter-spacing: 0.05em; text-transform: uppercase; }
.mh-contact-field label span { color: var(--text-faint); }
.mh-contact-field input,
.mh-contact-field textarea {
  background: var(--navy-deep);
  border: 1px solid var(--navy-border);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  resize: none;
  transition: border-color 0.2s ease;
}
.mh-contact-field input:focus,
.mh-contact-field textarea:focus { outline: none; border-color: var(--blue-bright); }
.mh-contact-submit {
  background: var(--royal-blue);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  margin-top: 8px;
}
.mh-contact-submit:hover { background: #2563eb; transform: translateY(-1px); }
.mh-contact-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.mh-contact-success {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #10b981;
  font-size: 15px;
  font-weight: 600;
  padding: 20px 0;
}

/* ============================================
   WAITLIST FORM
   ============================================ */
.mh-waitlist {
  padding: 100px 40px;
  background: var(--navy-rich);
  position: relative;
  overflow: hidden;
}
.mh-waitlist::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(30, 64, 175, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.mh-waitlist-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.mh-waitlist-headline {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 16px;
}
.mh-waitlist-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 48px;
  line-height: 1.6;
}
.mh-form { display: flex; flex-direction: column; gap: 16px; }
.mh-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mh-form-group { display: flex; flex-direction: column; text-align: left; }
.mh-form-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.mh-form-label span { color: var(--text-faint); font-weight: 400; text-transform: none; letter-spacing: 0; }
.mh-form-input, .mh-form-select {
  background: var(--navy-card);
  border: 1px solid var(--white-border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
.mh-form-input::placeholder { color: var(--text-faint); }
.mh-form-input:focus, .mh-form-select:focus {
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}
.mh-form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 48px;
  cursor: pointer;
}
.mh-form-select option { background: var(--navy-card); color: var(--text); }
.mh-form-submit {
  background: linear-gradient(135deg, var(--royal-blue), #2563eb);
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  padding: 18px 40px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  width: 100%;
  transition: all 0.2s ease;
  box-shadow: 0 0 30px rgba(30, 64, 175, 0.3);
  margin-top: 8px;
}
.mh-form-submit:hover { transform: translateY(-2px); box-shadow: 0 4px 50px rgba(30, 64, 175, 0.5); }
.mh-form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.mh-form-note { font-size: 12px; color: var(--text-faint); text-align: center; margin-top: 12px; }
.mh-form-success { display: none; text-align: center; padding: 48px 40px; background: rgba(5, 150, 105, 0.08); border: 1px solid rgba(5, 150, 105, 0.25); border-radius: var(--radius-lg); }
.mh-form-success.show { display: block; }
.mh-success-icon {
  width: 64px;
  height: 64px;
  background: rgba(5, 150, 105, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
}
.mh-success-title { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.mh-success-msg { font-size: 15px; color: var(--text-muted); line-height: 1.6; }
.mh-form-error { display: none; font-size: 13px; color: #f87171; background: rgba(248, 113, 113, 0.08); border: 1px solid rgba(248, 113, 113, 0.2); border-radius: var(--radius); padding: 12px 16px; margin-bottom: 8px; }
.mh-form-error.show { display: block; }

/* ============================================
   HOW IT WORKS
   ============================================ */
.mh-howitworks {
  padding: 56px 40px 100px;
  background: var(--navy-deep);
}
.mh-howitworks-inner { max-width: var(--max-w); margin: 0 auto; }
.mh-howitworks-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.mh-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: 60px;
}
.mh-step { flex: 1; max-width: 300px; text-align: center; padding: 0 32px; }
.mh-step-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blue-bright);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.mh-step-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--blue-bright);
}
.mh-step-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.mh-step-desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.mh-step-connector {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--navy-border), transparent);
  align-self: center;
  flex-shrink: 0;
  margin-top: 36px;
}

/* Step icon glow variants */
.mh-step-icon-emerald {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #10B981;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3), 0 0 40px rgba(16, 185, 129, 0.1);
}
.mh-step-icon-blue {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.5);
  color: #3B82F6;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3), 0 0 40px rgba(59, 130, 246, 0.1);
}
.mh-step-icon-purple {
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.5);
  color: #8B5CF6;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3), 0 0 40px rgba(139, 92, 246, 0.1);
}

/* SVG arc connecting steps */
.mh-steps-arc {
  position: absolute;
  top: 50px;
  left: 0;
  width: 100%;
  height: 60px;
  pointer-events: none;
  z-index: 0;
}
.mh-steps {
  position: relative;
}

.mh-step-ctas {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.mh-step-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.mh-step-cta-linkedin {
  background: #0A66C2;
  color: var(--white);
}
.mh-step-cta-linkedin:hover {
  background: #0854a0;
  transform: translateY(-1px);
}
.mh-step-cta-link {
  background: var(--navy-card);
  color: var(--text-muted);
  border: 1px solid var(--navy-border);
}
.mh-step-cta-link:hover {
  color: var(--white);
  border-color: var(--text-faint);
  transform: translateY(-1px);
}

/* Research card CTA — Coming Soon badge */
.mh-res-coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-faint);
  padding: 8px 16px;
  border: 1px dashed var(--navy-border);
  border-radius: 30px;
  cursor: default;
  background: var(--navy-card);
}

/* Integration badges */
.mh-int-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding: 24px 32px;
  background: var(--navy-card);
  border: 1px solid var(--white-border);
  border-radius: 16px;
}
.mh-int-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-bright);
  padding: 8px 18px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 40px;
}

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

/* ============================================
   TRUST BAR — Logo Marquee
   ============================================ */
.mh-trust-bar {
  background: var(--navy-deep);
  padding: 24px 0 20px;
  border-top: 1px solid var(--white-border);
  border-bottom: 1px solid var(--white-border);
  overflow: hidden;
}
.mh-trust-inner { max-width: var(--max-w); margin: 0 auto; text-align: center; }
.mh-trust-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 10px;
}
.logo-marquee-track {
  display: flex;
  gap: 0;
  animation: marquee 60s linear infinite;
  width: max-content;
  padding: 14px 20px;
  align-items: center;
}
.mh-trust-name {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #CBD5E1;
  white-space: nowrap;
}
.mh-trust-sep { color: #475569; margin: 0 8px; }
@media (max-width: 640px) {
  .mh-trust-name { font-size: 13px; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .mh-score-layout { grid-template-columns: 1fr; }
  .mh-recruiter-grid { grid-template-columns: 1fr; }
  .mh-proof-grid { grid-template-columns: 1fr; }
  .mh-audience-grid { grid-template-columns: repeat(3, 1fr); }
    .mh-framework-grid { grid-template-columns: 1fr; }
  .mh-int-grid { grid-template-columns: 1fr 1fr; }
  .mh-nav-links { display: none; }
  .mh-hamburger { display: flex; }
  .mh-nav-actions { margin-left: auto; }
  .mh-nav-cta { font-size: 12px; padding: 8px 16px; }
  .mh-hero-inner { grid-template-columns: 1fr; }
  .mh-hero-mockup-wrap { display: none; }
  .mh-timeline-track { gap: 0; }
}

@media (max-width: 768px) {
  .mh-nav-inner,
  .mh-hero,
  .mh-timeline,
  .mh-arch,
  .mh-integrations,
  .mh-audience,
  .mh-recruiter,
  .mh-framework,
  .mh-proof,
  .mh-howitworks,
  .mh-waitlist,
  .mh-footer { padding-left: 24px; padding-right: 24px; }
  .mh-timeline { padding: 80px 24px; }
  .mh-arch { padding: 80px 24px; }
  .mh-score { padding: 80px 24px; }
  .mh-integrations { padding: 80px 24px; }
  .mh-audience { padding: 80px 24px; }
  .mh-recruiter { padding: 80px 24px; }
  .mh-framework { padding: 80px 24px; }
  .mh-proof { padding: 80px 24px; }
  .mh-nav-inner { padding: 0 24px; }
  .mh-nav-cta { font-size: 11px; padding: 7px 14px; }

  .mh-int-grid { grid-template-columns: 1fr; }
  .mh-audience-grid { grid-template-columns: 1fr; }
    .mh-score-layout { gap: 32px; }
  .mh-form-row { grid-template-columns: 1fr; }
  .mh-footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .mh-hero-actions {
     flex-wrap: wrap;
   }
     .mh-hero-actions .mh-btn-primary,
   .mh-hero-actions .mh-btn-outline {
     width: 100%;
     justify-content: center;
   }
  .mh-steps {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .mh-step { max-width: 100%; padding: 0; }
  .mh-step-connector {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, var(--navy-border), transparent);
    margin: 0 auto;
  }
  .mh-trust-chips {
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
    justify-content: flex-start;
    gap: 0;
    animation: marquee 20s linear infinite;
    width: max-content;
  }
  .mh-trust-inner { position: relative; overflow: hidden; }
  .mh-trust-chips::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 60px;
    background: linear-gradient(90deg, transparent, var(--navy-deep));
  }
  .mh-recruiter-callouts { flex-direction: column; align-items: center; }
}

/* ============================================
   SECTION 11 — CERTIFICATIONS & COMMUNITY
   ============================================ */
.mh-certs {
  padding: var(--section-pad-y) var(--section-pad-x);
  background: var(--navy-deep);
}
.mh-certs-inner { max-width: var(--max-w); margin: 0 auto; }
.mh-certs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 64px;
}
.mh-certs-block {}
.mh-badge-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

/* Badge base */
.mh-badge {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.mh-badge::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.mh-badge-bronze::before { background: linear-gradient(90deg, #b45309, #f59e0b); }
.mh-badge-silver::before { background: linear-gradient(90deg, #94a3b8, #cbd5e1); }
.mh-badge-gold::before { background: linear-gradient(90deg, var(--gold), #fbbf24); }

.mh-badge-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.mh-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(185, 83, 9, 0.15);
  border: 1px solid rgba(185, 83, 9, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f59e0b;
  flex-shrink: 0;
}
.mh-badge-icon-silver {
  background: rgba(148, 163, 184, 0.15);
  border-color: rgba(148, 163, 184, 0.25);
  color: #cbd5e1;
}
.mh-badge-icon-gold {
  background: rgba(217, 119, 6, 0.15);
  border-color: rgba(217, 119, 6, 0.25);
  color: var(--gold);
}
.mh-badge-tier {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: #f59e0b;
}
.mh-badge-tier-silver { color: #cbd5e1; }
.mh-badge-tier-gold { color: var(--gold); }
.mh-badge-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}
.mh-badge-watermark {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 12px;
  opacity: 0.6;
}
.mh-badge-meta {
  display: flex;
  gap: 20px;
}
.mh-badge-field { display: flex; flex-direction: column; gap: 2px; }
.mh-badge-field-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.mh-badge-field-val {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.mh-certs-note {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 24px;
  max-width: 420px;
}

/* Community Hub */
.mh-community-header {
  margin-bottom: 32px;
}
.mh-community-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-bright);
  background: rgba(30, 64, 175, 0.12);
  border: 1px solid rgba(30, 64, 175, 0.2);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.mh-community-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}
.mh-community-stat { display: flex; flex-direction: column; gap: 2px; }
.mh-community-stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -1px;
  line-height: 1;
}
.mh-community-stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

.mh-community-rooms {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.mh-community-room {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  padding: 14px 16px;
  transition: border-color 0.2s ease;
}
.mh-community-room:hover { border-color: rgba(255,255,255,0.12); }
.mh-community-room-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(30, 64, 175, 0.12);
  border: 1px solid rgba(30, 64, 175, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-bright);
  flex-shrink: 0;
}
.mh-community-room-icon-emerald {
  background: rgba(5, 150, 105, 0.1);
  border-color: rgba(5, 150, 105, 0.2);
  color: var(--emerald);
}
.mh-community-room-icon-gold {
  background: rgba(217, 119, 6, 0.1);
  border-color: rgba(217, 119, 6, 0.2);
  color: var(--gold);
}
.mh-community-room-info { flex: 1; }
.mh-community-room-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}
.mh-community-room-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}
.mh-community-room-locked { color: var(--text-faint); flex-shrink: 0; }

.mh-community-blur-overlay {
  position: relative;
  height: 80px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  overflow: hidden;
}
.mh-community-blur-inner {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, var(--navy-card) 60%);
  backdrop-filter: blur(4px);
}

.mh-community-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--emerald);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 0 20px rgba(5, 150, 105, 0.3);
}
.mh-community-cta:hover {
  background: #047857;
  transform: translateY(-1px);
  box-shadow: 0 4px 30px rgba(5, 150, 105, 0.4);
}

/* ============================================
   SECTION 12 — COMPETITIVE MATRIX
   ============================================ */
.mh-matrix {
  padding: var(--section-pad-y) var(--section-pad-x);
  background: var(--navy-rich);
}
.mh-matrix-inner { max-width: var(--max-w); margin: 0 auto; }
.mh-matrix-table-wrap {
  overflow-x: auto;
  margin-top: 64px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--navy-border);
}
.mh-matrix-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
.mh-matrix-th {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: var(--table-pad);
  border-bottom: 1px solid var(--navy-border);
  text-align: left;
}
.mh-matrix-th-label {
  color: var(--text-muted);
  background: var(--navy-deep);
}
.mh-matrix-th-legacy {
  color: var(--text-faint);
  background: var(--navy-deep);
  font-style: italic;
}
.mh-matrix-th-platform {
  color: var(--white);
  background: var(--royal-blue);
  letter-spacing: 0.08em;
}
.mh-matrix-row:nth-child(odd) { background: var(--navy-deep); }
.mh-matrix-row:nth-child(even) { background: var(--navy-rich); }
.mh-matrix-row-last { border-bottom: none; }
.mh-matrix-cell {
  padding: var(--table-pad);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
.mh-matrix-cell-label {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--white);
  font-size: 13px;
}
.mh-matrix-cell-legacy {
  color: var(--text-faint);
  font-style: italic;
}
.mh-matrix-cell-platform {
  border-left: 3px solid var(--royal-blue);
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.mh-matrix-check {
  color: var(--emerald);
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================
   SECTION 13 — RESEARCH CENTER
   ============================================ */
.mh-research {
  padding: var(--section-pad-y) var(--section-pad-x);
  background: var(--light-surface);
}
.mh-research-inner { max-width: var(--max-w); margin: 0 auto; }
.mh-research .mh-section-title { color: var(--navy-rich); }
.mh-research .mh-section-sub { color: #64748b; }
.mh-research .mh-eyebrow { color: var(--royal-blue); }

.mh-research-context {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin: 60px 0;
  padding: 32px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
}
.mh-research-context-left p {
  font-size: 14px;
  color: #475569;
  line-height: 1.7;
}
.mh-research-pullquote blockquote {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  font-style: italic;
  color: var(--royal-blue);
  line-height: 1.4;
  letter-spacing: -0.3px;
  border-left: 4px solid var(--royal-blue);
  padding-left: 24px;
}

.mh-research-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.mh-research-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
}
.mh-research-card:hover {
  box-shadow: 0 12px 48px rgba(0,0,0,0.12);
  transform: translateY(-3px);
}
.mh-res-card-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--navy-deep);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.mh-res-card-thumb-emerald { background: #022c22; }
.mh-res-card-thumb-gold { background: #1c1100; }
.mh-res-chart-line {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  height: 30px;
}
.mh-res-chart-line svg { width: 100%; height: 100%; }
.mh-res-card-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
  align-self: flex-start;
}
.mh-res-tag-blue { background: rgba(30, 64, 175, 0.1); color: var(--royal-blue); }
.mh-res-tag-emerald { background: rgba(5, 150, 105, 0.1); color: var(--emerald); }
.mh-res-tag-gold { background: rgba(217, 119, 6, 0.1); color: var(--gold); }
.mh-res-card-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-rich);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
  line-height: 1.3;
}
.mh-res-card-summary {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}
.mh-res-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--royal-blue);
  transition: gap 0.2s ease;
}
.mh-res-card-cta:hover { gap: 10px; }

/* ============================================
   SECTION 15 — SECURITY & TRUST
   ============================================ */
.mh-security {
  padding: var(--section-pad-y) var(--section-pad-x);
  background: var(--navy-deep);
}
.mh-security-inner { max-width: var(--max-w); margin: 0 auto; }
.mh-security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}
.mh-security-col {
  padding: 40px 32px;
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
}
.mh-security-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.mh-security-icon-blue { background: rgba(30, 64, 175, 0.12); border: 1px solid rgba(30, 64, 175, 0.2); color: var(--blue-bright); }
.mh-security-icon-emerald { background: rgba(5, 150, 105, 0.12); border: 1px solid rgba(5, 150, 105, 0.2); color: var(--emerald); }
.mh-security-icon-gold { background: rgba(217, 119, 6, 0.12); border: 1px solid rgba(217, 119, 6, 0.2); color: var(--gold); }
.mh-security-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.mh-security-body {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}
.mh-security-footer-note {
  font-size: 13px;
  color: var(--text-faint);
  text-align: center;
  margin-top: 48px;
  font-style: italic;
  line-height: 1.6;
}
.mh-security-link {
  color: var(--blue-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mh-security-link:hover { color: var(--white); }

/* ============================================
   SECTION 16 — PRICING MATRIX
   ============================================ */
.mh-pricing {
  padding: var(--section-pad-y) var(--section-pad-x);
  background: var(--white);
}
.mh-pricing-inner { max-width: var(--max-w); margin: 0 auto; }
.mh-pricing .mh-section-title { color: var(--navy-rich); }
.mh-pricing .mh-section-sub { color: #64748b; }
/* No .mh-pricing .mh-eyebrow color override — inherits the shared
   .mh-eyebrow's --blue-bright directly, same as every other page.
   (Previously this was var(--royal-blue), a darker indigo that only
   this section used — that's what was still causing the mismatch
   after the pricing-section.ejs local override was removed.) */

/* ============================================
   EMAIL CAPTURE MODAL
   ============================================ */
.mh-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 30, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.mh-modal {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}
.mh-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
}
.mh-modal-close:hover { color: var(--white); background: var(--white-soft); }
.mh-modal-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.mh-modal-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.5;
}
.mh-modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mh-modal-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mh-modal-field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.mh-modal-field label span { color: var(--text-faint); font-weight: 400; text-transform: none; }
.mh-modal-field input,
.mh-modal-field select {
  background: var(--navy-deep);
  border: 1px solid var(--white-border);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}
.mh-modal-field input::placeholder { color: var(--text-faint); }

/* Small phones — 40px padding on both modals left only ~200px of usable
   width at 320px. Not broken, just cramped; this trims padding on the
   smallest screens only. (audit fix) */
@media (max-width: 480px) {
  .mh-modal,
  .mh-contact-modal {
    padding: 28px 20px;
  }
}
.mh-modal-field input:focus,
.mh-modal-field select:focus {
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}
.mh-modal-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 48px;
  cursor: pointer;
}
.mh-modal-field select option { background: var(--navy-card); color: var(--text); }
.mh-modal-submit {
  background: var(--royal-blue);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  padding: 16px 32px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  width: 100%;
  margin-top: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 0 30px rgba(30, 64, 175, 0.4);
}
.mh-modal-submit:hover { transform: translateY(-1px); box-shadow: 0 4px 40px rgba(30, 64, 175, 0.5); }
.mh-modal-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.mh-modal-success {
  text-align: center;
  padding: 16px 0;
}
.mh-modal-success-icon {
  width: 56px;
  height: 56px;
  background: rgba(5, 150, 105, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.mh-modal-success-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.mh-modal-success-msg {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}
.mh-modal-success-msg span { color: var(--blue-bright); font-weight: 600; }

/* ============================================
   SECTION 17 — FOUNDER BLOCK
   ============================================ */
.mh-founder {
  padding: var(--section-pad-y) var(--section-pad-x);
  background: var(--navy-deep);
}
.mh-founder-inner { max-width: var(--max-w); margin: 0 auto; }
.mh-founder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 56px;
}
.mh-founder-left { }
.mh-founder-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-bright);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.mh-founder-headline {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.8px;
  line-height: 1.2;
  margin-bottom: 32px;
}
.mh-founder-body { display: flex; flex-direction: column; gap: 20px; }
.mh-founder-sub-title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.mh-founder-p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* Right visual */
.mh-founder-right { display: flex; align-items: center; justify-content: center; }
.mh-founder-visual {
  position: relative;
  width: 240px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mh-founder-viz-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: spin-slow 12s linear infinite;
}
.mh-founder-viz-ring-1 {
  width: 240px;
  height: 240px;
  border-color: var(--navy-border);
}
.mh-founder-viz-ring-2 {
  width: 160px;
  height: 160px;
  border-color: var(--navy-border);
  animation-direction: reverse;
  animation-duration: 8s;
}
.mh-founder-viz-ring-3 {
  width: 90px;
  height: 90px;
  border-color: rgba(59, 130, 246, 0.3);
  animation-duration: 5s;
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.mh-founder-viz-center {
  position: relative;
  z-index: 2;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
}
.mh-founder-viz-node {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}
.mh-founder-viz-node span {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #475569;
}
.mh-founder-viz-node-1 { top: 0; left: 50%; transform: translateX(-50%); }
.mh-founder-viz-node-2 { top: 50%; right: 0; transform: translateY(-50%); }
.mh-founder-viz-node-3 { bottom: 0; left: 50%; transform: translateX(-50%); }
.mh-founder-viz-node-4 { top: 50%; left: 0; transform: translateY(-50%); }
.mh-founder-viz-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

/* Triad */
.mh-founder-triad {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.3px;
  text-align: center;
  line-height: 1.4;
  margin-bottom: 20px;
}
/* Sign-off */
.mh-founder-signoff {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-faint);
  text-align: center;
  font-style: italic;
}

/* ============================================
   SECTION 19 — FINAL CTA BANNER
   ============================================ */
.mh-cta-banner {
  background: linear-gradient(135deg, var(--royal-blue), #1D4ED8);
  padding: 80px 40px;
  text-align: center;
}
.mh-cta-banner-inner { max-width: 720px; margin: 0 auto; }
.mh-cta-headline {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1.5px;
  line-height: 1.0;
  margin-bottom: 16px;
}

.mh-cta-subheadline {
  font-family: var(--font-body);
  font-size: 16.5px;
  color: rgba(255,255,255,0.88);
  margin-bottom: 40px;
  line-height: 1.5;
}
.mh-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--royal-blue);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  padding: 13px 30px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 0 30px rgba(255,255,255,0.3);
}
.mh-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 40px rgba(255,255,255,0.4);
}

/* ============================================
   RESPONSIVE — Sections 11–19
   ============================================ */
@media (max-width: 1024px) {
  .mh-certs-grid { grid-template-columns: 1fr; gap: 48px; }
  .mh-security-grid { grid-template-columns: 1fr 1fr; }
  .mh-pricing-cards { grid-template-columns: 1fr 1fr; }
  .mh-institutional-grid { grid-template-columns: 1fr; }
  .mh-founder-grid { grid-template-columns: 1fr; gap: 40px; }
  .mh-founder-left { display: flex; align-items: center; gap: 20px; flex-direction: row; text-align: left; }
  .mh-founder-tag { margin-bottom: 0; }
  .mh-research-cards { grid-template-columns: 1fr; }
  .mh-research-context { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 768px) {
  .mh-certs { padding: 80px 24px; }
  .mh-matrix { padding: 80px 24px; }
  .mh-research { padding: 80px 24px; }
  .mh-security { padding: 80px 24px; }
  .mh-security-grid { grid-template-columns: 1fr; }
  .mh-pricing { padding: 80px 24px; }
  .mh-pricing-cards { grid-template-columns: 1fr; }
  .mh-founder { padding: 80px 24px; }
  .mh-cta-banner { padding: 60px 24px; }
  .mh-founder-grid { grid-template-columns: 1fr; }
  .mh-founder-left { flex-direction: column; text-align: center; }
  .mh-founder-tag { margin-bottom: 16px; }
  .mh-comp-row { flex-wrap: wrap; gap: 4px; justify-content: center; }
  .mh-comp-divider-v { display: none; }
  .mh-step-ctas { gap: 10px; }
  .mh-pricing-toggle { width: 100%; }
  .mh-toggle-btn { flex: 1; text-align: center; }
  .mh-institutional-grid { grid-template-columns: 1fr; }
  .mh-modal { padding: 28px 24px; }
}

/* ============================================
   SECTION — The Experience
   ============================================ */
.mh-experience {
  background: var(--navy-deep);
  padding: 100px 24px;
}
.mh-experience-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.mh-experience-header {
  text-align: center;
  margin-bottom: 56px;
}
.mh-experience-pre {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.mh-experience-heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.mh-experience-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}
.mh-experience-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mh-experience-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: border-color 0.25s;
}
.mh-experience-card:hover {
  border-color: var(--blue-bright);
}
.mh-experience-card-header {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue-bright);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.mh-experience-card-body {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Founder wheel badge */
.mh-founder-viz-badge {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue-bright);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  white-space: nowrap;
  z-index: 10;
}

/* Responsive — experience section */
@media (max-width: 768px) {
  .mh-experience { padding: 80px 24px; }
  .mh-experience-cards { grid-template-columns: 1fr; }
}

/* ============================================
   MEGA MENU — "Platform" nav item
   Appended block, does not modify any existing rule above.
   Reuses existing tokens: --navy-*, --blue-bright, --white-border,
   --font-display, --font-body, --max-w, --radius.
   ============================================ */

/* Trigger button — same visual weight as a .mh-nav-link, but a <button> */
.mh-nav-item-mega { position: relative; }
.mh-nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}
.mh-nav-chevron {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.mh-nav-item-mega.mh-mega-open .mh-nav-chevron { transform: rotate(180deg); }
.mh-nav-item-mega.mh-mega-open .mh-nav-trigger { color: var(--white); background: var(--white-soft); }

/* Panel — frosted glass, drops from the trigger */
.mh-megamenu {
  position: absolute;
  /* Hover dead-zone fix carried forward from the previous round: top: 100%
     (touching, zero gap) instead of a positive offset. Visual spacing is
     handled by padding-top on .mh-megamenu-inner instead, so the hit-test
     area is contiguous from button to panel — combined with this round's
     150ms hover-bridge delay in the JS, this is now double-covered. */
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: 340px;
  background: rgba(7, 10, 19, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
              visibility 220ms;
  z-index: 1000 !important;
}
.mh-nav-item-mega.mh-mega-open .mh-megamenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto !important;
  transform: translateX(-50%) translateY(0);
}

.mh-megamenu-inner {
  padding: 16px;
  padding-top: 24px; /* replaces the old outer gap — same visual spacing, no dead hover zone */
  width: 340px;
}
.mh-megamenu-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.mh-megamenu-divider-row { padding: 6px 12px; }
.mh-megamenu-divider {
  border: none;
  height: 1px;
  background: var(--navy-border);
  margin: 0;
}
.mh-megamenu-item-link {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
}
.mh-megamenu-item-link:hover { color: var(--blue-bright); }

.mh-megamenu-item {
  display: block; /* per spec: block-level anchor, not flex, so translateX(4px) reads cleanly */
  padding: 8px 12px;
  border-radius: 10px;
  transition: background 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.mh-megamenu-item .mh-megamenu-icon,
.mh-megamenu-item .mh-megamenu-text {
  display: inline-block;
  vertical-align: top;
}
.mh-megamenu-item .mh-megamenu-icon { margin-right: 10px; }
.mh-megamenu-item:hover,
.mh-megamenu-item:focus-visible {
  background: rgba(255, 255, 255, 0.04);
  transform: translateX(4px);
}
.mh-megamenu-icon {
  font-size: 18px;
  line-height: 1;
}
.mh-megamenu-text { display: flex; flex-direction: column; gap: 3px; }
.mh-megamenu-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
}
.mh-megamenu-desc {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ============================================
   MOBILE ACCORDION — "Platform" inside the slide-out menu
   ============================================ */
.mh-mobile-accordion { border-bottom: 1px solid var(--white-soft); }
.mh-mobile-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  border-bottom: none; /* parent .mh-mobile-accordion already has the divider */
  cursor: pointer;
  font-family: var(--font-display);
}
.mh-mobile-chevron { transition: transform 0.25s ease; color: var(--text-muted); }
.mh-mobile-accordion-trigger[aria-expanded="true"] .mh-mobile-chevron { transform: rotate(180deg); }

.mh-mobile-accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  display: flex;
  flex-direction: column;
}
.mh-mobile-accordion-panel.mh-mobile-accordion-panel-open {
  max-height: 260px;
  padding-bottom: 8px;
}
.mh-mobile-sublink-divider {
  border: none;
  height: 1px;
  background: var(--white-soft);
  margin: 6px 12px;
}

/* ============================================
   HUB LAYOUT — sticky left-nav + right content panel
   Used by /architecture. Generic — works with however many
   real sections a hub actually has (currently 4 on /architecture).
   ============================================ */
.mh-hub { padding: var(--section-pad-y) var(--section-pad-x); }
.mh-hub-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
}
.mh-hub-nav {
  position: sticky;
  top: 88px; /* clears the 68px fixed nav + breathing room */
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mh-hub-nav-link {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  padding: 9px 14px;
  border-radius: var(--radius);
  border: 1px solid transparent; /* reserved on every state so .active's border never shifts layout */
  outline: none; /* no browser default focus ring on any link — .active/:focus-visible below define the only visible states */
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.mh-hub-nav-link:hover { color: var(--white); background: var(--white-soft); }
.mh-hub-nav-link:focus-visible { color: var(--white); background: var(--white-soft); }
.mh-hub-nav-link.active {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.18), rgba(37, 99, 235, 0.12));
  color: #ffffff;
  border: 1px solid rgba(59, 130, 246, 0.45);
  box-shadow:
    inset 0 0 0 1px rgba(59, 130, 246, 0.08),
    0 0 18px rgba(59, 130, 246, 0.18);
  font-weight: 600;
}
.mh-hub-nav-link.active:focus-visible { background: linear-gradient(180deg, rgba(37, 99, 235, 0.18), rgba(37, 99, 235, 0.12)); }
.mh-hub-content { min-width: 0; }

/* PART 3 fix: destination headings were rendering underneath the fixed
      68px nav on click. scroll-margin-top gives the browser's native scroll
      target (and the existing scrollIntoView() call in the JS below, which
      already respects this CSS property) a clearance offset — no JS change
      needed. 68px nav + ~32px breathing room. */
   #technical-blueprint,
   #journey,
   #framework,
   #proof,
   #trust-architecture,
   #pricing {
     scroll-margin-top: 100px;
   }

@media (max-width: 900px) {
  .mh-hub-inner { grid-template-columns: 1fr; }
  .mh-hub-nav {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 8px;
    margin-bottom: 24px;
    border-bottom: 1px solid #E5E7EB; /* was var(--navy-border) — a dark-theme
      value never updated when this page moved to the light system */
  }
  .mh-hub-nav-link {
    white-space: nowrap;
    border: 1px solid transparent;
    border-bottom: 2px solid transparent;
    border-radius: var(--radius) var(--radius) 0 0;
  }
  .mh-hub-nav-link.active {
    border-color: transparent;
    border-bottom-color: var(--blue-bright);
    box-shadow: none;
  }
}

.mh-mobile-sublink {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--text-muted);
  padding: 10px 12px;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
}
.mh-mobile-sublink:hover { color: var(--white); background: var(--white-soft); }

/* Below 1024px (same breakpoint your hamburger already uses), the desktop
   mega menu never needs to render — nav-links are already display:none there. */
@media (max-width: 1024px) {
  .mh-megamenu { display: none; }
}


/* ============================================
   /WHY PAGE — new section types
   Appended block, does not modify any existing rule.
   Reuses existing tokens throughout: --navy-*, --blue-bright, --white,
   --text-muted, --text-faint, --font-display, --font-body, --max-w,
   --radius, --radius-lg. Section rhythm (padding, alternating background)
   matches the exact pattern used by matrix.ejs / proof.ejs / founder.ejs.
   ============================================ */

/* 01 — Hero — top offset is nav-clearance, a structural need (not a
   parallel spacing scale); bottom uses the same --section-pad-y as
   every other section. Title now reads --hero-h1-size/-tracking
   directly instead of a separate clamp — same scale as the homepage
   hero, post density-pass. */
.mh-why-hero {
  padding: 104px var(--section-pad-x) 53px; /* was 148px .. 76px — top/bottom reduced ~30% per this round's spec */
  background: var(--navy-deep);
  text-align: center;
}
.mh-why-hero-inner { max-width: var(--max-w); margin: 0 auto; }
.mh-why-hero-title {
  font-family: var(--font-display);
  font-size: var(--hero-h1-size);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: var(--hero-h1-tracking);
  margin-bottom: 16px;
}

/* Shared narrow text column — used by sections 02, 03, 04, 07 */
.mh-why-narrow { max-width: 720px; margin: 0 auto; }
.mh-why-body {
  font-family: var(--font-body);
  font-size: var(--body-size); /* was hardcoded 17px — now tracks the 18px global token */
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 18px;
}
.mh-why-body-emphasis {
  color: var(--white);
  font-weight: 600;
}

/* 02 — The Problem */
.mh-why-problem {
  padding: var(--section-pad-y) var(--section-pad-x);
  background: var(--navy-rich);
}

/* 03 — The Paradigm Shift */
.mh-why-shift {
  padding: var(--section-pad-y) var(--section-pad-x);
  background-color: var(--navy-deep);
  background-image: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(20,184,166,0.06), transparent 70%);
}

/* 04 — Core Philosophy (manifesto-style quote) */
.mh-why-philosophy {
  padding: var(--section-pad-y) var(--section-pad-x);
  background-color: var(--navy-rich);
  background-image: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(139,92,246,0.06), transparent 70%);
}
.mh-why-quote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.35;
  color: var(--white);
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
  position: relative;
}
.mh-why-quote-mark {
  display: block;
  font-family: var(--font-display);
  font-size: 64px;
  color: var(--blue-bright);
  line-height: 1;
  margin-bottom: 8px;
}

/* 05 — The Three Pillars */
.mh-why-pillars {
  padding: var(--section-pad-y) var(--section-pad-x);
  background-color: var(--navy-deep);
  background-image: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(59,130,246,0.06), transparent 70%);
}
.mh-why-pillars-inner { max-width: var(--max-w); margin: 0 auto; }
.mh-why-pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.mh-why-pillar-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: var(--card-pad);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.mh-why-pillar-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}
.mh-why-pillar-icon {
  font-size: 28px;
  margin-bottom: 18px;
  color: var(--blue-bright);
}
.mh-why-pillar-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--white);
  margin: 0 0 10px;
}
.mh-why-pillar-desc {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* 06 — Comparison section wrapper. The table itself reuses
   .mh-matrix-table and friends verbatim from the homepage — no new
   table CSS needed, guaranteeing a pixel-identical look. */
.mh-why-compare {
  padding: var(--section-pad-y) var(--section-pad-x);
  background: var(--navy-rich);
}

/* 07 — The Manifesto */
.mh-why-manifesto {
  padding: var(--section-pad-y) var(--section-pad-x);
  background: var(--navy-deep);
}
.mh-why-manifesto-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.5;
  color: var(--white);
  max-width: 760px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .mh-why-hero { padding: 105px 24px 49px; }
  .mh-why-problem, .mh-why-shift, .mh-why-philosophy,
  .mh-why-pillars, .mh-why-compare, .mh-why-manifesto {
    padding-left: 24px;
    padding-right: 24px;
  }
  .mh-why-pillar-grid { grid-template-columns: 1fr; }
}
