/* ============================================================
   OAP Software & Development LLC — Design System
   Intelligence-grade: deep navy #0C1A40, cyan accent #5AC8FF
   ============================================================ */

/* ---------- Type scale ---------- */
:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.82rem + 0.25vw, 0.9375rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.3rem + 2.6vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1.2rem + 4vw, 4.75rem);

  /* Spacing */
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem;
  --space-4: 1rem; --space-5: 1.25rem; --space-6: 1.5rem;
  --space-8: 2rem; --space-10: 2.5rem; --space-12: 3rem;
  --space-16: 4rem; --space-20: 5rem; --space-24: 6rem; --space-32: 8rem;

  --radius-sm: 0.375rem; --radius-md: 0.5rem; --radius-lg: 0.75rem;
  --radius-xl: 1rem; --radius-full: 9999px;

  --transition-interactive: 200ms cubic-bezier(0.16, 1, 0.3, 1);

  --content-narrow: 680px;
  --content-default: 1040px;
  --content-wide: 1280px;

  --font-display: 'Cabinet Grotesk', 'General Sans', system-ui, sans-serif;
  --font-body: 'Satoshi', 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

/* ---------- Dark (default for an intelligence product) ---------- */
/* OAP brand: accent #5AC8FF (electric cyan), deep navy #0C1A40 */
:root,
[data-theme='dark'] {
  --color-bg: #0a142e;
  --color-surface: #0c1a40;
  --color-surface-2: #102350;
  --color-surface-offset: #14285c;
  --color-divider: #1c3266;
  --color-border: #243d72;
  --color-border-strong: #34518f;

  --color-text: #eaf1fb;
  --color-text-muted: #9db0d0;
  --color-text-faint: #607299;
  --color-text-inverse: #0a142e;

  --color-primary: #5ac8ff;          /* electric cyan (brand) */
  --color-primary-hover: #84d8ff;
  --color-primary-active: #36a8e6;
  --color-primary-soft: rgba(90, 200, 255, 0.13);
  --color-primary-border: rgba(90, 200, 255, 0.38);

  --color-accent-2: #4a9eff;         /* signal blue, data-viz */
  --color-success: #4ade80;
  --color-warning: #f5a623;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.45);
  --shadow-md: 0 8px 24px rgba(2,8,24,0.5);
  --shadow-lg: 0 24px 60px rgba(2,8,24,0.6);
  --shadow-glow: 0 0 0 1px var(--color-primary-border), 0 0 40px rgba(90,200,255,0.14);

  --grid-line: rgba(120, 160, 220, 0.06);
}

/* ---------- Light mode ---------- */
/* On light surfaces the bright cyan is reserved for fills/glows; a deeper
   ocean-blue primary carries text/links so contrast stays accessible (AA). */
[data-theme='light'] {
  --color-bg: #f4f7fc;
  --color-surface: #ffffff;
  --color-surface-2: #eef3fa;
  --color-surface-offset: #e7eef8;
  --color-divider: #dbe4f1;
  --color-border: #cdd9ea;
  --color-border-strong: #aebfda;

  --color-text: #0c1a40;
  --color-text-muted: #46587e;
  --color-text-faint: #8294b5;
  --color-text-inverse: #ffffff;

  --color-primary: #1273b8;          /* accessible deep cyan-blue for text/CTA */
  --color-primary-hover: #0e5e98;
  --color-primary-active: #0b4d7e;
  --color-primary-soft: rgba(90, 200, 255, 0.14);
  --color-primary-border: rgba(18, 115, 184, 0.30);

  --color-accent-2: #1f6fd6;
  --color-success: #1f9d54;
  --color-warning: #c47710;

  --shadow-sm: 0 1px 2px rgba(12,26,64,0.06);
  --shadow-md: 0 8px 24px rgba(12,26,64,0.10);
  --shadow-lg: 0 24px 60px rgba(12,26,64,0.14);
  --shadow-glow: 0 0 0 1px var(--color-primary-border), 0 0 30px rgba(90,200,255,0.18);

  --grid-line: rgba(20, 50, 110, 0.05);
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 7.5rem;
}

