/* Geist and Geist Mono are self-hosted (SIL OFL 1.1, see assets/fonts/OFL-Geist.txt): no third-party font requests. */
@font-face { font-family: 'Geist'; src: url('fonts/Geist-Variable.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('fonts/GeistMono-Variable.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  /* Brand primitives */
  --blue: #3371ff;
  --blue-hover: #215ae5;
  --blue-ink: #174dc8;
  --blue-glow: rgba(51, 113, 255, 0.28);
  --cyan: #00d2ff;
  --emerald: #10b981;
  --amber: #f59e0b;

  /* Semantic tokens - Light (default) */
  --bg: #ffffff;
  --bg-raised: #ffffff;
  --bg-sunken: #f8faff;
  --text: #0d1527;
  --text-muted: #57657e;
  --text-heading: #070d18;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --border-subtle: rgba(226, 232, 240, 0.7);
  --border-input: #7c8ba1;
  --footer-border: rgba(255, 255, 255, 0.08);
  --header-bg: rgba(255, 255, 255, 0.88);
  --accent: #3371ff;
  --accent-ink: #174dc8;
  --button-bg: #215ae5;
  --button-bg-hover: #1848bf;
  --focus: #3371ff;
  --shadow-color: rgba(13, 21, 39, 0.08);
  --code-bg: #f1f5f9;
  --success: #047857;
  --success-tint: #ecfdf5;
  --warning: #b45309;
  --warning-tint: #fffbeb;
  --danger: #dc2626;
  --danger-tint: #fef2f2;
  --bg-surface: #ffffff;
  --bg-surface-tint: #f0f5ff;
  --accent-subtle: rgba(51, 113, 255, 0.08);
  --accent-hover: #2d68f7;
  --shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 16px 36px rgba(13, 21, 39, 0.08);

  /* Legacy mappings so existing var(--...) switch automatically */
  --ink: var(--text);
  --ink-heading: var(--text-heading);
  --muted: var(--text-muted);
  --line: var(--border);
  --line-light: var(--border-subtle);
  --paper: var(--bg);
  --wash: var(--bg-sunken);
  --dark: #070d18;
  --dark-surface: #0c1527;
  --dark-border: rgba(255, 255, 255, 0.09);

  /* Shared metrics & typography */
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --space: clamp(20px, 5vw, 80px);
  --font-sans: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'Geist Mono', 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ==========================================================================
   Dark Theme Token Set
   CRITICAL: The two blocks below (:root[data-theme="dark"] and the
   @media (prefers-color-scheme: dark) fallback) MUST remain byte-identical.
   Any changes to dark values must be updated in BOTH blocks.
   ========================================================================== */

:root[data-theme="dark"] {
  --bg: #0b1220;
  --bg-raised: #131d31;
  --bg-sunken: #070d18;
  --text: #e6ebf5;
  --text-muted: #94a3b8;
  --text-heading: #f8fafc;
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.18);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-input: #64748b;
  --footer-border: rgba(255, 255, 255, 0.18);
  --header-bg: rgba(11, 18, 32, 0.88);
  --accent: #3371ff;
  --accent-ink: #7aa2ff;
  --button-bg: #215ae5;
  --button-bg-hover: #1848bf;
  --focus: #7aa2ff;
  --shadow-color: rgba(0, 0, 0, 0.50);
  --code-bg: #0c1527;
  --success: #34d399;
  --success-tint: rgba(16, 185, 129, 0.14);
  --warning: #fbbf24;
  --warning-tint: rgba(245, 158, 11, 0.14);
  --danger: #f87171;
  --danger-tint: rgba(239, 68, 68, 0.14);
  --bg-surface: #131d31;
  --bg-surface-tint: rgba(122, 162, 255, 0.08);
  --accent-subtle: rgba(122, 162, 255, 0.14);
  --accent-hover: #9bb9ff;
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 16px 36px rgba(0, 0, 0, 0.35);

  --blue-ink: var(--accent-ink);
  --blue-hover: #1848bf;
  --blue-glow: rgba(51, 113, 255, 0.35);
  --dark-frame-border: var(--border-strong);
  --ink: var(--text);
  --ink-heading: var(--text-heading);
  --muted: var(--text-muted);
  --line: var(--border);
  --line-light: var(--border-subtle);
  --paper: var(--bg-raised);
  --wash: var(--bg-sunken);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1220;
    --bg-raised: #131d31;
    --bg-sunken: #070d18;
    --text: #e6ebf5;
    --text-muted: #94a3b8;
    --text-heading: #f8fafc;
    --border: rgba(255, 255, 255, 0.10);
    --border-strong: rgba(255, 255, 255, 0.18);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-input: #64748b;
    --footer-border: rgba(255, 255, 255, 0.18);
    --header-bg: rgba(11, 18, 32, 0.88);
    --accent: #3371ff;
    --accent-ink: #7aa2ff;
    --button-bg: #215ae5;
    --button-bg-hover: #1848bf;
    --focus: #7aa2ff;
    --shadow-color: rgba(0, 0, 0, 0.50);
    --code-bg: #0c1527;
    --success: #34d399;
    --success-tint: rgba(16, 185, 129, 0.14);
    --warning: #fbbf24;
    --warning-tint: rgba(245, 158, 11, 0.14);
    --danger: #f87171;
    --danger-tint: rgba(239, 68, 68, 0.14);
    --bg-surface: #131d31;
    --bg-surface-tint: rgba(122, 162, 255, 0.08);
    --accent-subtle: rgba(122, 162, 255, 0.14);
    --accent-hover: #9bb9ff;
    --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 16px 36px rgba(0, 0, 0, 0.35);

    --blue-ink: var(--accent-ink);
    --blue-hover: #1848bf;
    --blue-glow: rgba(51, 113, 255, 0.35);
    --dark-frame-border: var(--border-strong);
    --ink: var(--text);
    --ink-heading: var(--text-heading);
    --muted: var(--text-muted);
    --line: var(--border);
    --line-light: var(--border-subtle);
    --paper: var(--bg-raised);
    --wash: var(--bg-sunken);
  }
}

/* ==========================================================================
   Visual containers that preserve light mode appearance in dark mode
   ========================================================================== */
.theme-keep-light,
.dashboard-preview,
.ai-story-visual,
.workbench,
#experience,
.behavior-story-card,
.bw-visual,
.bw-browser,
.reg-list,
.home-partners-inner,
.hero-shot,
.product-panel .pp-browser,
.product-panel > img,
.mk-lure,
.ls-phone,
.ls-desk,
.ls-poster {
  color-scheme: light;

  /* Brand primitives */
  --blue: #3371ff;
  --blue-hover: #215ae5;
  --blue-ink: #174dc8;
  --blue-glow: rgba(51, 113, 255, 0.28);
  --cyan: #00d2ff;
  --emerald: #10b981;
  --amber: #f59e0b;

  /* Semantic tokens - Light reset */
  --bg: #ffffff;
  --bg-raised: #ffffff;
  --bg-sunken: #f8faff;
  --text: #0d1527;
  --text-muted: #57657e;
  --text-heading: #070d18;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --border-subtle: rgba(226, 232, 240, 0.7);
  --border-input: #7c8ba1;
  --footer-border: rgba(255, 255, 255, 0.08);
  --header-bg: rgba(255, 255, 255, 0.88);
  --accent: #3371ff;
  --accent-ink: #174dc8;
  --button-bg: #215ae5;
  --button-bg-hover: #1848bf;
  --focus: #3371ff;
  --shadow-color: rgba(13, 21, 39, 0.08);
  --code-bg: #f1f5f9;
  --success: #047857;
  --success-tint: #ecfdf5;
  --warning: #b45309;
  --warning-tint: #fffbeb;
  --danger: #dc2626;
  --danger-tint: #fef2f2;
  --bg-surface: #ffffff;
  --bg-surface-tint: #f0f5ff;
  --accent-subtle: rgba(51, 113, 255, 0.08);
  --accent-hover: #2d68f7;
  --shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 16px 36px rgba(13, 21, 39, 0.08);

  /* Legacy mappings */
  --ink: var(--text);
  --ink-heading: var(--text-heading);
  --muted: var(--text-muted);
  --line: var(--border);
  --line-light: var(--border-subtle);
  --paper: var(--bg);
  --wash: var(--bg-sunken);
  --dark: #070d18;
  --dark-surface: #0c1527;
  --dark-border: rgba(255, 255, 255, 0.09);

  color: var(--text);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  font-size: 16px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.015em;
  overflow-x: clip;
  min-height: 100vh;
  transition: background-color 0.2s ease, color 0.2s ease;
}

button, input, select, textarea { font-family: inherit; }
button { cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--accent-ink); }

button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
::selection { background: rgba(51, 113, 255, 0.28); color: inherit; }

h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 {
  color: var(--ink-heading);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
}
h1 { font-size: clamp(40px, 5.2vw, 76px); }
h2 { font-size: clamp(32px, 3.8vw, 52px); }
h3 { font-size: clamp(22px, 2.2vw, 32px); }
h4 { font-size: 19px; }
p { color: var(--muted); font-size: 16px; line-height: 1.68; }

.section {
  max-width: 1360px;
  margin: 0 auto;
  padding-left: var(--space);
  padding-right: var(--space);
}

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue);
  margin-bottom: 20px;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.text-gradient {
  background: linear-gradient(135deg, #174dc8 0%, #3371ff 50%, #00b4d8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.skip-link {
  position: absolute;
  left: 24px;
  top: -100px;
  background: var(--bg-raised);
  color: var(--text-heading);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md, 0 4px 16px rgba(0, 0, 0, 0.2));
  padding: 12px 20px;
  z-index: 9999;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 84px;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.header-container {
  max-width: 1360px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space);
}

.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.site-header .brand img {
  height: 52px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.site-header .brand:hover img {
  transform: translateY(-1px);
}
.site-footer .brand img {
  height: 58px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.site-header .brand .logo-dark { display: none; }
.site-header .brand .logo-light { display: block; }

:root[data-theme="dark"] .site-header .brand .logo-light { display: none; }
:root[data-theme="dark"] .site-header .brand .logo-dark { display: block; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .site-header .brand .logo-light { display: none; }
  :root:not([data-theme="light"]) .site-header .brand .logo-dark { display: block; }
}

/* Theme control: footer bottom bar only (owner, 24 Sep 2026). Default is System. */
.footer-theme-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  transition: color 0.15s ease;
}
.footer-theme-btn:hover {
  color: #fff;
}
.footer-theme-btn:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.theme-icon-slot {
  display: inline-flex;
  align-items: center;
}

/* Icon Switching by Active Theme */
.theme-icon { display: none; align-items: center; justify-content: center; }
.theme-icon-system { display: inline-flex; }

:root[data-theme="light"] .theme-icon-system { display: none; }
:root[data-theme="light"] .theme-icon-light { display: inline-flex; }

:root[data-theme="dark"] .theme-icon-system { display: none; }
:root[data-theme="dark"] .theme-icon-dark { display: inline-flex; }

.header-right { display: flex; align-items: center; }

#main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 600;
}
#main-nav > a:not(.button) {
  position: relative;
  padding: 8px 0;
  color: var(--muted);
  transition: color 0.15s ease;
}
#main-nav > a:not(.button):hover { color: var(--blue-ink); }
#main-nav > a[aria-current="page"]:not(.button) {
  color: var(--blue-ink);
}
#main-nav > a[aria-current="page"]:not(.button)::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.nav-group {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-group > a {
  color: var(--muted);
  padding: 8px 2px 8px 0;
  transition: color 0.15s ease;
}
.nav-group > a:hover {
  color: var(--blue-ink);
}
.nav-expand {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: transparent;
  padding: 6px;
  margin-left: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--muted);
  border-radius: 6px;
  transition: color 0.15s ease, background-color 0.15s ease;
  line-height: 1;
}
.nav-expand:hover,
.nav-group:hover .nav-expand,
.nav-expand[aria-expanded="true"] {
  color: var(--blue);
  background: rgba(51, 113, 255, 0.08);
}
.nav-chevron {
  width: 12px;
  height: 12px;
  display: block;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}
