:root {
  --text: #1c1c1e;
  --muted: #55555a;
  --link: #2f5fb3;
  --rule: #e4e4e7;
  --bg: #ffffff;
  --serif: "Iowan Old Style", "Charter", "Source Serif 4", "Source Serif Pro", Georgia, ui-serif, serif;
  --sans: system-ui, -apple-system, "Segoe UI", "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
}

main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 4rem;
}

h1, h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

h1 {
  font-size: 2.6rem;
  margin: 0 0 0.6rem;
}

h2 {
  font-size: 1.6rem;
  margin: 2.6rem 0 0.9rem;
}

header p { margin: 0.25rem 0; }

header .pdf {
  margin-top: 1rem;
  font-size: 0.95rem;
}

header .pdf a {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--rule);
  border-radius: 6px;
  text-decoration: none;
}

header .pdf a:hover,
header .pdf a:focus-visible { border-color: var(--link); }

p { margin: 0.9rem 0 0.5rem; }

ul {
  margin: 0.4rem 0 0.9rem;
  padding-left: 1.4rem;
}

li { margin: 0.3rem 0; }

strong { font-weight: 600; }

a {
  color: var(--link);
  text-underline-offset: 0.15em;
  text-decoration-thickness: 1px;
}

a:hover { text-decoration-thickness: 2px; }

@media (max-width: 520px) {
  body { font-size: 16px; }
  main { padding-top: 2.25rem; }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.4rem; margin-top: 2.1rem; }
}

@media print {
  body { font-size: 11pt; }
  main { max-width: none; padding: 0; }
  header .pdf { display: none; }
  a { color: inherit; }
  h2 { break-after: avoid; }
  li, p { break-inside: avoid; }
}
