/* ═══════════════════════════════════════════════════
   TaxGuide 2025 — Styles
   Clean, professional, accessible
   ═══════════════════════════════════════════════════ */

:root {
  --bg: #0a0f1a;
  --bg-card: #111827;
  --bg-card-hover: #1a2332;
  --bg-input: #0f172a;
  --border: #1e293b;
  --border-light: #334155;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --accent: #3b82f6;
  --accent-glow: rgba(59, 130, 246, 0.15);
  --green: #22c55e;
  --green-dim: rgba(34, 197, 94, 0.12);
  --orange: #f59e0b;
  --orange-dim: rgba(245, 158, 11, 0.12);
  --red: #ef4444;
  --red-dim: rgba(239, 68, 68, 0.12);
  --purple: #8b5cf6;
  --radius: 12px;
  --radius-sm: 8px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Header ──────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 15, 26, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
}

.logo-icon { font-size: 1.3rem; }

.logo-year {
  font-size: 0.7rem;
  font-family: var(--mono);
  padding: 2px 6px;
  background: var(--accent);
  color: white;
  border-radius: 4px;
  font-weight: 600;
}

.nav {
  display: flex;
  gap: 4px;
}

.nav-link {
  padding: 6px 12px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: var(--accent-glow);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.3rem;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* ── Main Content ────────────────────────────── */
.main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 48px 0;
  animation: fadeIn 0.3s ease-out;
}

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

.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-intro {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

.subsection-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 40px 0 12px;
  letter-spacing: -0.01em;
}

.section-text {
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* ── Hero ─────────────────────────────────────── */
.hero {
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
}

.hero-content { width: 100%; }

.hero-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(59, 130, 246, 0.25);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-accent {
  background: linear-gradient(135deg, var(--accent), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  color: var(--text);
}

.hero-card:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.hc-icon { font-size: 1.8rem; margin-bottom: 4px; }

.hc-title {
  font-size: 0.95rem;
  font-weight: 600;
}

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

.hero-disclaimer {
  font-size: 0.8rem;
  color: var(--text-dim);
  padding: 12px 16px;
  background: var(--orange-dim);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius-sm);
}

/* ── Filing Tabs ─────────────────────────────── */
.filing-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.filing-tab {
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: var(--font);
  background: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
}

.filing-tab:hover { border-color: var(--border-light); color: var(--text); }

.filing-tab.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

/* ── Bracket Table ───────────────────────────── */
.bracket-table {
  margin-bottom: 24px;
}

.bt-row {
  display: grid;
  grid-template-columns: 80px 1fr 140px;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.bt-header {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  border-left: none !important;
}

.bt-rate {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 1.1rem;
}

.bt-range { color: var(--text-muted); font-size: 0.9rem; }
.bt-tax { font-family: var(--mono); font-size: 0.9rem; color: var(--text-dim); text-align: right; }

/* ── Bracket Visual ──────────────────────────── */
.bracket-visual { margin-bottom: 32px; }

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

.bv-bar {
  display: flex;
  height: 40px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.bv-segment {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  transition: opacity 0.2s;
}

.bv-segment:hover { opacity: 0.8; }

.bv-pct {
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.bv-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 0.7rem;
  color: var(--text-dim);
  font-family: var(--mono);
}

/* ── Info Box ────────────────────────────────── */
.info-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
}

.info-box.accent {
  border-color: var(--accent);
  background: var(--accent-glow);
}

.info-box.warning {
  border-color: var(--orange);
  background: var(--orange-dim);
}

.info-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
}

.info-box ul {
  margin: 8px 0 0 20px;
  color: var(--text-muted);
}

.info-box li { margin-bottom: 4px; }

/* ── Deduction Grid ──────────────────────────── */
.deduction-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.ded-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(0,0,0,0.2);
  border-radius: var(--radius-sm);
}

.ded-status { color: var(--text-muted); font-size: 0.9rem; }

.ded-amount {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ── Compare Box ─────────────────────────────── */
.compare-box {
  display: flex;
  gap: 0;
  margin: 24px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.compare-side {
  flex: 1;
  padding: 24px;
  background: var(--bg-card);
}

.compare-side:first-child { border-right: 1px solid var(--border); }

.compare-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  background: var(--bg);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--text-dim);
  flex-shrink: 0;
}

.compare-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.compare-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 10px;
  background: var(--orange-dim);
  color: var(--orange);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.compare-badge.good {
  background: var(--green-dim);
  color: var(--green);
}

.compare-side ul {
  list-style: none;
  padding: 0;
}

