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

/* ==========================================
   PREMIUM CLOUD SAAS DESIGN SYSTEM (:root)
   Inspired by Stripe, Linear & Modern FinTech
   ========================================== */
:root {
  /* Surface & Background Colors */
  --bg-page: #f4f6f9;
  --bg-card: #ffffff;
  --bg-card-hover: #fcfcfd;
  --bg-subtle: #f8fafc;
  --bg-muted: #f1f5f9;
  --bg-input: #ffffff;

  /* Typography Colors */
  --text-main: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;
  --text-on-accent: #ffffff;

  /* Border & Divider Palette */
  --border-color: #e2e8f0;
  --border-hover: #cbd5e1;
  --border-focus: #2563eb;

  /* Refined FinTech Status & Accent Colors */
  --accent-primary: #2563eb;
  --accent-primary-hover: #1d4ed8;
  --accent-primary-light: #eff6ff;
  --accent-cyan: #0284c7;
  --accent-teal: #0d9488;
  --accent-emerald: #10b981;
  --accent-emerald-light: #ecfdf5;
  --accent-amber: #f59e0b;
  --accent-amber-light: #fffbeb;
  --accent-rose: #e11d48;
  --accent-rose-light: #fff1f2;

  /* Premium Floating Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.06), 0 4px 6px -4px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.03);
  --shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, 0.12);
  --shadow-ring: 0 0 0 3px rgba(37, 99, 235, 0.15);

  /* Corner Radii */
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
}

/* ==========================================
   GLOBAL RESET & CORE STYLES
   ========================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar Polish */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-page);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* App Container */
.app-container {
  max-width: 1560px;
  margin: 0 auto;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ==========================================
   TOP NAVIGATION BAR (.top-header)
   ========================================== */
.top-header {
  position: relative;
  z-index: 10000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 16px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-cyan) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-on-accent);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
  flex-shrink: 0;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.025em;
}

.brand-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Interactive Dropdown Component */
.preset-selector-wrapper {
  position: relative;
  z-index: 10001;
  display: flex;
  align-items: center;
  gap: 12px;
}

.preset-label {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.custom-dropdown {
  position: relative;
}

.preset-trigger-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 310px;
  padding: 10px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: all 0.18s ease;
}

.preset-trigger-btn:hover {
  border-color: var(--border-hover);
  background: var(--bg-subtle);
}

.preset-trigger-btn.open {
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-ring);
}

.trigger-firm-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.firm-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.firm-name {
  color: var(--text-main);
}

.firm-balance {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  color: var(--accent-primary);
}

.trigger-chevron {
  color: var(--text-muted);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.preset-trigger-btn.open .trigger-chevron {
  transform: rotate(180deg);
}

/* Dropdown Popover Menu */
.preset-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 440px;
  max-height: 520px;
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  z-index: 100000;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.preset-dropdown-menu.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.preset-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  transition: background 0.15s ease;
}

.preset-item:last-child {
  border-bottom: none;
}

.preset-item:hover {
  background: var(--bg-subtle);
}

.preset-item.active {
  background: var(--accent-primary-light);
}

.preset-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.preset-item-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-main);
}

.preset-item.active .preset-item-name {
  color: var(--accent-primary);
}

.preset-item-balance {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.preset-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.preset-badge.static {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}

.preset-badge.eod-trailing {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}

.preset-badge.real-time-trailing {
  background: #fff1f2;
  color: #e11d48;
  border: 1px solid #fecdd3;
}

/* Header Buttons */
.btn-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.825rem;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: var(--shadow-xs);
}

.btn-header:hover {
  background: var(--bg-subtle);
  border-color: var(--border-hover);
  color: var(--text-main);
}

/* ==========================================
   LIVE CHALLENGE SPECS BANNER (.firm-specs-banner)
   ========================================== */
.firm-specs-banner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.spec-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.spec-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.spec-card::top {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-accent, var(--accent-primary));
}

.spec-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--card-accent, var(--accent-primary));
  border-radius: 4px 0 0 4px;
}

.spec-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.spec-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.spec-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ==========================================
   MAIN WORKSPACE GRID (.main-grid)
   ========================================== */
.main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

/* SaaS Floating Cards */
.terminal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
}

.terminal-card:hover {
  box-shadow: var(--shadow-md);
}

.terminal-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.terminal-card-header h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.015em;
}

.terminal-card-header h2 svg {
  color: var(--accent-primary);
}

/* ==========================================
   FORM INPUTS & SAAS CONTROLS
   ========================================== */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.info-tooltip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-muted);
  color: var(--text-muted);
  font-size: 0.7rem;
  cursor: help;
  font-weight: 700;
  border: 1px solid var(--border-color);
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.9rem;
  pointer-events: none;
}

