:root {
  --bg: #0b0f0d;
  --surface: #121815;
  --border: #1f2a24;
  --text: #e8efe9;
  --muted: #9aa8a0;
  --accent: #22c55e;
  --accent-dim: rgba(34, 197, 94, 0.12);
  --max: 720px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

header.site { padding: 20px 0; border-bottom: 1px solid var(--border); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; }

.wordmark {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.wordmark span { color: var(--accent); }
.wordmark:hover { text-decoration: none; }

main { flex: 1; }

/* Landing */
.hero { padding-top: 72px; padding-bottom: 48px; }
.badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.2rem, 7vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 16px;
}
.hero h1 span { color: var(--accent); }
.hero p.lead { font-size: 1.1rem; color: var(--muted); max-width: 560px; margin-bottom: 32px; }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 40px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}
.feature strong { display: block; margin-bottom: 4px; }
.feature small { color: var(--muted); font-size: 0.9rem; }

.links { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
}
.btn:hover { border-color: var(--accent); text-decoration: none; }
.btn.primary { background: var(--accent); color: #04130a; border-color: var(--accent); }
.btn.primary:hover { filter: brightness(1.08); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Legal pages */
.legal { padding-top: 48px; padding-bottom: 64px; }
.legal h1 { font-size: 2rem; letter-spacing: -0.02em; margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 32px; }
.legal h2 { font-size: 1.15rem; margin: 28px 0 8px; }
.legal p, .legal li { color: #cfd8d2; margin-bottom: 12px; }
.legal ul { padding-left: 20px; }

footer.site {
  border-top: 1px solid var(--border);
  padding: 24px 0 32px;
  font-size: 0.85rem;
  color: var(--muted);
}
footer.site nav { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 12px; }
footer.site nav a { color: var(--muted); }
footer.site nav a:hover { color: var(--text); }
footer.site .disclaimer { margin-top: 8px; }
.hero p.lead.follow { margin-bottom: 16px; }
