@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

:root {
  /* Backgrounds */
  --bg:          #0B0E14;   /* Main — slightly blue-black, not pure black */
  --surface:     #141720;   /* Cards, panels */
  --surface-2:   #1C2030;   /* Nested panels, table rows alt */
  --border:      #252A3A;   /* Subtle structural lines */
  --border-soft: #1A1F2E;   /* Very faint dividers */

  /* Signal colours — the bold layer */
  --signal-green:  #1D9E75;  /* ATTRACTIVE / healthy */
  --signal-amber:  #BA7517;  /* CAUTION / watch */
  --signal-red:    #C73B3B;  /* ALERT / action needed */
  --signal-blue:   #4F8EF7;  /* NEUTRAL / information */

  /* Signal backgrounds — muted versions for context areas */
  --signal-green-bg:  rgba(29, 158, 117, 0.10);
  --signal-amber-bg:  rgba(186, 117, 23, 0.10);
  --signal-red-bg:    rgba(199, 59, 59, 0.10);
  --signal-blue-bg:   rgba(79, 142, 247, 0.10);

  /* Text */
  --text:        #D8DCE8;   /* Primary — cool white, not warm */
  --text-2:      #8892AA;   /* Secondary — muted */
  --text-3:      #525A6E;   /* Tertiary — very muted, metadata */

  /* Data emphasis */
  --data-positive: #2BC48A;  /* Positive numbers — slightly brighter green */
  --data-negative: #E24B4A;  /* Negative numbers */
  --data-neutral:  #D8DCE8;  /* Neutral numbers */

  /* Interactive */
  --interactive:      #4F8EF7;  /* Tappable elements */
  --interactive-hover:#6BA3FF;
  --interactive-bg:   rgba(79, 142, 247, 0.08);

  /* Spacing scale */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;

  /* Border radius — deliberately inconsistent: */
  /* Data tables: 0px — data has no softness */
  /* Cards: 6px — minimal, not bubbly */
  /* Chips/badges: 3px — tight */
  /* Buttons: 4px */
  --radius-card:   6px;
  --radius-badge:  3px;
  --radius-button: 4px;

  --font-data:  'IBM Plex Mono', monospace;   /* Numbers, tickers, metrics */
  --font-ui:    'IBM Plex Sans', sans-serif;  /* Labels, copy, navigation */

  /* Type scale */
  --text-xs:   11px;   /* Metadata, timestamps */
  --text-sm:   13px;   /* Secondary labels */
  --text-base: 15px;   /* Body, default */
  --text-lg:   17px;   /* Card headings */
  --text-xl:   22px;   /* Screen headings */
  --text-2xl:  28px;   /* Large data numbers */
  --text-3xl:  38px;   /* Hero numbers (signal screen) */

  /* Line heights */
  --leading-tight:  1.2;
  --leading-normal: 1.5;
  --leading-loose:  1.7;
}
