/* GO Digtl — shared brand tokens (single source of truth).
   Loaded by every tier-card surface (index, report, strategy-results) + the TECH
   dashboard and STRATEGY report, so color/scoring stay consistent everywhere.
   See docs/tech-dashboard (D23) + UNIFICATION-PLAN.md (design spine).
   Migrate remaining pages (tech.html, tech-dashboard, login, checkout) onto this
   file as they're touched — delete their inline :root palette when you do. */
:root {
  /* ── Brand neutrals & palette (was duplicated in every page's inline <style>) ── */
  --linen:      #F4F4F2;  /* primary light text / on-dark */
  --grey:       #888780;  /* muted / secondary text      */
  --near-black: #1E1E1E;  /* dark ground / on-linen text */
  --blue:       #4A8FD9;  /* brand accent               */
  --blue-dark:  #2B5FA8;  /* accent — buttons / deep      */
  --body-dark:  #444441;  /* body text on light surfaces  */
  --body-on-light: #5C5B56;
  --border-dark:  rgba(255,255,255,0.1);  /* hairline on dark  */
  --border-light: rgba(0,0,0,0.1);        /* hairline on light */

  /* ── Component tokens (shared shells consume these, not raw values) ── */
  --surface-card: #232323;   /* card background on dark grounds */
  --panel: var(--surface-card);  /* legacy alias — dashboard/checkout "panel" surface */
  --radius-card:  12px;      /* card corner radius             */
  --border-soft: rgba(255,255,255,0.06);  /* softer hairline than --border-dark (fix rows) */
  --blue-glass:  rgba(74,143,217,0.14);   /* blue tint — hover/active on shared fix components */

  /* 5-step GRADE scale — AI Visibility / CODE scores (A→F) */
  --score-a: #4AC47A;  /* A — strong   (green)  */
  --score-b: #4A8FD9;  /* B — good     (blue)   */
  --score-c: #C8A84B;  /* C — moderate (yellow) */
  --score-d: #D98A4A;  /* D — limited  (orange) */
  --score-f: #D94A4A;  /* F — poor     (red)    */

  /* 3-step STATUS / severity scale — checks, fixes, impact, alerts.
     good/med/bad = green/orange/red (matches the SCORE section; no yellow here). */
  --sev-pass: var(--score-a);  /* pass / good / low impact   (green)  */
  --sev-warn: var(--score-d);  /* warn / attention / medium  (orange) */
  --sev-fail: var(--score-f);  /* fail / critical / high      (red)   */
}
