/* Void Helm — color tokens (from app/globals.css in the source repo).
   Dark-only. One palette: graphite, the default, keyed off [data-palette] on
   <html>. The slate-mint palette was dropped, so this file deliberately differs
   from the design system's copy. All text is one rgb triplet at an alpha ramp:
   .92/.85/.6/.38. */

:root,
[data-palette='graphite'] {
  color-scheme: dark;

  /* base — graphite (default) */
  --helm-bg: #08090a;
  --helm-surface-rgb: 14 15 17;
  --helm-text-rgb: 230 234 238;
  --helm-accent: #b7bdc6;
  --helm-accent-rgb: 183 189 198;
  --helm-line: #202327;
  --helm-line-strong: #2d3138;
}

:root {
  /* semantic aliases — resolve against the active palette */
  --helm-surface: rgb(var(--helm-surface-rgb));
  --helm-surface-glass: rgb(var(--helm-surface-rgb) / 0.55);
  --helm-fg: rgb(var(--helm-text-rgb) / 0.92);
  --helm-fg-soft: rgb(var(--helm-text-rgb) / 0.85);
  --helm-fg-dim: rgb(var(--helm-text-rgb) / 0.6);
  --helm-fg-mute: rgb(var(--helm-text-rgb) / 0.38);
  --helm-accent-soft: rgb(var(--helm-accent-rgb) / 0.35);
  --helm-accent-bg: rgb(var(--helm-accent-rgb) / 0.14);
  --helm-selection: rgb(var(--helm-accent-rgb) / 0.22);

  /* semantic roles */
  --surface-page: var(--helm-bg);
  --surface-card: var(--helm-surface-glass);
  --text-heading: var(--helm-fg);
  --text-body: var(--helm-fg-dim);
  --text-meta: var(--helm-fg-mute);
  --border-default: var(--helm-line);
  --border-strong: var(--helm-line-strong);
}
