/* ==========================================================================
   VitaPulse Design System & Clinical Telemetry Stylesheet
   Grounded in optical photoplethysmography (rPPG) and acoustic biometrics
   ========================================================================== */

:root {
  --bg-deep: #06090e;
  --bg-surface: #0c121d;
  --bg-surface-elevated: #131c2d;
  --bg-surface-glass: rgba(12, 18, 29, 0.78);
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-active: rgba(0, 229, 201, 0.4);
  --border-pulse: rgba(255, 51, 102, 0.4);

  /* Signature Chromatic Palette */
  --pulse-arterial: #ff3366;
  --pulse-arterial-glow: rgba(255, 51, 102, 0.28);
  --sensor-teal: #00e5c9;
  --sensor-teal-glow: rgba(0, 229, 201, 0.22);
  --telemetry-cyan: #06b6d4;
  --neural-amber: #f59e0b;
  --clinical-blue: #3b82f6;

  /* Typography */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-tertiary: #64748b;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Elevation */
  --glow-sensor: 0 0 35px rgba(0, 229, 201, 0.15);
  --glow-pulse: 0 0 35px rgba(255, 51, 102, 0.2);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Clinical Day Mode (Light Theme) Palette
   Bespoke, high-end laboratory & diagnostic aesthetic
   ========================================================================== */
[data-theme="light"] {
  --bg-deep: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-surface-glass: rgba(255, 255, 255, 0.88);
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-active: rgba(13, 148, 136, 0.5);
  --border-pulse: rgba(225, 29, 72, 0.4);

  /* Signature Clinical Palette for Light Mode */
  --pulse-arterial: #e11d48;
  --pulse-arterial-glow: rgba(225, 29, 72, 0.15);
  --sensor-teal: #0d9488;
  --sensor-teal-glow: rgba(13, 148, 136, 0.15);
  --telemetry-cyan: #0284c7;
  --neural-amber: #d97706;
  --clinical-blue: #2563eb;

  /* Typography */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-tertiary: #64748b;

  --glow-sensor: 0 10px 30px rgba(13, 148, 136, 0.08);
  --glow-pulse: 0 10px 30px rgba(225, 29, 72, 0.08);
}

[data-theme="light"] body {
  background: 
    radial-gradient(circle at 18% 12%, rgba(13, 148, 136, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 82% 28%, rgba(225, 29, 72, 0.05) 0%, transparent 42%),
    radial-gradient(circle at 50% 80%, rgba(37, 99, 235, 0.04) 0%, transparent 60%),
    var(--bg-deep);
}

[data-theme="light"] .telemetry-grid-bg {
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
}

[data-theme="light"] .navbar {
  background-color: rgba(255, 255, 255, 0.88);
}

[data-theme="light"] .hero-title em {
  background: linear-gradient(135deg, #0f172a 30%, var(--sensor-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .terminal-viewport {
  background-color: #f8fafc;
}

[data-theme="light"] .waveform-container {
  background: #f1f5f9;
}

[data-theme="light"] .hud-top-meta,
[data-theme="light"] .hud-bottom-bar {
  background: rgba(255, 255, 255, 0.88);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

[data-theme="light"] .scan-active-banner {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--sensor-teal);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .footer {
  background-color: #f1f5f9;
}

[data-theme="light"] .sdk-code-editor,
[data-theme="light"] .roi-results-card {
  background-color: #0f172a;
  color: #f8fafc;
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  background: 
    radial-gradient(circle at 18% 12%, rgba(0, 229, 201, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 82% 28%, rgba(255, 51, 102, 0.05) 0%, transparent 42%),
    radial-gradient(circle at 50% 80%, rgba(59, 130, 246, 0.04) 0%, transparent 60%),
    var(--bg-deep);
}

/* Ambient Telemetry Grid Layer */
.telemetry-grid-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* Typography Standards */
h1, h2, h3, h4 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 68ch;
}

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

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background-color: rgba(6, 9, 14, 0.82);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-icon-pulse {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--pulse-arterial), var(--sensor-teal));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px var(--pulse-arterial-glow);
}

.brand-icon-pulse svg {
  width: 18px;
  height: 18px;
  stroke: #ffffff;
}

.brand-title {
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-title span {
  color: var(--sensor-teal);
}

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--text-primary);
}

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

/* Clinical Day / Night Mode Toggle */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.8rem;
  font-weight: 600;
}

