/* =============================================================
   NIMER MIYAAR — Landing Page
   Design System: Neumorphism (Soft UI) — Cool Monochromatic
   Architecture: vanilla, zero build tools, Azure Static Web Apps
   ============================================================= */

/* ── 1. RESET ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote {
  margin: 0; padding: 0;
}
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; border: 0; background: transparent; cursor: pointer; color: inherit; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; color: inherit; }

/* ── 2. DESIGN TOKENS ────────────────────────────────────────── */
:root {
  /* Cool monochromatic palette */
  --bg:                 #E0E5EC;
  --bg-tint-up:         #E8ECF2;
  --bg-tint-down:       #D6DCE5;
  --fg:                 #3D4852;
  --fg-soft:            #4A5562;
  --muted:              #6B7280;
  --placeholder:        #A0AEC0;

  /* Accent palette */
  --accent:             #6C63FF;
  --accent-light:       #8B84FF;
  --accent-dark:        #4F46E5;
  --accent-secondary:   #38B2AC;
  --accent-secondary-light: #4FD1C7;

  /* Shadow chroma — the heart of the system */
  --sh-light:           rgba(255, 255, 255, 0.6);
  --sh-light-soft:      rgba(255, 255, 255, 0.5);
  --sh-dark:            rgba(163, 177, 198, 0.6);
  --sh-dark-strong:     rgba(163, 177, 198, 0.7);

  /* The seven canonical shadows */
  --neu-extruded:       9px 9px 16px var(--sh-dark), -9px -9px 16px var(--sh-light-soft);
  --neu-extruded-hover: 12px 12px 22px var(--sh-dark-strong), -12px -12px 22px var(--sh-light);
  --neu-extruded-sm:    5px 5px 10px var(--sh-dark), -5px -5px 10px var(--sh-light-soft);
  --neu-extruded-lg:    16px 16px 30px var(--sh-dark-strong), -16px -16px 30px var(--sh-light);
  --neu-inset:          inset 6px 6px 10px var(--sh-dark), inset -6px -6px 10px var(--sh-light-soft);
  --neu-inset-deep:     inset 10px 10px 20px var(--sh-dark-strong), inset -10px -10px 20px var(--sh-light);
  --neu-inset-sm:       inset 3px 3px 6px var(--sh-dark), inset -3px -3px 6px var(--sh-light-soft);

  /* Accent shadows (for primary buttons) */
  --neu-accent:         9px 9px 16px rgba(108, 99, 255, 0.35), -9px -9px 16px rgba(255, 255, 255, 0.4);
  --neu-accent-hover:   12px 12px 22px rgba(108, 99, 255, 0.45), -12px -12px 22px rgba(255, 255, 255, 0.5);
  --neu-accent-press:   inset 3px 3px 6px rgba(70, 60, 200, 0.5), inset -3px -3px 6px rgba(140, 130, 255, 0.4);

  /* Radii */
  --r-hero:             40px;
  --r-card:             32px;
  --r-md:               24px;
  --r-base:             16px;
  --r-sm:               12px;
  --r-pill:             9999px;

  /* Typography */
  --font-display:       'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body:          'DM Sans', system-ui, sans-serif;

  /* Spacing rhythm */
  --space-xs:           0.5rem;
  --space-sm:           1rem;
  --space-md:           1.5rem;
  --space-lg:           2.5rem;
  --space-xl:           4rem;
  --space-2xl:          6rem;
  --space-3xl:          8rem;

  /* Layout */
  --container-max:      1240px;
  --nav-h:              80px;

  /* Transitions */
  --t-fast:             180ms ease-out;
  --t-base:             300ms ease-out;
  --t-slow:             500ms ease-out;
}

/* ── 3. BASE TYPOGRAPHY ──────────────────────────────────────── */
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--fg);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--fg);
  line-height: 1.1;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.015em; font-weight: 700; }
