/* Shared by the landing page and the privacy policy. Deliberately one small
   file with no build step — this deploys to Cloudflare Pages as-is. */

:root {
  --bg: #ffffff;
  --surface: #f6f7f9;
  --border: #e3e6ea;
  --text: #16191d;
  --text-muted: #5c636b;
  --accent: #c0392b;
  --accent-hover: #a83224;
  --accent-soft: #fdecea;
  --success: #1f8a4c;
  --max: 720px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16181c;
    --surface: #1e2126;
    --border: #313740;
    --text: #e8eaed;
    --text-muted: #9aa2ac;
    --accent: #e05a4a;
    --accent-hover: #ef6a5a;
    --accent-soft: #3a221f;
    --success: #4ec27e;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---------- Header ---------- */

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

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

.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  font-size: 17px;
  color: var(--text);
  text-decoration: none;
}

.wordmark img {
  width: 26px;
  height: 26px;
}

.site-header nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
}

.site-header nav a {
  color: var(--text-muted);
  text-decoration: none;
}

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

/* ---------- Hero ---------- */

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

.hero h1 {
  margin: 0 0 14px;
  font-size: 44px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero p {
  margin: 0 auto 32px;
  max-width: 30em;
  font-size: 19px;
  color: var(--text-muted);
}

.cta {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

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

.cta-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ---------- Badges ---------- */

.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--surface);
  font-size: 13px;
  color: var(--text-muted);
}

.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
}

/* ---------- Sections ---------- */

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

h2 {
  margin: 0 0 18px;
  font-size: 24px;
  letter-spacing: -0.02em;
}

h3 {
  margin: 28px 0 8px;
  font-size: 17px;
}

blockquote {
  margin: 18px 0;
  padding: 14px 18px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  color: var(--text);
  font-style: italic;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.features li {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
}

.features strong {
  display: block;
  margin-bottom: 4px;
}

.features span {
  font-size: 14px;
  color: var(--text-muted);
}

/* ---------- Prose (privacy policy) ---------- */

.prose {
  padding: 48px 0 64px;
}

.prose h1 {
  margin: 0 0 6px;
  font-size: 32px;
  letter-spacing: -0.02em;
}

.prose .updated {
  margin: 0 0 32px;
  font-size: 14px;
  color: var(--text-muted);
}

.prose h2 {
  margin-top: 36px;
  font-size: 20px;
}

.prose ul {
  padding-left: 20px;
}

.prose li {
  margin: 6px 0;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 28px 0 48px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-muted);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.site-footer a {
  color: var(--text-muted);
}

@media (max-width: 560px) {
  .hero {
    padding: 48px 0 40px;
  }
  .hero h1 {
    font-size: 33px;
  }
  .hero p {
    font-size: 17px;
  }
}
