@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --bg-deep: #020408;
  --bg-space: #050a14;
  --bg-card: rgba(8, 16, 32, 0.65);
  --liquid-glass: rgba(14, 25, 48, 0.45);
  --liquid-border: rgba(255, 255, 255, 0.12);
  --liquid-border-hover: rgba(33, 212, 253, 0.45);
  --liquid-gold-border: rgba(214, 168, 79, 0.45);
  
  --gold: #d6a84f;
  --gold-glow: rgba(214, 168, 79, 0.35);
  --gold-bright: #ffd478;
  --cyan: #21d4fd;
  --cyan-glow: rgba(33, 212, 253, 0.4);
  --cyan-deep: #178fa8;
  --emerald: #27d36d;
  --crimson: #ff3366;
  --purple: #b24bf3;
  
  --text-main: #f5f8ff;
  --text-dim: #9eb0cb;
  --text-muted: #5e7396;
  
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 9999px;
  
  --font-heading: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-body: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  position: relative;
  background: radial-gradient(circle at 50% 0%, #0a172e 0%, #020408 70%);
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* Fluid Canvas Background */
#liquid-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

/* Ambient Orbs */
.ambient-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(140px);
  opacity: 0.18;
}

.glow-cyan { top: 5%; right: 5%; background: radial-gradient(circle, var(--cyan), transparent 70%); }
.glow-gold { top: 40%; left: -10%; background: radial-gradient(circle, var(--gold), transparent 70%); }
.glow-purple { bottom: 10%; right: -5%; background: radial-gradient(circle, var(--purple), transparent 70%); }

.wrap {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.025em;
  font-weight: 800;
  color: #fff;
}

.gradient-text-gold {
  background: linear-gradient(135deg, #fff 0%, var(--gold-bright) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-cyan {
  background: linear-gradient(135deg, #ffffff 0%, #7ee7fc 45%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mono { font-family: var(--font-mono); }

/* Header & Glass Navigation */
.glass-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  background: rgba(3, 7, 16, 0.78);
  border-bottom: 1px solid var(--liquid-border);
  transition: var(--transition-smooth);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 16px;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-shield {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--cyan-glow);
  box-shadow: 0 0 20px rgba(33, 212, 253, 0.3);
  object-fit: contain;
  transition: transform 0.4s ease;
}

.brand-group:hover .brand-shield {
  transform: scale(1.08) rotate(3deg);
}

.brand-title {
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
}

.brand-subtitle {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  position: relative;
  transition: color 0.25s ease;
}

.nav-link:hover { color: #fff; }

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  transition: width 0.3s ease;
}

.nav-link:hover::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Top Right Logo Emblem */
.top-right-logo-wrap {
  display: flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 16px rgba(214, 168, 79, 0.2);
}

.top-right-logo {
  height: 28px;
  width: auto;
  max-width: 175px;
  object-fit: contain;
  display: block;
}

/* Audio Toggle Button */
.audio-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--liquid-border);
  color: var(--text-dim);
  padding: 8px 12px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.audio-btn:hover, .audio-btn.active {
  color: #fff;
  border-color: var(--cyan);
  background: rgba(33, 212, 253, 0.15);
  box-shadow: 0 0 15px rgba(33, 212, 253, 0.3);
}

/* Liquid Buttons */
.btn-liquid {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.btn-liquid-gold {
  background: linear-gradient(135deg, #ecd38c 0%, var(--gold) 50%, #9e7529 100%);
  color: #06090f;
  box-shadow: 0 6px 24px rgba(214, 168, 79, 0.35);
}

.btn-liquid-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(214, 168, 79, 0.55);
}

.btn-liquid-glass {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
}

.btn-liquid-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--cyan);
  color: #fff;
  transform: translateY(-2px);
}

.btn-liquid-cyan {
  background: linear-gradient(135deg, #6ee2ff 0%, var(--cyan) 50%, #0d96b7 100%);
  color: #040810;
  box-shadow: 0 6px 24px rgba(33, 212, 253, 0.35);
}

.btn-liquid-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(33, 212, 253, 0.55);
}

/* Section Containers */
section {
  padding: 80px 0;
  position: relative;
}

.section-head { margin-bottom: 40px; }

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
  backdrop-filter: blur(12px);
}

.pill-gold {
  border: 1px solid rgba(214, 168, 79, 0.4);
  background: rgba(214, 168, 79, 0.1);
  color: var(--gold-bright);
}

.pill-cyan {
  border: 1px solid rgba(33, 212, 253, 0.4);
  background: rgba(33, 212, 253, 0.1);
  color: #8ae9fd;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: currentColor;
  box-shadow: 0 0 10px currentColor;
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.4); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.section-title {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 14px;
}

.section-desc {
  color: var(--text-dim);
  font-size: 1.1rem;
  max-width: 68ch;
  line-height: 1.6;
}

/* Liquid Glass Cards */
.liquid-card {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(12, 22, 43, 0.4) 100%);
  border: 1px solid var(--liquid-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  padding: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  transition: var(--transition-smooth);
}

.liquid-card:hover {
  border-color: var(--liquid-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 32px 75px rgba(0, 0, 0, 0.6), 0 0 30px rgba(33, 212, 253, 0.12);
}

/* HERO SECTION */
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 40px;
  align-items: center;
  min-height: calc(82vh - 75px);
}

.hero-main-title {
  font-size: clamp(2.5rem, 5.5vw, 4.6rem);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 58ch;
  line-height: 1.65;
  margin-bottom: 28px;
}

