:root {
  --bg: #ffffff;
  --fg: #1a1a1a;
  --muted: #555555;
  --link: #0a58ca;
  --border: #e5e5e5;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111214;
    --fg: #e8e8ea;
    --muted: #a0a0a6;
    --link: #7aa7ff;
    --border: #2a2b2e;
  }
}

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

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

body {
  margin: 0 auto;
  max-width: 720px;
  padding: 2rem 1.25rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--fg);
}

header {
  margin-bottom: 2rem;
}

h1 {
  font-size: 2rem;
  line-height: 1.25;
  margin: 0 0 0.5em;
}

h2 {
  font-size: 1.35rem;
  line-height: 1.3;
  margin-top: 2em;
  margin-bottom: 0.5em;
}

h3 {
  font-size: 1.1rem;
  line-height: 1.35;
  margin-top: 1.5em;
  margin-bottom: 0.4em;
}

p {
  margin-block: 0.75em;
}

ul,
ol {
  padding-left: 1.25em;
  margin-block: 0.75em;
}

li {
  margin-block: 0.25em;
}

a {
  color: var(--link);
  text-decoration: underline;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 2px;
  border-radius: 2px;
}

nav[aria-label="Policy documents"] ul {
  list-style: disc;
}

section {
  margin-block: 1rem;
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

footer a {
  color: var(--link);
}

.tagline {
  color: var(--muted);
  margin-top: 0;
}

.effective-date {
  color: var(--muted);
  font-style: italic;
  margin-top: -0.25em;
}

@media (max-width: 480px) {
  body {
    padding: 1.25rem 1rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.2rem;
  }
}
