/* ==========================================================================
   High-Tech Systems Engineering Design System
   Practical + Futuristic | Precision Dark Canvas | WCAG AA Accessible
   Zero External Dependencies | Sub-15KB | Mobile-First
   ========================================================================== */

:root {
  --bg-page: #06080d;
  --bg-surface: #0d111a;
  --bg-surface-elevated: #131926;
  --bg-surface-subtle: #171f30;
  --bg-input: #0a0d14;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-highlight: rgba(56, 189, 248, 0.4);
  --border-focus: #38bdf8;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-accent: #38bdf8;
  
  --cyan-glow: #00f5a0;
  --blue-glow: #38bdf8;
  --amber-glow: #fbbf24;
  --red-glow: #f87171;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", "Helvetica Neue", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;

  --glow-subtle: 0 4px 20px rgba(56, 189, 248, 0.16);
  --glow-cyan: 0 4px 24px rgba(0, 245, 160, 0.18);
  --shadow-card: 0 16px 36px -8px rgba(0, 0, 0, 0.65), 0 4px 12px -2px rgba(0, 0, 0, 0.4), inset 0 1px 0 0 rgba(255, 255, 255, 0.12);
  --shadow-card-hover: 0 20px 44px -8px rgba(0, 0, 0, 0.75), 0 6px 16px -2px rgba(0, 0, 0, 0.5), inset 0 1px 0 0 rgba(255, 255, 255, 0.18);

  --max-width: 820px;
}

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

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) var(--bg-page);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-page);
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(56, 189, 248, 0.14), transparent),
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 24px 24px;
  pointer-events: none;
  z-index: -1;
}

/* Browser Surfaces Craft Floor */
::selection {
  background: rgba(56, 189, 248, 0.3);
  color: #ffffff;
}

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

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-page);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-xs);
  border: 2px solid var(--bg-page);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.32);
}

input, textarea, select {
  caret-color: var(--blue-glow);
}

/* Monospace Utilities */
.mono {
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
}

/* System Demo / Review Banner */
.demo-banner {
  background-color: rgba(6, 8, 13, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 10px 20px;
  font-size: 0.78125rem;
  font-family: var(--font-mono);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.demo-banner-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.radar-beacon {
  width: 8px;
  height: 8px;
  background-color: var(--cyan-glow);
  border-radius: 9999px;
  position: relative;
  display: inline-block;
  box-shadow: 0 0 10px var(--cyan-glow);
}

.radar-beacon::after {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  width: 14px;
  height: 14px;
  border-radius: 9999px;
  border: 1px solid var(--cyan-glow);
  animation: radar-pulse 2s infinite ease-out;
}

@keyframes radar-pulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.demo-banner nav {
  display: flex;
  gap: 14px;
  align-items: center;
}

.demo-banner a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.78125rem;
  padding: 4px 8px;
  border-radius: var(--radius-xs);
  transition: all 0.2s ease;
}

.demo-banner a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.demo-banner a.active-variant {
  color: #ffffff;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

/* Page Container */
.page-wrapper {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px 80px;
  flex: 1;
}

/* Section Spacing */
section {
  margin-bottom: 64px;
}

/* Section Header Typography */
.section-meta-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-accent);
  margin-bottom: 8px;
  display: block;
}

h1 {
  font-size: clamp(2.5rem, 5.5vw, 3.625rem);
  line-height: 1.08;
  font-weight: 850;
  letter-spacing: -0.038em;
  color: #ffffff;
  margin-bottom: 22px;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.25rem);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 14px;
  text-wrap: balance;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #ffffff;
  margin-bottom: 8px;
}

p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.6;
  max-width: 68ch;
  margin-bottom: 18px;
}

p:last-child {
  margin-bottom: 0;
}

/* Badges */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-accent);
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 9999px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(56, 189, 248, 0.12);
}

/* Hero Section */
.hero {
  padding-top: 16px;
  margin-bottom: 72px;
}

