/* Colours, type and basic elements. Mobile first. */
:root {
  --c-primary: #1f5f8b;
  --c-primary-dark: #174a6c;
  --c-text: #1d2428;
  --c-muted: #5d6970;
  --c-border: #d6dde1;
  --c-bg: #f4f6f7;
  --c-card: #ffffff;
  --c-good: #1e7a46;
  --c-warn: #9a5b00;
  --c-bad: #b3261e;
  --radius: 10px;
  --space: 16px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--c-text);
  background: var(--c-bg);
}

h1 { font-size: 1.5rem; margin: 0 0 8px; }
h2 { font-size: 1.15rem; margin: 0 0 12px; }

a { color: var(--c-primary); }

.muted { color: var(--c-muted); font-size: 0.9rem; }

.num { text-align: right; font-variant-numeric: tabular-nums; }

input, select, button { font: inherit; }
