:root {
  --fg: #1d1d1f;
  --fg-muted: #6b6b70;
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --accent: #0a84ff;
  --border: #d2d2d7;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fg: #f5f5f7;
    --fg-muted: #a1a1a6;
    --bg: #1c1c1e;
    --bg-soft: #2c2c2e;
    --accent: #0a84ff;
    --border: #3a3a3c;
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

header { margin-bottom: 32px; }
header .meta { color: var(--fg-muted); font-size: 14px; margin-top: 4px; }
header.hero { text-align: center; padding: 48px 0 32px; }
header.hero h1 { font-size: 44px; margin: 0 0 8px; }
header.hero .tagline { font-size: 18px; color: var(--fg-muted); margin: 0 auto; max-width: 520px; }

a.back {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
}
a.back:hover { text-decoration: underline; }

h1 { font-size: 32px; margin: 0; }
h2 { font-size: 20px; margin-top: 28px; margin-bottom: 8px; }
h3 { font-size: 16px; margin-top: 20px; margin-bottom: 4px; }

p, ul { margin: 0 0 12px; }
ul { padding-left: 22px; }
li { margin-bottom: 4px; }

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

section.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}
@media (max-width: 560px) {
  section.features { grid-template-columns: 1fr; }
}
section.features > div {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}
section.features h2 { font-size: 17px; margin-top: 0; margin-bottom: 6px; }
section.features p { font-size: 14px; color: var(--fg-muted); margin: 0; }

section.links { text-align: center; margin: 24px 0; font-size: 15px; }

footer {
  text-align: center;
  color: var(--fg-muted);
  font-size: 13px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 32px;
}
