:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --fg: #16181d;
  --muted: #5c6370;
  --rule: #e3e6ea;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1114;
    --fg: #e9ecef;
    --muted: #9aa1ac;
    --rule: #262a30;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 2.5rem 1.5rem;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

.page {
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  flex: 1 0 auto;
}

.page--center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.wordmark {
  margin: 0 0 1.5rem;
  font-size: clamp(2.25rem, 8vw, 3.25rem);
  font-weight: 700;
  letter-spacing: 0.14em;
}

.tagline {
  margin: 0 0 2.5rem;
  font-size: 1.125rem;
}

.entity,
.contact {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

.doc-title {
  margin: 0 0 2rem;
  font-size: 1.75rem;
  font-weight: 700;
}

.doc h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.doc p,
.doc address {
  margin: 0 0 1rem;
  font-style: normal;
}

.doc ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.doc li {
  margin-bottom: 0.375rem;
}

.updated {
  margin-top: 2.5rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.back {
  display: inline-block;
  margin-top: 1.5rem;
}

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

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 2px;
}

.footer {
  flex-shrink: 0;
  width: 100%;
  max-width: 40rem;
  margin: 4rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
}
