/* One stylesheet for the audience website. Kept small and readable:
   these pages follow an accessibility demo, so they must pass the
   checks the demo talks about. */
:root {
  --text: #1a1a1a;
  --muted: #4a4a4a;
  --bg: #ffffff;
  --link: #0645ad;
  --rule: #d0d0d0;
  --focus: #b35c00;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --text: #ececec;
    --muted: #c4c4c4;
    --bg: #161616;
    --link: #8ab4f8;
    --rule: #444444;
    --focus: #ffb454;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1.125rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
header, main, footer {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 1rem;
}
header {
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
}
header a {
  font-weight: 700;
}
main {
  padding-top: 1rem;
  padding-bottom: 2rem;
}
h1 {
  font-size: 2rem;
  line-height: 1.25;
}
h2 {
  font-size: 1.4rem;
  margin-top: 2rem;
}
a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
li + li {
  margin-top: 0.4rem;
}
footer {
  border-top: 1px solid var(--rule);
  padding-top: 1rem;
  padding-bottom: 2rem;
  color: var(--muted);
  font-size: 1rem;
}
