/* ============================================================
   V9 "Obsidian Terminal" — design tokens.
   Spec: docs/superpowers/specs/2026-06-11-v9-obsidian-terminal-design.md

   THE ACCENT LAW: --v9-accent is the ONLY saturated UI color.
   It is rationed to: the one primary action per view, active nav,
   focus rings, and the single most important figure on screen.
   Card art is content, not UI — it is exempt.

   Elevation = tone + hairlines. No drop shadows anywhere in V9.
   ============================================================ */
:root {
  /* Obsidian ladder — matte-on-matte. Canvas sits deep so surfaces lift
     visibly without ever getting bright (Donovan: "darker", 2026-06-11). */
  --v9-bg: #060608;
  --v9-surface: #101014;
  --v9-raised: #15151A;
  --v9-hover: #1B1B21;
  --v9-line: #232329;
  --v9-line-strong: #34343C;

  /* Text */
  --v9-text: #F2F2F4;
  --v9-text-mute: #9A9AA3;
  --v9-text-faint: #5F5F68;

  /* THE accent (logo yellow) + states. Focus glow is the only glow. */
  --v9-accent: #FFCC03;
  --v9-accent-press: #E3B602;
  --v9-accent-ink: #131204; /* text on yellow */
  --v9-focus-glow: 0 0 0 3px rgba(255, 204, 3, 0.22);

  /* Semantic — desaturated whispers; yellow owns the room */
  --v9-pos: #4FA984;
  --v9-neg: #C75A64;
  --v9-warn: #B98F45;
  --v9-info: #5E93B8;

  /* Type — extreme contrast: mono eyebrows vs light display figures */
  --v9-font-ui: 'Geist Variable', system-ui, sans-serif;
  --v9-font-mono: 'Geist Mono Variable', 'JetBrains Mono', monospace;
  --v9-font-audition: 'Archivo Variable', system-ui, sans-serif;
  --v9-text-xs: 0.6875rem;
  --v9-text-sm: 0.8125rem;
  --v9-text-md: 0.9375rem;
  --v9-text-lg: 1.25rem;
  --v9-text-xl: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem);
  --v9-text-display: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem);
  --v9-track-eyebrow: 0.12em;
  --v9-track-display: -0.025em;
  --v9-weight-display: 300;

  /* Geometry — three radius tiers, no exceptions */
  --v9-r-sm: 0.3125rem;
  --v9-r-md: 0.75rem;
  --v9-r-pill: 999px;

  /* Spacing — 4pt grid, compact-leaning. Full 0.25rem-step scale; the gaps
     (5/7/9) were added 2026-06-16 after analytics/home/lookup referenced them
     undefined, which silently collapsed their padding/gaps to zero. */
  --v9-space-1: 0.25rem;
  --v9-space-2: 0.5rem;
  --v9-space-3: 0.75rem;
  --v9-space-4: 1rem;
  --v9-space-5: 1.25rem;
  --v9-space-6: 1.5rem;
  --v9-space-7: 1.75rem;
  --v9-space-8: 2rem;
  --v9-space-9: 2.25rem;
  --v9-space-12: 3rem;

  /* Motion — three durations, one easing family */
  --v9-t-micro: 120ms;
  --v9-t-std: 200ms;
  --v9-t-overlay: 320ms;
  --v9-ease: cubic-bezier(0.22, 1, 0.36, 1);
}