h4 { font-size: 1.25rem; letter-spacing: -0.01em; font-weight: 700; }

p { color: var(--fg-soft); line-height: 1.7; }

.lead { font-size: 1.125rem; line-height: 1.65; color: var(--muted); max-width: 620px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0.5rem 1rem;
  border-radius: var(--r-pill);
  background: var(--bg);
  box-shadow: var(--neu-inset-sm);
}

.text-accent { color: var(--accent); }
.text-teal   { color: var(--accent-secondary); }
.text-muted  { color: var(--muted); }

em.script {
  font-style: italic;
  font-weight: 700;
  color: var(--accent);
}
em.script-teal {
  font-style: italic;
  font-weight: 700;
  color: var(--accent-secondary);
}

/* ── 4. LAYOUT PRIMITIVES ────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: var(--space-2xl) 0; }
.section-lg { padding: var(--space-3xl) 0; }
.section-sm { padding: var(--space-xl) 0; }

/* ── 5. BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 56px;
  padding: 0 1.75rem;
  border-radius: var(--r-base);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.005em;
  background: var(--bg);
  color: var(--fg);
  box-shadow: var(--neu-extruded);
  transition: transform var(--t-base), box-shadow var(--t-base), color var(--t-base);
  white-space: nowrap;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--neu-extruded-hover);
  color: var(--accent);
}
.btn:active {
  transform: translateY(0.5px);
  box-shadow: var(--neu-inset-sm);
}
.btn:focus-visible {
  outline: none;
  box-shadow: var(--neu-extruded), 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--neu-accent);
}
.btn-primary:hover {
  background: var(--accent-light);
  color: #fff;
  box-shadow: var(--neu-accent-hover);
  transform: translateY(-1px);
}
.btn-primary:active {
  background: var(--accent-dark);
  box-shadow: var(--neu-accent-press);
  transform: translateY(0.5px);
}

.btn .btn-arrow {
  width: 14px;
  height: 14px;
  transition: transform var(--t-base);
}
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ── 6. NAVIGATION ───────────────────────────────────────────── */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(224, 229, 236, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: padding var(--t-base);
}
.nav-wrap.scrolled { padding: 0.5rem 0; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg);
  padding: 0.75rem 0.75rem 0.75rem 1.5rem;
  border-radius: var(--r-pill);
  box-shadow: var(--neu-extruded);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.015em;
  color: var(--fg);
}
.nav-brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--bg);
  box-shadow: var(--neu-extruded-sm);
  display: grid;
  place-items: center;
  color: var(--accent);
}
.nav-brand-name { line-height: 1; }
.nav-brand-name small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.25rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  padding: 0.65rem 1.1rem;
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg-soft);
  transition: color var(--t-base), background var(--t-base);
}
.nav-links a:hover {
  color: var(--accent);
}

.nav-cta {
  height: 44px;
  padding: 0 1.25rem;
  font-size: 0.875rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: var(--bg);
  box-shadow: var(--neu-extruded-sm);
  align-items: center;
  justify-content: center;
  color: var(--fg);
  transition: box-shadow var(--t-base);
}
.nav-toggle:active { box-shadow: var(--neu-inset-sm); }
.nav-toggle svg { width: 22px; height: 22px; }

.nav-mobile {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 1.5rem;
  right: 1.5rem;
  background: var(--bg);
  border-radius: var(--r-card);
  box-shadow: var(--neu-extruded);
  padding: 1rem;
  flex-direction: column;
  gap: 0.25rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 0.9rem 1.25rem;
  border-radius: var(--r-base);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--fg-soft);
}
.nav-mobile a:hover { background: var(--bg); box-shadow: var(--neu-inset-sm); color: var(--accent); }
.nav-mobile .btn { margin-top: 0.5rem; width: 100%; }