.hero-cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.meta-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.meta-chip span { color: #fff; font-weight: 600; }

.hero-stage {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 8px;
  background: linear-gradient(135deg, rgba(214, 168, 79, 0.3) 0%, rgba(33, 212, 253, 0.2) 50%, rgba(255, 255, 255, 0.05) 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}

.hero-stage-inner {
  position: relative;
  border-radius: calc(var(--radius-lg) - 6px);
  overflow: hidden;
  background: #000;
}

.hero-stage-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.hero-stage-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(3, 6, 14, 0.95) 0%, rgba(3, 6, 14, 0.6) 60%, transparent 100%);
  backdrop-filter: blur(12px);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.telemetry-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--cyan);
  background: rgba(33, 212, 253, 0.12);
  border: 1px solid rgba(33, 212, 253, 0.3);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 6px;
}

.stage-title { font-size: 1.3rem; font-weight: 800; color: #fff; }
.stage-metric-val { font-size: 1.8rem; font-weight: 900; color: var(--gold-bright); }
.stage-metric-label { font-size: 0.74rem; color: var(--text-muted); text-transform: uppercase; }

/* KPI Liquid Row */
.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.kpi-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  padding: 22px;
  backdrop-filter: blur(20px);
  position: relative;
}

.kpi-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold), transparent);
}

.kpi-val {
  font-size: 2.1rem;
  font-weight: 900;
  font-family: var(--font-heading);
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.kpi-lbl { font-size: 0.86rem; color: var(--text-dim); line-height: 1.4; }
.kpi-sub { font-size: 0.74rem; color: var(--text-muted); margin-top: 6px; line-height: 1.35; }

/* NORCROSS OPERATIONS HUB & DEPOT SECTION */
.depot-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 28px;
}

.depot-info-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.depot-address-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(214, 168, 79, 0.3);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: center;
}

.depot-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(214, 168, 79, 0.15);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.corridor-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 10px;
}

.corridor-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: var(--transition-smooth);
}

.corridor-item:hover {
  background: rgba(33, 212, 253, 0.08);
  border-color: var(--cyan);
}

.corridor-title { font-size: 0.88rem; font-weight: 700; color: #fff; }
.corridor-meta { font-size: 0.78rem; color: var(--text-dim); margin-top: 4px; }

/* Staging Bays Grid */
.bays-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.bay-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 14px;
  position: relative;
  transition: var(--transition-smooth);
}

.bay-card.charging {
  border-color: rgba(33, 212, 253, 0.3);
  background: rgba(33, 212, 253, 0.04);
}

.bay-card.ready {
  border-color: rgba(39, 211, 109, 0.3);
  background: rgba(39, 211, 109, 0.04);
}

.bay-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.bay-vid { font-family: var(--font-mono); font-size: 0.95rem; font-weight: 700; color: #fff; }
.bay-status { font-size: 0.8rem; color: var(--text-dim); margin-top: 4px; }

/* INSURANCE ACTUARIAL CALCULATOR */
.insurance-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 28px;
}

.ins-metric-card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.ins-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.ins-val { font-family: var(--font-mono); font-size: 1.25rem; font-weight: 800; color: #fff; }
.ins-lbl { font-size: 0.76rem; color: var(--text-muted); text-transform: uppercase; margin-bottom: 4px; }

/* DISPATCH CONSOLE */
.dispatch-console {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}

.radar-viewport {
  position: relative;
  height: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #061120 0%, #020408 85%);
  border: 1px solid var(--liquid-border);
}

#radar-canvas { width: 100%; height: 100%; display: block; }

.radar-hud-overlay {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.hud-pill {
  pointer-events: auto;
  background: rgba(3, 7, 16, 0.8);
  border: 1px solid rgba(33, 212, 253, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(12px);
}

.fleet-filter-bar { pointer-events: auto; display: flex; gap: 6px; }

.filter-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-dim);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn.active, .filter-btn:hover {
  background: rgba(33, 212, 253, 0.15);
  border-color: var(--cyan);
  color: #fff;
}

.telemetry-inspector { display: flex; flex-direction: column; gap: 16px; }

.active-vehicle-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(9, 18, 36, 0.7) 100%);
  border: 1px solid var(--liquid-border);
  border-radius: var(--radius-md);
  padding: 22px;
  backdrop-filter: blur(24px);
}

.vehicle-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.vehicle-vin { font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-muted); }
.vehicle-model { font-size: 1.3rem; font-weight: 800; color: #fff; }

.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.telemetry-cell {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  padding: 12px;
}

.cell-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.cell-val {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.battery-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  margin-top: 6px;
  overflow: hidden;
}

.battery-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--emerald), #88ffba);
  border-radius: var(--radius-full);
}

.controls-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.remote-controls-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.op-control-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-main);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.op-control-btn:hover {
  background: rgba(214, 168, 79, 0.15);
  border-color: var(--gold);
  color: var(--gold-bright);
}

.op-control-btn.active {
  background: rgba(33, 212, 253, 0.2);
  border-color: var(--cyan);
  color: #fff;
}

/* SMART CONTRACT ESCROW & SPLIT SIMULATOR */
.sim-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 30px;
}

.slider-container { display: flex; flex-direction: column; gap: 20px; margin-top: 20px; }
.slider-group { display: flex; flex-direction: column; gap: 8px; }
.slider-header { display: flex; justify-content: space-between; font-size: 0.9rem; }
.slider-title { color: var(--text-dim); }
.slider-val { font-family: var(--font-mono); font-weight: 700; color: var(--cyan); }

input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--cyan);
  cursor: pointer;
  box-shadow: 0 0 12px var(--cyan);
}

.split-ledger-display { display: flex; flex-direction: column; gap: 16px; }