.theme-toggle-btn:hover {
  border-color: var(--sensor-teal);
  color: var(--text-primary);
}

.sun-icon {
  display: inline-block;
  color: #f59e0b;
}

.moon-icon {
  display: none;
  color: #38bdf8;
}

[data-theme="light"] .sun-icon {
  display: none;
}

[data-theme="light"] .moon-icon {
  display: inline-block;
}

/* Custom Buttons (Clean, active action verbs, no generic outlines) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--sensor-teal), #00b4d8);
  color: #03141f;
  box-shadow: 0 4px 20px rgba(0, 229, 201, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 26px rgba(0, 229, 201, 0.4);
}

.btn-pulse {
  background: linear-gradient(135deg, var(--pulse-arterial), #e11d48);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--pulse-arterial-glow);
}

.btn-pulse:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 26px rgba(255, 51, 102, 0.5);
}

.btn-secondary {
  background-color: var(--bg-surface-elevated);
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

.btn-secondary:hover {
  border-color: var(--sensor-teal);
  color: #ffffff;
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

/* Hero Section */
.hero-section {
  padding: 4.5rem 0 5rem;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(0, 229, 201, 0.08);
  border: 1px solid rgba(0, 229, 201, 0.25);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  width: fit-content;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--sensor-teal);
  box-shadow: 0 0 10px var(--sensor-teal);
  animation: pulse-dot 2s infinite ease-in-out;
}

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

.status-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sensor-teal);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.hero-title {
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, #ffffff 30%, var(--sensor-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.5rem;
}

.clinical-trust-row {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-number {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-mono);
}

.trust-label {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   Interactive Biometric Telemetry Terminal (Hero Right)
   ========================================================================== */
.terminal-window {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), var(--glow-sensor);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

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

.terminal-mode-toggles {
  display: flex;
  gap: 0.4rem;
  background: var(--bg-deep);
  padding: 0.25rem;
  border-radius: var(--radius-sm);
}

.terminal-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-tertiary);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}

.terminal-tab-btn.active {
  background-color: var(--bg-surface-elevated);
  color: var(--sensor-teal);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.terminal-status-indicators {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.terminal-viewport {
  position: relative;
  height: 280px;
  background-color: #03060a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Live video / simulated canvas */
#biometricVideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  transform: scaleX(-1); /* mirror */
}

.simulated-face-canvas {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.biometric-hud-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
}

.hud-top-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--sensor-teal);
  background: rgba(6, 9, 14, 0.6);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  backdrop-filter: blur(4px);
  width: fit-content;
}

.hud-reticle-box {
  align-self: center;
  width: 170px;
  height: 200px;
  border: 1px dashed rgba(0, 229, 201, 0.5);
  border-radius: 50% 50% 46% 46%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hud-reticle-box::before, .hud-reticle-box::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--sensor-teal);
}

.hud-reticle-box::before {
  top: -2px;
  left: -2px;
  border-top: 2px solid var(--sensor-teal);
  border-left: 2px solid var(--sensor-teal);
}

.hud-reticle-box::after {
  bottom: -2px;
  right: -2px;
  border-bottom: 2px solid var(--sensor-teal);
  border-right: 2px solid var(--sensor-teal);
}

.roi-target {
  position: absolute;
  width: 44px;
  height: 22px;
  border: 1px solid var(--pulse-arterial);
  background: rgba(255, 51, 102, 0.12);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--pulse-arterial);
  display: flex;
  align-items: center;
  justify-content: center;
}

.roi-forehead { top: 38px; }
.roi-cheek-left { bottom: 65px; left: 24px; }
.roi-cheek-right { bottom: 65px; right: 24px; }