body {
  min-height: 100dvh;
  line-height: 1.65;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

img, picture, video, svg { display: block; max-width: 100%; height: auto; }
ul[role='list'], ol[role='list'] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  text-wrap: balance;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
}
p { text-wrap: pretty; }

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

::selection { background: var(--color-primary-soft); color: var(--color-primary-hover); }

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

button { cursor: pointer; background: none; border: none; }
table { border-collapse: collapse; width: 100%; }

a, button, [role='button'], input, textarea, select {
  transition: color var(--transition-interactive),
              background var(--transition-interactive),
              border-color var(--transition-interactive),
              box-shadow var(--transition-interactive),
              transform var(--transition-interactive);
}

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}

/* ============================================================
   Layout primitives
   ============================================================ */
.container { width: 100%; max-width: var(--content-wide); margin-inline: auto; padding-inline: var(--space-6); }
.container--default { max-width: var(--content-default); }
.container--narrow { max-width: var(--content-narrow); }

.section { padding-block: clamp(var(--space-16), 9vw, var(--space-32)); position: relative; }
.section--tight { padding-block: clamp(var(--space-12), 6vw, var(--space-20)); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.section-title { font-size: var(--text-xl); margin-bottom: var(--space-5); max-width: 22ch; }
.section-lead { font-size: var(--text-lg); color: var(--color-text-muted); max-width: 60ch; font-family: var(--font-body); font-weight: 400; line-height: 1.55; }

.lead { font-size: var(--text-lg); color: var(--color-text-muted); line-height: 1.6; }
.muted { color: var(--color-text-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-family: var(--font-body); font-size: var(--text-sm); font-weight: 600;
  padding: 0.75rem 1.5rem; border-radius: var(--radius-md);
  border: 1px solid transparent; white-space: nowrap; letter-spacing: 0.01em;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn--primary { background: var(--color-primary); color: var(--color-text-inverse); }
.btn--primary:hover { background: var(--color-primary-hover); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(47,212,200,0.25); }
.btn--ghost { background: transparent; color: var(--color-text); border-color: var(--color-border-strong); }
.btn--ghost:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn--lg { padding: 0.9rem 1.85rem; font-size: var(--text-base); }

/* ---------- Tags / chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.04em;
  padding: 0.3rem 0.7rem; border-radius: var(--radius-full);
  background: var(--color-primary-soft); color: var(--color-primary);
  border: 1px solid var(--color-primary-border);
}

/* ============================================================
   Header / Nav
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--color-bg) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-interactive), background var(--transition-interactive);
}
.header--scrolled { border-bottom-color: var(--color-divider); }
.nav { display: flex; align-items: center; gap: var(--space-8); height: 6.5rem; }
.nav__brand { display: inline-flex; align-items: center; gap: var(--space-3); }
/* Emblem-only mark (with subtle green ring) + live theme-aware wordmark */
.nav__brand .brand-emblem { height: 3.4rem; width: 3.4rem; display: block; flex-shrink: 0; }
.nav__brand .brand-wordmark { display: flex; flex-direction: column; line-height: 1; }
.nav__brand .brand-name {
  font-family: var(--font-display); font-weight: 800; font-size: 1.85rem; letter-spacing: 0.01em;
  color: var(--color-text); line-height: 1;
  padding-bottom: 0.28rem; border-bottom: 2px solid var(--color-primary); width: max-content;
}
.nav__brand .brand-tag {
  font-family: var(--font-body); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.02em;
  color: var(--color-text-muted); margin-top: 0.3rem;
}
@media (max-width: 600px) {
  .nav__brand .brand-emblem { height: 2.8rem; width: 2.8rem; }
  .nav__brand .brand-name { font-size: 1.5rem; }
  .nav__brand .brand-tag { font-size: 0.68rem; }
}
.nav__links { display: flex; align-items: center; gap: var(--space-6); margin-left: auto; }
.nav__links a { font-size: var(--text-sm); color: var(--color-text-muted); font-weight: 500; }
.nav__links a:hover, .nav__links a.is-active { color: var(--color-text); }

/* Products dropdown */
.nav__dropdown { position: relative; }
.nav__dropdown-trigger { display: inline-flex; align-items: center; gap: 0.3rem; cursor: pointer; }
.nav__dropdown-trigger svg { transition: transform var(--transition, 0.2s ease); }
.nav__dropdown:hover .nav__dropdown-trigger svg, .nav__dropdown:focus-within .nav__dropdown-trigger svg { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: calc(100% + 0.6rem); left: -0.75rem; min-width: 20rem;
  background: var(--color-surface-2, var(--color-surface)); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg, var(--shadow-md));
  padding: var(--space-2); display: grid; gap: 2px; opacity: 0; visibility: hidden;
  transform: translateY(-6px); transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s; z-index: 60;
}
.nav__dropdown:hover .nav__menu, .nav__dropdown:focus-within .nav__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__menu a { display: block; padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); }
.nav__menu a:hover { background: var(--color-primary-surface, rgba(90,200,255,0.08)); }
.nav__menu-title { display: block; font-size: var(--text-sm); font-weight: 600; color: var(--color-text); }
.nav__menu-desc { display: block; font-size: var(--text-xs); color: var(--color-text-muted); margin-top: 0.15rem; }
.nav__menu-all { font-size: var(--text-xs) !important; font-weight: 600; color: var(--color-primary) !important; border-top: 1px solid var(--color-divider); border-radius: 0 0 var(--radius-md) var(--radius-md); margin-top: 2px; }
.nav__actions { display: flex; align-items: center; gap: var(--space-3); }
.theme-toggle {
  width: 2.25rem; height: 2.25rem; display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md); border: 1px solid var(--color-border); color: var(--color-text-muted);
}
.theme-toggle:hover { color: var(--color-primary); border-color: var(--color-primary); }
.nav__toggle { display: none; width: 2.25rem; height: 2.25rem; align-items: center; justify-content: center; border-radius: var(--radius-md); border: 1px solid var(--color-border); color: var(--color-text); }
.nav__cta-mobile { display: none; } /* shown only inside mobile menu */

