/* Simple page settings: change these to adjust the look. */
:root {
  color-scheme: light;
  --text: #222;
  --muted: #666;
  --link: #174ea6;
  --page-width: 640px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: white;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

main {
  max-width: calc(var(--page-width) + 48px);
  margin: 52px auto 72px;
  padding: 0 24px;
}

h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: #111;
  line-height: 1.25;
}

h1 { font-size: 32px; margin: 0 0 22px; }
h2 { font-size: 22px; margin: 0 0 16px; }
h3 { font-size: 16px; line-height: 1.5; margin: 0; }
p { margin: 0 0 16px; }
section { margin-top: 36px; }
article + article { margin-top: 22px; }
article p:last-child { margin-bottom: 0; }

.note { font-size: 14px; color: var(--muted); margin: 2px 0 8px; }
a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: #102f65; }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 4px; }
nav { margin-top: 18px; }
nav span { margin: 0 6px; color: #888; }
ul { margin: 0; padding-left: 21px; }
li { padding-left: 2px; margin-bottom: 12px; }
li:last-child { margin-bottom: 0; }
.skip-link { position: absolute; left: 16px; top: -80px; }
.skip-link:focus { top: 8px; background: white; padding: 6px; }

@media (max-width: 600px) {
  main { margin-top: 30px; margin-bottom: 48px; }
  h1 { font-size: 30px; }
}