.hud-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(6, 9, 14, 0.7);
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Real-time Oscilloscope / PPG Waveform Strip */
.waveform-container {
  height: 80px;
  background: #020408;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

#ppgCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.waveform-legend {
  position: absolute;
  top: 6px;
  left: 12px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--sensor-teal);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  pointer-events: none;
}

.waveform-legend-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pulse-arterial);
}

/* Metric Telemetry Grid */
.terminal-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background-color: var(--border-subtle);
}

.metric-cell {
  background-color: var(--bg-surface);
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
}

.metric-cell-title {
  font-size: 0.72rem;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.metric-cell-value-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-top: 0.2rem;
}

.metric-cell-val {
  font-size: 1.45rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-primary);
}

.metric-cell-unit {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.metric-status-tag {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  width: fit-content;
  margin-top: 0.2rem;
}

.tag-optimal {
  background: rgba(0, 229, 201, 0.12);
  color: var(--sensor-teal);
}

.tag-elevated {
  background: rgba(245, 158, 11, 0.15);
  color: var(--neural-amber);
}

.terminal-control-footer {
  padding: 0.85rem 1.25rem;
  background-color: var(--bg-surface-elevated);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* ==========================================================================
   Section Layouts & Technical Explanations
   ========================================================================== */
.section {
  padding: 6.5rem 0;
  position: relative;
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--sensor-teal);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.12rem;
  color: var(--text-secondary);
  max-width: 64ch;
}

/* Asymmetric Technology Architecture Grid */
.tech-architecture-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: stretch;
}

.tech-card-large {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.tech-card-large::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(0, 229, 201, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.tech-step-flow {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.tech-step-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.25rem;
  align-items: flex-start;
}

.step-indicator {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--sensor-teal);
  font-family: var(--font-mono);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-info h4 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
}

.step-info p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.tech-specs-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.spec-panel {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.spec-panel h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-primary);
}

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

.spec-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.spec-list li span:first-child {
  color: var(--text-secondary);
}

.spec-list li span:last-child {
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-weight: 600;
}

/* ==========================================================================
   Voice Biomarkers & Mental Telemetry Section
   ========================================================================== */