.gross-fare-banner {
  background: linear-gradient(135deg, rgba(214, 168, 79, 0.15) 0%, rgba(33, 212, 253, 0.08) 100%);
  border: 1px solid rgba(214, 168, 79, 0.3);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fare-total-val { font-size: 2.2rem; font-weight: 900; font-family: var(--font-mono); color: #fff; }

.split-card-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.split-tile {
  border-radius: var(--radius-md);
  padding: 18px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--liquid-border);
}

.split-tile-pct {
  font-size: 0.78rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 8px;
}

.split-tile-op { border-color: rgba(33, 212, 253, 0.3); }
.split-tile-op .split-tile-pct { background: rgba(33, 212, 253, 0.15); color: var(--cyan); }

.split-tile-debt { border-color: rgba(214, 168, 79, 0.3); }
.split-tile-debt .split-tile-pct { background: rgba(214, 168, 79, 0.15); color: var(--gold-bright); }

.split-tile-yield { border-color: rgba(39, 211, 109, 0.3); }
.split-tile-yield .split-tile-pct { background: rgba(39, 211, 109, 0.15); color: var(--emerald); }

.split-tile-val { font-family: var(--font-mono); font-size: 1.45rem; font-weight: 800; color: #fff; margin-bottom: 4px; }
.split-tile-desc { font-size: 0.78rem; color: var(--text-dim); line-height: 1.35; }

.contract-terminal {
  background: #020409;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #a0c2eb;
}

.terminal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.terminal-logs { display: flex; flex-direction: column; gap: 8px; max-height: 150px; overflow-y: auto; }
.terminal-line { line-height: 1.4; word-break: break-all; }
.terminal-line .highlight { color: var(--emerald); }
.terminal-line .accent { color: var(--gold); }

/* IN-CABIN COCKPIT */
.cockpit-stage { display: grid; grid-template-columns: 1.25fr 0.85fr; gap: 30px; align-items: center; }

.cabin-view-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
  border: 1px solid var(--liquid-border);
}

.cabin-img { width: 100%; height: 460px; object-fit: cover; display: block; }

.cabin-ambient-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  mix-blend-mode: color;
  opacity: 0.45;
  transition: background-color 0.8s ease;
}

.cabin-mode-selector { display: flex; flex-direction: column; gap: 16px; }
.ambient-chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }

.ambient-btn {
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.color-dot { width: 14px; height: 14px; border-radius: 50%; }

.ambient-btn.active, .ambient-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
  transform: translateY(-2px);
}

/* FLEET TIERS */
.fleet-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.fleet-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(6, 13, 27, 0.7) 100%);
  border: 1px solid var(--liquid-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(20px);
  transition: var(--transition-smooth);
}

.fleet-card:hover {
  border-color: var(--liquid-gold-border);
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 25px rgba(214, 168, 79, 0.15);
}

.fleet-card-img-wrap { width: 100%; height: 200px; overflow: hidden; }
.fleet-card-img { width: 100%; height: 100%; object-fit: cover; }
.fleet-card-body { padding: 22px; }
.fleet-card-category { font-size: 0.72rem; text-transform: uppercase; color: var(--gold-bright); font-weight: 700; letter-spacing: 0.14em; margin-bottom: 6px; }
.fleet-card-name { font-size: 1.18rem; margin-bottom: 8px; }
.fleet-card-desc { font-size: 0.88rem; color: var(--text-dim); line-height: 1.5; margin-bottom: 16px; }

.fleet-spec-row {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.fleet-spec-row span { color: #fff; font-weight: 600; }

/* FUNDING PANEL */
.funding-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.scenario-tabs { display: flex; gap: 10px; margin-bottom: 24px; }

.scenario-tab {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-dim);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.scenario-tab.active {
  background: linear-gradient(135deg, rgba(214, 168, 79, 0.25) 0%, rgba(214, 168, 79, 0.08) 100%);
  border-color: var(--gold);
  color: #fff;
}

.financial-stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.fin-stat-box { background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--radius-md); padding: 16px 20px; }
.fin-stat-label { font-size: 0.78rem; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; }
.fin-stat-val { font-family: var(--font-heading); font-size: 1.7rem; font-weight: 800; color: #fff; }

/* DOWNLOADS GRID */
.downloads-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.dl-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: var(--transition-smooth);
}

.dl-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--cyan);
  transform: translateY(-3px);
}

.dl-format-badge {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  display: inline-block;
  background: rgba(33, 212, 253, 0.15);
  color: var(--cyan);
  border: 1px solid rgba(33, 212, 253, 0.3);
}

.dl-format-badge.zip {
  background: rgba(214, 168, 79, 0.15);
  color: var(--gold-bright);
  border-color: rgba(214, 168, 79, 0.3);
}

.dl-title { font-size: 1.1rem; margin-bottom: 6px; }
.dl-desc { font-size: 0.86rem; color: var(--text-dim); line-height: 1.5; }

/* TABLE */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--liquid-border);
  background: rgba(6, 13, 27, 0.5);
}

.event-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.92rem; }
.event-table th { background: rgba(255, 255, 255, 0.04); padding: 18px 22px; font-size: 0.78rem; text-transform: uppercase; color: var(--text-dim); }
.event-table td { padding: 16px 22px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); color: #e4edfa; }

.tier-badge { padding: 4px 10px; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 800; display: inline-block; }
.tier-a-plus { background: rgba(214, 168, 79, 0.2); color: var(--gold-bright); border: 1px solid rgba(214, 168, 79, 0.4); }
.tier-a { background: rgba(33, 212, 253, 0.18); color: var(--cyan); border: 1px solid rgba(33, 212, 253, 0.35); }
.tier-b { background: rgba(255, 255, 255, 0.08); color: var(--text-dim); }

