:root {
  --bg-primary: #0a0d12;
  --bg-surface: #111620;
  --border-subtle: #1E293B;
  --accent-yellow: #FACC15;
  --accent-cyan: #38BDF8;
  --accent-rose: #F87171;
  --accent-emerald: #10B981;
  --font-mono-strict: 'JetBrains Mono', 'SF Mono', Consolas, 'Courier New', monospace;
}

body {
  background-color: var(--bg-primary);
  color: #f8fafc;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
}

/* =====================================================================
   TRUE MONOSPACE LOCK FOR 401(k) AND 401(j) ONLY
   Isolates from parent negative letter-spacing and optically centers 'k'
   and 'j' with identical breathing room between '(' and ')'.
   ===================================================================== */
.mark-401 {
  font-family: var(--font-mono-strict);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0 !important;
  display: inline-flex;
  align-items: baseline;
  line-height: 1;
  white-space: nowrap;
  margin-right: 0.12em;
}
.mark-401 .paren {
  font-weight: 600;
  opacity: 0.92;
  display: inline-flex;
  justify-content: center;
  align-items: baseline;
  width: 0.58em;
  letter-spacing: 0 !important;
}
.mark-401 .glyph-lock {
  display: inline-flex;
  justify-content: center;
  align-items: baseline;
  width: 0.65em;
  text-align: center;
  font-weight: 800;
  letter-spacing: 0 !important;
}
.mark-401-j {
  color: #ffffff;
}
.mark-401-j .glyph-lock {
  color: #FACC15;
  /* Balanced optical breathing room around lowercase j so it never touches '(' */
  margin-left: 0.12em;
  margin-right: 0.06em;
}
.mark-401-k {
  color: #ffffff;
}
.mark-401-k .glyph-lock {
  color: #F87171;
  /* Balanced optical breathing room around lowercase k */
  margin-left: 0.08em;
  margin-right: 0.08em;
}

/* Subtle architectural grid background */
.bg-grid-pattern {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(56, 189, 248, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(56, 189, 248, 0.04) 1px, transparent 1px);
}

/* Custom Range Sliders */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: #283548;
  border-radius: 999px;
  outline: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #FACC15;
  border: 2px solid #111620;
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.5);
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: #FDE047;
}
input[type="range"].cyan-slider::-webkit-slider-thumb {
  background: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}
input[type="range"].rose-slider::-webkit-slider-thumb {
  background: #F87171;
  box-shadow: 0 0 10px rgba(248, 113, 113, 0.5);
}
input[type="range"].emerald-slider::-webkit-slider-thumb {
  background: #10b981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.yellow-glow {
  box-shadow: 0 0 25px -5px rgba(250, 204, 21, 0.22);
}

