/* IBM Plex. SIL Open Font License 1.1, see /font/LICENSE.txt */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url("/font/IBMPlexSans.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Serif";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/font/IBMPlexSerif-500.woff2") format("woff2");
}

:root {
  color-scheme: light;

  /* Highlighter: marker ink on white paper, and one fluorescent yellow that is
     only ever a fill behind ink, never text. */
  --paper: #ffffff;
  --ink: #141414;
  --highlighter: #ffe14d;
  --wash: #fff4b8;
  --graphite: #6b6b6b;
  --rule: #eaeaea;
  /* Steps between those. */
  --ink-soft: #444444;
  --pencil: #8c8c8c;
  --paper-dim: #b5b5b5;
  --rule-strong: #d4d4d4;
  --rule-faint: #f3f3f3;
  /* Chart bars: softer than ink, so a block of them does not dominate. */
  --bar: #525252;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto,
          Helvetica, Arial, sans-serif;
  --serif: "IBM Plex Serif", Georgia, "Times New Roman", serif;
}

html, body { height: 100% }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  display: grid;
  place-items: center;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--highlighter); color: var(--ink) }

main {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: 2rem;
}

main .logo { width: 88px; height: auto; display: block }

h1 {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

@media (max-width: 420px) {
  main { gap: 0.95rem }
  main .logo { width: 72px }
  h1 { font-size: 1.5rem }
}
