:root {
  --black:   #000000;
  --near:    #090810;
  --coal:    #0e0d14;
  --surface: #141320;

  --purple:  #a89fd4;
  --pu-hot:  #c0b8e8;
  --pu-mid:  #8880b8;
  --pu-low:  #4e4a80;
  --pu-dim:  rgba(168,159,212,0.08);

  --neon:    #4dffaa;
  --neon-mid:#2ec48a;
  --neon-dim:rgba(77,255,170,0.07);

  /* ── ERROR ──────────────────────────────────────────────────────────
     Pink is the brand's one error signal — nothing else on the site is
     this hue, so it never competes with neon (buy/success) or purple
     (primary). One canonical value: form messages had drifted to three
     near-identical pinks (#ff6b8a here, #ff8e8e on the account page), and
     a status colour that changes per surface reads as an accident, not a
     system. Reference for use as text on --coal/--black: 6.4:1. */
  --pink:    #ff6b8a;
  --error:   var(--pink);   /* semantic alias — errors only */

  /* ── TEXT RAMP ──────────────────────────────────────────────────────
     Brand-tinted off-white — the purple cast is what keeps it ours rather
     than a stock dark theme — but pushed nearly to the top of the contrast
     curve. Benchmarked against edgeaudiolabs.com, which runs pure #ffffff
     on #090909 (19.9:1) for effectively ALL text including body copy;
     their readability edge comes from that, not from anything structural.
     Contrast on --black: 20.2:1 / 18.0:1 / 11.7:1.
     Body sits at 18.0:1 — within a hair of pure white, so hierarchy has to
     come from WEIGHT and SIZE, never from fading text out. */
  --white:   #fbfaff;   /* display, headings, emphasis */
  --dim:     #efebfe;   /* body copy */
  --faint:   #c4bedb;   /* labels, meta, captions */
  --text:    var(--white);   /* semantic alias */

  /* ── TYPE FAMILIES ──────────────────────────────────────────────────
     Two families only. Swapping the display face is a one-line change
     here rather than an edit across every stylesheet and page. */
  --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  /* ── WEIGHTS ────────────────────────────────────────────────────────
     Body sits at 500, not 400: IBM Plex Mono's Regular is thin-stemmed
     and reads gray on black. 300 is never used. */
  --fw-body: 500;
  --fw-med:  600;
  --fw-bold: 700;

  /* ── OPTICAL WEIGHT BOOST (display) ─────────────────────────────────
     Bebas Neue ships a single 400 weight, so there is no bolder cut to
     reach for. A hairline same-color stroke thickens the stems cleanly
     and scales with font-size (em), unlike browser synthetic bold which
     smears the glyphs. */
  --display-stroke: 0.015em;
}
