/* Vigilant Cams design tokens, v1.0 (2026-11-08).
   Category-standard direction: navy ink, one signal-blue accent, mist ground.
   Reference: docs/brand/brand-guide.html and DESIGN.md.
   Use the semantic tokens (--vc-ink, --vc-accent, --vc-proven ...) in product and
   marketing code. The brand constants are for logo artwork and fixed print colors. */

:root {
  /* Brand constants: identical in both themes */
  --vc-navy: #0B1F3A;
  --vc-blue: #1E66F5;
  --vc-blue-on-dark: #5B95FF;
  --vc-slate: #55657D;
  --vc-slate-on-dark: #A9B6C9;
  --vc-mist: #F4F7FB;

  /* Surfaces and ink */
  --vc-ground: #F4F7FB;
  --vc-surface: #FFFFFF;
  --vc-surface-sunk: #EBF0F6;
  --vc-ink: #0B1F3A;
  --vc-ink-2: #3E4F68;
  --vc-ink-3: #55657D;
  --vc-line: #DCE3EC;
  --vc-line-strong: #7F8FA5;

  /* Action: blue is spent only on links, primary actions, selection and focus */
  --vc-accent: #1E66F5;
  --vc-accent-hover: #1550C9;
  --vc-on-accent: #FFFFFF;

  /* Status: product signals, never brand color, always paired with a shape and a word */
  --vc-proven: #1B7F4A;
  --vc-gap: #C2352B;
  --vc-offline: #9A5B00;
  --vc-unchecked: #55657D;
  --vc-status-tint: 12%;

  /* Type */
  --vc-font-ui: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --vc-font-data: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --vc-text-display: clamp(34px, 5vw, 52px);
  --vc-text-headline: clamp(26px, 3.4vw, 34px);
  --vc-text-subhead: clamp(20px, 2.4vw, 24px); /* marketing: callouts, card heads, big figures */
  --vc-text-lede: clamp(17px, 2vw, 19px);      /* marketing: the paragraph under a display head */
  --vc-text-title: 17px;
  --vc-text-body: 16px;
  --vc-text-small: 14px;
  --vc-text-data: 13px;
  --vc-text-data-small: 12px;
  --vc-leading-tight: 1.15;
  --vc-leading-body: 1.6;

  /* Space: 4px base */
  --vc-space-1: 4px;
  --vc-space-2: 8px;
  --vc-space-3: 12px;
  --vc-space-4: 16px;
  --vc-space-5: 24px;
  --vc-space-6: 32px;
  --vc-space-7: 48px;
  --vc-space-8: 64px;
  --vc-space-9: 96px;

  /* Shape */
  --vc-radius-xs: 4px; /* marks under 24px tall: stamps, tags, bars */
  --vc-radius-sm: 6px;
  --vc-radius: 10px;
  --vc-radius-pill: 999px;
  --vc-control-height: 40px;
  --vc-focus-width: 2px;
  --vc-focus-offset: 3px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --vc-ground: #08121F;
    --vc-surface: #0F1C2E;
    --vc-surface-sunk: #0B1626;
    --vc-ink: #EAF0F7;
    --vc-ink-2: #A9B6C9;
    --vc-ink-3: #8595AB;
    --vc-line: #1F2F45;
    --vc-line-strong: #5A6D86;
    --vc-accent: #5B95FF;
    --vc-accent-hover: #7FAEFF;
    --vc-on-accent: #08121F;
    --vc-proven: #4CC287;
    --vc-gap: #F07A70;
    --vc-offline: #E9A23B;
    --vc-unchecked: #8595AB;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --vc-ground: #08121F;
  --vc-surface: #0F1C2E;
  --vc-surface-sunk: #0B1626;
  --vc-ink: #EAF0F7;
  --vc-ink-2: #A9B6C9;
  --vc-ink-3: #8595AB;
  --vc-line: #1F2F45;
  --vc-line-strong: #5A6D86;
  --vc-accent: #5B95FF;
  --vc-accent-hover: #7FAEFF;
  --vc-on-accent: #08121F;
  --vc-proven: #4CC287;
  --vc-gap: #F07A70;
  --vc-offline: #E9A23B;
  --vc-unchecked: #8595AB;
  color-scheme: dark;
}
