:root {
  color-scheme: light dark;
  --bg: #f7f5f3;
  --surface: #ffffff;
  --ink: #171717;
  --muted: #676767;
  --line: rgba(23, 23, 23, 0.12);
  --accent: #225b57;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #080909;
    --surface: #111313;
    --ink: #f4f3f1;
    --muted: #aaa9a6;
    --line: rgba(244, 243, 241, 0.14);
    --accent: #9fcac0;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.58;
  letter-spacing: 0;
}

main {
  width: min(100% - 40px, 760px);
  margin: 0 auto;
  padding: 56px 0 80px;
}

header {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

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

h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(34px, 7vw, 56px);
  line-height: 1.06;
  font-weight: 650;
}

h2 {
  margin: 44px 0 10px;
  font-size: 22px;
  line-height: 1.25;
}

p,
li {
  font-size: 16px;
}

.lede,
.updated,
.muted {
  color: var(--muted);
}

.lede {
  max-width: 640px;
  margin: 20px 0 0;
  font-size: 18px;
}

.updated {
  margin: 12px 0 0;
  font-size: 14px;
}

section {
  scroll-margin-top: 24px;
}

ul,
ol {
  padding-left: 24px;
}

li + li {
  margin-top: 8px;
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

.action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 0 18px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 650;
  text-decoration: none;
}

.notice {
  margin: 30px 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

footer {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 520px) {
  main {
    width: min(100% - 28px, 760px);
    padding-top: 34px;
  }

  h2 {
    margin-top: 36px;
  }
}
