:root {
  --accent: #208aef;
  --accent-dark: #1774cc;
  --bg: #ffffff;
  --bg-alt: #f4f7fa;
  --text: #1c2733;
  --text-muted: #5a6b7c;
  --border: #e2e8f0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #10161d;
    --bg-alt: #1a222c;
    --text: #e8eef4;
    --text-muted: #9fb0c0;
    --border: #2a3644;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.logo span {
  color: var(--accent);
}

nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
}

nav a:hover {
  color: var(--text);
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

.btn:hover {
  background: var(--accent-dark);
}

.btn-large {
  font-size: 1.1rem;
  padding: 0.75rem 1.75rem;
}

main {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.hero {
  text-align: center;
  padding: 4rem 0 3rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 40rem;
  margin: 0 auto 2rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  padding: 2rem 0;
}

.feature {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
}

.feature h3 {
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.feature p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.prose {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2rem 0;
}

.prose h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.prose h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.5rem;
}

.prose p,
.prose ul {
  margin-bottom: 1rem;
  color: var(--text);
}

.prose ul {
  padding-left: 1.5rem;
}

.prose .updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

footer {
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

.footer-inner a {
  color: var(--text-muted);
  margin-right: 1rem;
}
