:root {
  --brand-start: #c2306a;
  --brand-end: #1d1a2e;
  --accent: #4a7a8c;
  --text: #1a1a2e;
  --text-muted: #555;
  --bg: #fff;
  --surface: #f7f7f9;
  --border: #e0e0e8;
  --radius: 12px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #eaeaf2;
    --text-muted: #aaa;
    --bg: #12111e;
    --surface: #1d1c2e;
    --border: #2e2d42;
  }
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

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

/* ── Header ── */
.site-header {
  background: linear-gradient(135deg, var(--brand-start), var(--brand-end));
  color: #fff;
  text-align: center;
  padding: 56px 24px 48px;
}

.site-header img {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  margin-bottom: 20px;
}

.site-header h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.site-header p {
  margin-top: 8px;
  font-size: 1rem;
  opacity: 0.85;
}

.site-header nav {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 24px;
}

.site-header nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
}

.site-header nav a:hover { color: #fff; text-decoration: none; }

/* ── Main content ── */
main {
  max-width: 740px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

/* ── Hero (index only) ── */
.hero {
  text-align: center;
  padding: 16px 0 48px;
}

.hero h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.hero p {
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 28px;
}

.badge img { height: 52px; }

/* ── Feature grid ── */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 48px 0;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.feature h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 6px; }
.feature p  { font-size: 0.875rem; color: var(--text-muted); }

/* ── Privacy policy ── */
.policy h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 40px 0 12px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.policy h2:first-child { border-top: none; margin-top: 0; }

.policy h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 24px 0 8px;
}

.policy p  { margin-bottom: 12px; color: var(--text); }

.policy ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.policy ul li { margin-bottom: 4px; }

.policy strong { color: var(--text); }

.policy .meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 36px;
}

/* ── Footer ── */
footer {
  text-align: center;
  padding: 24px;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}
