/* Design tokens: colours, type and radii for the dark and light themes. */

/* ---------- Tokens ---------- */
:root {
  --bg: #0b0f17;
  --bg-alt: #0e131d;
  --surface: #131a27;
  --surface-2: #19212f;
  --line: #243044;
  --text: #e7ebf2;
  --muted: #9aa6b8;
  --accent: #45d6a8;
  --accent-ink: #06261c;
  --accent-soft: rgba(69, 214, 168, .12);
  --warm: #f2a65a;
  --up: #45d6a8;
  --down: #f0616d;
  --shadow: 0 20px 50px rgba(0, 0, 0, .45);
  --radius: 14px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f6f7f9;
    --bg-alt: #eef0f4;
    --surface: #ffffff;
    --surface-2: #f3f5f8;
    --line: #dbe0e8;
    --text: #131a27;
    --muted: #566175;
    --accent: #0c8f6a;
    --accent-ink: #ffffff;
    --accent-soft: rgba(12, 143, 106, .1);
    --warm: #b9651b;
    --up: #0c8f6a;
    --down: #d23c4a;
    --shadow: 0 18px 40px rgba(20, 30, 50, .12);
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #f6f7f9;
  --bg-alt: #eef0f4;
  --surface: #ffffff;
  --surface-2: #f3f5f8;
  --line: #dbe0e8;
  --text: #131a27;
  --muted: #566175;
  --accent: #0c8f6a;
  --accent-ink: #ffffff;
  --accent-soft: rgba(12, 143, 106, .1);
  --warm: #b9651b;
  --up: #0c8f6a;
  --down: #d23c4a;
  --shadow: 0 18px 40px rgba(20, 30, 50, .12);
  color-scheme: light;
}
