/* Design tokens — "Graphite & Emerald" (docs/DESIGN_SYSTEM.md, section 2).
   Every color, size and motion value used by the dashboard comes from here. */

@font-face {
  font-family: "Inter";
  src: url("../../fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;

  /* surfaces */
  --bg-0: #0b0d10;
  --bg-1: #111418;
  --surface-1: #161a1f;
  --surface-2: #1d2228;
  --surface-3: #252b33;
  --line: #262c34;
  --line-soft: #1f242b;
  --line-strong: #34404c;

  /* text */
  --text-1: #eef1f4;
  --text-2: #a4adba;
  --text-3: #858f9d; /* >= 4.5:1 on bg, cards and surface-2 (WCAG AA) */
  --text-on-accent: #05140d;

  /* signal colors: one color = one meaning */
  --accent: #3ecf8e;
  --accent-hover: #55dca0;
  --accent-soft: rgba(62, 207, 142, 0.12);
  --amber: #f2b84b;
  --amber-soft: rgba(242, 184, 75, 0.12);
  --red: #f26d6d;
  --red-hover: #f58585;
  --red-soft: rgba(242, 109, 109, 0.12);
  --blue: #6ea8fe;
  --blue-soft: rgba(110, 168, 254, 0.12);
  --violet: #a78bfa;
  --violet-soft: rgba(167, 139, 250, 0.12);

  /* typography */
  --font: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", Consolas, "SF Mono", monospace;
  --fs-xs: 12px;
  --fs-sm: 13px;
  --fs-md: 14px;
  --fs-lg: 15px;
  --fs-xl: 19px;
  --fs-2xl: 22px;
  --fs-stat: 34px;

  /* spacing (4 px grid) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-8: 32px;

  /* shape & depth */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-pill: 999px;
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-pop: 0 18px 48px rgba(0, 0, 0, 0.55);
  --ring: 0 0 0 3px rgba(62, 207, 142, 0.35);
  --tap: 44px;

  /* motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t-fast: 150ms;
  --t-med: 220ms;
  --t-slow: 450ms;

  /* layout */
  --sidebar-w: 252px;
  --sidebar-w-compact: 76px;
  --content-max: 1360px;
}
