/* CashClaw Design System — Design Tokens
 * Single source of truth for all colors, typography, spacing, and radii.
 * Every HTML page imports this file. No inline overrides allowed.
 */

/* Google Fonts — Inter (UI) + JetBrains Mono (data/numbers) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;900&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  /* ── Backgrounds ── */
  --bg-primary: #0B0E11;
  --bg-surface: #141820;
  --bg-elevated: #1A2030;
  --bg-hover: #1E2838;

  /* ── Borders ── */
  --border-subtle: #1E2530;
  --border-default: #2A3340;
  --border-focus: #00D4AA;

  /* ── Text ── */
  --text-primary: #E8EAED;
  --text-secondary: #8B95A5;
  --text-tertiary: #5A6577;

  /* ── Semantic colors ── */
  --color-profit: #00D4AA;
  --color-loss: #FF4757;
  --color-warning: #FFB020;
  --color-ai: #A78BFA;
  --color-accent: #00D4AA;
  --color-accent-dim: rgba(0, 212, 170, 0.12);

  /* ── Typography ── */
  --font-data: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
  --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* ── Text sizes ── */
  --text-xs: 11px;
  --text-sm: 13px;
  --text-base: 14px;
  --text-lg: 16px;
  --text-xl: 20px;
  --text-2xl: 28px;
  --text-3xl: 40px;
  --text-hero: 56px;

  /* ── Line heights ── */
  --leading-tight: 1.2;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;

  /* ── Font weights ── */
  --weight-normal: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-black: 900;

  /* ── Spacing ── */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;

  /* ── Radii ── */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* ── Shadows ── */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.3);
  --shadow-accent: 0 0 20px rgba(0, 212, 170, 0.08);

  /* ── Transitions ── */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;
}
