:root {
  --bg: #ffffff;
  --fg: #1d2330;
  --muted: #5d6677;
  --accent: #0f7a52;
  --line: #e3e6ec;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12151b;
    --fg: #e7eaf0;
    --muted: #9aa3b2;
    --accent: #3fc28d;
    --line: #2a2f3a;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

header nav {
  display: flex;
  gap: 16px;
}

.brand {
  margin: 0;
  font-weight: 700;
  font-size: 20px;
}

.brand a {
  color: inherit;
  text-decoration: none;
}

a {
  color: var(--accent);
}

h1 {
  font-size: 30px;
  line-height: 1.25;
  margin: 40px 0 16px;
}

h2 {
  font-size: 21px;
  margin: 36px 0 8px;
}

.lead {
  font-size: 19px;
}

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

.points li {
  margin: 6px 0;
}

section + section {
  border-top: 1px solid var(--line);
  margin-top: 36px;
}

footer {
  margin-top: 48px;
  padding-top: 16px;
  padding-bottom: 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

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

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

.skip-link {
  position: absolute;
  inset-inline-start: 8px;
  top: -48px;
  padding: 8px 12px;
  background: var(--fg);
  color: var(--bg);
  z-index: 10;
}

.skip-link:focus {
  top: 8px;
}

header nav {
  flex-wrap: wrap;
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
