:root {
  color-scheme: light;
  --paper: #fbfaf6;
  --ink: #1c1a17;
  --muted: #5f5a53;
  --line: #d8d3ca;
  --accent: #6e82c9;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  line-height: 1.6;
}

body {
  margin: 0;
}

a {
  color: var(--accent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.shell {
  margin: 0 auto;
  max-width: 760px;
  padding: 32px 22px 64px;
}

.topbar {
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 56px;
  padding-bottom: 18px;
}

.brand {
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

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

.nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.nav a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.hero {
  margin-bottom: 44px;
}

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0;
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(34px, 7vw, 58px);
  letter-spacing: 0;
  line-height: 1;
  margin: 0 0 18px;
}

.lede {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.5;
  margin: 0;
}

.meta {
  color: var(--muted);
  font-size: 14px;
  margin-top: 18px;
}

.links {
  border-top: 1px solid var(--line);
  margin-top: 34px;
  padding-top: 22px;
}

.links p {
  margin: 0 0 14px;
}

.links strong {
  color: var(--ink);
}

.doc {
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.doc h2 {
  font-size: 22px;
  line-height: 1.2;
  margin: 34px 0 8px;
}

.doc h2:first-child {
  margin-top: 26px;
}

.doc p,
.doc li {
  color: var(--ink);
  font-size: 16px;
  margin: 0 0 14px;
}

.doc ul {
  padding-left: 20px;
}

.notice {
  color: var(--muted);
  margin: 24px 0 4px;
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
  margin-top: 46px;
  padding-top: 18px;
}

@media (max-width: 640px) {
  .shell {
    padding: 24px 18px 48px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 42px;
  }
}
