:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --fg: #1c1c1e;
  --muted: #6e6e73;
  --accent: #0a84ff;
  --rule: #d2d2d7;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --fg: #f5f5f7;
    --muted: #98989d;
    --accent: #0a84ff;
    --rule: #2c2c2e;
  }
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.25rem 5rem;
}

header.site-header {
  max-width: 720px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 0;
  font-size: 0.95rem;
  color: var(--muted);
}

header.site-header a {
  color: var(--muted);
  text-decoration: none;
}

header.site-header a:hover {
  color: var(--accent);
}

h1 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
  line-height: 1.15;
}

h2 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin: 2.5rem 0 0.75rem;
  line-height: 1.25;
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 1.75rem 0 0.5rem;
}

p, ul, ol {
  margin: 0 0 1rem;
}

ul, ol {
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.4rem;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

strong {
  font-weight: 600;
}

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

footer {
  max-width: 720px;
  margin: 3rem auto 0;
  padding: 1.5rem 1.25rem 3rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.9rem;
}

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

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

.landing {
  text-align: center;
  padding-top: 6rem;
}

.landing .tagline {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.landing .links {
  display: inline-flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
}

.landing .links a {
  display: block;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--rule);
  border-radius: 10px;
  min-width: 14rem;
}

.landing .links a:hover {
  border-color: var(--accent);
  text-decoration: none;
}