/* ── 7. HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 5rem 0 6rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-secondary);
  box-shadow: 0 0 12px rgba(56, 178, 172, 0.6);
}

.hero h1 {
  margin-bottom: 1.5rem;
  font-weight: 800;
}
.hero h1 .accent-block {
  display: inline-block;
  background: var(--bg);
  padding: 0 0.5rem;
  border-radius: var(--r-base);
  box-shadow: var(--neu-inset);
  margin: 0 0.25rem;
  color: var(--accent);
}

.hero .lead {
  font-size: 1.2rem;
  max-width: 540px;
  margin-bottom: 2.25rem;
  color: var(--fg-soft);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.85rem 1.5rem 0.85rem 1rem;
  background: var(--bg);
  border-radius: var(--r-pill);
  box-shadow: var(--neu-inset-sm);
  width: fit-content;
}
.hero-trust-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: var(--neu-extruded-sm);
  display: grid;
  place-items: center;
  color: var(--accent-secondary);
}
.hero-trust-text {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg-soft);
}
.hero-trust-text strong { font-weight: 700; color: var(--fg); }

/* The Maturity Dial — hero centerpiece */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1 / 1;
  margin-left: auto;
  justify-self: end;
}
.maturity-dial {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: var(--neu-extruded-lg);
  padding: 7%;
}
.maturity-dial-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: var(--neu-inset-deep);
  display: grid;
  place-items: center;
  padding: 10%;
  position: relative;
}
.maturity-dial-core {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: var(--neu-extruded);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  position: relative;
}
.maturity-dial-core::before {
  content: '';
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  box-shadow: var(--neu-inset-sm);
  pointer-events: none;
}
.maturity-dial-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}
.maturity-dial-value {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}
.maturity-dial-sub {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.5rem;
  position: relative;
  z-index: 1;
}

/* Orbiting MIL chips around the dial */
.mil-chip {
  position: absolute;
  background: var(--bg);
  box-shadow: var(--neu-extruded-sm);
  padding: 0.6rem 1rem;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}
.mil-chip .mil-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: var(--neu-inset-sm);
}
.mil-chip.mil-1 { top: 4%; left: -6%; }
.mil-chip.mil-1 .mil-dot { background: #C7D2DE; }
.mil-chip.mil-2 { top: 44%; right: -10%; }
.mil-chip.mil-2 .mil-dot { background: var(--accent-secondary); }
.mil-chip.mil-3 { bottom: 4%; left: -2%; }
.mil-chip.mil-3 .mil-dot { background: var(--accent); }

.hero-deco {
  position: absolute;
  border-radius: 50%;
  background: var(--bg);
}
.hero-deco-1 {
  width: 220px;
  height: 220px;
  top: -8%;
  right: -8%;
  box-shadow: var(--neu-inset);
  opacity: 0.5;
  z-index: -1;
}
.hero-deco-2 {
  width: 110px;
  height: 110px;
  bottom: -2%;
  right: 35%;
  box-shadow: var(--neu-extruded-sm);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ── 8. STATS BAR ────────────────────────────────────────────── */
.stats-bar {
  padding: 1rem 0 5rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  background: var(--bg);
  border-radius: var(--r-card);
  padding: 2rem;
  box-shadow: var(--neu-inset);
}
.stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: var(--r-md);
  background: var(--bg);
  box-shadow: var(--neu-extruded-sm);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.stat-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--neu-extruded);
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ── 9. SECTION HEADERS ──────────────────────────────────────── */
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--space-xl);
}
.section-head .eyebrow { margin-bottom: 1.5rem; }
.section-head h2 { margin-bottom: 1.25rem; }
.section-head p {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0 auto;
}

