/* Heimdall design tokens
   Values come from the PlusPort design system (colors, type, radii, shadows, motion).
   Load Poppins (300/600/700), Inter (400/500/600/700) and JetBrains Mono (400/500),
   for example from Google Fonts, before this file. */

:root {
  /* Brand */
  --blue-900: #0a1f6b;
  --blue-800: #12308f;   /* link hover */
  --blue-700: #1c42c4;   /* primary button hover, active rail text */
  --blue-600: #2d60ff;   /* primary: buttons, links, active nav */
  --blue-300: #9db4ff;   /* eyebrow on dark */
  --blue-200: #cbd7ff;   /* focus ring, nav hover underline */
  --blue-100: #e7ecff;   /* avatar background */
  --blue-50:  #f3f6ff;   /* icon chip, active rail item */

  --green-900: #005c34;  /* "Linked/Connected" badge text */
  --green-700: #00a960;  /* success dot, the only green allowed on text */
  --green-600: #00d378;  /* highlight only: dots, icon accent, one word in a big title. Never body text */
  --green-100: #e0fcef;  /* success badge background */

  --ink-900: #0b1e29;    /* dark panel, logo tile, "Private" badge */
  --ink-text: #1c1c1c;   /* body and headings */
  --ink-700: #414549;    /* secondary text */
  --ink-600: #5b6167;    /* hints, counts */
  --ink-500: #767d85;    /* placeholders */
  --ink-300: #c2c7cd;    /* hover borders, dashed placeholder */
  --ink-200: #e0e3e7;    /* hairlines, control borders */
  --ink-100: #f3f3f3;    /* neutral badge, icon tile */
  --ink-50:  #f7f8fa;    /* page background, row hover, read-only input */
  --white:   #ffffff;

  --amber-600: #f5a524;  /* "Needs setup" dot */
  --amber-100: #fdf0d5;  /* "Needs setup" background */
  --amber-text: #7a4a00; /* "Needs setup" text */
  --red-600: #e0344b;
  --red-text: #c4223a;   /* destructive button text */
  --red-200: #f3c3cb;    /* destructive button border */
  --red-100: #fce8eb;    /* destructive hover, error background */

  /* Semantic */
  --surface-page: var(--ink-50);
  --surface-card: var(--white);
  --surface-dark: var(--ink-900);
  --text: var(--ink-text);
  --text-secondary: var(--ink-700);
  --text-hint: var(--ink-600);
  --border: var(--ink-200);
  --border-hover: var(--ink-300);
  --focus-ring: 0 0 0 3px var(--blue-200);

  /* Type */
  --font-display: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Spacing (4px base) */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 20px; --space-6: 24px; --space-7: 28px; --space-8: 32px;
  --space-10: 40px; --space-12: 48px; --space-24: 96px;

  /* Radius */
  --radius-sm: 8px;      /* icon chips, rail items, copy button */
  --radius-control: 10px;/* inputs, buttons */
  --radius-md: 12px;     /* cards */
  --radius-lg: 16px;     /* hero panel */
  --radius-pill: 999px;  /* badges, avatar, progress */

  /* Elevation (neutral black only) */
  --shadow-sm: 0 1px 2px rgba(28, 28, 28, .06);
  --shadow-md: 0 4px 12px rgba(28, 28, 28, .08);

  /* Motion */
  --duration-fast: 120ms;
  --duration-base: 200ms;
  --ease: cubic-bezier(.2, 0, .2, 1);

  /* Layout */
  --container: 1240px;
  --gutter: 32px;
  --rail-width: 220px;
}
