/* RoamCompare v4 design tokens — crisp modern rehaul (2026-12-03)
   White canvas, electric blue primary, data-forward color. All contrast pairs ≥4.5:1 for text.
   Palette: slate neutrals + blue-600 primary + emerald/red price semantics + amber live-data accent. */
:root {
  /* neutrals */
  --ink: #0f172a;
  --ink-2: #1e293b;
  --muted: #64748b;
  --faint: #94a3b8;
  --bg: #ffffff;
  --panel: #f8fafc;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  /* primary */
  --blue: #2563eb;
  --blue-deep: #1d4ed8;
  --blue-soft: #eff6ff;
  --blue-border: #bfdbfe;
  --blue-kicker: #93c5fd;   /* on dark */
  /* semantics */
  --green: #059669;  --green-tint: #ecfdf5;  --green-deep: #047857;
  --red: #dc2626;    --red-tint: #fef2f2;    --red-text: #b91c1c;
  --gold: #fbbf24;   --gold-deep: #b45309;   --gold-tint: #fffbeb;
  /* dark hero */
  --hero: #0b1220;
  --hero-2: #101a2e;
  --hero-fog: #cbd5e1;
  /* type */
  --font-ui: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-xs: .75rem; --fs-s: .875rem; --fs-m: 1rem; --fs-l: 1.125rem;
  --fs-xl: clamp(1.4rem, 2.3vw, 1.75rem);
  --fs-hero: clamp(2.3rem, 5vw, 3.6rem);
  /* geometry */
  --r-s: 8px; --r-m: 12px; --r-l: 18px;
  --shadow-1: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow-2: 0 4px 12px rgba(15, 23, 42, .07), 0 12px 32px rgba(15, 23, 42, .08);
  --shadow-blue: 0 1px 2px rgba(37, 99, 235, .35);
  /* motion */
  --speed: 150ms;
  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* Iris Spec 02 trend tokens (2026-12-05) + legacy name aliases used by build.py spark helpers */
:root {
  --drop: #16a34a;   /* price fell — green */
  --rise: #ef4444;   /* price rose — red */
  --steady: #94a3b8; /* flat — grey */
  --good: var(--drop);
  --warn: var(--rise);
  --ink-faint: color-mix(in oklab, var(--steady) 70%, transparent);
}