.nav-group:hover .nav-chevron,
.nav-expand[aria-expanded="true"] .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: -20px;
  width: 320px;
  background: var(--bg-raised);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 20px 45px -10px var(--shadow-color), 0 0 0 1px var(--border);
  padding: 12px;
  z-index: 1050;
  animation: fadeInDown 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Invisible hover bridge between nav trigger and dropdown panel */
.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
@media (min-width: 961px) {
  .nav-group:hover .nav-dropdown,
  .nav-dropdown:hover,
  .nav-dropdown.open {
    display: block;
  }
}
.nav-dropdown.open { display: block; }
.nav-dropdown-inner { display: flex; flex-direction: column; gap: 4px; }
.nav-dropdown a {
  display: flex;
  flex-direction: column;
  padding: 10px 14px;
  border-radius: 10px;
  transition: background 0.15s ease, transform 0.1s ease;
}
.nav-dropdown a:hover {
  background: var(--bg-sunken);
  color: var(--accent-ink);
  transform: translateX(3px);
}
.drop-title { font-size: 14px; font-weight: 600; color: var(--ink-heading); }
.drop-desc { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* KeenSec AI Mega-Menu */
.nav-dropdown-ai {
  width: 660px;
  left: -200px;
  padding: 16px;
}
.nav-ai-header {
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
  padding-bottom: 8px;
}
.nav-ai-header a {
  background: var(--bg-sunken);
  border: 1px solid var(--border);
  padding: 10px 14px;
}
.nav-ai-header a:hover {
  background: var(--bg-raised);
  border-color: var(--border-strong);
}
.nav-ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.nav-ai-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav-ai-category {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue);
  padding: 4px 10px;
  margin-bottom: 2px;
}

.menu-toggle { display: none; }

/* ==========================================================================
   Buttons & Links
   ========================================================================== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  background: var(--button-bg);
  color: #fff !important;
  box-shadow: 0 4px 14px var(--blue-glow);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}
.button:hover {
  background: var(--button-bg-hover);
  box-shadow: 0 8px 24px var(--blue-glow);
  transform: translateY(-2px);
}
.button:active { transform: translateY(0); }

.button-small {
  padding: 9px 18px;
  font-size: 13px;
  border-radius: 8px;
}
.button-hero {
  padding: 16px 32px;
  font-size: 15px;
  border-radius: 12px;
}
.button-glow {
  box-shadow: 0 6px 20px rgba(51, 113, 255, 0.38);
}
.button-glow:hover {
  box-shadow: 0 10px 30px rgba(51, 113, 255, 0.5);
}

.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  background: var(--bg-raised);
  color: var(--text-heading) !important;
  border: 1px solid var(--border);
  box-shadow: 0 2px 6px var(--shadow-color);
  transition: all 0.2s ease;
}
.button-ghost:hover {
  background: var(--bg-sunken);
  border-color: var(--border-strong);
  color: var(--accent-ink) !important;
  transform: translateY(-2px);
}

.button-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  color: var(--text-heading);
  transition: all 0.15s ease;
}
.button-secondary:hover {
  background: var(--bg-sunken);
  border-color: var(--border-strong);
  color: var(--accent-ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-ink);
  font-size: 14px;
  font-weight: 600;
  padding: 6px 0;
  transition: gap 0.15s ease;
}
.text-link:hover { gap: 12px; color: var(--blue); }
.text-link .icon-arrow, .button .btn-arrow { transition: transform 0.15s ease; }
.text-link:hover .icon-arrow, .button:hover .btn-arrow { transform: translate(2px, -2px); }

.note-shield, .clip-icon {
  display: inline-block;
  vertical-align: -2px;
  margin-right: 6px;
  flex-shrink: 0;
}
.note-shield { color: #f59e0b; }
.clip-icon { color: var(--muted); }
.trend-icon {
  display: inline-block;
  vertical-align: middle;
}
.arrow-anim, .pill-arrow, .art-arrow-down {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
}
.path-card:hover .arrow-anim,
.connection-pill:hover .pill-arrow,
.article-item:hover .art-arrow-down {
  transform: translateX(3px);
}


/* ==========================================================================
   Homepage Hero Section
   ========================================================================== */
.brand-hero {
  position: relative;
  padding-top: clamp(48px, 6vw, 84px);
  padding-bottom: clamp(40px, 5vw, 70px);
  text-align: center;
}

.hero-bg-glow {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, 95vw);
  height: 520px;
  background: radial-gradient(ellipse at 50% 30%, rgba(51, 113, 255, 0.12) 0%, rgba(0, 210, 255, 0.05) 45%, transparent 75%);
  pointer-events: none;
  z-index: -1;
}

.hero-telemetry-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(51, 113, 255, 0.08);
  border: 1px solid rgba(51, 113, 255, 0.22);
  border-radius: 999px;
  margin-bottom: 24px;
}
.badge-pulse-glow {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px var(--blue);
  animation: pulseDot 2s infinite;
}
.hero-category {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--blue-ink);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-hero h1 {
  max-width: 980px;
  margin: 0 auto;
}
.hero-summary {
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.6;
  max-width: 740px;
  margin: 24px auto 0;
  color: var(--muted);
}
.brand-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 36px;
  flex-wrap: wrap;
}


.trust-badge-icon {
  color: var(--blue);
  flex-shrink: 0;
}

.trust-bar-sep {
  color: #cbd5e1;
  font-size: 14px;
}

/* ==========================================================================
   Command Center Platform Showcase
   ========================================================================== */
