/* ==========================================================================
   NOTIONWORKS ENTERPRISE DESIGN SYSTEM
   Theme: Obsidian / Titanium High-Acuity Surface
   Specification: Deterministic Governance & First-Principles Engineering
   ========================================================================== */

:root {
  /* Core Color Palette - Pure Uber Black & Titanium */
  --bg-black: #000000;
  --bg-surface-0: #030304;
  --bg-surface-1: #070709;
  --bg-surface-2: #0d0e12;
  --bg-surface-3: #14151b;
  --bg-glass: rgba(8, 9, 12, 0.85);
  --bg-code: #040507;

  /* Hairline Borders */
  --border-hairline: rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(255, 255, 255, 0.12);
  --border-medium: rgba(255, 255, 255, 0.20);
  --border-focus: rgba(56, 189, 248, 0.6);
  --border-active: rgba(255, 255, 255, 0.35);

  /* Typography Colors */
  --text-white: #ffffff;
  --text-titanium: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-dark: #334155;

  /* Sovereign Accents */
  --accent-cyan: #38bdf8;
  --accent-cyan-dim: rgba(56, 189, 248, 0.15);
  --accent-cyan-border: rgba(56, 189, 248, 0.35);
  --accent-emerald: #10b981;
  --accent-emerald-dim: rgba(16, 185, 129, 0.15);
  --accent-amber: #f59e0b;
  --accent-amber-dim: rgba(245, 158, 11, 0.15);
  --accent-rose: #f43f5e;

  /* Fonts */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;

  /* Spacing & Layout */
  --site-max-width: 1240px;
  --nav-height: 72px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.8);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.9);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.95);
  --shadow-cyan-glow: 0 0 35px rgba(56, 189, 248, 0.18);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-black);
  color: var(--text-titanium);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-black);
  color: var(--text-titanium);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Subtle background ambient mesh */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1400px;
  height: 600px;
  background: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.05) 0%, rgba(16, 185, 129, 0.02) 35%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

img, svg {
  vertical-align: middle;
}

code, pre {
  font-family: var(--font-mono);
}

/* Containers */
.container {
  width: 100%;
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.container-narrow {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   ENTERPRISE HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--nav-height);
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-hairline);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-monogram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #181920 0%, #0d0e12 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-white);
  letter-spacing: -0.05em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-white);
}

.brand-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.6rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--accent-emerald);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--accent-emerald);
  animation: pulse-glow 2.5s infinite ease-in-out;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--text-white);
}

.nav-link.active {
  color: var(--text-white);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

/* Nav Dropdown / Popover Menu */
.nav-item-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.dropdown-chevron {
  transition: transform 0.2s ease;
  opacity: 0.6;
}

.nav-item-dropdown:hover .dropdown-chevron,
.nav-item-dropdown.is-open .dropdown-chevron,
.nav-item-dropdown:focus-within .dropdown-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-dropdown-popover {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 400px;
  background: #08090c;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  z-index: 1050;
  margin-top: 6px;
}

/* Invisible hover bridge connecting trigger to popover so mouse never loses hover */
.nav-dropdown-popover::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  height: 24px;
  background: transparent;
  pointer-events: auto;
}

.nav-item-dropdown:hover .nav-dropdown-popover,
.nav-item-dropdown.is-open .nav-dropdown-popover,
.nav-item-dropdown:focus-within .nav-dropdown-popover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-option-card {
  display: block;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
  text-decoration: none;
  margin-bottom: 0.35rem;
}

.dropdown-option-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-hairline);
}

.dropdown-option-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
  display: inline-block;
}

.dropdown-option-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dropdown-option-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.dropdown-footer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  margin-top: 0.35rem;
  border-top: 1px solid var(--border-hairline);
  font-size: 0.8rem;
  color: var(--text-titanium);
  transition: color 0.15s ease;
}

.dropdown-footer-link:hover {
  color: var(--accent-cyan);
}

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

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-hairline);
  color: var(--text-titanium);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   BUTTON SYSTEM
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  font-family: var(--font-sans);
}

.btn-primary {
  background: var(--text-white);
  color: #000000;
  border: 1px solid #ffffff;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.btn-primary:hover {
  background: #f1f5f9;
  border-color: #f1f5f9;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-titanium);
  border: 1px solid var(--border-hairline);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-subtle);
  color: var(--text-white);
  transform: translateY(-1px);
}

.btn-cyan {
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent-cyan);
  border: 1px solid var(--accent-cyan-border);
}

.btn-cyan:hover {
  background: rgba(56, 189, 248, 0.18);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-cyan-glow);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 0.98rem;
}

/* --------------------------------------------------------------------------
   TYPOGRAPHY & SECTION HEADERS
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-white);
  font-weight: 600;
  line-height: 1.15;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  line-height: 1.08;
}

.hero-title-gradient {
  background: linear-gradient(180deg, #ffffff 30%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.65;
  max-width: 820px;
  margin-bottom: 2.5rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 1px;
  background: var(--accent-cyan);
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 720px;
  margin-bottom: 3rem;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   HIGH-ACUITY METRIC / TELEMETRY RIBBON
   -------------------------------------------------------------------------- */
.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-hairline);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 3.5rem 0;
}

.telemetry-cell {
  background: var(--bg-surface-0);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: background 0.2s ease;
}

.telemetry-cell:hover {
  background: var(--bg-surface-1);
}

.telemetry-value {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.03em;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.telemetry-value .unit {
  font-size: 1.1rem;
  color: var(--accent-cyan);
  font-weight: 500;
}

.telemetry-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-titanium);
}

