/*
 * Infrastructure Sentinel design tokens (Premium Website Design directive, 2026-11-22).
 * Palette from the directive, refined against the approved eagle-and-shield logo.
 * Light theme is default; dark theme via prefers-color-scheme or [data-theme="dark"].
 */
:root {
  --is-midnight: #07182b;
  --is-navy: #102b46;
  --is-red: #b91f2e;
  --is-silver: #c6ced8;
  --is-platinum: #f6f8fb;
  --is-gold: #c4a46a;

  --bg: var(--is-platinum);
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --text: #0b1726;
  --text-muted: #4a5a6e; /* 7.0:1 on #fff */
  --border: #d9dfe7;
  --accent: var(--is-navy);
  --accent-contrast: #ffffff;
  --danger: var(--is-red); /* 6.1:1 on #fff */
  --focus: #2f6fd1;
  --shadow: 0 1px 2px rgba(7, 24, 43, 0.06), 0 8px 24px rgba(7, 24, 43, 0.06);
  --radius: 10px;
  --font-sans:
    ui-sans-serif, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-num: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  /* Index bands — descriptive, not alarming: neutral → navy → gold → red. */
  --band-stable: #2e7d5b;
  --band-normal: #3d6a99;
  --band-guarded: #8a6d2f;
  --band-elevated: #b45a1f;
  --band-severe: var(--is-red);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: var(--is-midnight);
    --surface: #0c2238;
    --surface-raised: var(--is-navy);
    --text: #eef2f7;
    --text-muted: #a9b6c6;
    --border: #1f3a57;
    --accent: var(--is-silver);
    --accent-contrast: var(--is-midnight);
    --danger: #e0505d;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.3);
  }
}
:root[data-theme='dark'] {
  --bg: var(--is-midnight);
  --surface: #0c2238;
  --surface-raised: var(--is-navy);
  --text: #eef2f7;
  --text-muted: #a9b6c6;
  --border: #1f3a57;
  --accent: var(--is-silver);
  --accent-contrast: var(--is-midnight);
  --danger: #e0505d;
}