.hero p.lead {
  font-size: 1.25rem;
  line-height: 1.55;
  color: #e2e8f0;
  max-width: 720px;
  margin-bottom: 36px;
  font-weight: 450;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (min-width: 500px) {
  .hero-actions {
    flex-direction: row;
    align-items: center;
  }
}

/* Hardware Grade Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
  border: 1px solid transparent;
}

.btn-primary {
  background: #ffffff;
  color: #06080d;
  box-shadow: 0 4px 14px -2px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.15);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 255, 255, 0.25);
  outline: 2px solid var(--blue-glow);
  outline-offset: 3px;
}

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

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px -4px rgba(0, 0, 0, 0.5);
  outline: none;
}

.btn-block {
  width: 100%;
}

/* Systems Cards */
.card-high-tech {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.card-high-tech::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.5), transparent);
}

/* Problem Section: Architectural Inefficiencies */
.problem-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.problem-card {
  background: rgba(239, 68, 68, 0.035);
  border: 1px solid rgba(239, 68, 68, 0.22);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-card);
}

.problem-card:hover {
  border-color: rgba(239, 68, 68, 0.48);
  background: rgba(239, 68, 68, 0.06);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.problem-code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 750;
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  flex-shrink: 0;
  margin-top: 2px;
  letter-spacing: 0.04em;
}

.problem-content strong {
  display: block;
  font-size: 1.125rem;
  color: #ffffff;
  margin-bottom: 6px;
  font-weight: 700;
}

.problem-content p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

/* Schematic / Interactive Diagram Box */
.schematic-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
  margin-top: 20px;
}

.schematic-telemetry-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.schematic-telemetry-bar span.active-node {
  color: var(--cyan-glow);
  display: flex;
  align-items: center;
  gap: 6px;
}

.diagram-svg {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 28px;
}

/* Step Cards */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 20px;
  position: relative;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-card);
}

.step-box:hover {
  border-color: var(--border-highlight);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.step-index {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 750;
  color: var(--cyan-glow);
  background: rgba(0, 245, 160, 0.1);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(0, 245, 160, 0.25);
  letter-spacing: 0.04em;
}

.step-box h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
}

.step-box p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* Precision Financial & Compute Estimator */
.estimator-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 24px;
}

@media (min-width: 660px) {
  .estimator-layout {
    grid-template-columns: 1.15fr 1fr;
  }
}

.input-slider-panel {
  display: flex;
  flex-direction: column;
}

.slider-metric-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.slider-metric-title {
  font-size: 0.875rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  font-weight: 600;
}

.slider-metric-val {
  font-size: 2.5rem;
  font-weight: 850;
  font-family: var(--font-mono);
  color: #ffffff;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums lining-nums;
}

/* Precision Slider Track */
.hardware-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: #1e293b;
  border-radius: 9999px;
  outline: none;
  margin: 16px 0;
  cursor: pointer;
}

.hardware-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  background: #ffffff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.7);
  border: 2px solid #06080d;
  transition: transform 0.1s ease;
}

.hardware-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.hardware-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background: #ffffff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.7);
  border: 2px solid #06080d;
}

/* Preset Chips */
.preset-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.chip-btn {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xs);
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 0.78125rem;
  font-weight: 650;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
}

.chip-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

.chip-btn.active {
  color: #06080d;
  background: #ffffff;
  border-color: #ffffff;
  font-weight: 750;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Savings Telemetry Readout */
.telemetry-readout-card {
  background: rgba(0, 245, 160, 0.04);
  border: 1px solid rgba(0, 245, 160, 0.3);
  border-radius: var(--radius-sm);
  padding: 22px;
  margin-top: auto;
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.6), 0 0 24px rgba(0, 245, 160, 0.1);
}

.telemetry-header {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--cyan-glow);
  letter-spacing: 0.06em;
  font-weight: 750;
  margin-bottom: 6px;
}

.telemetry-big-range {
  font-size: 2.25rem;
  font-weight: 850;
  font-family: var(--font-mono);
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-variant-numeric: tabular-nums lining-nums;
}

.telemetry-subtext {
  font-size: 0.875rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  margin-top: 10px;
}

/* Assumptions Matrix */
.assumptions-panel {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.assumptions-panel h4 {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  text-transform: uppercase;
  color: var(--text-primary);
  letter-spacing: 0.05em;
  font-weight: 700;
  margin-bottom: 14px;
}

.assumptions-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.assumptions-list li {
  position: relative;
  padding-left: 18px;
}

.assumptions-list li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--cyan-glow);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
}

.assumptions-list strong {
  color: #ffffff;
}

.disclaimer-badge {
  font-family: var(--font-mono);
  font-size: 0.71875rem;
  color: var(--text-muted);
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

/* Empirical Research Ledger */
.research-ledger {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.research-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-card);
}

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