.platform-showcase {
  margin-top: clamp(48px, 6vw, 76px);
  background: linear-gradient(180deg, #0a1325 0%, #060b17 100%);
  border: 1px solid rgba(51, 113, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vw, 44px);
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  text-align: left;
  box-shadow: 0 35px 80px -20px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.showcase-context {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}
.showcase-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(51, 113, 255, 0.15);
  border: 1px solid rgba(51, 113, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.showcase-symbol { width: 40px; height: 40px; object-fit: contain; }
.showcase-context h2 {
  font-size: clamp(24px, 2.4vw, 32px);
  color: #fff;
  line-height: 1.25;
}
.showcase-context p {
  color: #94a3b8;
  font-size: 14.5px;
  margin-top: 14px;
  line-height: 1.6;
}
.showcase-pills {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
}
.showcase-pills span {
  font-size: 12.5px;
  color: #7dd3fc;
  font-family: var(--font-mono);
}

/* Dashboard Mockup Grid */
.dashboard-preview {
  background: #0d172a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}
.dash-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.dash-window-dots { display: flex; gap: 6px; }
.dot, .wb-dot, .c-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.dot.red, .wb-dot.red, .c-dot.red { background: #ef4444; }
.dot.yellow, .wb-dot.yellow, .c-dot.yellow { background: #f59e0b; }
.dot.green, .wb-dot.green, .c-dot.green { background: #10b981; }

.dash-search-fake {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: #64748b;
  font-size: 11.5px;
  width: 260px;
}
.search-shortcut {
  margin-left: auto;
  font-size: 10px;
  background: rgba(255, 255, 255, 0.1);
  padding: 1px 5px;
  border-radius: 3px;
  color: #94a3b8;
}
.dash-user-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #94a3b8;
}
.user-avatar-small, .rep-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dash-main-grid {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Stat row */
.dash-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.dash-stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 14px;
}
.stat-accent {
  background: rgba(51, 113, 255, 0.08);
  border-color: rgba(51, 113, 255, 0.25);
}
.stat-label {
  font-size: 11px;
  font-family: var(--font-mono);
  color: #94a3b8;
  display: block;
}
.stat-value-wrap {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 6px 0 8px;
}
.stat-val {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.stat-trend {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}
.stat-trend.positive { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.stat-pill-ok {
  font-size: 10.5px;
  padding: 2px 6px;
  background: rgba(51, 113, 255, 0.2);
  color: #93c5fd;
  border-radius: 4px;
}
.stat-bar-outer {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 6px;
}
.stat-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #3371ff, #00d2ff);
  border-radius: 2px;
}
.fill-cyan { background: linear-gradient(90deg, #00d2ff, #38bdf8); }
.fill-emerald { background: linear-gradient(90deg, #10b981, #34d399); }
.stat-sub { font-size: 10.5px; color: #64748b; }

/* Dashboard Split */
.dash-body-split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 14px;
}

.dash-feed-card, .dash-inspect-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 14px;
}
.card-head-simple {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding-bottom: 10px;
  margin-bottom: 12px;
}
.card-title-mono {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #94a3b8;
}
.live-stream-badge, .inspect-confidence {
  font-size: 10px;
  color: #38bdf8;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
}
.stream-dot, .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
  animation: pulseDot 1.8s infinite;
}

.dash-feed-list { display: flex; flex-direction: column; gap: 8px; }
.feed-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
}
.feed-item.item-urgent {
  background: rgba(245, 158, 11, 0.06);
  border-color: rgba(245, 158, 11, 0.2);
}
.feed-badge-icon {
  font-size: 14px;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.badge-amber { background: rgba(245, 158, 11, 0.15); }
.badge-blue { background: rgba(51, 113, 255, 0.15); }
.badge-purple { background: rgba(168, 85, 247, 0.15); }

.feed-info { flex: 1; min-width: 0; }
.feed-info strong {
  display: block;
  font-size: 11.5px;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.feed-info p {
  font-size: 10.5px;
  color: #64748b;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.feed-status-tag {
  font-size: 10px;
  padding: 3px 7px;
  border-radius: 4px;
  white-space: nowrap;
}
.status-analyzing { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }
.status-safe { background: rgba(51, 113, 255, 0.2); color: #93c5fd; }
.status-complete { background: rgba(16, 185, 129, 0.2); color: #34d399; }

/* Inspect Card */
.inspect-body h4 {
  font-size: 13.5px;
  color: #f8fafc;
  line-height: 1.45;
  margin: 6px 0 12px;
  font-weight: 600;
}
.inspect-kicker {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: #38bdf8;
  letter-spacing: 0.05em;
}
.inspect-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.itag {
  font-size: 9.5px;
  padding: 3px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
}
.itag-pass { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.itag-warn { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.itag-action { background: rgba(51, 113, 255, 0.18); color: #93c5fd; }

.inspect-btn-row { display: flex; gap: 8px; }
.dash-mock-btn {
  font-size: 11px;
  font-weight: 600;
  background: var(--blue);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
}
.dash-mock-btn-sec {
  font-size: 11px;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  padding: 6px 12px;
  border-radius: 6px;
}

.dash-bottom-bar {
  padding: 10px 18px;
  background: rgba(10, 17, 32, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #64748b;
}
.dash-status-online {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #34d399;
}
.online-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 6px #34d399;
}

.showcase-caption {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #64748b;
  padding-top: 8px;
}

/* ==========================================================================
   Home Clients & Enterprise Social Proof
   ========================================================================== */
.home-clients-section {
  padding-top: clamp(24px, 3.5vw, 44px);
  padding-bottom: clamp(36px, 5vw, 64px);
}
.home-clients-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 4.5vw, 48px) clamp(20px, 4vw, 44px);
  box-shadow: 0 10px 30px var(--shadow-color);
  text-align: center;
}
.clients-header {
  max-width: 760px;
  margin: 0 auto 28px;
}
.clients-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-ink);
  display: inline-block;
  margin-bottom: 10px;
}
.clients-headline {
  font-size: clamp(20px, 2.3vw, 27px);
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.3;
  margin: 0 0 10px;
}
.clients-sub {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}
.clients-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.8vw, 22px);
  margin: 16px 0 28px;
}
.client-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  width: clamp(110px, 9.6vw, 128px);
  padding: 4px 6px;
  border-radius: var(--radius-sm);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.client-logo-item:hover {
  transform: translateY(-2px);
}
.client-logo-img {
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) contrast(85%);
  opacity: 0.72;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.client-logo-item:hover .client-logo-img {
  filter: grayscale(0%) contrast(100%);
  opacity: 1;
  transform: scale(1.05);
}

/* Optical scale balancing */
.logo-basic { max-height: 28px; }
.logo-muthoot { max-height: 32px; }
.logo-jsl { max-height: 30px; }
.logo-flexiloans { max-height: 32px; }
.logo-ofbusiness { max-height: 30px; }
.logo-oxyzo { max-height: 28px; }
.logo-ambit { max-height: 32px; }


:root[data-theme="dark"] .client-logo-item {
  background: #f1f5f9;
  padding: 6px 12px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
:root[data-theme="dark"] .client-logo-img {
  filter: none !important;
  opacity: 0.9 !important;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .client-logo-item {
    background: #f1f5f9;
    padding: 6px 12px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  }
  :root:not([data-theme="light"]) .client-logo-img {
    filter: none !important;
    opacity: 0.9 !important;
  }
}

.clients-footer-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid #edf2f7;
  font-size: 13px;
  color: #475569;
  font-weight: 500;
}
.proof-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.proof-icon {
  color: #10b981;
  flex-shrink: 0;
}
.proof-dot {
  color: #cbd5e1;
}

/* ==========================================================================
   Connection Story / 3 Pillars
   ========================================================================== */
.connection-story {
  padding-top: clamp(80px, 9vw, 130px);
  padding-bottom: clamp(80px, 9vw, 130px);
}
.connection-intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 50px;
}
.connection-intro p {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.connection-path {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.path-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.path-card:hover {
  transform: translateY(-6px);
  border-color: rgba(51, 113, 255, 0.4);
  box-shadow: 0 20px 40px -12px rgba(23, 77, 200, 0.12);
}
.path-card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  opacity: 0;
  transition: opacity 0.2s ease;
}
.path-card:hover .path-card-glow { opacity: 1; }

.path-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
}
.path-step-badge {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-ink);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.path-card h3 {
  font-size: 22px;
  color: var(--ink-heading);
  line-height: 1.3;
}
.path-card p {
  font-size: 15px;
  color: var(--muted);
  margin-top: 12px;
  flex-grow: 1;
}
.path-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue-ink);
}
.arrow-anim {
  transition: transform 0.2s ease;
}
.path-card:hover .arrow-anim {
  transform: translateX(4px);
}

/* ==========================================================================
   Story Band & Workbench
   ========================================================================== */
.story-band {
  background: #091122;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.story-band-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(51, 113, 255, 0.12) 0%, transparent 60%);
  pointer-events: none;
}
.story-band-inner {
  padding-top: clamp(70px, 8vw, 110px);
  padding-bottom: clamp(70px, 8vw, 110px);
  position: relative;
  z-index: 1;
}
.story-band-heading {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 44px;
}
.story-band-heading h2 { color: #fff; }
.story-band-heading .eyebrow { color: #94b6ff; }
.story-band-heading .eyebrow-dot { background: #94b6ff; }
.story-band-heading p { color: #94a3b8; font-size: 17px; }
.illustration-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #7dd3fc;
  font-family: var(--font-mono);
  margin-top: 16px;
}
.pulse-green {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 6px #34d399;
}

/* Workbench Component */
.workbench {
  background: #0d192f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}
.workbench-top {
  padding: 14px 22px;
  background: rgba(10, 19, 36, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.workbench-controls { display: flex; align-items: center; gap: 12px; }
.wb-title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #94a3b8;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.square-mark {
  display: inline-block;
  width: 8px;
  height: 8px;
  border: 2px solid var(--blue);
}
.wb-badge {
  font-size: 12px;
  color: #38bdf8;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: 6px;
}

.workbench-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 420px;
}
.journey-tabs {
  padding: 24px 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(7, 14, 28, 0.5);
}
.journey-tabs button {
  text-align: left;
  padding: 14px 16px;
  font-size: 13.5px;
  color: #94a3b8;
  border-radius: 8px;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.15s ease;
}
.journey-tabs button:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}
.journey-tabs button[aria-selected="true"] {
  background: rgba(51, 113, 255, 0.15);
  border-color: rgba(51, 113, 255, 0.35);
  color: #fff;
}
.stage-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #60a5fa;
}
.stage-label { font-weight: 500; }

#stage-panel {
  padding: 34px 40px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  align-content: start;
}
.panel-heading {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 14px;
}
.panel-heading .mono { color: #94a3b8; font-size: 12px; }

.status {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-mono);
}
.status.amber { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
.status.mint { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }

#stage-panel h3 {
  color: #fff;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.25;
}

/* Message Preview Card */
.message-preview {
  background: #ffffff;
  color: var(--ink);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.message-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.message-tag {
  font-size: 12px;
  font-family: var(--font-mono);
  background: #fee2e2;
  color: #b91c1c;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 600;
}
.message-time { font-size: 12px; color: var(--muted); }
.message-sender-row { display: flex; align-items: center; gap: 12px; }
.message-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e0e7ff;
  color: var(--blue-ink);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.message-sender-info strong { font-size: 13.5px; display: block; }
.message-sender-info small { font-size: 12px; color: var(--muted); }

.message-body {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.message-body strong { font-size: 13px; color: var(--ink-heading); display: block; margin-bottom: 6px; }
.message-body p { font-size: 13px; color: #334155; line-height: 1.6; }

.attachment {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 11.5px;
  color: var(--blue-ink);
  font-weight: 500;
  margin-top: 10px;
}
.att-size { color: #64748b; font-size: 10.5px; }

.reason-strip {
  grid-column: 1;
  background: rgba(51, 113, 255, 0.08);
  border-left: 3px solid var(--blue);
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
  margin-top: 16px;
}
.reason-strip .mono { color: #93c5fd; font-size: 12px; font-weight: 600; }
.reason-strip p { color: #cbd5e1; font-size: 13.5px; margin-top: 6px; }

.demo-evidence {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 22px;
  color: #fff;
}
.demo-evidence .mono { color: #38bdf8; font-size: 12px; letter-spacing: 0.08em; }
.demo-evidence h4 { font-size: 16px; color: #fff; margin: 10px 0; }
.demo-evidence p { font-size: 13.5px; color: #cbd5e1; }
.demo-evidence ul { padding-left: 18px; margin: 12px 0 0; color: #94a3b8; font-size: 13px; }
.demo-evidence li { margin: 6px 0; }

.workbench-bottom {
  padding: 14px 24px;
  background: rgba(10, 19, 36, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #94a3b8;
}
.next-stage {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 6px;
  background: rgba(51, 113, 255, 0.2);
  border: 1px solid rgba(51, 113, 255, 0.4);
  transition: all 0.15s ease;
}
.next-stage:hover {
  background: var(--blue);
  box-shadow: 0 0 15px var(--blue-glow);
}

/* ==========================================================================
   AI Pipeline Section
   ========================================================================== */
.brand-ai {
  padding-top: clamp(80px, 9vw, 130px);
  padding-bottom: clamp(80px, 9vw, 130px);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.brand-ai-copy h2 { font-size: clamp(34px, 4vw, 54px); }
.brand-ai-copy p { font-size: 17px; margin-top: 20px; }
.ai-cta-wrap { margin-top: 32px; }

.ai-story-visual {
  background-color: #f8faff;
  background-image: linear-gradient(135deg, #f8faff 0%, #edf3ff 100%);
  border: 1px solid #dbe6fb;
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vw, 40px);
  box-shadow: 0 20px 45px -15px rgba(23, 77, 200, 0.1);
}
.ai-diagram-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #dbe6fb;
  padding-bottom: 12px;
  margin-bottom: 24px;
}
.ai-diagram-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-ink);
  letter-spacing: 0.05em;
}
.ai-diagram-status {
  font-size: 12px;
  color: #0284c7;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
}

.ai-inputs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.input-node {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-heading);
  box-shadow: 0 2px 6px var(--shadow-color);
}
.node-icon { font-size: 14px; }

.ai-transform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 24px 0;
}
.transform-track {
  height: 2px;
  width: 70px;
  background: #cbd5e1;
  position: relative;
  overflow: hidden;
}
.transform-particle {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 30px;
  background: var(--blue);
  animation: moveTrack 2s linear infinite;
}
.transform-particle.delay { animation-delay: 1s; }

.ai-core-hub {
  position: relative;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--bg-raised);
  border: 2px solid var(--blue);
  box-shadow: 0 0 25px rgba(51, 113, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hub-symbol { width: 44px; height: 44px; object-fit: contain; }
.hub-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px dashed rgba(51, 113, 255, 0.4);
  animation: rotateRing 14s linear infinite;
}

.ai-output {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: 0 15px 35px -10px var(--shadow-color);
}
.output-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.output-label { font-size: 12px; font-weight: 600; color: var(--blue-ink); }
.output-badge-valid {
  font-size: 12px;
  font-family: var(--font-mono);
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  padding: 2px 7px;
  border-radius: 4px;
}
.ai-output h3 {
  font-size: clamp(20px, 2vw, 24px);
  color: var(--ink-heading);
  line-height: 1.35;
  margin-bottom: 16px;
}
.output-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  font-size: 12px;
  color: var(--muted);
}
.visual-caption {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 16px;
}

/* ==========================================================================
   Behavior Change Band
   ========================================================================== */
.change-band {
  background: var(--bg-sunken);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.change-inner {
  padding-top: clamp(70px, 8vw, 110px);
  padding-bottom: clamp(70px, 8vw, 110px);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.change-copy h2 { font-size: clamp(34px, 4vw, 52px); }
.change-copy p { font-size: 18px; margin-top: 20px; line-height: 1.7; }
.change-copy .button { margin-top: 28px; }

.behavior-story-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 16px 40px -15px var(--shadow-color);
}
.behavior-story-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  margin-bottom: 24px;
}
.behavior-story-header .mono { font-size: 12px; color: var(--blue-ink); font-weight: 600; }
.live-dot-wrap { font-size: 12px; color: #0284c7; display: flex; align-items: center; gap: 6px; }

.behavior-steps { display: flex; flex-direction: column; gap: 16px; }
.behavior-node {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.node-icon-bubble {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--code-bg);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bubble-success {
  background: var(--success-tint);
  border-color: var(--success);
  color: var(--success);
}
.behavior-caption {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.caption-success { color: var(--success); }
.behavior-node h3 { font-size: 20px; margin: 4px 0 6px; }
.behavior-node p { font-size: 13.5px; color: var(--muted); margin: 0; }
.text-success { color: var(--success) !important; }

.behavior-intervention-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(51, 113, 255, 0.08);
  border: 1px dashed rgba(51, 113, 255, 0.35);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-ink);
  margin-left: 50px;
}
.pill-arrow { font-size: 15px; font-weight: 700; }

.behavior-card-footer {
  border-top: 1px solid var(--border);
  margin-top: 24px;
  padding-top: 14px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

/* ==========================================================================
   Home Enterprise Trust & Standards Section
   ========================================================================== */
.home-trust-section {
  padding-top: clamp(60px, 7vw, 100px);
  padding-bottom: clamp(30px, 4vw, 50px);
}
.home-trust-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px);
  box-shadow: 0 10px 30px var(--shadow-color);
}
.home-trust-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.home-trust-header h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  margin-top: 8px;
}
.home-trust-header p {
  font-size: 16px;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.6;
}
.home-trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.home-trust-badge-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.home-trust-badge-card:hover {
  transform: translateY(-4px);
  border-color: rgba(51, 113, 255, 0.35);
  box-shadow: 0 12px 30px rgba(51, 113, 255, 0.08);
}
.ht-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(51, 113, 255, 0.08);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.ht-badge-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-ink);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.home-trust-badge-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--text-heading);
}
.home-trust-badge-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 20px;
  flex: 1;
}
.ht-badge-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  transition: gap 0.15s ease;
}
.ht-badge-link:hover {
  gap: 8px;
  text-decoration: underline;
}

.home-trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1100px) {
  .home-trust-badges-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .home-trust-badges-grid {
    grid-template-columns: 1fr;
  }
}

.home-dpdp-deepdive {
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.dpdp-deepdive-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.dpdp-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--success-tint);
  color: var(--success);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.dpdp-deepdive-head h3 {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  color: var(--text-heading);
  margin: 0;
}
.dpdp-deepdive-head p {
  font-size: 15px;
  color: var(--muted);
  max-width: 580px;
  margin: 0;
  line-height: 1.55;
}
.dpdp-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1024px) {
  .dpdp-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .dpdp-pillars-grid {
    grid-template-columns: 1fr;
  }
}
.dpdp-pillar-card {
  background: var(--bg-sunken);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.dpdp-pillar-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 8px;
}
.dpdp-pillar-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-heading);
  margin: 0 0 8px;
}
.dpdp-pillar-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   Resources Section
   ========================================================================== */
.home-resources {
  padding-top: clamp(80px, 9vw, 130px);
  padding-bottom: clamp(80px, 9vw, 130px);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 44px;
}
.resource-teasers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.resource-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.resource-card:hover {
  transform: translateY(-6px);
  border-color: rgba(51, 113, 255, 0.4);
  box-shadow: 0 20px 45px -12px rgba(23, 77, 200, 0.12);
}

.teaser-category {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-ink);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.resource-card h3 {
  font-size: 19px;
  color: var(--ink-heading);
  line-height: 1.35;
  margin: 10px 0 16px;
  flex-grow: 1;
}
.teaser-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue-ink);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   Closing CTA Banner
   ========================================================================== */
.closing {
  padding-top: clamp(60px, 7vw, 100px);
  padding-bottom: clamp(60px, 7vw, 100px);
}
.closing-card {
  background: linear-gradient(135deg, #091326 0%, #112347 100%);
  border: 1px solid rgba(51, 113, 255, 0.3);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 5vw, 70px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 70px -15px rgba(13, 21, 39, 0.35);
}
.closing-mesh {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(51, 113, 255, 0.25) 0%, transparent 70%);
  pointer-events: none;
}
.closing-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 50px;
  align-items: center;
}
.closing-content h2 { color: #fff; font-size: clamp(32px, 3.5vw, 48px); }
.closing-content .eyebrow { color: #93c5fd; }
.closing-content .eyebrow-dot { background: #93c5fd; }
.closing-action p { color: #cbd5e1; font-size: 17px; margin-bottom: 24px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--dark);
  color: #fff;
  padding: 80px var(--space) 30px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--footer-border);
}
.footer-glow {
  position: absolute;
  top: 0;
  left: 30%;
  width: 500px;
  height: 200px;
  background: radial-gradient(circle, rgba(51, 113, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.footer-top {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
}
.footer-top > div:first-child p {
  font-size: 20px;
  color: #94a3b8;
  margin-top: 18px;
  line-height: 1.4;
  letter-spacing: -0.02em;
}
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  margin-top: 24px;
}
.status-indicator-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 6px #34d399;
}
.footer-badge-text {
  font-size: 12px;
  font-family: var(--font-mono);
  color: #94a3b8;
}

.footer-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}
.footer-top a:not(.brand) {
  display: block;
  font-size: 14px;
  color: #cbd5e1;
  margin: 10px 0;
  transition: color 0.15s ease, transform 0.1s ease;
}
.footer-top a:not(.brand):hover {
  color: var(--blue) !important;
  transform: translateX(2px);
}

.footer-bottom {
  max-width: 1360px;
  margin: 60px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #94a3b8;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}
.footer-bottom-legal a {
  color: #94a3b8;
  transition: color 0.15s ease;
}
.footer-bottom-legal a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-sep {
  color: rgba(255, 255, 255, 0.2);
}
.footer-edition {
  color: #94a3b8;
  font-size: 12px;
}
.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #94a3b8;
}
.back-to-top:hover { color: var(--blue); }

/* ==========================================================================
   Product Console Demonstrations (Subpages)
   ========================================================================== */
.product-console-mockup {
  margin: 0;
  background: #090f1e;
  border: 1px solid rgba(51, 113, 255, 0.25);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  color: #fff;
}
.console-head {
  padding: 12px 20px;
  background: rgba(10, 18, 36, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.console-dots { display: flex; gap: 6px; }
.console-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  color: #94a3b8;
}
.console-status-chip {
  font-size: 10.5px;
  font-family: var(--font-mono);
  color: #38bdf8;
  display: flex;
  align-items: center;
  gap: 6px;
}
.product-screenshot-frame figcaption,
.product-console-mockup figcaption {
  padding: 12px 20px;
  background: rgba(6, 12, 24, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11.5px;
  color: #64748b;
  text-align: center;
}

/* ==========================================================================
   Product Screenshot Frame & Drop-In Placeholder Architecture
   ========================================================================== */
.product-screenshot-frame {
  margin: 40px 0 0 0;
  background: #090f1e;
  border: 1px solid rgba(51, 113, 255, 0.25);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  color: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.product-screenshot-frame:hover {
  border-color: rgba(51, 113, 255, 0.45);
  box-shadow: 0 28px 70px rgba(51, 113, 255, 0.12), 0 20px 50px rgba(0, 0, 0, 0.5);
}

.product-screenshot-frame.has-actual-screenshot .screenshot-img-wrap {
  width: 100%;
  background: #000;
  line-height: 0;
  display: block;
}
.product-screenshot-frame.has-actual-screenshot img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Status Chips */
.console-status-chip.live {
  color: #34d399;
}
.console-status-chip.live .pulse-dot {
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}
.console-status-chip.pending {
  color: #f59e0b;
}
.pulse-dot-amber {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 8px #f59e0b;
  animation: pulseDot 2s infinite;
  display: inline-block;
}

/* Drop-in Slot Target Box */
.dropin-slot-body {
  padding: 32px;
  background: radial-gradient(circle at top left, rgba(51, 113, 255, 0.08) 0%, rgba(9, 15, 30, 0.95) 100%);
}
.dropin-target-box {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 32px;
  border: 2px dashed rgba(51, 113, 255, 0.35);
  border-radius: 12px;
  background: rgba(51, 113, 255, 0.03);
  transition: border-color var(--transition), background var(--transition);
}
.dropin-target-box:hover {
  border-color: rgba(51, 113, 255, 0.65);
  background: rgba(51, 113, 255, 0.06);
}
.dropin-icon {
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  border-radius: 12px;
  background: rgba(51, 113, 255, 0.12);
  border: 1px solid rgba(51, 113, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
}
.dropin-info {
  flex: 1;
}
.dropin-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24;
  border-radius: 4px;
  margin-bottom: 10px;
}
.dropin-title {
  font-size: 20px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 6px 0;
  letter-spacing: -0.01em;
}
.dropin-sub {
  font-size: 14px;
  line-height: 1.5;
  color: #94a3b8;
  margin: 0 0 16px 0;
}
.dropin-metadata-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.d-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}
.d-tag strong {
  color: #94a3b8;
  font-weight: 600;
}
.d-tag code {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}
.d-status {
  color: #f59e0b;
}
.dropin-instructions {
  font-size: 12.5px;
  line-height: 1.5;
  color: #64748b;
  margin: 0;
}
.dropin-instructions code {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Interactive Preview Drawer */
.dropin-demo-drawer {
  margin-top: 20px;
}
.interactive-preview-toggle {
  background: rgba(10, 18, 36, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
}
.interactive-preview-toggle summary {
  padding: 12px 18px;
  font-size: 12.5px;
  font-weight: 600;
  font-family: var(--font-mono);
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  user-select: none;
  transition: color var(--transition), background var(--transition);
}
.interactive-preview-toggle summary:hover {
  color: #fff;
  background: rgba(51, 113, 255, 0.08);
}
.preview-toggle-icon {
  color: #38bdf8;
}
.drawer-preview-content {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0;
}
.drawer-preview-content .product-console-mockup {
  border: none;
  box-shadow: none;
  border-radius: 0;
  margin: 0;
}

/* Hero Screenshot Slot Pill */
.hero-screenshot-slot-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 12px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24;
  border-radius: 20px;
  margin-left: auto;
}
.hero-screenshot-slot-pill code {
  color: #fff;
  background: rgba(0, 0, 0, 0.25);
  padding: 1px 5px;
  border-radius: 3px;
}

@media (max-width: 850px) {
  .dropin-target-box { flex-direction: column; gap: 18px; padding: 20px; }
  .dropin-icon { width: 48px; height: 48px; }
  .dropin-slot-body { padding: 18px; }
  .hero-screenshot-slot-pill { display: none; }
}

/* Simulations Console */
.sim-body {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 360px;
}
.sim-sidebar {
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 12, 24, 0.4);
}
.sim-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #64748b;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 10px;
}
.sim-channels { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.sim-ch {
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12.5px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #94a3b8;
}
.sim-ch.active {
  background: rgba(51, 113, 255, 0.15);
  border-color: rgba(51, 113, 255, 0.35);
  color: #fff;
}
.sim-target-badge {
  padding: 8px 12px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #34d399;
  font-size: 12px;
  border-radius: 6px;
}
.sim-main { padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.sim-header-row { display: flex; justify-content: space-between; align-items: flex-start; }
.sim-pretext-tag { font-family: var(--font-mono); font-size: 10px; color: #38bdf8; }
.sim-header-row h4 { font-size: 18px; color: #fff; margin-top: 4px; }
.sim-difficulty-badge {
  font-size: 11px;
  font-family: var(--font-mono);
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  padding: 4px 10px;
  border-radius: 4px;
}
.sim-preview-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 16px;
}
.sim-meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: #94a3b8;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 8px;
  margin-bottom: 10px;
}
.sim-preview-box p { font-size: 13.5px; color: #e2e8f0; font-style: italic; }
.sim-expected-response {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
}
.exp-title { color: #34d399; font-weight: 700; margin-right: 6px; }
.exp-desc { color: #cbd5e1; }
.sim-metrics-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.sim-metric {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px;
  border-radius: 6px;
}
.m-val { font-size: 20px; font-weight: 700; color: #fff; display: block; }
.m-val.highlight-green { color: #34d399; }
.m-lbl { font-size: 10.5px; color: #64748b; font-family: var(--font-mono); }

/* Triage Body */
.triage-body {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 24px;
  padding: 28px;
}
.triage-left { display: flex; flex-direction: column; gap: 16px; }
.triage-reporter-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  padding: 12px;
  border-radius: 8px;
}
.triage-reporter-pill strong { font-size: 13px; color: #fff; display: block; }
.triage-reporter-pill small { font-size: 11px; color: #94a3b8; }
.triage-comment {
  background: rgba(51, 113, 255, 0.08);
  border-left: 3px solid var(--blue);
  padding: 14px;
  border-radius: 0 8px 8px 0;
}
.triage-comment .mono { font-size: 10px; color: #93c5fd; }
.triage-comment p { font-size: 13px; color: #e2e8f0; margin-top: 6px; }
.triage-tech-signals .mono { font-size: 10px; color: #64748b; margin-bottom: 8px; display: block; }
.signal-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.spill { font-size: 10.5px; padding: 3px 8px; border-radius: 4px; font-family: var(--font-mono); }
.spill-pass { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.spill-warn { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.spill-alert { background: rgba(239, 68, 68, 0.15); color: #f87171; }

.ai-explanation-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 20px;
}
.exp-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.exp-badge { font-size: 11px; font-weight: 600; color: #38bdf8; }
.exp-conf { font-size: 10px; font-family: var(--font-mono); color: #34d399; }
.ai-explanation-card h4 { font-size: 15px; color: #fff; line-height: 1.4; margin-bottom: 10px; }
.ai-explanation-card p { font-size: 13px; color: #94a3b8; line-height: 1.6; }
.analyst-actions { display: flex; gap: 10px; margin-top: 18px; }
.btn-mock {
  font-size: 11.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 6px;
  cursor: pointer;
}
.btn-approve { background: #dc2626; color: #fff; }
.btn-feedback { background: rgba(51, 113, 255, 0.2); color: #93c5fd; }

/* Risk Matrix Body */
.risk-body { padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.risk-stats-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.r-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 14px;
}
.r-lbl { font-size: 10.5px; color: #64748b; font-family: var(--font-mono); display: block; }
.r-val { font-size: 22px; font-weight: 700; margin: 6px 0; display: block; }
.r-val small { font-size: 11px; font-weight: 500; }
.text-green { color: #34d399; }
.text-blue { color: #60a5fa; }
.text-amber { color: #fbbf24; }
.r-sub { font-size: 10px; color: #64748b; }

.risk-matrix-table {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
  font-size: 12.5px;
}
.rm-header, .rm-row {
  display: grid;
  grid-template-columns: 1.4fr 1.3fr 1.3fr 1fr 1.2fr;
  padding: 12px 16px;
  align-items: center;
}
.rm-header {
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--font-mono);
  font-size: 10px;
  color: #64748b;
  text-transform: uppercase;
}
.rm-row {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
}
.badge-exp { font-size: 11px; padding: 2px 7px; border-radius: 4px; font-family: var(--font-mono); }
.badge-exp.high { background: rgba(239, 68, 68, 0.15); color: #f87171; }
.badge-exp.med { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.score-pill { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 4px; }
.score-pill.good { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.score-pill.fair { background: rgba(51, 113, 255, 0.15); color: #93c5fd; }
.focus-text { font-size: 11.5px; color: #94a3b8; }

/* Awareness Body */
.aware-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding: 28px;
}
.aware-left { display: flex; flex-direction: column; justify-content: center; }
.aware-kicker { font-family: var(--font-mono); font-size: 10px; color: #38bdf8; }
.aware-left h3 { font-size: 20px; color: #fff; margin: 8px 0; }
.aware-left p { font-size: 13.5px; color: #94a3b8; }
.aware-progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin: 16px 0 8px;
}
.aware-fill { height: 100%; background: #34d399; }
.aware-completed-tag { font-size: 11.5px; color: #34d399; font-weight: 600; }

.reassessment-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 20px;
}
.reassessment-card .mono { font-size: 10px; color: var(--blue); }
.reassessment-card h4 { font-size: 16px; color: #fff; margin: 8px 0; }
.reassessment-card p { font-size: 13px; color: #cbd5e1; }
.reassessment-badges {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 14px;
}
.reassessment-badges span { font-size: 11px; color: #7dd3fc; font-family: var(--font-mono); }

/* ==========================================================================
   Inner Pages Styling (Platform, AI, Solutions, Resources, Trust, Demo)
   ========================================================================== */
.inner-hero {
  padding-top: clamp(50px, 6vw, 85px);
  padding-bottom: clamp(40px, 5vw, 70px);
}
.inner-hero h1 { font-size: clamp(38px, 4.8vw, 68px); max-width: 900px; }
.lead { font-size: 20px; line-height: 1.65; max-width: 760px; margin-top: 20px; color: var(--muted); }

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 85px);
  padding-top: 50px;
  padding-bottom: 70px;
  align-items: center;
}
.two-column h2 { font-size: clamp(30px, 3.5vw, 44px); }
.two-column > div > p:not(.eyebrow) { margin-top: 18px; font-size: 16.5px; }

.platform-intro {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  padding-top: 40px;
  padding-bottom: 80px;
}
.platform-principle {
  padding: 40px;
  background: linear-gradient(135deg, #eef4ff 0%, #e0ebff 100%);
  border: 1px solid #c7daf9;
  border-radius: var(--radius);
  position: sticky;
  top: 100px;
}
.platform-principle .mono { color: var(--blue-ink); font-weight: 600; }
.platform-principle h2 { font-size: 38px; margin: 24px 0 16px; }

.content-rows article {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.content-rows .mono { color: var(--blue-ink); font-weight: 600; }
.content-rows h3 { font-size: 24px; margin-bottom: 10px; }
.content-rows p { font-size: 15.5px; }

.product-directory { padding: 60px 0; }
.directory-rows { margin-top: 36px; }
.directory-rows a {
  display: grid;
  grid-template-columns: 40px 1fr 1.2fr 30px;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  align-items: center;
  transition: all 0.15s ease;
}
.directory-rows a:hover { transform: translateX(4px); }
.directory-rows a:hover h3 { color: var(--blue); }
.directory-rows .mono { color: var(--blue-ink); font-weight: 600; }
.directory-rows h3 { font-size: 22px; }
.directory-rows p { font-size: 14.5px; }

.availability {
  padding: 20px 24px;
  margin: 40px 0;
  background: var(--bg-sunken);
  border-left: 3px solid var(--blue);
  border-radius: 0 8px 8px 0;
}
.availability .mono { color: var(--accent-ink); font-weight: 600; }
.availability p { font-size: 14px; margin: 8px 0 12px; color: var(--text-muted); }

.scenario-builder, .practice-box, .lens-box {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.scenario-builder h3, .practice-box h3, .lens-box h3 { font-size: 26px; margin: 16px 0; }
.scenario-builder .mono, .practice-box .mono, .lens-box .mono { color: var(--blue-ink); font-weight: 600; }

input, select, textarea {
  width: 100%;
  padding: 12px 16px;
  min-height: 48px;
  background-color: var(--bg-raised);
  border: 1px solid var(--border-input);
  border-radius: 8px;
  color: var(--text);
  font-size: 15px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--focus);
  box-shadow: 0 0 0 3px rgba(51, 113, 255, 0.18);
  outline: none;
}

/* Custom Select Dropdowns - Zero Native Browser Chrome */
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3.5 5.25L7 8.75L10.5 5.25' stroke='%233371ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 16px) center;
  background-size: 14px 14px;
  padding-right: 44px;
  cursor: pointer;
  font-weight: 500;
}
select::-ms-expand {
  display: none;
}
select:hover {
  border-color: #94a3b8;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3.5 5.25L7 8.75L10.5 5.25' stroke='%231945b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
select option {
  background: var(--bg-raised);
  color: var(--text);
  font-size: 14.5px;
  padding: 10px 14px;
}

/* Custom Search Input - Zero WebKit Search Decorators */
input[type="search"] {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Ccircle cx='7' cy='7' r='4.5' stroke='%2364748b' stroke-width='1.8'/%3E%3Cpath d='M10.5 10.5L14 14' stroke='%2364748b' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 16px center;
  background-size: 16px 16px;
  padding-left: 44px;
}
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
  display: none;
}

/* Custom Radio Buttons - Zero Native OS Radio Chrome */
input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  min-height: 20px;
  border: 2px solid var(--border-input);
  border-radius: 50%;
  outline: none;
  cursor: pointer;
  background: var(--bg-raised);
  display: inline-grid;
  place-content: center;
  margin: 0;
  padding: 0;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}
input[type="radio"]::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  background: var(--blue);
  box-shadow: 0 0 6px rgba(51, 113, 255, 0.4);
}
input[type="radio"]:checked {
  border-color: var(--blue);
  background: var(--bg-raised);
}
input[type="radio"]:checked::before {
  transform: scale(1);
}
input[type="radio"]:focus-visible {
  box-shadow: 0 0 0 3px rgba(51, 113, 255, 0.25);
}

.lens-options label, #practice-form label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  transition: all 0.2s ease;
  margin-top: 10px;
}
.lens-options label:hover, #practice-form label:hover {
  border-color: var(--border-strong);
  background: var(--bg-sunken);
}
.lens-options label:has(input:checked), #practice-form label:has(input:checked) {
  border-color: var(--blue);
  background: var(--bg-sunken);
  color: var(--accent-ink);
  box-shadow: 0 2px 8px rgba(51, 113, 255, 0.08);
}

label { display: block; font-size: 13.5px; font-weight: 600; margin: 16px 0 6px; color: var(--text-heading); }

.scenario-output {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 24px;
}
.scenario-output h4 { font-size: 18px; margin: 8px 0; }

.channel-table { margin-top: 36px; overflow-x: auto; }
.channel-table table, .truth-table table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
}
.channel-table th, .channel-table td, .truth-table th, .truth-table td {
  padding: 18px 16px;
  border-bottom: 1px solid var(--line);
}
.channel-table thead th, .truth-table thead th {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  border-top: 2px solid var(--ink);
}

.faq-section {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 60px;
  padding: 70px 0;
}
details { border-bottom: 1px solid var(--border); }
summary {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-heading);
  cursor: pointer;
  list-style: none;
  transition: color 0.15s ease;
}
summary:hover { color: var(--accent-ink); }
summary::-webkit-details-marker {
  display: none;
}
.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(51, 113, 255, 0.08);
  color: var(--blue);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}
details[open] summary .faq-icon {
  transform: rotate(45deg);
  background: var(--blue);
  color: #ffffff;
}
details p { padding-bottom: 20px; font-size: 15px; }

.connected-next {
  padding: 70px 0;
  background: #f0f5ff;
  border-top: 1px solid #dce7fa;
  margin-top: 40px;
}
.connected-next .mono { color: var(--blue-ink); font-weight: 600; }
.connected-next h2 { font-size: 38px; margin: 18px 0 24px; }

.analysis-demo { padding: 60px 0; }
.analysis-toggle { display: flex; align-items: center; gap: 20px; margin: 24px 0; }
.analysis-toggle label { margin: 0; }
.analysis-toggle select { max-width: 280px; }

.evidence-result {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 34px;
  background: var(--dark);
  border-radius: var(--radius);
  color: #fff;
}
.evidence-result h3 { color: #fff; font-size: 28px; margin-top: 14px; }
.evidence-result p { color: #cbd5e1; font-size: 15px; }

/* KeenSec AI Page System */
.ai-hero { padding-bottom: 40px; }
.ai-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(51, 113, 255, 0.08);
  border: 1px solid rgba(51, 113, 255, 0.2);
  border-radius: 999px;
  margin-bottom: 24px;
}
.ai-hero-kicker .mono {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.06em;
}
.ai-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.ai-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text);
  box-shadow: var(--shadow-sm, 0 2px 8px rgba(0, 0, 0, 0.03));
}
.ai-badge-item svg {
  color: var(--blue);
  flex-shrink: 0;
}
.ai-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* AI Threat Synthesis & Studio Capture */
.ai-capture-section { padding-top: 20px; padding-bottom: 70px; }
.ai-console-section { padding-top: 20px; padding-bottom: 70px; }
.ai-section-header { margin-bottom: 28px; }
.ai-section-header h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 12px 0 10px;
}
.ai-section-header .section-sub {
  color: var(--muted);
  font-size: 16px;
  max-width: 740px;
  line-height: 1.6;
  margin: 0;
}

.ai-console {
  background: #080e1e;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 20px;
  box-shadow: 0 24px 64px -12px rgba(0, 0, 0, 0.6), 0 0 40px rgba(51, 113, 255, 0.12);
  overflow: hidden;
  color: #f8fafc;
  margin-top: 20px;
}
.ai-console-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 16px;
  flex-wrap: wrap;
}
.ai-console-dots { display: flex; gap: 7px; }
.ai-console-dots span { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.ai-console-dots span:nth-child(1) { background: #ff5f56; }
.ai-console-dots span:nth-child(2) { background: #ffbd2e; }
.ai-console-dots span:nth-child(3) { background: #27c93f; }
.ai-console-session .mono { font-size: 11px; color: #94a3b8; letter-spacing: 0.05em; font-weight: 500; }
.ai-console-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.25);
  border-radius: 999px;
}
.ai-console-status .mono { font-size: 10.5px; color: #34d399; font-weight: 600; }

.ai-console-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1.05fr;
  min-height: 520px;
}
.ai-console-col {
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ai-console-col:last-child { border-right: none; }
.ai-console-col.actions-col { background: rgba(0, 0, 0, 0.22); }
.ai-col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.ai-col-header .mono { font-size: 11px; color: #64748b; letter-spacing: 0.06em; font-weight: 600; }
.ai-col-tag {
  font-size: 10px;
  font-family: var(--font-mono);
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(56, 189, 248, 0.1);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.2);
  font-weight: 600;
}
.ai-col-tag.mint {
  background: rgba(52, 211, 153, 0.1);
  color: #34d399;
  border-color: rgba(52, 211, 153, 0.25);
}

.ai-signal-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ai-signal-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
}
.ai-signal-lbl {
  color: #64748b;
  font-weight: 600;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 10px;
}
.ai-signal-val {
  color: #e2e8f0;
  text-align: right;
  word-break: break-all;
}
.ai-signal-badge {
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 5px;
  margin-top: 4px;
  width: fit-content;
}
.ai-signal-badge.warning {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.ai-signal-badge.danger {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.ai-signal-badge.pending {
  background: rgba(148, 163, 184, 0.1);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.ai-confidence-badge {
  font-size: 10.5px;
  font-family: var(--font-mono);
  font-weight: 600;
  color: #34d399;
  background: rgba(52, 211, 153, 0.12);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(52, 211, 153, 0.25);
}
.ai-verdict-banner {
  background: rgba(51, 113, 255, 0.08);
  border: 1px solid rgba(51, 113, 255, 0.25);
  border-radius: 12px;
  padding: 16px;
}
.verdict-pill.danger {
  font-size: 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  color: #f87171;
  background: rgba(239, 68, 68, 0.2);
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 8px;
  letter-spacing: 0.06em;
}
.ai-verdict-banner h3 {
  font-size: 16px;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.3;
}
.ai-verdict-banner p {
  font-size: 12.5px;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
}

.ai-trace-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ai-trace-item {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 12px;
}
.ai-trace-step {
  font-size: 9.5px;
  font-weight: 700;
  color: #38bdf8;
  letter-spacing: 0.05em;
  margin-top: 2px;
}
.ai-trace-item strong {
  color: #ffffff;
  display: block;
  margin-bottom: 3px;
  font-size: 12.5px;
}
.ai-trace-item p {
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
}
.ai-trace-item.uncertainty {
  border-color: rgba(245, 158, 11, 0.25);
  background: rgba(245, 158, 11, 0.04);
}
.ai-trace-item.uncertainty .ai-trace-step { color: #fbbf24; }

.ai-gate-intro p {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
}
.ai-console-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.btn-console {
  width: 100%;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid transparent;
  text-align: left;
}
.btn-quarantine {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.3));
  border-color: rgba(239, 68, 68, 0.4);
  color: #fecaca;
}
.btn-quarantine:hover {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.3), rgba(220, 38, 38, 0.4));
  border-color: rgba(239, 68, 68, 0.6);
  transform: translateY(-1px);
}
.btn-simulate {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.25);
  color: #7dd3fc;
}
.btn-simulate:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-1px);
}
.btn-learning {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.25);
  color: #c7d2fe;
}
.btn-learning:hover {
  background: rgba(99, 102, 241, 0.18);
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-1px);
}
.btn-override {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}
.btn-override:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}
.ai-action-status {
  margin-top: auto;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  font-size: 11px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
  color: #94a3b8;
  transition: all 0.2s ease;
}
.ai-action-status.active {
  border-color: rgba(52, 211, 153, 0.4);
  background: rgba(52, 211, 153, 0.06);
  color: #e2e8f0;
}
.ai-action-status .status-indicator-dot { margin-top: 4px; flex-shrink: 0; }

/* AI 4-Stage Operating Pipeline */
.ai-pipeline-section {
  padding: 70px 0 60px;
  border-top: 1px solid var(--line);
}
.ai-pipeline-tabs {
  display: flex;
  gap: 8px;
  margin: 28px 0;
  flex-wrap: wrap;
}
.pipeline-tab {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.pipeline-tab:hover {
  border-color: #cbd5e1;
  color: var(--blue);
}
.pipeline-tab.active {
  background: var(--dark);
  border-color: var(--dark);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.ai-pipeline-display {
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px;
}
.pipeline-content-header {
  margin-bottom: 28px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.pipeline-content-header h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink-heading);
}
.pipeline-content-header p {
  font-size: 15px;
  color: var(--muted);
  max-width: 680px;
  margin: 0;
}
.ai-pipeline-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.pipeline-flow-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.pipeline-flow-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}
.pipeline-flow-step {
  font-size: 12px;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--blue-ink);
  letter-spacing: 0.06em;
}
.pipeline-flow-card h4 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink-heading);
  margin: 0;
  line-height: 1.3;
}
.pipeline-flow-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}
.pipeline-flow-footer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.pipeline-flow-footer .text-link { margin: 0; }

/* AI Governance & Safety Matrix */
.ai-governance-section {
  padding: 70px 0 40px;
  border-top: 1px solid var(--line);
}
.ai-governance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 36px 0 32px;
}
.ai-gov-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ai-gov-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}
.ai-gov-badge {
  display: inline-block;
  width: fit-content;
  font-size: 12px;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--blue-ink);
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 4px;
}
.ai-gov-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink-heading);
  margin: 0;
}
.ai-gov-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}
.ai-gov-list {
  padding-left: 18px;
  margin: 10px 0 0;
  font-size: 13px;
  color: #334155;
}
.ai-gov-list li { margin: 6px 0; }
.ai-gov-footer {
  background: var(--dark);
  border-radius: 16px;
  padding: 28px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: #ffffff;
  margin-top: 24px;
}
.ai-gov-footer .button-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s ease;
}
.ai-gov-footer .button-secondary:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff !important;
  transform: translateY(-1px);
}

.solution-list article {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 70px;
  padding: 50px 0;
  border-top: 1px solid var(--line);
}
.solution-list article > div:last-child {
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
}
.solution-list ul, .trust-register ul { padding-left: 18px; margin-top: 12px; color: var(--muted); font-size: 14.5px; }
.solution-list li, .trust-register li { margin: 8px 0; }

.resource-tools {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.resource-tools input { max-width: 380px; }
.filter-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-buttons button {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg-raised);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.15s ease;
}
.filter-buttons button:hover { border-color: var(--blue); color: var(--blue); }
.filter-buttons button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.resource-results { display: flex; flex-direction: column; }
.resource-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 40px;
  padding: 44px 0;
  border-top: 1px solid var(--line);
}
.resource-number {
  font-size: 56px;
  font-weight: 800;
  color: #cbd5e1;
  line-height: 1;
}
.resource-item h2 { font-size: 30px; margin: 8px 0 12px; }

/* Article layout */
.article-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 740px);
  gap: 70px;
  padding-top: 60px;
  padding-bottom: 90px;
  justify-content: center;
}
.article-header { grid-column: 1 / -1; border-bottom: 1px solid var(--line); padding-bottom: 40px; margin-bottom: 30px; }
.article-header h1 { font-size: clamp(38px, 4.5vw, 58px); }
.article-meta { font-size: 13px; color: var(--muted); margin-top: 20px; font-family: var(--font-mono); }
.article-toc { position: sticky; top: 110px; align-self: start; }
.article-toc .mono { font-size: 12px; color: var(--muted); }
.article-toc nav { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.article-toc a { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.article-toc a:hover { color: var(--blue-ink); }
.article-body h2 { font-size: 28px; margin: 34px 0 16px; }
.article-body p { font-size: 17px; line-height: 1.85; margin: 16px 0; color: var(--text); }
.source-note { padding: 24px; background: var(--bg-sunken); border-radius: 10px; margin: 30px 0; border: 1px solid var(--border); }
.article-next {
  margin: 40px 0;
  padding: 24px;
  border-left: 3px solid var(--blue);
  background: var(--bg-surface-tint);
  border-radius: 0 8px 8px 0;
}
.article-next .mono { color: var(--accent-ink); font-size: 12px; display: block; margin-bottom: 8px; }

.trust-register article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  padding: 44px 0;
  border-top: 1px solid var(--line);
}
.trust-register h2 { font-size: 32px; margin: 14px 0 10px; }

.truth-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 60px 0;
  border-top: 1px solid var(--line);
}

.company-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  padding: 50px 0 80px;
}
.company-story h2 { font-size: 38px; }
.company-story p { font-size: 17px; margin-bottom: 20px; line-height: 1.8; }

.demo-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 80px;
  padding: 40px 0 100px;
}
.demo-agenda ol {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  counter-reset: agenda;
}
.demo-agenda li {
  padding: 16px 0 16px 44px;
  position: relative;
  counter-increment: agenda;
}
.demo-agenda li::before {
  content: "0" counter(agenda);
  position: absolute;
  left: 0;
  top: 18px;
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}
.demo-agenda h3 { font-size: 22px; margin-bottom: 6px; }
.demo-agenda p { font-size: 14.5px; }

.demo-form {
  background: var(--wash);
  border: 1px solid var(--line);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.05);
}
.demo-form h2 { font-size: 28px; }
.demo-form > p { font-size: 14px; margin: 10px 0 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.demo-form .button { margin-top: 24px; width: 100%; }
.form-disclosure { font-size: 12px; color: var(--muted); margin-top: 12px; text-align: center; }
.form-disclosure a { text-decoration: underline; }
#demo-feedback:not(:empty) {
  margin-top: 18px;
  padding: 14px 18px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  border-radius: 8px;
  font-size: 13.5px;
}

/* ==========================================================================
   Legal & Compliance Layout (Terms, Privacy, Cookies)
   ========================================================================== */
.legal-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 820px);
  gap: 70px;
  padding-top: 40px;
  padding-bottom: 90px;
  justify-content: center;
}
.legal-sidebar {
  position: sticky;
  top: 110px;
  align-self: start;
}
.legal-meta-card {
  padding: 24px;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 24px;
}
.legal-meta-card .meta-label {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 4px;
}
.legal-meta-card .meta-val {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue-ink);
  margin-bottom: 14px;
  display: block;
}
.legal-meta-card .meta-val:last-child {
  margin-bottom: 0;
}
.legal-nav-title {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  display: block;
}
.legal-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal-nav a {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.4;
  padding: 6px 10px;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
}
.legal-nav a:hover {
  color: var(--blue-ink);
  background: var(--wash);
}
.legal-content section {
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}
.legal-content section:first-child {
  padding-top: 0;
}
.legal-content section:last-child {
  border-bottom: none;
}
.legal-content h2 {
  font-size: 26px;
  color: var(--blue-ink);
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.legal-content h2 .section-num {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent-ink);
  font-weight: 600;
}
.legal-content p {
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--text);
  margin: 14px 0;
}
.legal-content ul {
  margin: 16px 0 20px 24px;
}
.legal-content li {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 8px;
}
.legal-callout {
  padding: 20px 24px;
  background: var(--bg-surface-tint);
  border-left: 3px solid var(--blue);
  border-radius: 0 8px 8px 0;
  margin: 24px 0;
}
.legal-callout p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
}
.legal-callout strong {
  color: var(--text-heading);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 24px;
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  flex-wrap: wrap;
}
.breadcrumbs a:hover { color: var(--blue-ink); }
.example-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

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

