:root {
  --bg: #fbfaf7;
  --ink: #1c1b19;
  --muted: #6d695f;
  --rule: #e2ded4;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151412;
    --ink: #ebe8e1;
    --muted: #9b968b;
    --rule: #2f2d29;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 18px/1.6 Charter, "Bitstream Charter", "Iowan Old Style", "Sitka Text", Cambria, Georgia, serif;
  font-kerning: normal;
}

.page {
  max-width: 36rem;
  margin: 0 auto;
  padding: 0 1rem;
}

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

.home {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.home main { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 4rem 0; }

.wordmark {
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 2.5rem;
}

.lede { font-size: 1.6rem; line-height: 1.3; margin: 0 0 1.5rem; }

.home p { margin: 0 0 1rem; }

.muted { color: var(--muted); }

header.bar { padding: 2rem 0 0; }
header.bar a { font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none; }

.doc { padding: 3rem 0 2rem; }
.doc h1 { font-size: 2rem; line-height: 1.2; font-weight: 400; margin: 0 0 0.25rem; }
.doc .effective { color: var(--muted); margin: 0 0 2.5rem; font-size: 0.95rem; }
.doc h2 { font-size: 1.1rem; font-weight: 700; margin: 2.5rem 0 0.5rem; }
.doc p, .doc ul { margin: 0 0 1rem; }
.doc ul { padding-left: 1.2rem; }
.doc li { margin-bottom: 0.4rem; }
.doc .summary { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 1.25rem 0 0.25rem; margin-bottom: 2rem; }
.doc .caps { font-size: 0.95rem; }

footer {
  border-top: 1px solid var(--rule);
  padding: 1.25rem 0 2.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  justify-content: space-between;
}
footer nav { display: flex; gap: 1.25rem; }