.compare-side li {
  padding: 6px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.compare-side li:last-child { border: none; }

/* ── Card Grid ───────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.topic-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: all 0.25s;
  position: relative;
}

.topic-card:hover {
  border-color: var(--border-light);
  background: var(--bg-card-hover);
}

.topic-card.refundable {
  border-color: rgba(34, 197, 94, 0.3);
}

.tc-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--green-dim);
  color: var(--green);
  letter-spacing: 0.04em;
}

.tc-icon { font-size: 1.6rem; margin-bottom: 10px; }

.tc-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.tc-detail {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Limits Table ────────────────────────────── */
.limits-table {
  margin: 24px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.lt-row {
  display: grid;
  grid-template-columns: 1fr 120px 120px;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.lt-row:last-child { border: none; }

.lt-header {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  background: var(--bg-card);
}

.lt-row:not(.lt-header) span:not(:first-child) {
  font-family: var(--mono);
  font-weight: 500;
  text-align: right;
}

/* ── Calculator ──────────────────────────────── */
.calc-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 24px 0;
}

.calc-group { margin-bottom: 16px; }

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

.calc-select,
.calc-input {
  width: 100%;
  padding: 10px 14px;
  font-size: 0.95rem;
  font-family: var(--font);
  background: var(--bg-input);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s;
}

.calc-select:focus,
.calc-input:focus {
  outline: none;
  border-color: var(--accent);
}

.calc-select { cursor: pointer; -webkit-appearance: none; }

.calc-input-wrap {
  position: relative;
}

.calc-prefix {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-family: var(--mono);
  pointer-events: none;
}

.calc-input-wrap .calc-input { padding-left: 30px; }

.calc-btn {
  width: 100%;
  padding: 12px;
  margin-top: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font);
  background: var(--accent);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
}

.calc-btn:hover { background: #2563eb; transform: translateY(-1px); }

.calc-results {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.calc-result-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.calc-result-row:last-child { border: none; }

.calc-result-row span:last-child {
  font-family: var(--mono);
  font-weight: 600;
}

.calc-result-row.highlight {
  background: var(--accent-glow);
  margin: 0 -24px;
  padding: 10px 24px;
}

.calc-result-row.total {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 4px;
  color: var(--green);
}

.calc-breakdown {
  margin-top: 16px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.cb-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.cb-row {
  display: grid;
  grid-template-columns: 50px 1fr 100px;
  gap: 12px;
  padding: 6px 0;
  font-size: 0.85rem;
}

.cb-rate { font-family: var(--mono); font-weight: 700; }
.cb-income { color: var(--text-muted); font-family: var(--mono); }
.cb-tax { text-align: right; font-family: var(--mono); font-weight: 500; }

/* ── Accordion (native details/summary) ──────── */
.acc-detail {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
}

.acc-summary {
  padding: 16px 20px;
  font-size: 1rem;
  font-weight: 600;
  background: var(--bg-card);
  cursor: pointer;
  transition: background 0.2s;
  list-style: none;
}

.acc-summary::-webkit-details-marker { display: none; }
.acc-summary::marker { display: none; content: ''; }

.acc-summary:hover { background: var(--bg-card-hover); }

.acc-content {
  padding: 12px 20px 20px;
}

.acc-content p { color: var(--text-muted); margin-bottom: 10px; line-height: 1.7; font-size: 0.9rem; }
.acc-content ul { margin: 8px 0 10px 20px; color: var(--text-muted); font-size: 0.9rem; }
.acc-content li { margin-bottom: 4px; }

/* ── Legacy Accordion (JS-powered, kept for compat) ── */
.accordion { margin: 24px 0; }

.acc-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
}

.acc-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font);
  background: var(--bg-card);
  color: var(--text);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.acc-header:hover { background: var(--bg-card-hover); }

.acc-arrow {
  font-size: 0.9rem;
  transition: transform 0.2s;
  color: var(--text-dim);
}

.acc-item.open .acc-arrow { transform: rotate(180deg); }

.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.acc-item.open .acc-body {
  max-height: 800px;
}

.acc-body > * {
  padding: 0 20px;
}

.acc-body > *:first-child { padding-top: 12px; }
.acc-body > *:last-child { padding-bottom: 20px; }

.acc-body p { color: var(--text-muted); margin-bottom: 10px; line-height: 1.7; font-size: 0.9rem; }

.acc-body ul {
  margin: 8px 0 10px 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.acc-body li { margin-bottom: 4px; }

/* ── Quiz ────────────────────────────────────── */
.quiz-container {
  max-width: 600px;
  margin: 0 auto;
}

.quiz-step {
  display: none;
  animation: fadeIn 0.3s ease-out;
}

.quiz-step.active { display: block; }

.quiz-q {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.quiz-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.quiz-btn {
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font);
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  min-width: 180px;
}

.quiz-btn:hover {
  border-color: var(--accent);
  background: var(--accent-glow);
}

.quiz-btn.restart {
  margin-top: 20px;
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.quiz-result {
  text-align: center;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.qr-emoji { font-size: 3rem; margin-bottom: 12px; }

.qr-status {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}

.qr-deduction {
  font-size: 1.1rem;
  margin-bottom: 12px;
  font-family: var(--mono);
}

.qr-desc {
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto;
}

/* ── State Tags ──────────────────────────────── */
.state-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.state-tag {
  padding: 6px 14px;
  background: rgba(34, 197, 94, 0.12);
  color: var(--green);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ── Footer ──────────────────────────────────── */
.footer {
  max-width: 1000px;
  margin: 0 auto;
  padding: 32px 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer a { color: var(--accent); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer p { margin-bottom: 6px; }

/* ═══ RESPONSIVE ═════════════════════════════════ */
@media (max-width: 900px) {
  .nav-toggle { display: block; }

  .nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(10, 15, 26, 0.98);
    backdrop-filter: blur(12px);
    padding: 16px 24px;
    flex-direction: column;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    z-index: 200;
  }

  .nav.open { display: flex; }

  .nav-link {
    padding: 10px 12px;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .main {
    padding: 0 16px;
    overflow-x: hidden;
    max-width: 100vw;
  }

  .section {
    overflow-x: hidden;
    word-break: break-word;
  }

  .hero {
    min-height: auto;
    padding-top: 24px;
  }

  .hero-title { font-size: 1.8rem; }
  .hero-sub { font-size: 0.95rem; }

  .hero-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .hero-card { padding: 14px; }
  .hc-icon { font-size: 1.4rem; }

  .section-title { font-size: 1.4rem; }

  .compare-box {
    flex-direction: column;
  }

  .compare-side {
    padding: 16px;
  }

  .compare-side:first-child { border-right: none; border-bottom: 1px solid var(--border); }
  .compare-vs {
    width: 100%;
    height: 36px;
  }

  .calc-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .bt-row {
    grid-template-columns: 60px 1fr 100px;
    gap: 8px;
    padding: 10px 12px;
    font-size: 0.85rem;
  }

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

  .lt-row {
    grid-template-columns: 1fr 90px 90px;
    gap: 8px;
    font-size: 0.8rem;
    padding: 10px 12px;
  }
  .lt-row span { font-size: 0.8rem !important; }

  .filing-tabs { gap: 4px; }
  .filing-tab { padding: 6px 10px; font-size: 0.78rem; }

  .info-box { padding: 14px 16px; }

  .calc-results { padding: 16px; }
  .calc-result-row.highlight { margin: 0 -16px; padding: 10px 16px; }

  .acc-header { padding: 14px 16px; font-size: 0.9rem; }
  .acc-body > * { padding-left: 16px; padding-right: 16px; }

  .bv-pct { font-size: 0.6rem; }
}

@media (max-width: 480px) {
  .main { padding: 0 12px; }

  .hero-cards { grid-template-columns: 1fr; }
  .hero-title { font-size: 1.5rem; }
  .hero-badge { font-size: 0.65rem; padding: 4px 10px; }

  .bt-row {
    grid-template-columns: 45px 1fr 70px;
    gap: 6px;
    padding: 8px 10px;
    font-size: 0.78rem;
  }
  .bt-rate { font-size: 0.9rem; }

  .ded-item {
    flex-direction: column;
    gap: 4px;
  }

  .lt-row { grid-template-columns: 1fr; gap: 4px; padding: 8px 10px; }
  .lt-header { display: none; }
  .lt-row:not(.lt-header) span:not(:first-child) { text-align: left; }
  .lt-row:not(.lt-header)::before { display: none; }

  .compare-side { padding: 12px; }
  .compare-title { font-size: 0.95rem; }
  .compare-side li { font-size: 0.82rem; }

  .topic-card { padding: 14px; }
  .tc-title { font-size: 0.9rem; }
  .tc-detail { font-size: 0.8rem; }

  .cb-row { grid-template-columns: 40px 1fr 80px; }

  .header-inner { padding: 0 12px; }
  .logo-text { font-size: 1rem; }
}

/* ── Scrollbar ───────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }

/* ── Selection ───────────────────────────────── */
::selection {
  background: rgba(59, 130, 246, 0.3);
  color: white;
}