@media (max-width: 900px) {
  .nav__links { display: none; position: absolute; top: 6.5rem; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0; margin: 0;
    background: var(--color-surface); border-bottom: 1px solid var(--color-divider); padding: var(--space-4) var(--space-6); }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: var(--space-3) 0; width: 100%; border-bottom: 1px solid var(--color-divider); font-size: var(--text-base); }
  /* Dropdown flattens inline on mobile */
  .nav__dropdown { width: 100%; }
  .nav__dropdown-trigger svg { display: none; }
  .nav__menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    background: transparent; border: 0; padding: 0 0 0 var(--space-4); min-width: 0; }
  .nav__menu a { padding: var(--space-2) 0; border-radius: 0; }
  .nav__menu-desc { display: none; }
  .nav__menu-all { border-top: 0; }
  .nav__toggle { display: inline-flex; }
  .nav__cta-desktop { display: none; }
  .nav__cta-mobile { display: inline-flex; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; overflow: hidden; padding-block: clamp(var(--space-20), 12vw, var(--space-32)); }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.hero__bg::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--color-bg) 22%, color-mix(in srgb, var(--color-bg) 55%, transparent) 55%, transparent 100%); }
[data-theme='light'] .hero__bg img { opacity: 0.16; }
[data-theme='light'] .hero__bg::after { background: linear-gradient(100deg, var(--color-bg) 30%, color-mix(in srgb, var(--color-bg) 70%, transparent) 60%, transparent 100%); }
.hero__inner { position: relative; z-index: 1; max-width: 760px; }
.hero h1 { font-size: var(--text-3xl); margin-bottom: var(--space-6); }
.hero h1 .accent { color: var(--color-primary); }
.hero__lead { font-size: var(--text-lg); color: var(--color-text-muted); max-width: 56ch; margin-bottom: var(--space-8); line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-bottom: var(--space-10); }
.hero__meta { display: flex; flex-wrap: wrap; gap: var(--space-6); font-family: var(--font-mono); font-size: var(--text-xs); color: var(--color-text-faint); letter-spacing: 0.04em; }
.hero__meta span { display: inline-flex; align-items: center; gap: var(--space-2); }
.hero__meta span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--color-primary); }