.telemetry-subtext {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   ENTERPRISE CARDS & MODULES
   -------------------------------------------------------------------------- */
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.card {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.card:hover {
  background: var(--bg-surface-2);
  border-color: var(--border-subtle);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card:hover::before {
  opacity: 1;
}

.card-header-mono {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.card-title {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-white);
  margin-bottom: 0.75rem;
}

.card-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  border-top: 1px solid var(--border-hairline);
  padding-top: 1.25rem;
}

.card-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--text-titanium);
}

.card-feature-icon {
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   DUAL-PLANE ARCHITECTURE DISPLAY
   -------------------------------------------------------------------------- */
.dual-plane-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 3rem 0;
}

.plane-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
}

.plane-card.board-plane {
  border-left: 2px solid var(--accent-cyan);
}

.plane-card.actor-plane {
  border-left: 2px solid var(--accent-emerald);
}

.plane-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
}

.plane-badge.cyan {
  background: var(--accent-cyan-dim);
  color: var(--accent-cyan);
  border: 1px solid var(--accent-cyan-border);
}

.plane-badge.emerald {
  background: var(--accent-emerald-dim);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.plane-title {
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.plane-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.plane-specs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.spec-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-hairline);
}

.spec-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.spec-title {
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.spec-value {
  font-size: 0.92rem;
  color: var(--text-titanium);
}

/* --------------------------------------------------------------------------
   INTERACTIVE TERMINAL & CODE INSPECTOR
   -------------------------------------------------------------------------- */
.terminal-block {
  background: var(--bg-code);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  font-family: var(--font-mono);
  box-shadow: var(--shadow-lg);
  margin: 2.5rem 0;
}

.terminal-header {
  background: var(--bg-surface-2);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-hairline);
}

.terminal-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.terminal-title {
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.terminal-body {
  padding: 1.5rem;
  font-size: 0.85rem;
  line-height: 1.7;
  overflow-x: auto;
  color: var(--text-mono);
}

.terminal-line {
  display: flex;
  gap: 1rem;
}

.terminal-line .t-num {
  color: var(--text-dark);
  user-select: none;
  min-width: 2rem;
  text-align: right;
}

.terminal-line .t-prefix {
  color: var(--accent-cyan);
  font-weight: 600;
}

.terminal-line .t-green {
  color: var(--accent-emerald);
}

.terminal-line .t-amber {
  color: var(--accent-amber);
}

.terminal-line .t-white {
  color: #ffffff;
  font-weight: 500;
}

.terminal-line .t-dim {
  color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   ENTERPRISE COMPARISON TABLE / MATRIX
   -------------------------------------------------------------------------- */
.comparison-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  margin: 3rem 0;
  background: var(--bg-surface-0);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.comparison-table th {
  background: var(--bg-surface-2);
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
}

.comparison-table th.highlight-col {
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.06);
  border-bottom-color: var(--accent-cyan-border);
}

.comparison-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-hairline);
  color: var(--text-titanium);
  vertical-align: top;
  line-height: 1.5;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td.highlight-col {
  background: rgba(56, 189, 248, 0.02);
  font-weight: 500;
  color: var(--text-white);
}

.comparison-table td.feature-title {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   TIMELINE / PROCESS PHASES (SHOCK TEAMS)
   -------------------------------------------------------------------------- */
.timeline-track {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  margin: 3.5rem 0;
}

.timeline-track::before {
  content: '';
  position: absolute;
  top: 1rem;
  bottom: 1rem;
  left: 27px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-cyan) 0%, var(--accent-emerald) 100%);
  opacity: 0.3;
}

.timeline-step {
  display: flex;
  gap: 2rem;
  position: relative;
}

.step-marker {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent-cyan);
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.step-content {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 2rem;
  flex-grow: 1;
  transition: all 0.2s ease;
}

.step-content:hover {
  border-color: var(--border-subtle);
  background: var(--bg-surface-2);
}

.step-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-cyan);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.step-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   EXECUTIVE BRIEFING & CONTACT BANNER
   -------------------------------------------------------------------------- */
.briefing-card {
  background: radial-gradient(circle at 100% 0%, rgba(56, 189, 248, 0.08) 0%, rgba(8, 9, 12, 0.95) 60%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  margin: 5rem 0;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.briefing-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 400px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.03));
  pointer-events: none;
}

.briefing-inner {
  max-width: 760px;
}

.briefing-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.briefing-text {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.briefing-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   INSTITUTIONAL FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: auto;
  background: var(--bg-surface-0);
  border-top: 1px solid var(--border-hairline);
  padding: 5rem 0 2rem 0;
  position: relative;
  z-index: 10;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-description {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 360px;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: var(--text-white);
}

.footer-bottom-bar {
  border-top: 1px solid var(--border-hairline);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-legal-text {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-telemetry-status {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}

.footer-telemetry-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.dot-green {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-emerald);
}

/* --------------------------------------------------------------------------
   RESPONSIVE ADAPTATIONS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .telemetry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions {
    display: none;
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg-surface-0);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1.5rem 2rem;
    gap: 1.25rem;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .telemetry-grid {
    grid-template-columns: 1fr;
  }

  .card-grid-3, .card-grid-2 {
    grid-template-columns: 1fr;
  }

  .dual-plane-container {
    grid-template-columns: 1fr;
  }

  .timeline-track::before {
    left: 19px;
  }

  .step-marker {
    width: 40px;
    height: 40px;
    font-size: 0.75rem;
  }

  .briefing-card {
    padding: 2rem;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}
