/* Brand colours come from colors.css, generated from src/brand/colors.json */
:root {
  --bg: var(--grey);
  --fg: var(--black);
  --faint: #c4c4c4;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

/* Small wordmark in the top left corner */
.brand { position: fixed; top: 20px; left: 22px; line-height: 0; }
.brand img { height: 22px; width: auto; }
@media (max-width: 480px) { .brand { top: 14px; left: 16px; } .brand img { height: 18px; } }

/* Home: an endless chart (assets/js/chart.js) */
.chart svg { display: block; width: min(86vw, 560px); height: auto; overflow: visible; }
.chart .axis { stroke: var(--faint); stroke-width: 1; }
.chart .line { fill: none; stroke: var(--fg); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .area { fill: url(#fade); }
.chart .dot { fill: var(--fg); }
.chart .halo { fill: var(--fg); opacity: .12; }