/* FOOTER */
.site-footer { padding: 70px 0 40px; border-top: 1px solid rgba(255, 255, 255, 0.08); margin-top: 60px; background: rgba(2, 4, 8, 0.8); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-brand p { color: var(--text-dim); font-size: 0.92rem; line-height: 1.6; margin-top: 12px; max-width: 38ch; }
.footer-col h5 { font-size: 0.9rem; text-transform: uppercase; margin-bottom: 16px; color: #fff; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--text-dim); text-decoration: none; font-size: 0.88rem; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--cyan); }
.footer-bottom { padding-top: 25px; border-top: 1px solid rgba(255, 255, 255, 0.06); display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; color: var(--text-muted); }

/* RWA TOKEN LAUNCHPAD & REWARDS */
.rwa-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
}

.rwa-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
}

.rwa-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.rwa-metric-tile {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.rwa-metric-label {
  font-size: 0.76rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.rwa-metric-val {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
}

.rwa-metric-sub {
  font-size: 0.74rem;
  color: var(--text-dim);
  margin-top: 4px;
}

.loyalty-tiers-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.tier-card {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.tier-card:hover {
  transform: translateY(-2px);
}

.tier-card.gold-border {
  border-color: rgba(214, 168, 79, 0.35);
  background: rgba(214, 168, 79, 0.05);
}

.tier-card.cyan-border {
  border-color: rgba(33, 212, 253, 0.35);
  background: rgba(33, 212, 253, 0.05);
}

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

.tier-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

.tier-desc {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.4;
}

/* PRINT STYLES FOR DIRECT PDF EXPORT */
@media print {
  body { background: #fff !important; color: #000 !important; }
  #liquid-canvas, .ambient-glow, .glass-header, .audio-btn, #audio-toggle { display: none !important; }
  .wrap { width: 100% !important; max-width: 100% !important; margin: 0 !important; }
  .liquid-card, .kpi-card, .depot-address-box, .bay-card, .ins-box, .rwa-metric-tile, .tier-card { background: #fff !important; border: 1px solid #ccc !important; color: #000 !important; box-shadow: none !important; }
  h1, h2, h3, h4, h5, h6, .gradient-text-gold, .gradient-text-cyan, .kpi-val, .stage-metric-val { color: #000 !important; -webkit-text-fill-color: #000 !important; }
  section { padding: 20px 0 !important; page-break-inside: avoid; }
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .hero-grid, .dispatch-console, .sim-grid, .cockpit-stage, .funding-panel, .depot-grid, .insurance-grid, .rwa-grid { grid-template-columns: 1fr; }
  .kpi-row, .fleet-grid-4, .downloads-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .kpi-row, .fleet-grid-4, .downloads-grid, .split-card-row, .financial-stat-grid, .bays-grid, .corridor-row, .ins-metric-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .section-title { font-size: 2.2rem; }
  .radar-viewport { height: 380px; }
}

/* ==========================================================================
   THEME TOGGLE BUTTON
   ========================================================================== */
.theme-toggle-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.3s ease;
}

.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-1px);
}

/* ==========================================================================
   SOVEREIGN EXECUTIVE LIGHT THEME ([data-theme="light"])
   ========================================================================== */
[data-theme="light"] {
  --bg-obsidian: #f0f4f9;
  --bg-surface: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.92);
  --liquid-glass: rgba(255, 255, 255, 0.88);
  --liquid-border: rgba(14, 28, 48, 0.14);
  --liquid-border-hover: rgba(179, 132, 44, 0.5);
  
  --text-main: #070b12;
  --text-dim: #1a2433;
  --text-muted: #2f3d52;
  
  --gold: #b3842c;
  --gold-glow: rgba(179, 132, 44, 0.3);
  --cyan: #099dbd;
  --cyan-glow: rgba(9, 157, 189, 0.25);
}

[data-theme="light"] body {
  background: var(--bg-obsidian);
  color: var(--text-main);
}

[data-theme="light"] .glass-header {
  background: rgba(240, 244, 249, 0.9);
  border-bottom: 1px solid rgba(14, 28, 48, 0.12);
}

[data-theme="light"] .brand-title {
  color: #0c1424;
}

[data-theme="light"] .nav-link {
  color: #344359;
}

[data-theme="light"] .nav-link:hover {
  color: var(--cyan);
}

[data-theme="light"] .theme-toggle-btn {
  background: #ffffff;
  border-color: rgba(14, 28, 48, 0.18);
  color: #0c1424;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

[data-theme="light"] .liquid-card,
[data-theme="light"] .kpi-card,
[data-theme="light"] .download-card,
[data-theme="light"] .radar-console-box,
[data-theme="light"] .depot-address-box,
[data-theme="light"] .bay-card,
[data-theme="light"] .ins-box,
[data-theme="light"] .rwa-metric-tile,
[data-theme="light"] .tier-card {
  background: var(--bg-card);
  border: 1px solid var(--liquid-border);
  box-shadow: 0 10px 30px rgba(12, 20, 36, 0.06);
}

[data-theme="light"] .event-table th {
  background: #e2eaf4;
  color: #0c1424;
}

[data-theme="light"] .event-table td {
  border-bottom: 1px solid rgba(14, 28, 48, 0.08);
  color: #344359;
}

[data-theme="light"] .event-table td strong {
  color: #0c1424;
}

[data-theme="light"] .event-table tbody tr:hover {
  background: rgba(9, 157, 189, 0.06);
}

[data-theme="light"] .funder-stat-card {
  background: #f4f7fb;
  border: 1px solid rgba(14, 28, 48, 0.1);
}

[data-theme="light"] .funder-tab {
  background: #e6eef7;
  color: #344359;
  border-color: rgba(14, 28, 48, 0.12);
}

[data-theme="light"] .funder-tab.active {
  background: #ffffff;
  color: #0c1424;
  border-color: var(--gold);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

[data-theme="light"] .cal-tab {
  background: #e6eef7;
  color: #344359;
  border-color: rgba(14, 28, 48, 0.12);
}

[data-theme="light"] .cal-tab.active {
  background: #ffffff;
  color: #0c1424;
  border-color: var(--cyan);
}

/* ==========================================================================
   INSTITUTIONAL FUNDER & BITGO STYLES
   ========================================================================== */
.funder-suite-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 24px;
}

@media (max-width: 1024px) {
  .funder-suite-grid { grid-template-columns: 1fr; }
}

.bitgo-account-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 12px;
  margin-top: 12px;
}

.escrow-vaults-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.escrow-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 10px 14px;
}

.escrow-status-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.escrow-status-pill.approved {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--emerald);
  color: var(--emerald);
}

