/* Everforest (medium) palette: https://github.com/sainnhe/everforest */
:root {
  --bg: #fdf6e3;
  --fg: #5c6a72;
  /* Everforest's light accents fall below 4.5:1 on its background, so text
     keeps the foreground colour and the accents mark rules and underlines. */
  --heading: #5c6a72;
  --link: #5c6a72;
  --accent: #8da101;
  --underline: #3a94c5;
  --faint: #5c6a72;
  --line: #e0dcc7;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #2d353b;
    --fg: #d3c6aa;
    --heading: #a7c080;
    --link: #7fbbb3;
    --accent: #a7c080;
    --underline: #7fbbb3;
    --faint: #9da9a0;
    --line: #475258;
  }
}
body {
  font: 15px/1.65 ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  max-width: 48rem;
  margin: 0 auto;
  padding: 2rem 1.25rem;
  color: var(--fg);
  background: var(--bg);
}
h1, h2 { color: var(--heading); }
h1 { font-size: 1.8rem; margin-bottom: 0.25rem; }
h2 { font-size: 1.15rem; margin-top: 2rem; padding-bottom: 0.2rem; border-bottom: 2px solid var(--accent); }
.lead { font-size: 1.05rem; }
code { word-break: break-all; }
a { color: var(--link); text-decoration-color: var(--underline); text-decoration-thickness: 2px; text-underline-offset: 3px; }
footer { margin-top: 3rem; font-size: 0.9rem; color: var(--faint); }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 0.5rem; border-bottom: 1px solid var(--line); }