.voice-biomarker-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.voice-spectrum-visualizer {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.spectrogram-screen {
  height: 180px;
  background-color: #020509;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#voiceCanvas {
  width: 100%;
  height: 100%;
}

.voice-meta-bars {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.voice-bar-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.voice-bar-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-family: var(--font-mono);
}

.voice-bar-track {
  height: 6px;
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.voice-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 0.6s ease;
}

.fill-teal { background: var(--sensor-teal); }
.fill-amber { background: var(--neural-amber); }
.fill-blue { background: var(--clinical-blue); }

/* ==========================================================================
   Clinical Benchmark Matrix (Comparison with Medical Hardware)
   ========================================================================== */
.clinical-matrix-table-wrap {
  overflow-x: auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.clinical-matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.clinical-matrix-table th, .clinical-matrix-table td {
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.95rem;
}

.clinical-matrix-table th {
  background-color: var(--bg-surface-elevated);
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.clinical-matrix-table td.highlight-col {
  background: rgba(0, 229, 201, 0.03);
  color: var(--sensor-teal);
  font-weight: 600;
  font-family: var(--font-mono);
}

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

/* ==========================================================================
   Enterprise Solutions / Industry Vertical Switcher
   ========================================================================== */
.vertical-switcher-tabs {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.vertical-tab {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.vertical-tab.active {
  background: var(--bg-surface-elevated);
  color: #ffffff;
  border-color: var(--sensor-teal);
  box-shadow: 0 4px 20px rgba(0, 229, 201, 0.12);
}

.vertical-content-box {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.vertical-benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

.vertical-benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.98rem;
  color: var(--text-secondary);
}

.check-icon {
  width: 20px;
  height: 20px;
  color: var(--sensor-teal);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   Interactive Developer SDK & Code Terminal
   ========================================================================== */
.sdk-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: flex-start;
}

.sdk-code-editor {
  background-color: #03060a;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.code-tabs-bar {
  display: flex;
  background-color: var(--bg-surface-elevated);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 0.5rem;
}

.code-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 0.75rem 1.1rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

.code-tab-btn.active {
  color: var(--sensor-teal);
  border-bottom-color: var(--sensor-teal);
}

.code-pre-block {
  padding: 1.5rem;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.6;
  color: #cbd5e1;
}

.token-kw { color: #f43f5e; }
.token-fn { color: #38bdf8; }
.token-str { color: #34d399; }
.token-num { color: #fbbf24; }
.token-comment { color: #64748b; font-style: italic; }

.live-json-response {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ==========================================================================
   Compliance, Privacy & On-Device Security Grid
   ========================================================================== */
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.compliance-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: var(--transition);
}

.compliance-card:hover {
  border-color: rgba(0, 229, 201, 0.3);
  transform: translateY(-2px);
}

.compliance-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--sensor-teal);
  background: rgba(0, 229, 201, 0.08);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  width: fit-content;
}

.compliance-card h4 {
  font-size: 1.05rem;
  color: var(--text-primary);
}

.compliance-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Interactive ROI & Health Diagnostic Impact Estimator
   ========================================================================== */
.roi-calculator-box {
  background: linear-gradient(135deg, rgba(12, 18, 29, 0.95), rgba(19, 28, 45, 0.75));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.slider-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  font-weight: 500;
}

.slider-val-readout {
  font-family: var(--font-mono);
  color: var(--sensor-teal);
  font-weight: 700;
}

.custom-slider {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  background: var(--bg-surface-elevated);
  border-radius: 3px;
  outline: none;
}

.custom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--sensor-teal);
  cursor: pointer;
  box-shadow: 0 0 10px var(--sensor-teal);
}

.roi-results-card {
  background-color: #03060a;
  border: 1px solid rgba(0, 229, 201, 0.3);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.roi-metric-item {
  display: flex;
  flex-direction: column;
}

.roi-metric-big {
  font-size: 2.4rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--sensor-teal);
}

.roi-metric-desc {
  font-size: 0.88rem;
  color: var(--text-tertiary);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: #04060a;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col h5 {
  font-size: 0.88rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--sensor-teal);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

/* Media Queries & Responsive Adaptations */
@media (max-width: 1024px) {
  .hero-grid, 
  .tech-architecture-grid, 
  .voice-biomarker-grid, 
  .vertical-content-box, 
  .sdk-container, 
  .roi-calculator-box {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

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

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

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

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

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

/* ==========================================================================
   40-Second HUD Timer & Scan Progress Styles
   ========================================================================== */
.hud-timer-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 51, 102, 0.2);
  border: 1px solid rgba(255, 51, 102, 0.5);
  color: #ff3366;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
}

.timer-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #ff3366;
  animation: pulse-dot 1s infinite ease-in-out;
}

.scan-active-banner {
  position: absolute;
  top: 48px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(6, 9, 14, 0.88);
  border: 1px solid rgba(0, 229, 201, 0.4);
  backdrop-filter: blur(8px);
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 229, 201, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  z-index: 10;
  min-width: 260px;
}

.scan-timer-badge {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--sensor-teal);
  letter-spacing: 0.05em;
}

.scan-step-hint {
  font-size: 0.72rem;
  color: var(--text-secondary);
  text-align: center;
}

.scan-progress-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-top: 0.25rem;
}

.scan-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--sensor-teal), var(--pulse-arterial));
  transition: width 0.3s linear;
}

/* ==========================================================================
   Clinical Results Modal Styles
   ========================================================================== */
.results-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 4, 8, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: fadeInModal 0.25s ease-out;
}

