/* ============================================
   DESIGN TOKENS — Finnish Domain Intelligence
   ============================================ */

:root {
  /* ---- Colors ---- */
  --bg-primary: #F7F9FC;
  --bg-white: #FFFFFF;
  --bg-subtle: #F0F3F9;
  --bg-hover: #EDF0F7;
  --bg-dark: #0B1220;
  --bg-dark-subtle: #131B2E;

  --text-primary: #0B1220;
  --text-secondary: #344054;
  --text-muted: #667085;
  --text-light: #98A2B3;
  --text-white: #FFFFFF;
  --text-on-dark: #C8D0E0;

  --blue-primary: #295CFF;
  --blue-electric: #496FFF;
  --blue-hover: #1A4AE6;
  --blue-light: #E8EDFF;
  --blue-subtle: #F0F3FF;

  --green-neon: #B7FF38;
  --green-neon-dim: #9FE02E;
  --green-bg: #F0FFD6;
  --green-text: #3D6B00;

  --cyan: #5CE1E6;
  --cyan-light: #E0FAFB;
  --cyan-text: #0E7A7D;

  --red: #F04438;
  --red-light: #FEE4E2;
  --red-text: #B42318;

  --orange: #F79009;
  --orange-light: #FEF0C7;
  --orange-text: #93370D;

  --border-default: #E4E7EC;
  --border-subtle: #EAECF0;
  --border-strong: #D0D5DD;
  --border-blue: rgba(41, 92, 255, 0.2);

  /* ---- Typography ---- */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;

  --text-xs: 0.6875rem;    /* 11px */
  --text-sm: 0.8125rem;    /* 13px */
  --text-base: 0.9375rem;  /* 15px */
  --text-md: 1rem;         /* 16px */
  --text-lg: 1.125rem;     /* 18px */
  --text-xl: 1.25rem;      /* 20px */
  --text-2xl: 1.5rem;      /* 24px */
  --text-3xl: 1.875rem;    /* 30px */
  --text-4xl: 2.25rem;     /* 36px */
  --text-5xl: 3rem;        /* 48px */
  --text-6xl: 3.75rem;     /* 60px */

  --leading-tight: 1.15;
  --leading-snug: 1.3;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;

  --weight-normal: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 800;

  --tracking-tight: -0.025em;
  --tracking-normal: 0;
  --tracking-wide: 0.025em;
  --tracking-wider: 0.05em;
  --tracking-widest: 0.1em;

  /* ---- Spacing ---- */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */
  --space-32: 8rem;     /* 128px */

  /* ---- Border Radius ---- */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* ---- Shadows ---- */
  --shadow-xs: 0 1px 2px rgba(11, 18, 32, 0.04);
  --shadow-sm: 0 1px 3px rgba(11, 18, 32, 0.06), 0 1px 2px rgba(11, 18, 32, 0.04);
  --shadow-md: 0 4px 8px -2px rgba(11, 18, 32, 0.06), 0 2px 4px -2px rgba(11, 18, 32, 0.04);
  --shadow-lg: 0 12px 24px -4px rgba(11, 18, 32, 0.08), 0 4px 8px -2px rgba(11, 18, 32, 0.03);
  --shadow-xl: 0 20px 40px -8px rgba(11, 18, 32, 0.1), 0 8px 16px -4px rgba(11, 18, 32, 0.04);
  --shadow-glow-blue: 0 0 20px rgba(41, 92, 255, 0.15);
  --shadow-glow-green: 0 0 12px rgba(183, 255, 56, 0.3);
  --shadow-overlay: 0 24px 48px -12px rgba(11, 18, 32, 0.18);

  /* ---- Transitions ---- */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ---- Z-index ---- */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 500;
  --z-modal: 600;
  --z-toast: 700;
  --z-tooltip: 800;

  /* ---- Layout ---- */
  --container-max: 1280px;
  --container-wide: 1440px;
  --header-height: 64px;
  --sidebar-width: 320px;
}