/* ============================================================
   Grid background utility
   ============================================================ */
.grid-bg { position: relative; }
.grid-bg::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px),
                    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, #000 40%, transparent 100%);
}
.grid-bg > * { position: relative; z-index: 1; }

/* ============================================================
   Cards
   ============================================================ */
.card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-8);
  transition: border-color var(--transition-interactive), transform var(--transition-interactive), box-shadow var(--transition-interactive);
}
.card:hover { border-color: var(--color-border-strong); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card__icon {
  width: 2.75rem; height: 2.75rem; display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md); background: var(--color-primary-soft); color: var(--color-primary);
  border: 1px solid var(--color-primary-border); margin-bottom: var(--space-5);
}
.card__icon svg { width: 1.4rem; height: 1.4rem; }
.card h3 { font-size: var(--text-lg); margin-bottom: var(--space-3); }
.card p { color: var(--color-text-muted); font-size: var(--text-sm); line-height: 1.6; }

.grid { display: grid; gap: var(--space-6); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--space-8), 6vw, var(--space-20)); align-items: center; }
.split--reverse .split__media { order: -1; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }
.split__media img { border-radius: var(--radius-lg); border: 1px solid var(--color-border); width: 100%; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { padding: var(--space-6) 0; border-top: 1px solid var(--color-border); }
.stat__num { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; color: var(--color-primary); line-height: 1; margin-bottom: var(--space-2); }
.stat__label { font-size: var(--text-sm); color: var(--color-text-muted); }

/* ---------- Pipeline / steps ---------- */
.pipeline { display: grid; gap: var(--space-5); counter-reset: step; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: var(--space-6); align-items: start;
  padding: var(--space-6) var(--space-8); background: var(--color-surface);
  border: 1px solid var(--color-border); border-radius: var(--radius-lg); position: relative;
}
.step__num {
  font-family: var(--font-mono); font-size: var(--text-sm); font-weight: 600;
  width: 2.5rem; height: 2.5rem; display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md); background: var(--color-primary-soft); color: var(--color-primary);
  border: 1px solid var(--color-primary-border);
}
.step h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.step p { color: var(--color-text-muted); font-size: var(--text-sm); }
.step__tag { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--color-text-faint); letter-spacing: 0.06em; text-transform: uppercase; margin-top: var(--space-3); display: block; }

/* ---------- Principle list ---------- */
.principle { display: grid; grid-template-columns: auto 1fr; gap: var(--space-5); padding-block: var(--space-6); border-top: 1px solid var(--color-border); }
.principle__idx { font-family: var(--font-mono); color: var(--color-primary); font-size: var(--text-sm); padding-top: 0.2rem; }
.principle h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.principle p { color: var(--color-text-muted); font-size: var(--text-sm); }

