:root {
  --bg: #0e1a14;
  --bg-elevated: #142418;
  --text: #f1f6f2;
  --text-muted: #a8bab0;
  --accent: #7cd992;
  --accent-dark: #4fae67;
  --border: #223a29;
  --max-width: 960px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  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); }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

nav.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 24px;
  font-size: 0.95rem;
}

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

.hero {
  padding: 96px 0 72px;
  text-align: center;
}

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

.hero p.lede {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 32px;
}

.badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  background: var(--bg-elevated);
}

.badge.disabled { opacity: 0.6; cursor: default; }

section {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

section h2 {
  font-size: 1.75rem;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

section p.section-lede {
  color: var(--text-muted);
  margin: 0 0 40px;
  max-width: 640px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

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

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.feature-card p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.92rem;
}

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

footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

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

.legal main {
  padding: 64px 0 96px;
}

.legal h1 { font-size: 2rem; margin-bottom: 8px; }
.legal .updated { color: var(--text-muted); margin-bottom: 40px; font-size: 0.9rem; }
.legal h2 { font-size: 1.25rem; margin-top: 40px; }
.legal p, .legal li { color: var(--text-muted); }
