:root {
  --bg: #ffffff;
  --fg: #1a1a1a;
  --muted: #6b6b6b;
  --accent: #2d6cdf;
  --border: #e6e6e6;
  --max-width: 640px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0e10;
    --fg: #f0f0f0;
    --muted: #a0a0a0;
    --accent: #5c8aff;
    --border: #2a2a2e;
  }
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 24px 96px;
}

header.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
  color: var(--accent);
}

header.brand svg {
  width: 40px;
  height: 40px;
}

header.brand .wordmark {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
}

h1 {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

p {
  margin: 0 0 16px;
  color: var(--fg);
}

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

a.cta {
  display: inline-block;
  margin-top: 16px;
  padding: 14px 24px;
  background: var(--accent);
  color: white;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}

a.cta:hover {
  opacity: 0.9;
}

a.cta:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

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

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