/* ZAS app pages: black ink on white, like the society's logo. */
:root {
  --ink: #000000;
  --paper: #ffffff;
  --muted: #555555;
  --rule: #e2e2e2;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #ffffff;
    --paper: #000000;
    --muted: #a8a8a8;
    --rule: #2b2b2b;
  }
  .logo { filter: invert(1); }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Jost', 'Futura', 'Century Gothic', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
main { max-width: 720px; margin: 0 auto; padding: 32px 16px 96px; }
header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--rule); }
.logo { height: 40px; width: auto; display: block; }
header nav { display: flex; gap: 16px; flex-wrap: wrap; font-size: 15px; }
h1 { font-size: 40px; line-height: 1.1; font-weight: 800; margin: 40px 0 8px; padding-bottom: 12px; border-bottom: 6px solid var(--ink); }
h2 { font-size: 24px; line-height: 1.25; font-weight: 700; margin: 40px 0 8px; }
h3 { font-size: 18px; font-weight: 700; margin: 24px 0 4px; }
p, li { max-width: 68ch; }
.lede { font-size: 19px; color: var(--muted); }
.meta { color: var(--muted); font-size: 15px; }
a { color: var(--ink); text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px 10px 0; border-bottom: 1px solid var(--rule); }
th { font-weight: 700; }
.box { border: 2px solid var(--ink); border-radius: 4px; padding: 16px 20px; margin: 24px 0; }
ol.steps li { margin-bottom: 8px; }
footer { margin-top: 64px; padding-top: 16px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 15px; }
@media (max-width: 480px) {
  h1 { font-size: 32px; }
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  td { border: 0; padding: 2px 0; }
  tr { border-bottom: 1px solid var(--rule); padding: 10px 0; }
  td:first-child { font-weight: 700; }
}
