@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/vendor/fonts/ibm-plex-sans-latin-400-normal.woff2?v=5.3.0") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/vendor/fonts/ibm-plex-sans-latin-500-normal.woff2?v=5.3.0") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/vendor/fonts/ibm-plex-sans-latin-600-normal.woff2?v=5.3.0") format("woff2");
}

/* One dark theme for both pages. --bg, --fg and --muted are the calendar's dark palette
   (js/calendar/palette.js), which the charts read back from here. */
:root {
  color-scheme: dark;
  --bg: #17191e;
  --fg: #ececec;
  --muted: #a6a8ad;
  --link: #ececec;
  --font: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 var(--font);
}

main {
  max-width: 50rem;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

a {
  color: var(--link);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-thickness: 2px;
}

.muted {
  color: var(--muted);
}
