/* Void Helm — color tokens (from app/globals.css in the source repo).
   Dark-only. Two palettes selected via [data-palette] on <html>; graphite is
   the default. 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;
}

[data-palette='slate-mint'] {
  --helm-bg: #060707;
  --helm-surface-rgb: 11 13 12;
  --helm-text-rgb: 233 238 236;
  --helm-accent: #9fb8ad;
  --helm-accent-rgb: 159 184 173;
  --helm-line: #1d2220;
  --helm-line-strong: #2a312e;
}

: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);
}