.research-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.research-anchor {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.research-anchor:hover {
  color: var(--text-accent);
}

.research-tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-medium);
  color: var(--text-secondary);
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.research-summary {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

/* Engineering Waitlist Gateway */
.waitlist-gateway {
  background: var(--bg-surface);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.7), 0 0 30px rgba(56, 189, 248, 0.1);
  position: relative;
}

.waitlist-gateway::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.6), transparent);
}

.form-field {
  margin-bottom: 22px;
}

.form-field:last-of-type {
  margin-bottom: 26px;
}

.field-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  color: #f8fafc;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.field-label .asterisk {
  color: var(--red-glow);
}

.field-label .opt-tag {
  color: var(--text-muted);
  font-size: 0.71875rem;
  text-transform: none;
}

.field-input {
  width: 100%;
  padding: 14px 18px;
  font-size: 0.9375rem;
  font-family: inherit;
  color: #ffffff;
  background: var(--bg-input);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  outline: none;
  transition: all 0.2s ease;
}

.field-input:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
  background: #0d121c;
}

select.field-input {
  cursor: pointer;
  color: #ffffff;
}

select.field-input option {
  background: #0d111a;
  color: #ffffff;
}

textarea.field-input {
  resize: vertical;
  min-height: 90px;
}

/* Checkbox Toggle */
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.90625rem;
  color: #cbd5e1;
  cursor: pointer;
  line-height: 1.45;
}

.terminal-checkbox {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--blue-glow);
  cursor: pointer;
  flex-shrink: 0;
}

/* Access Granted State */
.access-granted-card {
  display: none;
  background: rgba(0, 245, 160, 0.05);
  border: 1px solid rgba(0, 245, 160, 0.35);
  border-radius: var(--radius-md);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--glow-cyan);
}

.access-granted-card.is-visible {
  display: block;
}

.granted-icon {
  width: 44px;
  height: 44px;
  color: var(--cyan-glow);
  margin: 0 auto 16px;
}

.access-granted-card h3 {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 8px;
}

.access-granted-card p {
  color: #94a3b8;
  max-width: 520px;
  margin: 0 auto 18px;
}

.granted-metadata {
  display: inline-block;
  background: rgba(0, 245, 160, 0.1);
  border: 1px solid rgba(0, 245, 160, 0.25);
  border-radius: var(--radius-xs);
  padding: 8px 18px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--cyan-glow);
  font-weight: 600;
}

/* Footer & Compliance */
footer {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

footer a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

footer a:hover {
  color: var(--text-accent);
}

/* Admin Results Styling */
.admin-metrics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

@media (min-width: 720px) {
  .admin-metrics-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.telemetry-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.90625rem;
}

.telemetry-row:last-child {
  border-bottom: none;
}

.table-glass {
  width: 100%;
  overflow-x: auto;
  margin-top: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84375rem;
  font-family: var(--font-mono);
  text-align: left;
  font-variant-numeric: tabular-nums lining-nums;
}

th, td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--border-subtle);
}

th {
  background: rgba(255, 255, 255, 0.04);
  color: #f8fafc;
  text-transform: uppercase;
  font-size: 0.71875rem;
  letter-spacing: 0.06em;
  font-weight: 700;
}

tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

/* ==========================================================================
   ⚡ OVERDRIVE: Interactive Simulation Sandbox & Telemetry HUD
   ========================================================================== */

.sandbox-console {
  margin-top: 28px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.sandbox-console::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border-focus), var(--cyan-glow), transparent);
}

.sandbox-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.sandbox-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78125rem;
  font-weight: 750;
  color: #ffffff;
  letter-spacing: 0.04em;
}

.sandbox-tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--text-accent);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-xs);
}

.sandbox-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 18px;
}

/* Prompt Presets Grid */
.prompt-presets-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

@media (min-width: 680px) {
  .prompt-presets-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.preset-prompt-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
  color: inherit;
}

.preset-prompt-btn:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: #111724;
  transform: translateY(-2px);
}

.preset-prompt-btn.active {
  border-color: var(--border-focus);
  background: rgba(56, 189, 248, 0.08);
  box-shadow: 0 4px 16px -2px rgba(56, 189, 248, 0.25), inset 0 0 0 1px rgba(56, 189, 248, 0.3);
}

