/* Shared tokens. One theme (dark), one accent, locked site-wide.
   Radius rule: panels 12px, interactive chips full-pill, everything else sharp. */
:root {
  --bg: #0a0c0b;
  --surface: #101412;
  --surface-2: #161b18;
  --line: rgba(232, 236, 233, 0.09);
  --line-strong: rgba(232, 236, 233, 0.18);
  --text: #e8ece9;
  --muted: #99a39c;
  --faint: #5c6560;
  --accent: #3ddc97;
  --accent-dim: rgba(61, 220, 151, 0.14);
  --danger: #e2685f;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Code", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { color-scheme: dark; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

::selection { background: var(--accent-dim); color: var(--accent); }

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 clamp(20px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}
.site-nav .brand {
  font-family: var(--mono);
  font-size: 14px;
  text-decoration: none;
  color: var(--text);
}
.site-nav .brand span { color: var(--accent); }
.site-nav .links { display: flex; gap: 28px; }
.site-nav .links a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.site-nav .links a:hover, .site-nav .links a[aria-current="page"] { color: var(--text); }

@media (max-width: 640px) {
  .site-nav .links { gap: 18px; }
  .site-nav .links a { font-size: 13px; }
}
