/* 디자인 토큰: 색상·폰트·크기 (라이트 기본, 다크는 시스템 설정 또는 data-theme) */

:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --fg: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --hover: #f1f5f9;
  --accent: #7c3aed;
  --accent-2: #06b6d4;
  --accent-soft: rgba(124, 58, 237, .08);
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
  --hero-bg: #0b1020;
  --hero-fg: #f8fafc;
  --hero-muted: #94a3b8;
  --max: 1120px;
  --side-w: 264px;
  --rail-w: 64px;
  --top-h: 60px;
  --mono: "JetBrains Mono", "D2Coding", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1020;
    --surface: #121a2e;
    --fg: #e2e8f0;
    --muted: #94a3b8;
    --line: #1e293b;
    --hover: #18223a;
    --accent: #a78bfa;
    --accent-2: #22d3ee;
    --accent-soft: rgba(167, 139, 250, .12);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    --hero-bg: #060914;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b1020;
  --surface: #121a2e;
  --fg: #e2e8f0;
  --muted: #94a3b8;
  --line: #1e293b;
  --hover: #18223a;
  --accent: #a78bfa;
  --accent-2: #22d3ee;
  --accent-soft: rgba(167, 139, 250, .12);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  --hero-bg: #060914;
  color-scheme: dark;
}