@keyframes fadeInModal {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.results-modal-card {
  background: var(--bg-surface);
  border: 1px solid rgba(0, 229, 201, 0.35);
  border-radius: var(--radius-lg);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 50px rgba(0, 229, 201, 0.18);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.results-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1rem;
}

.results-header-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--sensor-teal);
  background: rgba(0, 229, 201, 0.08);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.results-modal-close {
  background: transparent;
  border: none;
  color: var(--text-tertiary);
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition);
}

.results-modal-close:hover {
  color: #ffffff;
}

.results-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.results-report-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.results-patient-id {
  font-size: 0.76rem;
  color: var(--text-tertiary);
}

.results-overall-score {
  background: linear-gradient(135deg, rgba(0, 229, 201, 0.1), rgba(59, 130, 246, 0.1));
  border: 1px solid rgba(0, 229, 201, 0.3);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.score-num {
  font-size: 2.4rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--sensor-teal);
  line-height: 1;
}

.score-sub {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  margin-top: 0.2rem;
}

.results-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.res-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.res-label {
  font-size: 0.7rem;
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
}

.res-val-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}

.res-val {
  font-size: 1.85rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-primary);
}

.res-unit {
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
}

.res-tag {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  width: fit-content;
}

.res-tag-optimal {
  background: rgba(0, 229, 201, 0.12);
  color: var(--sensor-teal);
}

.res-range-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-top: 0.4rem;
}

.res-range-fill {
  height: 100%;
  background: var(--sensor-teal);
  border-radius: var(--radius-full);
}

.res-ref {
  font-size: 0.65rem;
  color: var(--text-tertiary);
  margin-top: 0.2rem;
}

.results-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
}

@media (max-width: 768px) {
  .results-metrics-grid {
    grid-template-columns: 1fr;
  }
  .results-summary-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .results-modal-actions {
    flex-direction: column;
  }
}

/* ==========================================================================
   Clinical EHR Print Stylesheet (@media print)
   Isolates purely the diagnostic report sheet, hiding all website chrome
   ========================================================================== */
.print-only-footer {
  display: none;
}

@media print {
  /* Hide all website chrome, background, navigation, and page sections */
  html, body {
    background: #ffffff !important;
    color: #0f172a !important;
    font-size: 11pt !important;
    margin: 0 !important;
    padding: 0 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .telemetry-grid-bg,
  .navbar,
  .hero-section,
  .section,
  .footer,
  .results-modal-actions,
  .results-modal-close,
  .scan-active-banner,
  .hud-timer-pill {
    display: none !important;
  }

  .results-modal-backdrop {
    position: static !important;
    background: transparent !important;
    backdrop-filter: none !important;
    padding: 0 !important;
    display: block !important;
  }

  .results-modal-card {
    position: static !important;
    border: 2px solid #0f172a !important;
    box-shadow: none !important;
    background: #ffffff !important;
    color: #0f172a !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 2rem !important;
    margin: 0 !important;
    page-break-inside: avoid;
    border-radius: 8px !important;
  }

  .results-header-badge {
    border: 1px solid #0f172a !important;
    color: #0f172a !important;
    background: #f1f5f9 !important;
  }

  .results-header-badge .status-dot {
    background: #0f172a !important;
    box-shadow: none !important;
  }

  .results-report-title {
    color: #0f172a !important;
    font-size: 1.6rem !important;
  }

  .results-patient-id {
    color: #475569 !important;
  }

  .results-overall-score {
    background: #f8fafc !important;
    border: 2px solid #0f172a !important;
    padding: 0.6rem 1rem !important;
  }

  .score-num {
    color: #0f172a !important;
  }

  .score-sub {
    color: #475569 !important;
  }

  .results-metrics-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1rem !important;
  }

  .res-card {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    padding: 1rem !important;
  }

  .res-label {
    color: #475569 !important;
  }

  .res-val {
    color: #0f172a !important;
  }

  .res-unit {
    color: #475569 !important;
  }

  .res-tag-optimal {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
  }

  .res-range-bar {
    background: #e2e8f0 !important;
  }

  .res-range-fill {
    background: #0f172a !important;
  }

  .res-ref {
    color: #64748b !important;
  }

  .print-only-footer {
    display: block !important;
    margin-top: 2rem !important;
    padding-top: 1.25rem !important;
    border-top: 1px dashed #94a3b8 !important;
    font-size: 8.5pt !important;
    color: #475569 !important;
  }

  .print-signature-row {
    display: flex !important;
    justify-content: space-between !important;
    margin-top: 1.5rem !important;
    padding-top: 1rem !important;
  }

  .print-sig-col {
    width: 45% !important;
    border-top: 1px solid #94a3b8 !important;
    padding-top: 0.35rem !important;
    font-size: 8.5pt !important;
  }
}

