:root {
  --paper: #FBFBF9;
  --ink: #1C2B33;
  --muted: #5C6B72;
  --rule: #D8DCD6;
  --harbor: #245A7A;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

body {
  color: var(--ink);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  border-top: 3px solid var(--harbor);
  min-height: 100vh;
}

.page {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 5rem;
}

header.site {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 3rem;
}

.wordmark {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 650;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
}

.wordmark:hover {
  color: var(--harbor);
}

header.site .section-label {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 650;
  font-size: 1.75rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.doc-meta {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 2.75rem;
}

h2 {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 650;
  font-size: 1.0625rem;
  margin: 2.5rem 0 0.75rem;
}

h2 .num {
  color: var(--harbor);
  margin-right: 0.5rem;
  font-variant-numeric: tabular-nums;
}

p {
  margin-bottom: 1rem;
}

ul {
  margin: 0 0 1rem 1.25rem;
}

li {
  margin-bottom: 0.375rem;
}

a {
  color: var(--harbor);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:focus-visible,
.wordmark:focus-visible {
  outline: 2px solid var(--harbor);
  outline-offset: 2px;
  border-radius: 1px;
}

.doc-list {
  list-style: none;
  margin: 0;
}

.doc-list li {
  border-bottom: 1px solid var(--rule);
  margin: 0;
}

.doc-list a {
  display: block;
  padding: 1.25rem 0;
  text-decoration: none;
}

.doc-list .doc-title {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 650;
  font-size: 1.125rem;
  color: var(--ink);
  display: block;
}

.doc-list a:hover .doc-title {
  color: var(--harbor);
}

.doc-list .doc-desc {
  color: var(--muted);
  font-size: 0.9375rem;
  display: block;
  margin-top: 0.25rem;
}

footer.site {
  margin-top: 4rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 0.875rem;
  color: var(--muted);
}

@media (max-width: 480px) {
  .page {
    padding-top: 1.75rem;
  }

  header.site {
    margin-bottom: 2rem;
  }

  h1 {
    font-size: 1.5rem;
  }
}
