/* Shared tokens and primitives for every page. The whole site commits to one
   dark space palette — there is no light variant by design. */
:root {
  color-scheme: dark;

  --void: #05070a;
  --panel: #0b0f15;
  --raised: #111721;
  --ink: #e4ecf3;
  --muted: #7d8da0;
  --dim: #4f5d6d;
  --cyan: #6fd8e6;
  --violet: #8f83ff;
  --danger: #ff7a6b;
  --line: rgba(120, 145, 175, 0.16);
  --line-strong: rgba(120, 145, 175, 0.34);

  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
          "PingFang SC", "Hiragino Sans GB", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, "Cascadia Mono", monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--void);
  color: var(--ink);
  font: 15px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

/* Small uppercase mono label, used for section headings and status strips. */
.label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}

/* Pill button, the site's one interactive shape. */
.pill {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 7px 14px;
  font: inherit;
  font-size: 13px;
  color: var(--ink);
  text-decoration: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.pill:hover, .pill:focus-visible {
  background: rgba(111, 216, 230, 0.08);
  border-color: rgba(111, 216, 230, 0.55);
}