/* ==========================================================================
   Keyframe Animations
   ========================================================================== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}
@keyframes moveTrack {
  0% { left: -30px; }
  100% { left: 100%; }
}
@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1100px) {
  .platform-showcase { grid-template-columns: 1fr; }
  .showcase-context { max-width: 600px; }
  .connection-intro { grid-template-columns: 1fr; gap: 16px; }
  .connection-path { grid-template-columns: 1fr; }
  .brand-ai { grid-template-columns: 1fr; }
  .change-inner { grid-template-columns: 1fr; }
  .resource-teasers { grid-template-columns: 1fr; }
  .closing-content { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .story-band-heading { grid-template-columns: 1fr; gap: 20px; }
  .workbench-layout { grid-template-columns: 1fr; }
  .journey-tabs { flex-direction: row; border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.08); overflow-x: auto; }
  .two-column, .platform-intro, .faq-section, .solution-list article, .trust-register article, .truth-table, .company-story, .demo-layout, .legal-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .platform-principle { position: static; }
  .article-layout { grid-template-columns: 1fr; gap: 40px; }
  .article-toc, .legal-sidebar { position: static; border-bottom: 1px solid var(--line); padding-bottom: 24px; }
  .sim-body, .triage-body, .aware-body { grid-template-columns: 1fr; }
  .sim-sidebar { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
}

@media (max-width: 960px) {
  .site-header { height: 74px; }
  .site-header .brand img { height: 44px; max-width: 145px; }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #f1f5f9;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-heading);
  }
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 14px;
  }
  .hamburger span {
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
  }
  #main-nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 24px var(--space);
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    box-shadow: 0 20px 40px var(--shadow-color);
  }
  .menu-toggle {
    background: var(--bg-raised);
    color: var(--text-heading);
    border: 1px solid var(--border);
  }
  .hamburger span {
    background: var(--text);
  }
  #main-nav.open { display: flex; }
  .nav-group {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }
  .nav-group > a {
    flex: 1;
    padding: 10px 0;
  }
  .nav-expand {
    padding: 10px;
    margin-left: 0;
  }
  .nav-dropdown {
    position: static;
    flex-basis: 100%;
    width: 100%;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 8px 0;
    top: 0;
  }
  .nav-dropdown-ai {
    left: 0;
    padding: 8px 0;
  }
  .nav-ai-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .nav-dropdown::before {
    display: none;
  }
  .button-header { width: 100%; margin-top: 8px; }
}
@media (max-width: 850px) {
  .dash-stat-row { grid-template-columns: 1fr; }
  .dash-body-split { grid-template-columns: 1fr; }
  .dash-search-fake { display: none; }
  #stage-panel { grid-template-columns: 1fr; padding: 24px; }
  .evidence-result { grid-template-columns: 1fr; }
  .ai-console-grid { grid-template-columns: 1fr; }
  .ai-console-col { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .ai-pipeline-flow { grid-template-columns: 1fr 1fr; }
  .ai-governance-grid { grid-template-columns: 1fr; }
  .rm-header, .rm-row { grid-template-columns: 1fr 1fr; gap: 8px; }
  .rm-header span:nth-child(n+3), .rm-row > *:nth-child(n+3) { display: none; }
}

@media (max-width: 560px) {
  .hero-category { font-size: 12px; }
  .brand-hero-actions { flex-direction: column; width: 100%; }
  .button-hero, .button-ghost { width: 100%; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .form-grid { grid-template-columns: 1fr; }
  .resource-item { grid-template-columns: 1fr; gap: 14px; }
  .resource-number { font-size: 38px; }
  .demo-form { padding: 24px; }
  .sim-metrics-bar { grid-template-columns: 1fr; }
  .risk-stats-strip { grid-template-columns: 1fr; }
  .ai-pipeline-flow { grid-template-columns: 1fr; }
  .ai-pipeline-tabs { flex-direction: column; }
  .ai-pipeline-display { padding: 20px; }
}

/* ==========================================================================
   KeenSec AI Dedicated Architecture Styles
   ========================================================================== */