.escrow-status-pill.locked {
  background: rgba(214, 168, 79, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold-bright);
}

.funder-persona-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.funder-tab {
  padding: 8px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-dim);
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.funder-tab.active {
  background: rgba(214, 168, 79, 0.18);
  border-color: var(--gold);
  color: #fff;
}

.funder-highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.funder-stat-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 12px;
}

.fstat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.fstat-val {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2px;
}

.fstat-desc {
  font-size: 0.76rem;
  color: var(--text-dim);
}

.cal-tab {
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cal-tab.active {
  background: rgba(33, 212, 253, 0.18);
  border-color: var(--cyan);
  color: #fff;
}

/* ==========================================================================
   CONDENSED DESKTOP NAVIGATION & DROPDOWNS
   ========================================================================== */
.condensed-nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.nav-dropdown-btn .arrow {
  font-size: 0.72rem;
  color: var(--gold);
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-dropdown:hover .arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none !important;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: rgba(8, 14, 26, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(214, 168, 79, 0.35);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75), 0 0 20px rgba(33, 212, 253, 0.1);
  padding: 8px;
  z-index: 1000;
}

[data-theme="light"] .nav-dropdown-menu {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(179, 132, 44, 0.3);
  box-shadow: 0 16px 40px rgba(12, 20, 36, 0.18);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: flex !important;
  flex-direction: column;
}

.nav-sublink {
  display: flex;
  flex-direction: column;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.nav-sublink:hover {
  background: rgba(214, 168, 79, 0.12);
}

[data-theme="light"] .nav-sublink:hover {
  background: rgba(9, 157, 189, 0.08);
}

.nav-sublink .sub-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #fff;
}

[data-theme="light"] .nav-sublink .sub-title {
  color: #0c1424;
}

.nav-sublink .sub-desc {
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 2px;
}

/* CONDENSED NAV ACTION PILLS */
.nav-action-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.25s ease;
}

.nav-action-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-1px);
}

[data-theme="light"] .nav-action-pill {
  background: #ffffff;
  border-color: rgba(14, 28, 48, 0.18);
  color: #0c1424;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.btn-compact {
  padding: 7px 14px;
  font-size: 0.8rem;
}

/* ==========================================================================
   MOBILE & IPAD HAMBURGER MENU & SLIDE-OUT DRAWER
   ========================================================================== */
.mobile-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

[data-theme="light"] .mobile-hamburger span {
  background: #0c1424;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -340px;
  width: min(340px, 85vw);
  height: 100vh;
  background: rgba(6, 12, 22, 0.98);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-left: 1px solid rgba(214, 168, 79, 0.35);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
  z-index: 999999;
  display: none;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] .mobile-drawer {
  background: rgba(255, 255, 255, 0.98);
  border-left-color: rgba(179, 132, 44, 0.35);
  box-shadow: -10px 0 40px rgba(12, 20, 36, 0.2);
}

.mobile-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .drawer-header {
  border-bottom-color: rgba(14, 28, 48, 0.1);
}

.close-drawer {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 6px;
}

.drawer-content {
  flex: 1;
  overflow-y: auto;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.drawer-group-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--gold);
  letter-spacing: 0.12em;
  font-weight: 800;
  margin-bottom: 8px;
}

