/* ---------------- design tokens + resets ---------------- */
:root {
  --bg: #0a0a0a;
  --surface: #111111;
  --surface-2: #161616;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #ededed;
  --text-dim: #8a8a8a;
  --text-faint: #555;
  --accent: #ededed;

  --tier-0: #8a8a8a;
  --tier-1: #4ade80;
  --tier-2: #60a5fa;
  --tier-3: #f87171;
  --tier-safe: #c084fc;

  --radius: 6px;
  --radius-sm: 4px;
  --maxw: 1200px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
}

[data-theme="light"] {
  --bg: #fafafa;
  --surface: #ffffff;
  --surface-2: #f4f4f4;
  --border: rgba(0, 0, 0, 0.09);
  --border-strong: rgba(0, 0, 0, 0.18);
  --text: #161616;
  --text-dim: #6a6a6a;
  --text-faint: #aaa;
  --accent: #161616;

  --tier-0: #6a6a6a;
  --tier-1: #16a34a;
  --tier-2: #2563eb;
  --tier-3: #dc2626;
  --tier-safe: #9333ea;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-feature-settings: "cv11", "ss01", "ss03";
  font-size: 13px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body { min-height: 100vh; }
a { color: inherit; text-decoration: none; }
button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}
input, select {
  font: inherit;
  color: inherit;
}
.muted { color: var(--text-faint); font-size: 11.5px; }
.more-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--text-dim);
  font-size: 12px;
  border-bottom: 1px dashed var(--border);
}
.more-link:hover { color: var(--text); border-color: var(--border-strong); }