/* Lifecycle Flow: CREATE -> SIMULATE -> OBSERVE -> ANALYZE -> UNDERSTAND -> EDUCATE -> IMPROVE */
.ai-lifecycle-wrap {
  margin: 36px 0;
  overflow-x: auto;
  padding-bottom: 8px;
}
.ai-lifecycle-steps {
  display: flex;
  align-items: stretch;
  gap: 8px;
  min-width: 900px;
}
.ai-lstep {
  flex: 1;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.ai-lstep:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}
.ai-lstep.ai-highlight {
  border-color: #3371ff;
  background: #f8faff;
}
.ai-lstep-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}
.ai-lstep h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-heading);
  margin-bottom: 4px;
}
.ai-lstep p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}
.ai-lstep-role {
  margin-top: auto;
  padding-top: 10px;
  font-size: 12px;
  font-family: var(--font-mono);
  color: #64748b;
  border-top: 1px dashed var(--line);
}

/* Tri-Pillar Architecture Grid */
.ai-triad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 36px 0;
}
.ai-triad-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}
.ai-triad-card.triad-create { border-top: 4px solid var(--blue); }
.ai-triad-card.triad-analyze { border-top: 4px solid #06b6d4; }
.ai-triad-card.triad-understand { border-top: 4px solid #8b5cf6; }
.ai-triad-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.ai-triad-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.triad-create .ai-triad-tag { color: var(--blue); }
.triad-analyze .ai-triad-tag { color: #0891b2; }
.triad-understand .ai-triad-tag { color: #7c3aed; }
.ai-triad-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-heading);
  margin-bottom: 8px;
}
.ai-triad-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 18px;
}
.ai-triad-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-body);
}
.ai-triad-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ai-triad-list li::before {
  content: "→";
  color: var(--blue);
  font-weight: 700;
}
.ai-triad-card .ai-card-link {
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Product Family Directory Grid */
.ai-family-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 32px 0;
}
.ai-family-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.ai-family-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}
.ai-family-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.ai-family-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.06em;
}
.ai-family-badge {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #475569;
}
.ai-family-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-heading);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ai-family-card h3 .arrow {
  color: var(--blue);
  transition: transform 0.15s ease;
}
.ai-family-card:hover h3 .arrow {
  transform: translateX(4px);
}
.ai-family-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* AI Pipeline & Input/Output Stepper */
.ai-stepper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 28px 0;
}
.ai-stepper-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  align-items: flex-start;
}
.ai-stepper-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.06em;
}
.ai-stepper-content h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-heading);
  margin-bottom: 4px;
}
.ai-stepper-content p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* Multi-Channel Grid */
.ai-channels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0;
}
.ai-channel-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.ai-channel-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-heading);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ai-channel-card p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
  margin: 0 0 10px 0;
}
.ai-channel-safe {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-size: 11.5px;
  color: #15803d;
  font-weight: 500;
}