.drawer-link {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

[data-theme="light"] .drawer-link {
  color: #0c1424;
}

.drawer-link:hover {
  background: rgba(214, 168, 79, 0.14);
  color: var(--gold-bright);
}

.drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-btn {
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  text-align: center;
}

[data-theme="light"] .drawer-btn {
  background: #f0f4f9;
  color: #0c1424;
  border-color: rgba(14, 28, 48, 0.15);
}

.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   VOICE PILL BUTTONS & ANIMATION
   ========================================================================== */
.btn-voice-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(33, 212, 253, 0.1);
  border: 1px solid rgba(33, 212, 253, 0.35);
  border-radius: 999px;
  padding: 8px 16px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-voice-pill:hover {
  background: rgba(33, 212, 253, 0.2);
  border-color: var(--cyan);
  box-shadow: 0 0 16px rgba(33, 212, 253, 0.3);
  transform: translateY(-1px);
}

[data-theme="light"] .btn-voice-pill {
  background: rgba(9, 157, 189, 0.1);
  border-color: rgba(9, 157, 189, 0.35);
  color: #0c1424;
}

.audio-wave-anim {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}

.audio-wave-anim i {
  display: inline-block;
  width: 2.5px;
  height: 5px;
  background: #21d4fd;
  border-radius: 1px;
  animation: wavePill 0.8s ease-in-out infinite;
}

.audio-wave-anim i:nth-child(2) { animation-delay: 0.15s; }
.audio-wave-anim i:nth-child(3) { animation-delay: 0.3s; }

@keyframes wavePill {
  0%, 100% { height: 4px; }
  50% { height: 13px; background: #d6a84f; }
}

/* ==========================================================================
   CONDENSED RESPONSIVE BREAKPOINTS (PHONES & IPADS)
   ========================================================================== */
@media (max-width: 1200px) {
  .condensed-nav { gap: 4px; }
  .nav-dropdown-btn { padding: 6px 9px; font-size: 0.82rem; }
  .wrap { max-width: 96%; }
}

@media (max-width: 1024px) {
  .condensed-nav { display: none; }
  .mobile-hamburger { display: flex; }
  .mobile-drawer { display: flex !important; }
  .top-right-logo-wrap { display: none; }
  .hero-main-title { font-size: 2.6rem; }
  .section-title { font-size: 2.1rem; }
}

@media (max-width: 768px) {
  .nav-actions .btn-compact { display: none; }
  .hero-cta-group { flex-direction: column; width: 100%; }
  .hero-cta-group a, .hero-cta-group button { width: 100%; text-align: center; }
  .brand-subtitle { display: none; }
  .brand-shield { width: 34px; height: 34px; }
  .section-head { margin-bottom: 24px; }
  .veh-pool-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   ACTUAL VEHICLE ACQUISITION & FRACTIONAL POOLS
   ========================================================================== */
.veh-pool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.veh-pool-card {
  background: rgba(8, 14, 26, 0.88);
  border: 1px solid rgba(214, 168, 79, 0.35);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.veh-pool-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
}

[data-theme="light"] .veh-pool-card {
  background: #ffffff;
  border-color: rgba(179, 132, 44, 0.3);
  box-shadow: 0 16px 40px rgba(12, 20, 36, 0.1);
}

.veh-card-media {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.veh-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.veh-pool-card:hover .veh-card-img {
  transform: scale(1.05);
}

.veh-lot-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(7, 17, 31, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--cyan);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.veh-delivery-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(16, 185, 129, 0.9);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
}

.veh-card-content {
  padding: 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.veh-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

[data-theme="light"] .veh-card-title {
  color: #0c1424;
}

.veh-card-location {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.veh-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 16px;
}

[data-theme="light"] .veh-specs-grid {
  background: #f4f7fb;
}

.veh-spec-item {
  font-size: 0.76rem;
}

.veh-spec-item .label {
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.veh-spec-item .val {
  font-weight: 700;
  color: #fff;
  margin-top: 1px;
}

[data-theme="light"] .veh-spec-item .val {
  color: #0c1424;
}

.veh-pool-progress-wrap {
  margin-bottom: 16px;
}

.veh-pool-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  margin-bottom: 6px;
}

.veh-progress-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

[data-theme="light"] .veh-progress-track {
  background: #e2eaf4;
}

.veh-progress-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #d6a84f 0%, #21d4fd 100%);
  transition: width 0.8s ease;
}

.veh-card-btns {
  display: flex;
  gap: 8px;
}

.city-pod-row {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.city-pod-tab {
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-dim);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.city-pod-tab.active {
  background: rgba(214, 168, 79, 0.18);
  border-color: var(--gold);
  color: #fff;
}

[data-theme="light"] .city-pod-tab.active {
  background: #ffffff;
  color: #0c1424;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* ==========================================================================
   METRO ATLANTA COMMERCIAL LENDER DIRECTORY & STAGED DRAFTS
   ========================================================================== */
.lender-tabs-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 18px;
}

.lender-filter-tab {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-dim);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.lender-filter-tab:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.lender-filter-tab.active {
  background: rgba(33, 212, 253, 0.18);
  border-color: var(--cyan);
  color: #fff;
}

[data-theme="light"] .lender-filter-tab.active {
  background: #ffffff;
  border-color: var(--cyan);
  color: #0c1424;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.lender-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.lender-card-item {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.lender-card-item:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .lender-card-item {
  background: #f8fafc;
  border-color: rgba(14, 28, 48, 0.1);
}

[data-theme="light"] .lender-card-item:hover {
  border-color: var(--gold);
  box-shadow: 0 10px 25px rgba(12, 20, 36, 0.08);
}

.lender-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}

.lender-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}

[data-theme="light"] .lender-name {
  color: #0c1424;
}

.lender-badge-status {
  font-size: 0.68rem;
  text-transform: uppercase;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.badge-depot {
  background: rgba(33, 212, 253, 0.15);
  color: var(--cyan);
  border: 1px solid rgba(33, 212, 253, 0.3);
}

.badge-trac {
  background: rgba(214, 168, 79, 0.15);
  color: var(--gold-bright);
  border: 1px solid rgba(214, 168, 79, 0.3);
}

.badge-ev {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-national {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.lender-ticket-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  padding: 6px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin: 10px 0;
}

[data-theme="light"] .lender-ticket-row {
  border-color: rgba(14, 28, 48, 0.08);
}

.staged-letters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.staged-draft-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(214, 168, 79, 0.25);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

[data-theme="light"] .staged-draft-card {
  background: #ffffff;
  border-color: rgba(179, 132, 44, 0.25);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}






@media (min-width: 1025px) {
  .mobile-drawer,
  .drawer-backdrop { display: none !important; }
}

@media (max-width: 1024px) {
  .nav-action-pill .pill-label { display: none; }
  .hero-grid { min-height: 0; gap: 24px; }
  .hero-stage-img { height: 280px; }
  .hero-stage-overlay { flex-wrap: wrap; gap: 12px; align-items: flex-start; }
  .hero-main-title { font-size: clamp(2rem, 8vw, 2.6rem); }
  .downloads-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .kpi-val { font-size: 1.55rem; }
  .nav-container { gap: 8px; }
  .brand-title { font-size: 0.92rem; }
  .table-wrap { margin-left: -8px; margin-right: -8px; }
}

img, canvas, svg, video { max-width: 100%; }
.hero-stage, .cabin-view-container, .radar-viewport { max-width: 100%; }

/* ==========================================================================
   LIGHT THEME — DARK TYPE (beats hardcoded #fff / inline colors)
   Keep photo overlays, radar HUD, and the contract terminal light-on-dark.
   ========================================================================== */
[data-theme="light"] {
  color: #070b12;
}

[data-theme="light"] body {
  color: #070b12;
}

[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] h5,
[data-theme="light"] h6,
[data-theme="light"] p,
[data-theme="light"] li,
[data-theme="light"] td,
[data-theme="light"] th,
[data-theme="light"] label,
[data-theme="light"] dt,
[data-theme="light"] dd,
[data-theme="light"] figcaption,
[data-theme="light"] .brand-title,
[data-theme="light"] .brand-subtitle,
[data-theme="light"] .hero-main-title,
[data-theme="light"] .hero-subtitle,
[data-theme="light"] .section-title,
[data-theme="light"] .section-desc,
[data-theme="light"] .kpi-val,
[data-theme="light"] .kpi-lbl,
[data-theme="light"] .dl-title,
[data-theme="light"] .dl-desc,
[data-theme="light"] .meta-chip,
[data-theme="light"] .meta-chip span,
[data-theme="light"] .corridor-title,
[data-theme="light"] .corridor-meta,
[data-theme="light"] .bay-vid,
[data-theme="light"] .bay-status,
[data-theme="light"] .bay-header,
[data-theme="light"] .ins-val,
[data-theme="light"] .ins-lbl,
[data-theme="light"] .vehicle-vin,
[data-theme="light"] .vehicle-model,
[data-theme="light"] .cell-val,
[data-theme="light"] .cell-label,
[data-theme="light"] .fare-total-val,
[data-theme="light"] .split-tile-val,
[data-theme="light"] .split-tile-pct,
[data-theme="light"] .split-tile-desc,
[data-theme="light"] .rwa-metric-val,
[data-theme="light"] .rwa-metric-label,
[data-theme="light"] .rwa-metric-sub,
[data-theme="light"] .tier-name,
[data-theme="light"] .tier-desc,
[data-theme="light"] .fin-stat-val,
[data-theme="light"] .fleet-spec-row span,
[data-theme="light"] .footer-col h5,
[data-theme="light"] .footer-brand p,
[data-theme="light"] .footer-links a,
[data-theme="light"] .footer-bottom,
[data-theme="light"] .nav-dropdown-btn,
[data-theme="light"] .nav-sublink,
[data-theme="light"] .nav-sublink .sub-title,
[data-theme="light"] .nav-sublink .sub-desc,
[data-theme="light"] .nav-action-pill,
[data-theme="light"] .drawer-link,
[data-theme="light"] .drawer-group-title,
[data-theme="light"] .drawer-btn,
[data-theme="light"] .funder-tab,
[data-theme="light"] .cal-tab,
[data-theme="light"] .fstat-val,
[data-theme="light"] .fstat-label,
[data-theme="light"] .fstat-desc,
[data-theme="light"] .lender-name,
[data-theme="light"] .veh-card-title,
[data-theme="light"] .veh-spec-item .val,
[data-theme="light"] .slider-title,
[data-theme="light"] .slider-val,
[data-theme="light"] .pill-badge {
  color: #070b12;
  -webkit-text-fill-color: #070b12;
}

[data-theme="light"] .hero-subtitle,
[data-theme="light"] .section-desc,
[data-theme="light"] .dl-desc,
[data-theme="light"] .kpi-lbl,
[data-theme="light"] .tier-desc,
[data-theme="light"] .split-tile-desc,
[data-theme="light"] .nav-sublink .sub-desc,
[data-theme="light"] .footer-brand p,
[data-theme="light"] .footer-bottom,
[data-theme="light"] .corridor-meta,
[data-theme="light"] .bay-status,
[data-theme="light"] .ins-lbl,
[data-theme="light"] .cell-label,
[data-theme="light"] .rwa-metric-sub,
[data-theme="light"] .fstat-desc,
[data-theme="light"] .brand-subtitle {
  color: #1a2433;
  -webkit-text-fill-color: #1a2433;
}

[data-theme="light"] .text-muted,
[data-theme="light"] .footer-links a {
  color: #243044;
  -webkit-text-fill-color: #243044;
}

[data-theme="light"] .footer-links a:hover,
[data-theme="light"] a.drawer-link:hover {
  color: #7a5410;
  -webkit-text-fill-color: #7a5410;
}

/* Darker metallic accents — still gold/cyan, readable on cream */
[data-theme="light"] .gradient-text-gold {
  background: linear-gradient(135deg, #4a3208 0%, #8a5a12 45%, #a56b16 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #6d470c;
}

[data-theme="light"] .gradient-text-cyan {
  background: linear-gradient(135deg, #043844 0%, #0a6176 50%, #0b7a94 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #074e5e;
}

/* Inline style="color:#fff" used throughout the page */
[data-theme="light"] [style*="color:#fff"],
[data-theme="light"] [style*="color: #fff"],
[data-theme="light"] [style*="color:#ffffff"],
[data-theme="light"] [style*="color: #ffffff"],
[data-theme="light"] [style*="color:#e4edfa"],
[data-theme="light"] [style*="color:#f5f8ff"],
[data-theme="light"] [style*="color:#bad3ee"] {
  color: #070b12 !important;
  -webkit-text-fill-color: #070b12 !important;
}

/* Glass / ghost buttons: dark type on white fill */
[data-theme="light"] .btn-liquid-glass {
  color: #070b12;
  -webkit-text-fill-color: #070b12;
  background: #ffffff;
  border: 1px solid rgba(14, 28, 48, 0.22);
}

[data-theme="light"] .btn-liquid-glass:hover {
  color: #070b12;
  -webkit-text-fill-color: #070b12;
  border-color: #0a6176;
  background: #f4f7fb;
}

[data-theme="light"] .nav-action-pill,
[data-theme="light"] .nav-dropdown-btn {
  color: #070b12;
  -webkit-text-fill-color: #070b12;
}

[data-theme="light"] .nav-dropdown-btn:hover,
[data-theme="light"] .nav-dropdown:hover .nav-dropdown-btn {
  color: #070b12;
  -webkit-text-fill-color: #070b12;
}

[data-theme="light"] .funder-tab.active,
[data-theme="light"] .cal-tab.active {
  color: #070b12;
  -webkit-text-fill-color: #070b12;
}

[data-theme="light"] .op-control-btn {
  color: #070b12;
  -webkit-text-fill-color: #070b12;
}

/* Gold / cyan filled buttons keep dark ink (already) */
[data-theme="light"] .btn-liquid-gold,
[data-theme="light"] .btn-liquid-cyan {
  -webkit-text-fill-color: #06090f;
}

/* Photo overlays, radar HUD, terminal stay light-on-dark */
[data-theme="light"] .hero-stage .hero-stage-overlay,
[data-theme="light"] .hero-stage .hero-stage-overlay *,
[data-theme="light"] .radar-hud-overlay,
[data-theme="light"] .radar-hud-overlay *,
[data-theme="light"] .contract-terminal,
[data-theme="light"] .contract-terminal *,
[data-theme="light"] .hud-pill,
[data-theme="light"] .hud-pill * {
  color: #f7f4ea !important;
  -webkit-text-fill-color: #f7f4ea !important;
}

[data-theme="light"] .hero-stage-overlay .stage-title {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

[data-theme="light"] .hero-stage-overlay .stage-metric-val,
[data-theme="light"] .hero-stage-overlay .telemetry-tag {
  color: #ffd478 !important;
  -webkit-text-fill-color: #ffd478 !important;
}

[data-theme="light"] .site-footer {
  color: #1a2433;
}

[data-theme="light"] .site-footer a {
  color: #1a2433;
}

/* GRID sleeve / charger RWA */
.charger-kpi-row { margin-bottom: 22px; }
.charger-ready-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding: 24px;
  margin-bottom: 36px;
}
.charger-ready-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.charger-ready-list li {
  position: relative;
  padding-left: 16px;
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.45;
}
.charger-ready-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.charger-subhead {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  margin: 8px 0 8px;
}
.path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 18px 0 28px;
}
.path-card { padding: 22px; min-height: 100%; }
.path-card-rec {
  border-color: var(--liquid-gold-border);
  box-shadow: 0 0 0 1px rgba(214, 168, 79, 0.25), 0 18px 40px rgba(0, 0, 0, 0.18);
}
.path-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 8px;
}
.path-kicker-gold { color: var(--gold-bright); }
.path-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.path-body {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.55;
  margin-bottom: 12px;
}
.path-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.path-points li {
  font-size: 0.82rem;
  color: var(--text-dim);
  padding-left: 14px;
  position: relative;
  line-height: 1.4;
}
.path-points li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--gold);
}
.ubk-arch { padding: 24px; margin-bottom: 28px; }
.ubk-arch-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.ubk-arch-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.ubk-arch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ubk-arch-grid h4 {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.ubk-arch-grid p {
  font-size: 0.86rem;
  color: var(--text-dim);
  line-height: 1.55;
}
.charger-docs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
a.dl-card {
  text-decoration: none;
  color: inherit;
}
.charger-doc-cta {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}
.charger-docx-line {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.charger-docx-line a { color: var(--cyan); }

@media (max-width: 1024px) {
  .charger-ready-bar,
  .path-grid,
  .ubk-arch-grid,
  .charger-docs { grid-template-columns: 1fr; }
}

[data-theme="light"] .path-title,
[data-theme="light"] .charger-subhead,
[data-theme="light"] .ubk-arch-grid h4 {
  color: #070b12;
  -webkit-text-fill-color: #070b12;
}
[data-theme="light"] .path-body,
[data-theme="light"] .path-points li,
[data-theme="light"] .charger-ready-list li,
[data-theme="light"] .ubk-arch-grid p,
[data-theme="light"] .kpi-sub {
  color: #1a2433;
  -webkit-text-fill-color: #1a2433;
}
.gap-grid { margin-top: 8px; }
.tesla-api-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.route-legal-table {
  display: grid;
  gap: 0;
  border: 1px solid var(--liquid-border);
  border-radius: 12px;
  overflow: hidden;
}
.route-legal-row {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1.4fr;
  gap: 12px;
  padding: 12px 16px;
  font-size: 0.84rem;
  color: var(--text-dim);
  border-bottom: 1px solid var(--liquid-border);
  align-items: start;
}
.route-legal-row:last-child { border-bottom: none; }
.route-legal-head {
  background: rgba(214, 168, 79, 0.1);
  color: var(--text-main);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}
.route-legal-row span:first-child {
  color: var(--text-main);
  font-weight: 600;
}

@media (max-width: 1024px) {
  .tesla-api-grid { grid-template-columns: 1fr; }
  .route-legal-row { grid-template-columns: 1fr; }
}

[data-theme="light"] .route-legal-head,
[data-theme="light"] .route-legal-row span:first-child {
  color: #070b12;
  -webkit-text-fill-color: #070b12;
}
[data-theme="light"] .route-legal-row {
  color: #1a2433;
}
[data-theme="light"] .path-card-rec {
  box-shadow: 0 0 0 1px rgba(179, 132, 44, 0.35), 0 10px 28px rgba(12, 20, 36, 0.08);
}

