/* ============================================
   CRITICAL START DESIGN TOKENS
   ============================================
   Source: D19 Option B "Textured Light" prototype
   Reference: D16 Component Library, D1 Brand Guidelines, D18 Interaction Specs

   These tokens are imported by every component's CSS module.
   Since code components run in Shadow DOM, tokens must be
   explicitly imported — they do not cascade from the page.
   ============================================ */

:host, :host {
  /* Backgrounds — Cool Steel palette (approved 2026-04-21)
     Body and alt-section surfaces carry a subtle blue tint that reads more
     technical/platform-leaning than the previous neutral near-whites. */
  --bg-primary: #F4F8FD;       /* Cool Steel body (was #FAFAFA) */
  --bg-white: #FFFFFF;
  --bg-muted: #EAF1F9;         /* Cool Steel alt-section (was #F4F4F5) */
  --bg-dark: #1E1E1E;
  --bg-charcoal: #121820;      /* Cool Steel near-black (was #343741) — StatRow, Footer, Outcomes, Transparency, dark accordions all inherit */
  --bg-navy: #004C97;
  --dark-section-bg: linear-gradient(135deg, #003A73 0%, #00264A 100%); /* Cool Steel deep-navy band — Final CTA etc. */

  /* Section background recipes (2026-04-29) — the canonical Two-Container Rule
     surfaces. Use these on every <section>: alternate light/dark for the
     dark→light→dark→light scroll rhythm Cameron likes from stripe.com.
     Light: subtle white→cool-steel gradient, almost imperceptible. Dark:
     deep navy gradient. Page bodies prepend the Ambient Background which
     sits over both. */
  --bg-light-section: linear-gradient(180deg, #FFFFFF 0%, #F4F8FD 100%);
  --bg-dark-section: linear-gradient(135deg, #003A73 0%, #00264A 100%); /* Alias of --dark-section-bg, keep both for back-compat */

  /* Text */
  --text-primary: #1E1E1E;
  --text-secondary: #52525B;
  --text-muted: #71717A;
  --text-inverse: #FFFFFF;
  --text-faint: #A1A1AA;
  --text-inverse-muted: rgba(255, 255, 255, 0.55);

  /* Brand blues — consolidated 3-blue palette (2026-04-27)
     Replaces the earlier 5-blue brand set. Three roles:
       --blue-primary  workhorse for CTAs, links, fills, borders, focus on light bg
       --blue-bright   accent + on-dark text. Wordmark, gradient highlight, dark surfaces.
       --blue-deep     navy anchor for gradient endpoints and deep-navy section bands. */
  --blue-bright: #009CDE;          /* Brand blue. AA text on charcoal (5.96:1 on #121820). */
  --blue-primary: #0072B5;         /* AA text on white (5.15:1) and on muted (4.69:1). */
  --blue-primary-hover: #005A91;   /* Hover state for --blue-primary on light surfaces. */
  --blue-deep: #004C97;            /* Navy. Gradient endpoint, dark section accents. */
  --brand-red: #EF3340;
  --brand-red-accessible: #E22C3F;        /* 4.50:1 on white. WCAG AA text. */
  --brand-gradient: linear-gradient(135deg, var(--blue-bright) 0%, var(--blue-deep) 100%);

  /* Accent — CTAs */
  --cta-orange: #FA6614;                  /* 3.01:1 on white — WCAG AA large text */
  --cta-orange-hover: #E55D0F;

  /* Typography */
  --font-body: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Typography Scale — Desktop */
  --display-size: 56px;
  --display-weight: 700;
  --display-line-height: 1.1;

  /* HeroSplit variant — deliberately tighter than --display-size (the
     centered HeroStandard pattern). 2026-04-30: extracted from inline
     font-size declarations so the responsive overrides (44/36 → 40/32)
     are part of the token system, not bespoke @media in the component. */
  --hero-split-display-size: 54px;

  --h2-size: 40px;
  --h2-weight: 700;
  --h2-line-height: 1.2;

  --h3-size: 28px;
  --h3-weight: 600;
  --h3-line-height: 1.25;

  --h4-size: 20px;
  --h4-weight: 600;
  --h4-line-height: 1.3;

  --body-size: 16px;
  --body-weight: 400;
  --body-line-height: 1.6;

  --body-large-size: 18px;
  --body-large-weight: 400;
  --body-large-line-height: 1.6;

  --small-size: 14px;
  --micro-size: 12px;

  /* Spacing */
  --section-pad: 96px;
  --section-pad-tablet: 64px;
  --section-pad-mobile: 48px;
  --container: 1200px;       /* DEFAULT — most sections, body grids */
  --container-narrow: 960px; /* Articles, legal, narrow forms */
  --container-wide: 1440px;  /* Hero rows that benefit from extra breathing room */
  --container-padding: 32px;
  --container-padding-mobile: 20px;

  /* Button geometry (2026-04-29 codification) — three sizes only.
     Compact = pill-shaped header CTAs and inline navigation actions.
     Default = body CTAs (CtaSection, hero primary, form submits).
     Large = reserved for the homepage hero showpiece if needed.
     Pill radius for compact (signals "always-available"); md radius for
     body buttons (signals "deliberate action"). */
  --btn-pad-compact: 7px 14px;
  --btn-pad-default: 14px 32px;
  --btn-pad-large: 18px 40px;
  --btn-radius-pill: 100px;
  --btn-radius-default: var(--radius-sm);
  --btn-font-compact: 14px;
  --btn-font-default: var(--body-size);
  --btn-shadow-orange-rest: 0 1px 2px rgba(250, 102, 20, 0.18);
  --btn-shadow-orange-hover: 0 4px 12px rgba(250, 102, 20, 0.28);

  /* Motion (D18 tokens) */
  --duration-instant: 100ms;
  --duration-fast: 200ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
  --duration-gentle: 800ms;
  --ease-default: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-enter: cubic-bezier(0, 0, 0.2, 1);

  /* Borders — cooler neutral to match Cool Steel palette */
  --border-light: #D6DEE8;     /* Cool Steel (was #E4E4E7) */
  --border-muted: #C4CEDE;     /* Cool Steel (was #D4D4D8) */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  /* Shadows — legacy single-layer (kept for back-compat) */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);

  /* Modern multi-layer elevation system (2026-04-28)
     Stripe-inspired stacked shadows in navy tint. Each elevation level
     uses 2-4 stacked shadows that compound into real-feeling depth. The
     navy tint (rgba 0, 76, 151) makes the shadows feel like part of the
     brand instead of generic gray. Use these in place of --shadow-* on
     all card/container surfaces. */
  --elev-1:
    0 1px 2px rgba(0, 76, 151, 0.04),
    0 4px 12px rgba(0, 76, 151, 0.04);
  --elev-2:
    0 2px 4px rgba(0, 76, 151, 0.06),
    0 8px 20px rgba(0, 76, 151, 0.07),
    0 16px 32px rgba(0, 76, 151, 0.05);
  --elev-3:
    0 4px 8px rgba(0, 76, 151, 0.06),
    0 12px 24px rgba(0, 76, 151, 0.08),
    0 24px 48px rgba(0, 76, 151, 0.10);

  /* Dark variants — for cards on charcoal/navy section backgrounds */
  --elev-1-dark:
    0 1px 2px rgba(0, 0, 0, 0.12),
    0 4px 12px rgba(0, 38, 74, 0.18);
  --elev-2-dark:
    0 2px 4px rgba(0, 0, 0, 0.14),
    0 8px 20px rgba(0, 38, 74, 0.24),
    0 16px 32px rgba(0, 38, 74, 0.20);

  /* Inset highlight for the top edge of cards — the "object catching
     light" detail. Pair with one of the --elev-* shadows. */
  --elev-inset-light: inset 0 1px 0 rgba(255, 255, 255, 0.5);
  --elev-inset-dark: inset 0 1px 0 rgba(255, 255, 255, 0.06);

  /* Standard transition timing for hover states. cubic-bezier(0.4, 0, 0.2, 1)
     is the "natural" feel — quick start, gentle settle. */
  --ease-hover: cubic-bezier(0.4, 0, 0.2, 1);

  /* Interactive card surfaces — Cool Steel gradient (approved 2026-04-21)
     Cooler/more saturated than the prior V2 tokens — pairs with the new
     Cool Steel body tint above. Applied to "selectable" cards that sit on
     the light body surface: Bento Grid tiles, Threat Intelligence Callout
     cards, and (in Phase 2) Industry / Solution / Partner Benefits /
     Related Resources / Differentiator / Threat / Step cards. Do NOT
     apply to Service Portfolio (already dark), Stat Row, Outcomes Ticker,
     Leadership Grid, Integration Logo Bar, or Footer. */
  --gradient-card-rest:      linear-gradient(135deg, #E3EEFB 0%, #C4D8F0 100%);
  --gradient-card-hover:     linear-gradient(135deg, #D4E4F7 0%, #AFC8EA 100%);
  --border-card-blue:        rgba(0, 114, 181, 0.32);
  --border-card-blue-hover:  rgba(0, 114, 181, 0.52);
  --shadow-card-hover:       0 8px 24px rgba(0, 76, 151, 0.14);
}

/* Mobile typography overrides */
@media (max-width: 767px) {
  :host, :host {
    --display-size: 36px;
    --hero-split-display-size: 32px;
    --h2-size: 28px;
    --h3-size: 22px;
    --h4-size: 18px;
    --body-large-size: 17px;
    --section-pad: var(--section-pad-mobile);
    --container-padding: var(--container-padding-mobile);
  }
}

/* Tablet typography overrides */
@media (min-width: 768px) and (max-width: 1199px) {
  :host, :host {
    --display-size: 44px;
    --hero-split-display-size: 40px;
    --h2-size: 34px;
    --h3-size: 24px;
    --section-pad: var(--section-pad-tablet);
  }
}

/* ============================================
   CSS RESET + BASE STYLES
   ============================================
   Imported by components that need a clean baseline.
   Scoped to :host since components run in Shadow DOM.
   ============================================ */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-default);
}

a:not([class]):hover {
  color: var(--blue-primary);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================
   HEADER (C21) — Scoped Styles (MVP)
   ============================================
   Source: D19 Option B homepage prototype
   Spec: D16, D18
   MVP scoping: March 31, 2026
   ============================================ */

/* --- Header Shell ---
   Solid white. Per Cameron 2026-05-07: header is no longer translucent;
   page content must not show through. Border + soft drop-shadow give
   the header bar definition against the page below.

   z-index 10000 sits above the AmbientBackground (9998). */
.Header-module__site-header--VNVCZ {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: box-shadow var(--duration-normal) var(--ease-default),
              border-color var(--duration-normal) var(--ease-default);
}

.Header-module__site-header--VNVCZ.Header-module__scrolled--xoRQr {
  background: #ffffff;
  border-bottom-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.Header-module__site-header--VNVCZ.Header-module__simplified--ibNAE {
  background: #ffffff;
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

/* --- Header Main Row --- */
.Header-module__header-main--xUaYf {
  padding: 0;
  height: 64px;
  display: flex;
  align-items: center;
}

.Header-module__container--dq4oj {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
  gap: 24px;
}

.Header-module__header-main--xUaYf nav {
  margin-right: auto;
}

/* --- Logo --- */
.Header-module__logo--Kmtwb {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.Header-module__logo-img--SfnTk {
  height: 32px;
  width: auto;
  display: block;
}

/* --- Navigation Links --- */
.Header-module__nav-links--q_62s {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}

/* --- Direct Link (no dropdown) --- */
.Header-module__nav-direct--U_XUR {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-default);
}

.Header-module__nav-direct--U_XUR:hover {
  color: var(--text-primary);
}

/* --- Nav Trigger (Dropdown Buttons) --- */
.Header-module__nav-trigger--hrHQR {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
  transition: color var(--duration-fast) var(--ease-default);
}

.Header-module__nav-trigger--hrHQR:hover {
  color: var(--text-primary);
}

.Header-module__nav-chevron--QXwsH {
  width: 10px;
  height: 10px;
  color: currentColor;
  opacity: 0.5;
  transition: transform var(--duration-fast) var(--ease-default);
}

.Header-module__nav-trigger--hrHQR.Header-module__active--GVpdr .Header-module__nav-chevron--QXwsH {
  transform: rotate(180deg);
  opacity: 0.8;
}

.Header-module__nav-trigger--hrHQR.Header-module__active--GVpdr {
  color: var(--text-primary);
}

/* --- Dropdown Wrapper (relative anchor) --- */
.Header-module__nav-dropdown-wrapper--m5c2D {
  position: relative;
}

/* --- Dropdown Panel ---
   Solid white per Cameron 2026-05-07. Multi-layer --elev-3 shadow (the
   highest elevation tier — dropdowns float) gives separation from the
   header bar without any transparency. */
.Header-module__dropdown-panel--nO3Yi {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: 220px;
  background: #ffffff;
  border: 1px solid var(--border-light, rgba(0, 0, 0, 0.08));
  border-radius: var(--radius-md, 8px);
  box-shadow: var(--elev-3);
  padding: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-fast) var(--ease-hover),
              transform var(--duration-fast) var(--ease-hover);
  /* Inside the .site-header stacking context, bumped above sibling
     header content so the panel always paints on top. */
  z-index: 10001;
}

.Header-module__dropdown-panel--nO3Yi.Header-module__open--BK53Z {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* --- Dropdown Item --- */
.Header-module__dropdown-item--TjFj6 {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 6px;
  transition: background var(--duration-fast) var(--ease-default);
  white-space: nowrap;
}

.Header-module__dropdown-item--TjFj6:hover {
  background: var(--bg-muted);
}

.Header-module__external-icon--PQfsr {
  width: 11px;
  height: 11px;
  opacity: 0.4;
  flex-shrink: 0;
}

/* --- Dropdown Overlay (Backdrop) ---
   Sits above the AmbientBackground (z-index 9998) but below the header
   shell (z-index 10000) so the header still floats on top while the
   click-catcher covers all page content beneath it. */
.Header-module__dropdown-overlay--ZXbxP {
  position: fixed;
  inset: 0;
  background: transparent;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-default);
}

.Header-module__dropdown-overlay--ZXbxP.Header-module__visible--prPOI {
  opacity: 1;
  pointer-events: auto;
}

/* --- Header Actions --- */
.Header-module__header-actions--Q27XS {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Neutral ghost pills — Platform + Incident.
   Per Cameron 2026-05-07: blue / red / orange jostling on the header
   reads as cheesy. Demo (orange) is the only brand-color anchor at
   rest. Platform + Incident sit in a quiet neutral language so the
   eye lands on the demo CTA. Incident keeps a tiny red status dot as
   the only urgency cue. */
.Header-module__nav-util--PnbQs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  padding: 7px 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 100px;
  text-decoration: none;
  transition: background var(--duration-fast) var(--ease-default),
              border-color var(--duration-fast) var(--ease-default),
              color var(--duration-fast) var(--ease-default);
}

.Header-module__nav-util--PnbQs:hover {
  color: var(--text-primary);
  background: var(--bg-muted);
  border-color: rgba(0, 0, 0, 0.2);
}

.Header-module__nav-util--PnbQs:focus-visible {
  outline: 2px solid var(--text-primary, #1E1E1E);
  outline-offset: 2px;
}

/* External-page indicator inside Platform button. Inherits text color
   via currentColor; soft opacity so the label leads. */
.Header-module__nav-util-icon--_08_z {
  width: 11px;
  height: 11px;
  color: currentColor;
  opacity: 0.55;
  flex-shrink: 0;
}

.Header-module__nav-incident--MKgHR {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  padding: 7px 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 100px;
  text-decoration: none;
  transition: background var(--duration-fast) var(--ease-default),
              border-color var(--duration-fast) var(--ease-default),
              color var(--duration-fast) var(--ease-default);
}

.Header-module__nav-incident--MKgHR:hover {
  color: var(--text-primary);
  background: var(--bg-muted);
  border-color: rgba(0, 0, 0, 0.2);
}

.Header-module__nav-incident--MKgHR:focus-visible {
  outline: 2px solid var(--text-primary, #1E1E1E);
  outline-offset: 2px;
}

/* Status dot — the only red on the header at rest. 6px circle with a
   soft halo so it reads as "live indicator", not as a button accent.
   Gentle pulse keeps it active without being noisy. */
.Header-module__nav-incident-dot--_ugqu {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-red);
  box-shadow: 0 0 0 0 rgba(239, 51, 64, 0.4);
  flex-shrink: 0;
  animation: Header-module__nav-incident-pulse--CUyFV 2.4s ease-out infinite;
}

@keyframes Header-module__nav-incident-pulse--CUyFV {
  0%   { box-shadow: 0 0 0 0 rgba(239, 51, 64, 0.45); }
  70%  { box-shadow: 0 0 0 6px rgba(239, 51, 64, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 51, 64, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .Header-module__nav-incident-dot--_ugqu {
    animation: none;
  }
}

.Header-module__header-cta--dGxCl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--cta-orange);
  color: var(--text-inverse);
  font-size: 14px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 100px;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background var(--duration-fast) var(--ease-default),
              transform var(--duration-fast) var(--ease-default),
              box-shadow var(--duration-fast) var(--ease-default);
}

.Header-module__header-cta--dGxCl:hover {
  background: var(--cta-orange-hover);
  color: var(--text-inverse);
  box-shadow: 0 4px 12px rgba(255, 106, 20, 0.25);
}

.Header-module__header-cta--dGxCl:active {
  transform: scale(0.98);
  box-shadow: 0 1px 4px rgba(255, 106, 20, 0.2);
}

.Header-module__header-cta--dGxCl:focus-visible {
  outline: 2px solid var(--text-primary, #1E1E1E);
  outline-offset: 2px;
}

/* --- Responsive ---
   2026-04-24: Reworked breakpoints. The prior single-step rule hid the
   entire primary nav at <=1024px with no hamburger fallback, which
   meant any laptop or browser zoom <100% killed navigation. Now we
   compact progressively, then hide utility links to give nav-links
   room, then finally hide nav-links at <=900px (hamburger build
   deferred to Phase 4 responsive sweep — TODO).
*/
@media (max-width: 1280px) {
  .Header-module__nav-links--q_62s {
    gap: 20px;
  }
  .Header-module__nav-direct--U_XUR,
  .Header-module__nav-trigger--hrHQR {
    font-size: 13px;
  }
  .Header-module__container--dq4oj {
    gap: 16px;
    padding: 0 32px;
  }
}

@media (max-width: 1100px) {
  /* Make room for nav-links by hiding utility links earlier */
  .Header-module__nav-util--PnbQs,
  .Header-module__nav-incident--MKgHR {
    display: none;
  }
  .Header-module__nav-links--q_62s {
    gap: 16px;
  }
  .Header-module__nav-direct--U_XUR,
  .Header-module__nav-trigger--hrHQR {
    font-size: 12.5px;
  }
}

/* ===========================================================
   MOBILE NAV (Phase 4 — built 2026-04-30)
   ===========================================================
   Hamburger toggle hidden on desktop; appears at <=900px when the
   primary nav-links list is hidden. Mobile menu panel slides down
   from below the header bar. Two-Container Rule: panel is a frosted
   surface matching the header glass. */

.Header-module__mobile-toggle--DuEHo {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-sm);
  cursor: pointer;
  margin-left: auto;
  transition: border-color var(--duration-fast) var(--ease-hover),
              background var(--duration-fast) var(--ease-hover);
}

.Header-module__mobile-toggle--DuEHo:hover {
  border-color: rgba(0, 0, 0, 0.25);
  background: rgba(0, 0, 0, 0.02);
}

.Header-module__mobile-toggle--DuEHo:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 2px;
}

.Header-module__mobile-toggle-bar--e1ulK {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--duration-fast) var(--ease-hover),
              opacity var(--duration-fast) var(--ease-hover);
}

/* Hamburger → X transform when open */
.Header-module__mobile-toggle--DuEHo.Header-module__open--BK53Z .Header-module__mobile-toggle-bar--e1ulK:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.Header-module__mobile-toggle--DuEHo.Header-module__open--BK53Z .Header-module__mobile-toggle-bar--e1ulK:nth-child(2) {
  opacity: 0;
}
.Header-module__mobile-toggle--DuEHo.Header-module__open--BK53Z .Header-module__mobile-toggle-bar--e1ulK:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Mobile menu panel ---
   Slides down from below the 64px header bar. Frosted glass to match
   the header. Fixed position so it overlays page content. */
.Header-module__mobile-menu--ZJFOY {
  position: fixed;
  top: 64px; /* sits below the header */
  left: 0;
  right: 0;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(40px) saturate(140%);
          backdrop-filter: blur(40px) saturate(140%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--elev-3);
  padding: 24px 24px 32px;
  z-index: 9999; /* under the header (10000) but above page content */
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity var(--duration-normal) var(--ease-hover),
              transform var(--duration-normal) var(--ease-hover);
}

.Header-module__mobile-menu--ZJFOY.Header-module__open--BK53Z {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.Header-module__mobile-menu-nav--bZdYf {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.Header-module__mobile-menu-link--gdHkc {
  display: block;
  padding: 14px 12px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background var(--duration-fast) var(--ease-hover);
}

.Header-module__mobile-menu-link--gdHkc:hover,
.Header-module__mobile-menu-link--gdHkc:focus-visible {
  background: var(--bg-muted);
  outline: none;
}

.Header-module__mobile-menu-group--x60rh {
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
  margin-top: 8px;
}

.Header-module__mobile-menu-group--x60rh:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.Header-module__mobile-menu-group-label--qPmwl {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 12px 4px;
}

.Header-module__mobile-menu-sublink--F8xYv {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 12px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background var(--duration-fast) var(--ease-hover);
}

.Header-module__mobile-menu-sublink--F8xYv:hover,
.Header-module__mobile-menu-sublink--F8xYv:focus-visible {
  background: var(--bg-muted);
  outline: none;
}

/* --- Mobile menu actions (Login + Incident + Demo) --- */
.Header-module__mobile-menu-actions--iAXDm {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 24px;
  margin-top: 16px;
  border-top: 1px solid var(--border-light);
}

.Header-module__mobile-menu-util--rUcqo,
.Header-module__mobile-menu-incident--l7Cvc,
.Header-module__mobile-menu-cta--lJ_i1 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--btn-radius-pill);
  text-decoration: none;
  transition: background var(--duration-fast) var(--ease-hover),
              border-color var(--duration-fast) var(--ease-hover),
              color var(--duration-fast) var(--ease-hover);
}

.Header-module__mobile-menu-util--rUcqo {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid rgba(0, 0, 0, 0.12);
  gap: 8px;
}

.Header-module__mobile-menu-util--rUcqo:hover {
  color: var(--text-primary);
  background: var(--bg-muted);
  border-color: rgba(0, 0, 0, 0.2);
}

.Header-module__mobile-menu-incident--l7Cvc {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid rgba(0, 0, 0, 0.12);
  gap: 10px;
}

.Header-module__mobile-menu-incident--l7Cvc:hover {
  color: var(--text-primary);
  background: var(--bg-muted);
  border-color: rgba(0, 0, 0, 0.2);
}

.Header-module__mobile-menu-cta--lJ_i1 {
  background: var(--cta-orange);
  color: var(--text-inverse);
  border: none;
  box-shadow: var(--btn-shadow-orange-rest);
}

.Header-module__mobile-menu-cta--lJ_i1:hover {
  background: var(--cta-orange-hover);
  box-shadow: var(--btn-shadow-orange-hover);
  color: var(--text-inverse);
}

/* --- Responsive show/hide of mobile chrome --- */
@media (max-width: 900px) {
  /* Hide desktop nav-links (existing behavior preserved) */
  .Header-module__nav-links--q_62s {
    display: none;
  }
  /* Hide desktop CTAs since they live in the mobile menu now */
  .Header-module__header-actions--Q27XS {
    display: none;
  }
  /* Show hamburger toggle */
  .Header-module__mobile-toggle--DuEHo {
    display: inline-flex;
  }
  /* Header keeps its shell — logo + toggle aligned */
  .Header-module__header-main--xUaYf nav {
    margin-right: 0;
  }
}

@media (max-width: 640px) {
  .Header-module__container--dq4oj {
    padding: 0 20px;
  }
  .Header-module__mobile-menu--ZJFOY {
    padding: 20px 16px 28px;
  }
}

