:root {
  color-scheme: light dark;
}

body {
  font-family: system-ui, sans-serif; /* unslop-ignore: browser default sans, chosen for a plain documentation page */
  line-height: 1.6;
  max-width: 66ch;
  margin: 0 auto;
  padding: 1rem 16px 3rem;
}

h1 { font-size: 1.75rem; line-height: 1.25; }
h2 { font-size: 1.3rem; line-height: 1.3; margin-top: 2rem; }

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.25rem;
}

nav [aria-current="page"] { font-weight: bold; }

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure { margin: 1.5rem 0; }
figcaption { margin-top: 0.5rem; }

table { border-collapse: collapse; }
caption { text-align: left; margin-bottom: 0.5rem; }
th, td {
  text-align: left;
  vertical-align: top;
  padding: 0.3rem 1rem 0.3rem 0;
  border-bottom: 1px solid;
}
td.num { font-family: monospace; text-align: right; white-space: nowrap; }

label, fieldset { display: block; margin-top: 1rem; }
fieldset label { margin-top: 0.25rem; }
input:not([type="checkbox"]), select, textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  font: inherit;
}
button { font: inherit; margin-top: 1rem; }

.honey { position: absolute; left: -9999px; }

footer { margin-top: 3rem; font-size: 0.9rem; }