/* ── 10. FEATURES GRID ───────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--bg);
  border-radius: var(--r-card);
  padding: 2.25rem;
  box-shadow: var(--neu-extruded);
  transition: transform var(--t-base), box-shadow var(--t-base);
  position: relative;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--neu-extruded-hover);
}

.feature-icon-well {
  width: 72px;
  height: 72px;
  border-radius: var(--r-base);
  background: var(--bg);
  box-shadow: var(--neu-inset-deep);
  display: grid;
  place-items: center;
  color: var(--accent);
  margin-bottom: 1.5rem;
  position: relative;
}
.feature-icon-well svg { width: 30px; height: 30px; }
.feature-icon-well::after {
  content: '';
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: var(--neu-extruded-sm);
  z-index: 0;
  display: none;
}

.feature-card h4 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}
.feature-card p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--r-pill);
  background: var(--bg);
  box-shadow: var(--neu-inset-sm);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.feature-tag .tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.feature-tag.tag-v1 .tag-dot { background: var(--accent-secondary); }
.feature-tag.tag-v1 { color: var(--accent-secondary); }
.feature-tag.tag-v2 .tag-dot { background: var(--accent); }
.feature-tag.tag-v2 { color: var(--accent); }

/* ── 11. THE JOURNEY (Stepper) ───────────────────────────────── */
.journey {
  background: var(--bg);
}
.journey-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
.journey-track::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 8%;
  right: 8%;
  height: 6px;
  border-radius: var(--r-pill);
  background: var(--bg);
  box-shadow: var(--neu-inset-sm);
  z-index: 0;
}
.journey-step {
  position: relative;
  z-index: 1;
  text-align: center;
}
.journey-node {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: var(--neu-extruded);
  display: grid;
  place-items: center;
  position: relative;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.journey-node-inner {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: var(--neu-inset);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--accent);
}
.journey-step:hover .journey-node {
  transform: translateY(-2px);
  box-shadow: var(--neu-extruded-hover);
}
.journey-step h4 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}
.journey-step p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: 200px;
  margin: 0 auto;
}

/* ── 12. C2M2 DOMAINS GRID ───────────────────────────────────── */
.domains-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
.domain-tile {
  background: var(--bg);
  border-radius: var(--r-md);
  padding: 1.75rem 1.25rem;
  box-shadow: var(--neu-extruded-sm);
  transition: transform var(--t-base), box-shadow var(--t-base);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.domain-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--neu-extruded);
}
.domain-tile:hover .domain-tile-abbr { color: var(--accent); }

.domain-tile-glyph {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: var(--neu-inset);
  display: grid;
  place-items: center;
  color: var(--accent);
}
.domain-tile-glyph svg { width: 22px; height: 22px; }
.domain-tile-abbr {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
  color: var(--fg);
  transition: color var(--t-base);
}
.domain-tile-name {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ── 13. AUDIENCE SPLIT ──────────────────────────────────────── */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}
.audience-card {
  background: var(--bg);
  border-radius: var(--r-card);
  padding: 3rem 2.5rem;
  box-shadow: var(--neu-extruded);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.audience-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--neu-extruded-hover);
}
.audience-card-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--bg);
  border-radius: var(--r-pill);
  box-shadow: var(--neu-inset-sm);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.audience-card.teal .audience-card-eyebrow { color: var(--accent-secondary); }
.audience-card h3 {
  font-size: 1.85rem;
  margin-bottom: 1.25rem;
}
.audience-card > p {
  margin-bottom: 1.75rem;
  font-size: 1rem;
  color: var(--muted);
}
.audience-list { display: flex; flex-direction: column; gap: 1rem; }
.audience-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg);
  border-radius: var(--r-base);
  box-shadow: var(--neu-inset-sm);
}
.audience-item-mark {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  background: var(--bg);
  box-shadow: var(--neu-extruded-sm);
  display: grid;
  place-items: center;
  color: var(--accent);
}
.audience-card.teal .audience-item-mark { color: var(--accent-secondary); }
.audience-item-mark svg { width: 16px; height: 16px; }
.audience-item-text {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--fg-soft);
}
.audience-item-text strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.15rem;
}

