/* COLORS — Non Xero Sum
   Values are the canonical tokens from the studio's Figma handoff
   (tokens/nxs-tokens.json, 2026-06-17). Do not drift from these.
   The obsidian family is reserved for the signature ferrofluid material.
   Amber is RETIRED. */

:root {
  /* — Canonical tokens (handoff names) — */
  --bg:             #FFFFFF;
  --bg-alt:         #F7F7F5;
  --text-primary:   #1A1A1A;
  --text-secondary: #6B6B6B;
  --text-muted:     #9B9B9B;
  --accent-forest:  #2D6A4F;
  --accent-hover:   #245A41;
  --accent-emerald: #2B9B2A;
  --border:         #E5E5E5;
  --border-strong:  #D0D0D0;

  /* — Convenience aliases used across this system — */
  --paper:         var(--bg);
  --ink:           var(--text-primary);
  --green-forest:  var(--accent-forest);
  --green-emerald: var(--accent-emerald);

  /* — Obsidian (ferrofluid material only) — */
  --obsidian-900: #07090A;
  --obsidian-700: #10201A;
  --obsidian-sheen: #2B9B2A;

  /* — Semantic aliases — */
  --surface-page:    var(--bg);
  --surface-card:    var(--bg);
  --surface-sunken:  var(--bg-alt);
  --surface-inverse: var(--obsidian-900);

  --text-body:    var(--text-primary);
  --text-faint:   var(--text-muted);
  --text-on-dark: #F2F4F2;
  --text-link:    var(--accent-forest);

  --accent:        var(--accent-forest);
  --accent-bright: var(--accent-emerald);

  --rule:        var(--border);          /* hairline dividers */
  --rule-strong: var(--text-primary);    /* editorial keylines */
  --rule-accent: var(--accent-forest);

  --field-border:  var(--border-strong);
  --field-focus:   var(--accent-forest);
  --selection-bg:  #C9E8C8;
}
