:root { color-scheme: light dark; }

body {
  max-width: 38rem;
  margin: 3rem auto;
  padding: 0 1.25rem;
  font: 1.125rem/1.65 var(--text-font, system-ui, sans-serif);
}

header {
  margin-bottom: 2rem;
  border-bottom: 1px solid GrayText;
}

article + article, section + section { margin-top: 2rem; }

h1, h2, h3 { line-height: 1.2; }
h1 { margin: 0 0 1rem; }
h2 { margin: 0 0 .25rem; }
time { color: GrayText; font-size: .875rem; }

math { font-family: var(--math-font, math); }

math[display="block"] {
  margin: 1rem 0;
  overflow-x: auto;
}

code { font: .875rem/1.55 var(--code-font, ui-monospace, monospace); }

pre {
  overflow-x: auto;
  padding: .75rem 1rem;
  border: 1px solid GrayText;
}