/* ---------- Feature list (checks) ---------- */
.feature-list { display: grid; gap: var(--space-4); }
.feature-list li { display: grid; grid-template-columns: auto 1fr; gap: var(--space-3); align-items: start; font-size: var(--text-sm); color: var(--color-text-muted); }
.feature-list .ck { color: var(--color-primary); flex-shrink: 0; margin-top: 0.15rem; }
.feature-list strong { color: var(--color-text); font-weight: 600; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); align-items: stretch; }
@media (max-width: 960px) { .price-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }
.price-card { display: flex; flex-direction: column; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-8); }
.price-card--featured { border-color: var(--color-primary); box-shadow: var(--shadow-glow); position: relative; }
.price-card--featured::before { content: 'Most popular'; position: absolute; top: -0.7rem; left: var(--space-8); font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; background: var(--color-primary); color: var(--color-text-inverse); padding: 0.2rem 0.7rem; border-radius: var(--radius-full); }
.price-card h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.price-card .price { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 700; line-height: 1; margin-block: var(--space-4) var(--space-1); }
.price-card .price span { font-size: var(--text-sm); color: var(--color-text-faint); font-family: var(--font-body); font-weight: 500; }
.price-card .price-desc { color: var(--color-text-muted); font-size: var(--text-sm); margin-bottom: var(--space-6); min-height: 2.6em; }
.price-card .feature-list { margin-bottom: var(--space-8); flex: 1; }
.price-card .btn { width: 100%; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: clamp(var(--space-12), 6vw, var(--space-20)); text-align: center; border: 1px solid var(--color-primary-border); background:
    radial-gradient(120% 140% at 50% 0%, color-mix(in srgb, var(--color-primary) 14%, var(--color-surface)) 0%, var(--color-surface) 55%); }
/* subtle accent glow instead of an invisible faded photo */
.cta-band::after { content: ''; position: absolute; left: 50%; top: -40%; width: 60%; aspect-ratio: 1; transform: translateX(-50%);
  background: radial-gradient(circle, var(--color-primary-soft) 0%, transparent 70%); pointer-events: none; z-index: 0; }
.cta-band__bg { display: none; } /* legacy faded-image layer removed */
.cta-band > * { position: relative; z-index: 1; }
.cta-band .eyebrow { justify-content: center; }
.cta-band h2 { font-size: var(--text-2xl); margin-bottom: var(--space-4); }
.cta-band p { color: var(--color-text-muted); font-size: var(--text-lg); max-width: 52ch; margin: 0 auto var(--space-8); }
.cta-band .hero__actions { justify-content: center; margin-bottom: 0; }

/* ============================================================
   Footer
   ============================================================ */
.footer { border-top: 1px solid var(--color-divider); background: var(--color-surface); padding-block: var(--space-16) var(--space-8); margin-top: var(--space-8); }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: var(--space-10); margin-bottom: var(--space-12); }
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand .nav__brand { margin-bottom: var(--space-4); }
.footer__brand .brand-emblem { height: 3rem; width: 3rem; }
.footer__brand .brand-name { font-size: 1.6rem; }
.footer__brand p { color: var(--color-text-muted); font-size: var(--text-sm); max-width: 34ch; }
.footer h4 { font-family: var(--font-body); font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-text-faint); margin-bottom: var(--space-4); }
.footer ul { display: grid; gap: var(--space-3); }
.footer a { font-size: var(--text-sm); color: var(--color-text-muted); }
.footer a:hover { color: var(--color-primary); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4); padding-top: var(--space-8); border-top: 1px solid var(--color-divider); font-size: var(--text-xs); color: var(--color-text-faint); font-family: var(--font-mono); letter-spacing: 0.03em; }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding-block: clamp(var(--space-16), 10vw, var(--space-24)) clamp(var(--space-10), 6vw, var(--space-16)); border-bottom: 1px solid var(--color-divider); position: relative; }
.page-hero h1 { font-size: var(--text-2xl); margin-bottom: var(--space-5); max-width: 18ch; }
.page-hero p { font-size: var(--text-lg); color: var(--color-text-muted); max-width: 56ch; line-height: 1.55; }

/* ---------- Prose ---------- */
.prose p { color: var(--color-text-muted); margin-bottom: var(--space-5); max-width: 68ch; }
.prose h2 { font-size: var(--text-xl); margin-block: var(--space-12) var(--space-5); }
.prose h3 { font-size: var(--text-lg); margin-block: var(--space-8) var(--space-3); }
.prose strong { color: var(--color-text); }

