:root {
  --bg: #ffffff;
  --fg: #111111;
  --muted: #666666;
  --line: #e5e5e5;
  --accent: #d6336c;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0e0e;
    --fg: #f2f2f2;
    --muted: #9a9a9a;
    --line: #262626;
    --accent: #ff6b9a;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

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

header, main, footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  padding-bottom: 24px;
}

header .brand {
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
}

header nav a {
  margin-left: 16px;
  color: var(--muted);
  text-decoration: none;
}

main { padding-bottom: 64px; }

h1 { font-size: 2.2rem; line-height: 1.2; margin: 32px 0 12px; }
h2 { font-size: 1.25rem; margin-top: 40px; }

.lede { font-size: 1.2rem; color: var(--muted); }

.button {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  text-decoration: none;
  font-weight: 600;
}

.meta { color: var(--muted); font-size: 0.9rem; }

footer {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  padding-bottom: 40px;
  color: var(--muted);
  font-size: 0.9rem;
}

footer a { color: var(--muted); margin-right: 16px; }
