/* Ariv Design Language (ADL) v1 — design tokens.
 * Light defaults in :root; dark overrides under [data-theme="dark"].
 * Every color routes through a token here — never hard-code hex per page.
 */

:root {
  --bg: #FAFAF9;
  --surface: #FFFFFF;
  --surface-2: #F4F4F5;
  --surface-3: #ECECEC;
  --hairline: #E5E7EB;
  --hairline-strong: #D1D5DB;
  --ink: #18181B;
  --ink-soft: #3F3F46;
  --ink-mid: #52525B;
  --ink-faint: #71717A;
  --ink-dim: #A1A1AA;
  --brand: #0F766E;
  --brand-deep: #134E4A;
  --brand-mid: #14B8A6;
  --brand-light: #5EEAD4;
  --brand-soft: #CCFBF1;
  --brand-tint: #F0FDFA;
  --pos: #15803D;
  --pos-soft: #DCFCE7;
  --neg: #B91C1C;
  --neg-soft: #FEE2E2;
  --warn: #B45309;
  --warn-soft: #FEF3C7;
  --indigo: #4F46E5;
  --violet: #7C3AED;
  --amber: #D97706;
  /* G-5: helper/caption size — ratified so captions stop piggybacking on the
     pill / mono-cell sizes (semantically different). Strategist locked-field
     caption + future helper text route through this. */
  --fs-helper: 10.5px;
}

[data-theme="dark"] {
  --bg: #0A0C10;
  --surface: #12151B;
  --surface-2: #181C24;
  --surface-3: #1F242E;
  --hairline: #232934;
  --hairline-strong: #2D3441;
  --ink: #ECECF0;
  --ink-soft: #D4D4D8;
  --ink-mid: #A1A6B4;
  --ink-faint: #71757F;
  --ink-dim: #4B5260;
  --brand: #2DD4BF;
  --brand-deep: #5EEAD4;
  --brand-mid: #14B8A6;
  --brand-light: #0F766E;
  --brand-soft: #134E4A;
  --brand-tint: #0F1F1C;
  --pos: #6EE7B7;
  --pos-soft: #064E3B;
  --neg: #FCA5A5;
  --neg-soft: #7F1D1D;
  --warn: #FCD34D;
  --warn-soft: #78350F;
  --indigo: #818CF8;
  --violet: #C4B5FD;
  --amber: #FCD34D;
}