/* ---------- Callout ---------- */
.callout { border-left: 3px solid var(--color-primary); background: var(--color-primary-soft); padding: var(--space-6) var(--space-8); border-radius: var(--radius-md); }
.callout p { color: var(--color-text); margin: 0; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Form ---------- */
.form-grid { display: grid; gap: var(--space-5); }
.field { display: grid; gap: var(--space-2); }
.field label { font-size: var(--text-sm); font-weight: 600; }
.field input, .field textarea, .field select {
  background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-md);
  padding: 0.7rem 0.9rem; font-size: var(--text-sm); color: var(--color-text);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px var(--color-primary-soft); }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
@media (max-width: 560px) { .field--row { grid-template-columns: 1fr; } }

/* ============================================================
   Business Command Center (BCC) page
   ============================================================ */
/* BCC hero uses a dashboard image; keep the left-side text legible */
.hero--bcc .hero__bg img { opacity: 0.9; }
.hero--bcc .hero__bg::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--color-bg) 30%, color-mix(in srgb, var(--color-bg) 62%, transparent) 60%, transparent 100%); }
[data-theme="light"] .hero--bcc .hero__bg img { opacity: 0.5; }

/* Four command-center grid */
.cc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-8); }
@media (max-width: 860px) { .cc-grid { grid-template-columns: 1fr; } }
.cc { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-4);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; }
.cc:hover { border-color: var(--color-border-strong); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cc__head { display: flex; align-items: center; gap: var(--space-3); }
.cc__head h3 { font-size: var(--text-lg); margin: 0; }
.cc__head .card__icon { margin: 0; flex-shrink: 0; }
.cc p { color: var(--color-text-muted); font-size: var(--text-sm); line-height: 1.6; margin: 0; }
.cc img { width: 100%; border-radius: var(--radius-md); border: 1px solid var(--color-border); margin-top: auto; }

/* Veteran-owned line with US flag */
.vet-line { display: inline-flex; align-items: center; gap: 0.5rem; }
.us-flag { width: 24px; height: 13px; border-radius: 2px; flex-shrink: 0;
  box-shadow: 0 0 0 1px var(--color-border); display: inline-block; vertical-align: middle; }

/* Split hero: OSINT network (left) merging into BCC dashboard (right) */
.hero--split .hero__bg img { opacity: 0.55; object-position: center; }
[data-theme='light'] .hero--split .hero__bg img { opacity: 0.22; }
/* Center-darkening overlay so intro + cards stay legible while the two
   product motifs read on the left and right edges. */
.hero--split .hero__bg::after {
  background:
    radial-gradient(ellipse 55% 75% at 50% 45%, color-mix(in srgb, var(--color-bg) 88%, transparent) 0%, color-mix(in srgb, var(--color-bg) 55%, transparent) 45%, transparent 80%),
    linear-gradient(to bottom, transparent 0%, var(--color-bg) 100%);
}
.hero--split .hero__intro { position: relative; z-index: 1; max-width: 62ch; margin: 0 auto var(--space-12); text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero--split .hero__lead { margin-inline: auto; }

/* Homepage hero: two side-by-side product entry cards */
.hero-products { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--space-6), 6vw, var(--space-12)); margin: 0 auto; max-width: 64rem; }
.hero-product { background: color-mix(in srgb, var(--color-surface) 70%, transparent);
  border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-6);
  display: flex; flex-direction: column; gap: var(--space-3); backdrop-filter: blur(6px); }
.hero-product__name { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 700; letter-spacing: -0.01em; }
.hero-product__desc { color: var(--color-text-muted); font-size: var(--text-sm); line-height: 1.6; flex: 1; margin-bottom: var(--space-2); }
.hero-product .btn { align-self: flex-start; }
@media (max-width: 860px) { .hero-products { grid-template-columns: 1fr; } }

/* Platform screenshot gallery */
.shot { display: flex; flex-direction: column; gap: var(--space-3); }
.shot img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--color-border); box-shadow: var(--shadow-md); display: block; }
.shot__cap { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.5; }
.shot--feature { margin-bottom: var(--space-10); }
.shot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-8); }
@media (max-width: 760px) { .shot-grid { grid-template-columns: 1fr; } }