/* ── 14. CTA BLOCK ───────────────────────────────────────────── */
.cta {
  padding: var(--space-2xl) 0 var(--space-3xl);
}
.cta-card {
  background: var(--bg);
  border-radius: var(--r-hero);
  padding: 4.5rem 4rem;
  box-shadow: var(--neu-extruded-lg);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-card-deco {
  position: absolute;
  border-radius: 50%;
  background: var(--bg);
  pointer-events: none;
}
.cta-card-deco-1 {
  width: 280px;
  height: 280px;
  top: -120px;
  left: -120px;
  box-shadow: var(--neu-inset);
  opacity: 0.6;
}
.cta-card-deco-2 {
  width: 180px;
  height: 180px;
  bottom: -90px;
  right: -50px;
  box-shadow: var(--neu-extruded);
  opacity: 0.5;
}
.cta-card .eyebrow { margin-bottom: 1.5rem; }
.cta-card h2 {
  margin-bottom: 1.25rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.cta-card .lead {
  margin: 0 auto 2.5rem;
  font-size: 1.125rem;
}
.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

/* ── 15. FOOTER ──────────────────────────────────────────────── */
.footer {
  padding: 3rem 0 2.5rem;
  background: var(--bg);
}
.footer-card {
  background: var(--bg);
  border-radius: var(--r-card);
  padding: 2.5rem;
  box-shadow: var(--neu-inset-sm);
}
.footer-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 320px;
}
.footer-col h5 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a {
  font-size: 0.9rem;
  color: var(--muted);
  transition: color var(--t-base);
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(163, 177, 198, 0.2);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.footer-bottom .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  background: var(--bg);
  border-radius: var(--r-pill);
  box-shadow: var(--neu-extruded-sm);
  font-size: 0.78rem;
  font-weight: 500;
}

/* ── 16. SCROLL REVEAL ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease-out, transform 700ms ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.d1 { transition-delay: 100ms; }
.reveal.d2 { transition-delay: 200ms; }
.reveal.d3 { transition-delay: 300ms; }
.reveal.d4 { transition-delay: 400ms; }
.reveal.d5 { transition-delay: 500ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-deco-2 { animation: none; }
  html { scroll-behavior: auto; }
}

/* ── 17. RESPONSIVE BREAKPOINTS ──────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { max-width: 440px; margin: 0 auto; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .domains-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-row { grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
  .footer-col.hide-md { display: none; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav { padding: 0.5rem 0.5rem 0.5rem 1rem; }
  .nav-brand-name { font-size: 1rem; }
  .nav-brand-name small { display: none; }

  .section, .section-lg { padding: var(--space-xl) 0; }
  .hero { padding: 3rem 0 4rem; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); padding: 1.25rem; gap: 1rem; }
  .features-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .feature-card { padding: 1.75rem; }

  .journey-track { grid-template-columns: 1fr; gap: 2rem; }
  .journey-track::before { display: none; }
  .journey-step { display: grid; grid-template-columns: 72px 1fr; gap: 1.25rem; text-align: left; align-items: center; }
  .journey-node { margin: 0; }
  .journey-step p { max-width: none; }

  .domains-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-card { padding: 2rem 1.5rem; }

  .cta-card { padding: 3rem 1.75rem; }
  .footer-card { padding: 1.75rem; }
  .footer-row { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .mil-chip.mil-1 { top: 5%; left: 0%; }
  .mil-chip.mil-2 { top: 45%; right: 0%; }
  .mil-chip.mil-3 { bottom: 5%; left: 8%; }
}

@media (max-width: 480px) {
  .hero h1 .accent-block { padding: 0 0.35rem; }
  .domain-tile { padding: 1.25rem 0.75rem; }
  .mil-chip { font-size: 0.65rem; padding: 0.45rem 0.75rem; }
}

/* ── 18. MODAL SYSTEM ────────────────────────────────────────── */

/* Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 5vh 1.5rem 3vh;
  background: rgba(180, 195, 215, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease-out;
}
.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.modal-overlay[hidden] { display: none; }

/* Card */
.modal-card {
  position: relative;
  width: 100%;
  background: var(--bg);
  border-radius: var(--r-hero);
  padding: 3.5rem 3rem 3rem;
  box-shadow: var(--neu-extruded-lg);
  transform: translateY(20px) scale(0.97);
  opacity: 0;
  transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 220ms ease-out;
}
.modal-overlay.is-open .modal-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.modal-card--standard { max-width: 640px; }
.modal-card--wide { max-width: 1080px; padding: 3.5rem 3rem 2.5rem; }

/* Close button */
.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: var(--neu-extruded-sm);
  display: grid;
  place-items: center;
  color: var(--fg-soft);
  transition: box-shadow var(--t-base), color var(--t-base), transform var(--t-base);
  z-index: 2;
}
.modal-close:hover {
  color: var(--accent);
  transform: rotate(90deg);
  box-shadow: var(--neu-extruded);
}
.modal-close:active {
  box-shadow: var(--neu-inset-sm);
  transform: rotate(90deg) scale(0.95);
}
.modal-close svg { width: 18px; height: 18px; }

