@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;500;600;700;800;900&display=swap');

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

:root {
  --bg:       #F6ECFF;
  --accent:   #8052E8;
  --accent2:  #E25397;
  --text:     #2D245D;
  --card:     #FFFFFF;
  --muted:    rgba(45, 36, 93, 0.45);
  --light:    #E9DDF7;
  --shadow:   0 2px 16px rgba(45, 36, 93, 0.08);
  --radius:   16px;
  --font:     'Baloo 2', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
}

/* ── Nav ────────────────────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 236, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--light);
  padding: 0 24px;
}

.nav-inner {
  max-width: 960px;
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 22px;
  font-weight: 900;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.15s;
}

.nav-links a:hover,
.nav-links a.active { opacity: 1; color: var(--accent); }

/* ── Shared container ───────────────────────────────────────────────────── */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

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

/* ── Cards (policy / terms pages) ──────────────────────────────────────── */
.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}

.card h2 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
}

.card p {
  font-size: 14px;
  color: var(--text);
  opacity: 0.8;
}

.card p + p { margin-top: 10px; }

.card ul {
  font-size: 14px;
  color: var(--text);
  opacity: 0.8;
  padding-left: 20px;
  margin-top: 8px;
}

.card ul li { margin-bottom: 6px; }

/* ── Page header (policy / terms pages) ────────────────────────────────── */
.page-header { margin-bottom: 40px; }

.page-header h1 {
  font-size: 32px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 6px;
}

.page-header .updated {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

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

/* ── Footer ─────────────────────────────────────────────────────────────── */
footer {
  text-align: center;
  padding: 40px 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  border-top: 1px solid var(--light);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 12px;
  list-style: none;
}

.footer-links a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--accent); text-decoration: none; }
