:root {
  --bg: #ffffff;
  --fg: #0a0a0a;
  --muted: #6b7280;
  --border: #e5e7eb;
  --card-bg: #ffffff;
  --btn-fg: #ffffff;
  --btn-bg: #0a0a0a;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0a;
    --fg: #f5f5f5;
    --muted: #a1a1aa;
    --border: #27272a;
    --card-bg: #111113;
    --btn-fg: #0a0a0a;
    --btn-bg: #f5f5f5;
  }
}

* { box-sizing: border-box; }

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

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  border-bottom: 1px solid var(--border);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.brand {
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-outline {
  border-color: var(--border);
  color: var(--fg);
}

.btn-primary {
  background: var(--btn-bg);
  color: var(--btn-fg);
  padding: 12px 24px;
  font-size: 1rem;
}

.hero {
  text-align: center;
  padding: 96px 24px 80px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.lede {
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.features {
  padding-bottom: 96px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 720px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  border: 1px solid var(--border);
  background: var(--card-bg);
  border-radius: 16px;
  padding: 24px;
}

.feature-card h2 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 4px;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px;
  color: var(--muted);
  font-size: 0.75rem;
}