/* Modal head */
.modal-head { margin-bottom: 2rem; max-width: 100%; }
.modal-head .eyebrow { margin-bottom: 1.25rem; }
.modal-head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 1rem;
}
.modal-head p {
  font-size: 1rem;
  color: var(--muted);
  max-width: 620px;
  line-height: 1.65;
}

/* Sign-in two-column grid */
.signin-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.25rem;
  margin-top: 0.5rem;
}
.signin-step-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.signin-step-label [data-bind="surface-name"] { color: var(--fg); }

/* Surface options */
.surface-options { display: flex; flex-direction: column; gap: 1rem; }
.surface-option {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.25rem;
  align-items: flex-start;
  text-align: left;
  background: var(--bg);
  border-radius: var(--r-card);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--neu-extruded-sm);
  transition: box-shadow var(--t-base), transform var(--t-base);
  cursor: pointer;
  width: 100%;
}
.surface-option:hover {
  transform: translateY(-1px);
  box-shadow: var(--neu-extruded);
}
.surface-option.is-selected,
.surface-option.is-selected:hover {
  box-shadow: var(--neu-inset);
  transform: translateY(0);
}
.surface-option:focus-visible {
  outline: none;
  box-shadow: var(--neu-extruded-sm), 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);
}
.surface-option.is-selected:focus-visible {
  box-shadow: var(--neu-inset), 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);
}

.surface-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  background: var(--bg);
  box-shadow: var(--neu-extruded-sm);
  display: grid;
  place-items: center;
  transition: box-shadow var(--t-base);
}
.surface-icon svg { width: 22px; height: 22px; }
.surface-option[data-surface="client"] .surface-icon { color: var(--accent-secondary); }
.surface-option[data-surface="provider"] .surface-icon { color: var(--accent); }
.surface-option.is-selected .surface-icon { box-shadow: var(--neu-inset-sm); }

.surface-body { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.surface-tag {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.surface-option[data-surface="client"] .surface-tag { color: var(--accent-secondary); }
.surface-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--fg);
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.surface-desc {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted);
  margin-top: 0.15rem;
}
.surface-roles {
  margin-top: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
}

/* Sign-in form card */
.signin-form-card {
  background: var(--bg);
  border-radius: var(--r-card);
  padding: 1.75rem;
  box-shadow: var(--neu-extruded);
  margin-bottom: 1.5rem;
}
.signin-form-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(163, 177, 198, 0.25);
}
.signin-form-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: var(--bg);
  box-shadow: var(--neu-inset-sm);
  display: grid;
  place-items: center;
  color: var(--accent);
  flex-shrink: 0;
  transition: color var(--t-base);
}
.signin-form-icon svg { width: 20px; height: 20px; }
.signin-form-id { display: flex; flex-direction: column; gap: 0.2rem; }
.signin-form-prelabel {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  transition: color var(--t-base);
}
.signin-form-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--fg);
}
.signin-form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.signin-forgot {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--t-base);
}
.signin-forgot:hover { color: var(--accent); }