/* Continuity Journey Flow */
.ai-continuity-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 28px 0;
  position: relative;
}
.ai-cont-step {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}
.ai-cont-step span {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 4px;
}
.ai-cont-step strong {
  display: block;
  font-size: 13px;
  color: var(--ink-heading);
  margin-bottom: 4px;
}
.ai-cont-step p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}

/* Raw Metrics vs AI Interpretation Contrast Card */
.ai-metrics-contrast {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
  margin: 32px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}
.ai-raw-col {
  background: #0f172a;
  border-radius: 14px;
  padding: 24px;
  color: #ffffff;
}
.ai-raw-head {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.ai-raw-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
}
.ai-raw-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}
.ai-raw-num {
  font-weight: 700;
  color: #38bdf8;
}
.ai-interp-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ai-interp-head {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 12px;
}
.ai-interp-col h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-heading);
  margin-bottom: 14px;
  line-height: 1.35;
}
.ai-interp-narrative {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: #334155;
  line-height: 1.55;
}
.ai-interp-narrative p {
  margin: 0;
  padding-left: 14px;
  border-left: 3px solid var(--blue);
}

/* Multi-Signal Telemetry Matrix (Reporter Analysis) */
.ai-telemetry-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0;
}
.ai-telemetry-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.ai-telemetry-pill {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: #475569;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.ai-telemetry-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-heading);
  margin-bottom: 8px;
}
.ai-telemetry-signals {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}
.ai-telemetry-signals li {
  padding-left: 12px;
  position: relative;
}
.ai-telemetry-signals li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--blue);
}

