/* Tripwire design tokens. One source for the landing (brand/tokens.css is the same file).
   Shared house system: 8 point grid, one radius set, 48 point capsule controls, the system font. Red is the only colour Tripwire owns. */
:root {
  /* colour */
  --accent: #2e6fc2;          /* actions and links, AA on white */
  --btn: #2e6fc2;             /* solid buttons, white label */
  --frame: #2e6fc2;           /* the thin frame down the window edges */
  --band: #2e6fc2;            /* full-bleed red sections */
  --band-sub: #d6e4f6;        /* secondary text on the band, AA */
  --band-art: #8fb6e6;        /* the diff wall on the band */
  --band-line: rgba(255, 255, 255, .22);
  --accent-light: #e07a4f;    /* icon gradient top */
  --accent-deep: #b5502c;     /* icon gradient bottom */
  --ring: color-mix(in srgb, var(--accent) 30%, transparent);
  --bg: #fdfdfd;
  --surface: #f3f5f8;
  --line: #dde3ea;
  --text: #1a1a1a;
  --sub: #5d5a5c;
  --live: #1a7f37;            /* open issue, added field */
  --bad: #c0392b;             /* removed field */

  /* type */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --size-display: 64px; --size-title: 34px; --size-headline: 20px; --size-body: 17px; --size-footnote: 13px;

  /* space: the 8 point grid */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px;
  --measure: 680px;
  --wrap: 1120px;

  /* shape */
  --control: 48px; --r-card: 28px; --r-group: 20px; --r-row: 8px; --r-pill: 999px; --r-sq: 2px; --r-icon: 22.5%;
  --motion: .2s ease;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #6fb0f0;
    --btn: #2e6fc2;
    --frame: #2e6fc2;
    --band: #173a66;
    --band-sub: #cfe0f5;
    --band-art: #5f8fc8;
    --bg: #000000;
    --surface: #1c1c1e;
    --line: #2a2f36;
    --text: #f5f2f3;
    --sub: #b1a6a9;
    --live: #4caf6e;
    --bad: #ff6b6b;
  }
}