input[type="number"],
select {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 14px 10px 36px;
  outline: none;
  transition: all 0.18s ease;
  box-shadow: var(--shadow-xs);
}

input[type="number"]:focus,
select:focus {
  border-color: var(--border-focus);
  box-shadow: var(--shadow-ring);
}

/* Standardize option tags */
select option {
  background-color: #ffffff;
  color: #0f172a;
  padding: 10px;
}

/* ==========================================
   SEGMENTED SAAS TABS (.tabs-header, .tab-btn)
   ========================================== */
.tabs-header {
  display: flex;
  background: var(--bg-muted);
  padding: 5px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
  gap: 4px;
}

.tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: center;
}

.tab-btn:hover {
  color: var(--text-main);
}

.tab-btn.active {
  background: var(--bg-card);
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

/* ==========================================
   QUICK PILLS (.quick-pills, .pill-btn)
   ========================================== */
.quick-pills {
  display: flex;
  gap: 8px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.pill-btn {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.pill-btn:hover {
  background: var(--border-color);
  color: var(--text-main);
}

.pill-btn.active {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: var(--text-on-accent);
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

/* ==========================================
   STATUS & DRAWDOWN ALERTS (.floor-alert)
   ========================================== */
.floor-alert {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid transparent;
}

.floor-alert.safe {
  background: var(--accent-emerald-light);
  border-color: #a7f3d0;
  color: #065f46;
}

.floor-alert.warning {
  background: var(--accent-amber-light);
  border-color: #fde68a;
  color: #92400e;
}

.floor-alert.danger {
  background: var(--accent-rose-light);
  border-color: #fecdd3;
  color: #9f1239;
}

/* ==========================================
   EXECUTION RECOMMENDATION CARD (.results-showcase)
   ========================================== */
.results-showcase {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.lot-highlight-banner {
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  border: 1px solid #dbeafe;
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  box-shadow: var(--shadow-xs);
}

.lot-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.lot-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1;
  letter-spacing: -0.03em;
}

.badge-drawdown {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-drawdown.static {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}

.badge-drawdown.eod-trailing {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}

.badge-drawdown.real-time-trailing {
  background: #fff1f2;
  color: #e11d48;
  border: 1px solid #fecdd3;
}

/* Risk Metrics Grid (.risk-metrics-grid & .metric-box) */
.risk-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.metric-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-xs);
  transition: all 0.18s ease;
}

.metric-box:hover {
  background: var(--bg-card);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-sm);
}

.metric-box-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.metric-box-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

/* Daily Drawdown Utilization Section (.safety-bar-wrapper) */
.safety-bar-wrapper {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.safety-bar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.safety-bar-header span:last-child {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.safety-bar-bg {
  width: 100%;
  height: 10px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.safety-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease;
}

/* ==========================================
   TRAILING DRAWDOWN SIMULATOR (.simulator-card)
   ========================================== */
.simulator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.sim-slider-wrapper {
  margin: 18px 0;
}

.sim-slider {
  width: 100%;
  height: 6px;
  appearance: none;
  background: var(--border-color);
  border-radius: 999px;
  outline: none;
}

.sim-slider::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-primary);
  border: 3px solid #ffffff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.25);
  cursor: pointer;
  transition: transform 0.15s ease;
}

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

.sim-values-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.sim-val-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

/* ==========================================
   ROADMAP TABLE (.roadmap-section, .roadmap-table)
   ========================================== */
.roadmap-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.roadmap-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
}

.roadmap-table th {
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 12px 14px;
  border-bottom: 2px solid var(--border-color);
  background: var(--bg-subtle);
}

.roadmap-table td {
  padding: 14px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
}

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

.roadmap-table tr:hover td {
  background: var(--bg-card-hover);
}

/* ==========================================
   CUSTOM FIRM MODAL DIALOG (.modal-overlay)
   ========================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 540px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-subtle);
}

.modal-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
}

.btn-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.btn-close:hover {
  background: var(--bg-muted);
  color: var(--text-main);
}

.modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  background: var(--bg-subtle);
}

.btn-primary {
  background: var(--accent-primary);
  color: var(--text-on-accent);
  border: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
  transition: all 0.18s ease;
}

.btn-primary:hover {
  background: var(--accent-primary-hover);
}

.btn-secondary,
.btn-header {
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-secondary:hover,
.btn-header:hover {
  background: var(--bg-muted);
  color: var(--text-main);
}

/* ==========================================
   RESPONSIVE LAYOUT
   ========================================== */
@media (max-width: 1200px) {
  .firm-specs-banner {
    grid-template-columns: repeat(3, 1fr);
  }
  .main-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .firm-specs-banner {
    grid-template-columns: repeat(2, 1fr);
  }
  .top-header {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .risk-metrics-grid {
    grid-template-columns: 1fr;
  }
}