/* Explainable Verdict Card */
.ai-verdict-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  margin: 28px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}
.ai-verdict-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}
.ai-verdict-chip {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}
.ai-conf-meter {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #0f766e;
  font-weight: 600;
  background: #ccfbf1;
  padding: 4px 10px;
  border-radius: 6px;
}
.ai-verdict-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 18px 0;
}
.ai-verdict-pane {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
}
.ai-verdict-pane h5 {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-heading);
  margin-bottom: 8px;
}
.ai-verdict-pane p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* Ask KeenSec Query Console */
.ai-query-console {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 16px;
  padding: 28px;
  margin: 32px 0;
  color: #f8fafc;
}
.ai-console-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #1e293b;
  padding-bottom: 14px;
  margin-bottom: 20px;
}
.ai-console-header-bar span {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #38bdf8;
}
.ai-console-questions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.ai-q-btn {
  background: #1e293b;
  border: 1px solid #334155;
  color: #e2e8f0;
  font-size: 12.5px;
  padding: 8px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.ai-q-btn:hover, .ai-q-btn.active {
  background: #0284c7;
  border-color: #38bdf8;
  color: #ffffff;
}
.ai-console-answer {
  background: #131e32;
  border: 1px solid #243553;
  border-radius: 12px;
  padding: 20px;
}
.ai-console-answer h4 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}
.ai-console-answer p {
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.55;
  margin: 0;
}