.signin-error {
  display: none;
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  background: var(--bg);
  border-radius: var(--r-base);
  box-shadow: var(--neu-inset-sm);
  font-size: 0.85rem;
  color: var(--fg-soft);
  line-height: 1.55;
}
.signin-error.is-visible { display: block; }
.signin-error strong { color: var(--accent); font-weight: 700; }

/* Provision panel */
.provision-panel {
  background: var(--bg);
  border-radius: var(--r-card);
  padding: 1.75rem;
  box-shadow: var(--neu-inset-sm);
}
.provision-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.provision-panel h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.provision-panel p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.provision-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.provision-actions .btn {
  height: 44px;
  font-size: 0.85rem;
  padding: 0 1.25rem;
}

/* Form fields */
.modal-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-field { display: flex; flex-direction: column; gap: 0.5rem; }
.form-field label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-field-hint {
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: none;
  color: var(--placeholder);
  font-size: 0.78rem;
  margin-left: 0.35rem;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  background: var(--bg);
  border: 0;
  border-radius: var(--r-base);
  padding: 0.95rem 1.15rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--fg);
  box-shadow: var(--neu-inset-sm);
  transition: box-shadow var(--t-base);
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--placeholder);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  box-shadow: var(--neu-inset), 0 0 0 2px var(--bg), 0 0 0 3px var(--accent-light);
}
.form-field textarea {
  resize: vertical;
  min-height: 96px;
  line-height: 1.55;
}
.form-field.is-invalid input,
.form-field.is-invalid textarea,
.form-field.is-invalid select {
  box-shadow: var(--neu-inset-sm), 0 0 0 2px var(--bg), 0 0 0 3px #E11D48;
}

/* Select wrapper */
.form-select { position: relative; }
.form-select select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 2.75rem;
  cursor: pointer;
}
.form-select-caret {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
}

/* Form foot */
.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}
.form-privacy {
  font-size: 0.75rem;
  color: var(--muted);
  max-width: 340px;
  line-height: 1.55;
  margin: 0;
}
.form-submit { flex-shrink: 0; }

/* Success state */
.modal-success {
  text-align: center;
  padding: 1rem 1rem 0;
}
.modal-success-mark {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: var(--neu-extruded);
  display: grid;
  place-items: center;
  color: var(--accent-secondary);
  margin: 0 auto 1.5rem;
}
.modal-success-mark svg { width: 32px; height: 32px; }
.modal-success h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.modal-success p {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 1.75rem;
}
.modal-success-actions {
  display: inline-flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Body scroll lock */
body.modal-open { overflow: hidden; }

/* Modal responsive */
@media (max-width: 960px) {
  .modal-card--wide { max-width: 640px; }
  .signin-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 640px) {
  .modal-overlay { padding: 2vh 0.75rem; }
  .modal-card { border-radius: var(--r-card); padding: 3rem 1.5rem 2rem; }
  .modal-card--wide { padding: 3rem 1.25rem 2rem; }
  .modal-close { top: 0.85rem; right: 0.85rem; width: 40px; height: 40px; }
  .modal-head h2 { font-size: 1.6rem; }
  .modal-head p { font-size: 0.95rem; }
  .form-row { grid-template-columns: 1fr; }
  .surface-option { grid-template-columns: 44px 1fr; gap: 1rem; padding: 1.25rem; }
  .surface-icon { width: 44px; height: 44px; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .form-privacy { max-width: none; }
  .form-submit { width: 100%; }
  .provision-actions .btn { width: 100%; }
  .signin-form-foot { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .signin-form-foot .btn { width: 100%; }
  .signin-forgot { text-align: center; }
}