/* ==========================================================================
   Pre-Consultation Digital Triage Workflow Section Styles
   ========================================================================== */
.pre-consult-section {
  padding: 5.5rem 0;
  background: linear-gradient(180deg, rgba(12, 18, 29, 0.6) 0%, rgba(6, 9, 14, 0.9) 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.pre-consult-hero-box {
  background: var(--bg-surface);
  border: 1px solid rgba(0, 229, 201, 0.25);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 229, 201, 0.08);
  position: relative;
  overflow: hidden;
}

.pre-consult-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.clinical-alert-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 51, 102, 0.12);
  border: 1px solid rgba(255, 51, 102, 0.4);
  color: var(--pulse-arterial);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
}

.pulse-ring {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pulse-arterial);
  box-shadow: 0 0 10px var(--pulse-arterial);
  animation: pulse-dot 1.2s infinite ease-in-out;
}

.pre-consult-main-title {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.pre-consult-main-title span {
  color: var(--sensor-teal);
}

.pre-consult-lead-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 78ch;
  line-height: 1.7;
  margin-bottom: 2.75rem;
}

.triage-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 2.75rem;
}

.triage-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: var(--transition);
  position: relative;
}

.triage-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 229, 201, 0.35);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.highlight-triage-card {
  border-color: rgba(0, 229, 201, 0.45);
  background: linear-gradient(180deg, rgba(0, 229, 201, 0.06) 0%, var(--bg-surface-elevated) 100%);
  box-shadow: 0 10px 30px rgba(0, 229, 201, 0.12);
}

.triage-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.75rem;
}

.triage-step-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--sensor-teal);
}

.triage-time {
  font-size: 0.7rem;
  color: var(--text-tertiary);
}

.triage-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sensor-teal);
}

.icon-highlight {
  background: rgba(0, 229, 201, 0.12);
  border-color: rgba(0, 229, 201, 0.4);
  color: var(--sensor-teal);
}

.triage-card h4 {
  font-size: 1.2rem;
  color: var(--text-primary);
}

.triage-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.triage-quote-banner {
  background: rgba(6, 9, 14, 0.75);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--sensor-teal);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.quote-stat {
  font-size: 3rem;
  font-weight: 800;
  color: var(--sensor-teal);
  line-height: 1;
  flex-shrink: 0;
}

.quote-content {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.quote-content strong {
  color: var(--text-primary);
}

/* Day Mode Adaptations for Pre-Consultation */
[data-theme="light"] .pre-consult-section {
  background: linear-gradient(180deg, #f1f5f9 0%, #f8fafc 100%);
}

[data-theme="light"] .pre-consult-hero-box {
  background: #ffffff;
  border-color: rgba(13, 148, 136, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .triage-card {
  background: #f8fafc;
  border-color: #e2e8f0;
}

[data-theme="light"] .highlight-triage-card {
  background: linear-gradient(180deg, rgba(13, 148, 136, 0.05) 0%, #f8fafc 100%);
  border-color: var(--sensor-teal);
}

[data-theme="light"] .triage-quote-banner {
  background: #f1f5f9;
  border-color: #cbd5e1;
  border-left-color: var(--sensor-teal);
}

@media (max-width: 1024px) {
  .triage-steps-grid {
    grid-template-columns: 1fr;
  }
  .pre-consult-hero-box {
    padding: 2.25rem;
  }
  .triage-quote-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}