/* Scanner vs Human Comparison Box */
.ai-scanner-card {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-left: 4px solid #0891b2;
  border-radius: 12px;
  padding: 24px;
  margin: 28px 0;
}
.ai-scanner-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-heading);
  margin-bottom: 6px;
}
.ai-scanner-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* Governance Transparency Register */
.ai-gov-register {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 32px 0;
}
.ai-gov-item {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
}
.ai-gov-item-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.ai-gov-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
}
.ai-gov-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-heading);
  margin: 0;
}
.ai-gov-item p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 12px 0;
}
.ai-gov-specs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #475569;
}
.ai-gov-specs li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ai-gov-specs li::before {
  content: "✓";
  color: #10b981;
  font-weight: 700;
}

@media (max-width: 960px) {
  .ai-triad-grid { grid-template-columns: 1fr; }
  .ai-family-grid { grid-template-columns: 1fr; }
  .ai-channels-grid { grid-template-columns: 1fr; }
  .ai-continuity-flow { grid-template-columns: 1fr; }
  .ai-metrics-contrast { grid-template-columns: 1fr; }
  .ai-telemetry-matrix { grid-template-columns: 1fr; }
  .ai-verdict-grid { grid-template-columns: 1fr; }
  .ai-gov-register { grid-template-columns: 1fr; }
  .ai-stepper-row { grid-template-columns: 1fr; }
}

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


/* Dark section handling: distinct surface elevation and prominent boundaries */
:root[data-theme="dark"] .closing-card {
  background: linear-gradient(135deg, var(--bg-raised) 0%, #17243c 100%);
  border: 1px solid rgba(51, 113, 255, 0.35);
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.6);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .closing-card {
    background: linear-gradient(135deg, var(--bg-raised) 0%, #17243c 100%);
    border: 1px solid rgba(51, 113, 255, 0.35);
    box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.6);
  }
}

:root[data-theme="dark"] .dashboard-preview,
:root[data-theme="dark"] .ai-story-visual,
:root[data-theme="dark"] .workbench,
:root[data-theme="dark"] .behavior-story-card,
:root[data-theme="dark"] .bw-browser,
:root[data-theme="dark"] .home-partners-inner,
:root[data-theme="dark"] .hero-shot .hs-browser,
:root[data-theme="dark"] .hero-shot .hs-float,
:root[data-theme="dark"] .product-panel .pp-browser,
:root[data-theme="dark"] .product-panel > img,
:root[data-theme="dark"] .mk-lure,
:root[data-theme="dark"] .ls-desk,
:root[data-theme="dark"] .ls-poster {
  border: 1px solid var(--dark-frame-border, rgba(255, 255, 255, 0.18)) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5) !important;
}
:root[data-theme="dark"] .ls-phone {
  outline: 1px solid var(--dark-frame-border, rgba(255, 255, 255, 0.18)) !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6) !important;
}
:root[data-theme="dark"] .product-panel figcaption {
  color: var(--text-muted);
}
:root[data-theme="dark"] .product-panel figcaption b {
  color: var(--text-heading);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .dashboard-preview,
  :root:not([data-theme="light"]) .ai-story-visual,
  :root:not([data-theme="light"]) .workbench,
  :root:not([data-theme="light"]) .behavior-story-card,
  :root:not([data-theme="light"]) .bw-browser,
  :root:not([data-theme="light"]) .home-partners-inner,
  :root:not([data-theme="light"]) .hero-shot .hs-browser,
  :root:not([data-theme="light"]) .hero-shot .hs-float,
  :root:not([data-theme="light"]) .product-panel .pp-browser,
  :root:not([data-theme="light"]) .product-panel > img,
  :root:not([data-theme="light"]) .mk-lure,
  :root:not([data-theme="light"]) .ls-desk,
  :root:not([data-theme="light"]) .ls-poster {
    border: 1px solid var(--dark-frame-border, rgba(255, 255, 255, 0.18)) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5) !important;
  }
  :root:not([data-theme="light"]) .ls-phone {
    outline: 1px solid var(--dark-frame-border, rgba(255, 255, 255, 0.18)) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6) !important;
  }
  :root:not([data-theme="light"]) .product-panel figcaption {
    color: var(--text-muted);
  }
  :root:not([data-theme="light"]) .product-panel figcaption b {
    color: var(--text-heading);
  }
}

/* ==========================================================================
   Dark band (owner, 25 Sep 2026): the first content section after the hero on every page sits on a
   full-width dark band, like the Scenario Studio story band. It re-declares the DARK token set, so every
   tokenised component inside (cards, text, links, tables) renders in its dark-mode style and stays
   readable; .theme-keep-light product visuals inside keep their light look.
   The tokens below are copied from :root[data-theme="dark"]: keep them identical to that block.
   Added at build time by pageShell() in src/build.mjs (class "band-dark").
   ========================================================================== */
.band-dark {
  --bg: #0b1220;
  --bg-raised: #131d31;
  --bg-sunken: #070d18;
  --text: #e6ebf5;
  --text-muted: #94a3b8;
  --text-heading: #f8fafc;
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.18);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-input: #64748b;
  --footer-border: rgba(255, 255, 255, 0.18);
  --header-bg: rgba(11, 18, 32, 0.88);
  --accent: #3371ff;
  --accent-ink: #7aa2ff;
  --button-bg: #215ae5;
  --button-bg-hover: #1848bf;
  --focus: #7aa2ff;
  --shadow-color: rgba(0, 0, 0, 0.50);
  --code-bg: #0c1527;
  --success: #34d399;
  --success-tint: rgba(16, 185, 129, 0.14);
  --warning: #fbbf24;
  --warning-tint: rgba(245, 158, 11, 0.14);
  --danger: #f87171;
  --danger-tint: rgba(239, 68, 68, 0.14);
  --bg-surface: #131d31;
  --bg-surface-tint: rgba(122, 162, 255, 0.08);
  --accent-subtle: rgba(122, 162, 255, 0.14);
  --accent-hover: #9bb9ff;
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 16px 36px rgba(0, 0, 0, 0.35);

  --blue-ink: var(--accent-ink);
  --blue-hover: #1848bf;
  --blue-glow: rgba(51, 113, 255, 0.35);
  --dark-frame-border: var(--border-strong);
  --ink: var(--text);
  --ink-heading: var(--text-heading);
  --muted: var(--text-muted);
  --line: var(--border);
  --line-light: var(--border-subtle);
  --paper: var(--bg-raised);
  --wash: var(--bg-sunken);
  color-scheme: dark;
  color: var(--text);
  --band-bg: #091122;
  background: radial-gradient(circle at 80% 20%, rgba(51, 113, 255, 0.12) 0%, transparent 60%), var(--band-bg);
  /* Full-bleed without a pseudo-element (many sections already use ::before/::after for decoration) */
  box-shadow: 0 0 0 100vmax var(--band-bg);
  clip-path: inset(0 -100vmax);
  padding-top: clamp(64px, 7vw, 104px) !important;
  padding-bottom: clamp(64px, 7vw, 104px) !important;
}
/* Headings and body text in the band; never inside light product visuals (.theme-keep-light) */
.band-dark :is(h1, h2, h3, h4):not(.theme-keep-light *) { color: var(--text-heading); }
.band-dark p:not(.theme-keep-light *) { color: var(--text-muted); }
/* In dark mode the page is already navy: the band goes one step darker and gets hairline edges */
:root[data-theme="dark"] .band-dark { --band-bg: #060b16; border-top: 1px solid rgba(255, 255, 255, 0.07); border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .band-dark { --band-bg: #060b16; border-top: 1px solid rgba(255, 255, 255, 0.07); border-bottom: 1px solid rgba(255, 255, 255, 0.07); } }

/* Legal pages: tables scroll sideways on narrow screens instead of overflowing the page */
.legal-table { margin: 20px 0; border: 1px solid var(--border); border-radius: var(--radius); overflow-x: auto; background: var(--bg-raised); }
.legal-table .mk-table { font-size: 14.5px; }
@media (min-width: 761px) { .legal-table .mk-table { min-width: 560px; } }
.legal-table .mk-table th, .legal-table .mk-table td { padding: 14px 16px; }
.legal-table tr:last-child td { border-bottom: 0; }
/* Private preview only: facts still to be confirmed (never rendered in a public build) */
.legal-todo { background: #fff3bf; color: #5c4400; border-radius: 4px; padding: 1px 6px; font-size: .85em; font-weight: 600; }