.preset-label {
  font-family: var(--font-mono);
  font-size: 0.71875rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.preset-snippet {
  font-size: 0.84375rem;
  color: var(--text-secondary);
  line-height: 1.45;
  flex: 1;
}

.preset-prompt-btn.active .preset-snippet {
  color: #e2e8f0;
}

.preset-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-xs);
  width: fit-content;
}

.badge-micro {
  background: rgba(0, 245, 160, 0.12);
  color: var(--cyan-glow);
  border: 1px solid rgba(0, 245, 160, 0.3);
}

.badge-frontier {
  background: rgba(251, 191, 36, 0.12);
  color: var(--amber-glow);
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.badge-cyan {
  background: rgba(56, 189, 248, 0.12);
  color: var(--text-accent);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

/* Custom Prompt Input Bar */
.custom-prompt-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

@media (min-width: 580px) {
  .custom-prompt-row {
    flex-direction: row;
    align-items: center;
  }
  .custom-prompt-row .field-input {
    flex: 1;
  }
  .custom-prompt-row .btn {
    white-space: nowrap;
    flex-shrink: 0;
  }
}

/* Routing Telemetry HUD */
.routing-telemetry-hud {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: #090d14;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}

@media (min-width: 680px) {
  .routing-telemetry-hud {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hud-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hud-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.hud-val {
  font-size: 0.9375rem;
  font-weight: 750;
  color: #ffffff;
  font-variant-numeric: tabular-nums lining-nums;
}

/* Compression Telemetry HUD */
.compression-telemetry-hud {
  background: #090d14;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.token-meter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.token-odometer-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meter-title {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.meter-number {
  font-size: 1.75rem;
  font-weight: 850;
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.meter-arrow {
  font-size: 1.5rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.badge-stat {
  background: rgba(0, 245, 160, 0.1);
  border: 1px solid rgba(0, 245, 160, 0.25);
  border-radius: var(--radius-xs);
  padding: 8px 14px;
}

.badge-stat .meter-title {
  color: var(--cyan-glow);
}

.stage-breakdown-bar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
  font-size: 0.84375rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
}

@media (min-width: 680px) {
  .stage-breakdown-bar {
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
  }
}

.breakdown-col {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breakdown-col strong {
  color: #ffffff;
}

.col-dot {
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  display: inline-block;
  flex-shrink: 0;
}

.dot-cyan { background-color: #38bdf8; box-shadow: 0 0 8px #38bdf8; }
.dot-blue { background-color: #818cf8; box-shadow: 0 0 8px #818cf8; }
.dot-emerald { background-color: #00f5a0; box-shadow: 0 0 8px #00f5a0; }

/* SVG Live Interactive Pulse & Active Nodes */
.svg-active-cyan {
  stroke: #00f5a0 !important;
  stroke-width: 2.5 !important;
  filter: drop-shadow(0 0 8px rgba(0, 245, 160, 0.6));
  transition: all 0.3s ease;
}

.svg-active-amber {
  stroke: #fbbf24 !important;
  stroke-width: 2.5 !important;
  filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.6));
  transition: all 0.3s ease;
}

.svg-active-blue {
  stroke: #38bdf8 !important;
  stroke-width: 2.5 !important;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.6));
  transition: all 0.3s ease;
}

.svg-node-dimmed {
  opacity: 0.45;
  transition: opacity 0.3s ease;
}

.svg-tracer-pulse {
  animation: svg-dash-flow 1.5s linear infinite;
}

@keyframes svg-dash-flow {
  0% { stroke-dashoffset: 24; }
  100% { stroke-dashoffset: 0; }
}

/* ==========================================================================
   1. OVERSPENDING PROBLEM CAROUSEL
   Problem -> Implication -> What Needs to Change
   ========================================================================== */
.problem-carousel-container {
  margin-top: 28px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.carousel-tabs-header {
  display: flex;
  overflow-x: auto;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface-elevated);
  scrollbar-width: none;
}

.carousel-tabs-header::-webkit-scrollbar {
  display: none;
}

.carousel-tab-btn {
  flex: 1;
  min-width: 200px;
  padding: 14px 18px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.carousel-tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.02);
}

.carousel-tab-btn.active {
  color: var(--text-primary);
  background: var(--bg-surface);
  border-bottom-color: var(--blue-glow);
}

.tab-code {
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.carousel-tab-btn.active .tab-code {
  color: var(--blue-glow);
}

.tab-title {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 650;
  color: inherit;
}

.carousel-slide-stage {
  padding: 28px;
}

.problem-slide {
  display: none;
  animation: fadeInSlide 0.3s ease forwards;
}

.problem-slide.active {
  display: block;
}

@keyframes fadeInSlide {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.slide-headline-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.slide-headline-row h3 {
  font-size: 1.25rem;
  font-weight: 750;
  color: var(--text-primary);
}

.slide-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  background: rgba(248, 113, 113, 0.12);
  color: var(--red-glow);
  border: 1px solid rgba(248, 113, 113, 0.25);
}

.problem-aspects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 720px) {
  .problem-aspects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.aspect-card {
  padding: 20px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.aspect-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

.label-problem { color: #f87171; }
.label-implication { color: #fbbf24; }
.label-solution { color: #00f5a0; }

.aspect-card p {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.aspect-card.solution-highlight {
  background: rgba(0, 245, 160, 0.04);
  border-color: rgba(0, 245, 160, 0.25);
}

.aspect-card.solution-highlight p {
  color: #e2e8f0;
}

.carousel-footer-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  background: var(--bg-surface-elevated);
  border-top: 1px solid var(--border-subtle);
}

.carousel-step-counter {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.carousel-nav-btns {
  display: flex;
  gap: 8px;
}

.carousel-arrow-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  width: 34px;
  height: 34px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
}

.carousel-arrow-btn:hover {
  border-color: var(--blue-glow);
  color: var(--blue-glow);
}

/* ==========================================================================
   2. DYNAMIC TOKEN COMPRESSION BEFORE-VS-AFTER COMPARISON
   Showcasing Savings across Time + Token Usage + Model Choice
   ========================================================================== */
.comp-comparison-container {
  margin-top: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.comparison-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.comparison-title {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.comp-savings-tag-hero {
  background: rgba(0, 245, 160, 0.12);
  border: 1px solid rgba(0, 245, 160, 0.3);
  color: var(--cyan-glow);
  padding: 4px 12px;
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 800;
}

.comp-side-by-side-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  position: relative;
}

@media (min-width: 760px) {
  .comp-side-by-side-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.comp-panel {
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-sm);
  padding: 20px;
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.comp-panel-before {
  border-color: rgba(248, 113, 113, 0.25);
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.04) 0%, var(--bg-surface-elevated) 100%);
}

.comp-panel-after {
  border-color: rgba(0, 245, 160, 0.35);
  background: linear-gradient(180deg, rgba(0, 245, 160, 0.06) 0%, var(--bg-surface-elevated) 100%);
  box-shadow: 0 0 24px -6px rgba(0, 245, 160, 0.15);
}

.panel-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.panel-badge {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
}

.badge-unopt {
  background: rgba(248, 113, 113, 0.15);
  color: #f87171;
  border: 1px solid rgba(248, 113, 113, 0.3);
}

.badge-opt {
  background: rgba(0, 245, 160, 0.15);
  color: #00f5a0;
  border: 1px solid rgba(0, 245, 160, 0.4);
}

.panel-headline {
  font-size: 1.0625rem;
  font-weight: 750;
  color: var(--text-primary);
}

.comp-metrics-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comp-metric-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: var(--bg-input);
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-subtle);
}

.comp-metric-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.comp-metric-value {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
}

.val-bad { color: #f87171; }
.val-good { color: #00f5a0; }

.comp-delta-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.delta-stat-box {
  background: var(--bg-surface-elevated);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xs);
  padding: 12px;
  text-align: center;
}

.delta-stat-num {
  font-size: 1.1875rem;
  font-weight: 850;
  font-family: var(--font-mono);
  color: var(--cyan-glow);
  display: block;
}

.delta-stat-lbl {
  font-size: 0.6875rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 4px;
  display: block;
}

/* ==========================================================================
   3. USE-CASE BASED SAVINGS ESTIMATOR
   (1) General Enterprise Q&A (2) Software Engineering (3) Specialized Agents
   ========================================================================== */
.usecase-switcher {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 22px;
  padding-bottom: 4px;
}

.usecase-tab-btn {
  flex: 1;
  min-width: 170px;
  padding: 12px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.usecase-tab-btn:hover {
  border-color: var(--border-medium);
  color: var(--text-primary);
}

.usecase-tab-btn.active {
  background: var(--bg-surface-elevated);
  border-color: var(--border-highlight);
  color: var(--text-primary);
  box-shadow: 0 0 16px -4px rgba(56, 189, 248, 0.2);
}

.usecase-icon {
  font-size: 1.125rem;
  flex-shrink: 0;
}

.usecase-meta {
  display: flex;
  flex-direction: column;
}

.usecase-name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: inherit;
}

.usecase-rate-hint {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--cyan-glow);
}

.usecase-breakdown-details {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.usecase-details-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.usecase-profile-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.usecase-levers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.lever-item {
  background: var(--bg-input);
  padding: 10px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-subtle);
}

.lever-metric {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--cyan-glow);
}

.lever-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ==========================================================================
   4. INDEPENDENT RESEARCH CAROUSEL
   Visually Striking, Interactive, High-Contrast Research Cards
   ========================================================================== */
.research-carousel-wrapper {
  margin-top: 28px;
  position: relative;
}

.research-tab-bar {
  display: flex;
  overflow-x: auto;
  gap: 8px;
  margin-bottom: 16px;
  scrollbar-width: none;
}

.research-tab-bar::-webkit-scrollbar {
  display: none;
}

.research-nav-tab {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.research-nav-tab:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.research-nav-tab.active {
  background: var(--bg-surface-elevated);
  border-color: var(--blue-glow);
  color: var(--blue-glow);
}

.research-display-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.research-display-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #38bdf8, #00f5a0);
}

.research-slide-item {
  display: none;
  animation: fadeInSlide 0.3s ease forwards;
}

.research-slide-item.active {
  display: block;
}

.research-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.research-venue-pill {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  background: rgba(56, 189, 248, 0.12);
  color: var(--blue-glow);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.research-hero-stat {
  font-size: 1.625rem;
  font-weight: 850;
  line-height: 1.25;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.research-hero-stat strong {
  color: var(--cyan-glow);
}

.research-excerpt {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.research-details-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  padding: 16px;
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.research-detail-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.research-detail-lbl {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.research-detail-val {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-primary);
}

.research-link-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.research-paper-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--blue-glow);
  text-decoration: none;
}

.research-paper-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   5. ENTERPRISE COHORT EARLY ACCESS CTA
   Modeled on High-Trust Technical Architecture Reference
   ========================================================================== */
.waitlist-enterprise-card {
  margin-top: 32px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.cta-header-banner {
  padding: 24px 32px;
  background: var(--bg-surface-elevated);
  border-bottom: 1px solid var(--border-subtle);
}

.cta-kicker {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--blue-glow);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.cta-header-banner h2 {
  font-size: 1.75rem;
  font-weight: 850;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.cta-header-banner p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-top: 8px;
  max-width: 680px;
}

.cta-body-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 800px) {
  .cta-body-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.cta-form-column {
  padding: 32px;
  border-bottom: 1px solid var(--border-subtle);
}

@media (min-width: 800px) {
  .cta-form-column {
    border-bottom: none;
    border-right: 1px solid var(--border-subtle);
  }
}

.cta-specs-column {
  padding: 32px;
  background: #090c13;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.spec-heading {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.tech-architecture-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: var(--radius-xs);
  background: var(--bg-surface-elevated);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.engagement-summary-box {
  background: rgba(13, 17, 26, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 16px;
}

.summary-box-title {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-glow);
  margin-bottom: 10px;
  display: block;
}

.summary-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.summary-bullet-list li {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-secondary);
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.bullet-accent {
  color: var(--cyan-glow);
  font-size: 0.875rem;
}

.stat-outcome-box {
  background: rgba(0, 245, 160, 0.04);
  border: 1px solid rgba(0, 245, 160, 0.25);
  border-radius: var(--radius-xs);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-outcome-num {
  font-size: 2.25rem;
  font-weight: 900;
  font-family: var(--font-sans);
  color: #ffffff;
  line-height: 1;
}

.stat-outcome-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cyan-glow);
  line-height: 1.3;
}

.terminal-dropin-card {
  background: #06080d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xs);
  padding: 12px;
}

.terminal-title-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.terminal-code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.45;
  color: #a5f3fc;
  display: block;
}

.trust-badges-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.trust-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
