/* privacy.css — WikiMapping privacy notice page
   Brand: #177AB5 / #0b5e92 / #8BC441
*/

:root {
  --wm-blue: #177AB5;
  --wm-blue-dark: #0b5e92;
  --wm-green: #8BC441;
  --wm-green-dark: #79b035;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #2d3748;
  background: #f4f7fb;
}

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

/* ── Nav ──────────────────────────────────────────────── */
.privacy-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1030;
  background: var(--wm-blue);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 56px;
}
.nav-brand {
  display: flex; align-items: center; gap: 0.6rem;
  color: #fff; font-size: 1.2rem; font-weight: 700;
  text-decoration: none;
}
.nav-brand img { height: 38px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 0.5rem; }
.nav-links a {
  color: #fff; padding: 0.4rem 1rem; border-radius: 4px;
  font-size: 0.9rem; transition: background 0.2s;
  text-decoration: none;
}
.nav-links a:hover { background: rgba(255,255,255,0.15); text-decoration: none; }

/* ── Main Content Area ────────────────────────────────── */
.privacy-main {
  padding: 5rem 1.5rem 3rem;
  display: flex; justify-content: center;
}

/* ── Card ─────────────────────────────────────────────── */
.privacy-card {
  background: #fff;
  border-radius: 12px;
  padding: 3rem 2.5rem;
  max-width: 720px; width: 100%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.privacy-card h1 {
  font-size: 1.75rem; font-weight: 700; color: #1a202c;
  margin: 0 0 0.25rem;
}
.effective-date {
  font-size: 0.9rem; color: #64748b; margin: 0 0 1.5rem;
}

/* ── Table of Contents ────────────────────────────────── */
.toc {
  display: flex; flex-wrap: wrap; gap: 0.4rem 1rem;
  margin-bottom: 2rem;
  padding: 1rem 1.25rem;
  background: #f8fafc;
  border-radius: 8px;
  border-left: 3px solid var(--wm-blue);
}
.toc a {
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

/* ── Sections ─────────────────────────────────────────── */
.privacy-card section {
  margin-bottom: 1.75rem;
}
.privacy-card h2 {
  font-size: 1.15rem; font-weight: 700; color: var(--wm-blue-dark);
  margin: 0 0 0.5rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid #e2e8f0;
}
.privacy-card p {
  font-size: 0.95rem; line-height: 1.7; color: #374151;
  margin: 0 0 0.75rem;
}
.privacy-card ul {
  margin: 0 0 0.75rem; padding-left: 1.25rem;
}
.privacy-card li {
  font-size: 0.95rem; line-height: 1.7; color: #374151;
  margin-bottom: 0.5rem;
}
.privacy-card li strong {
  color: #1a202c;
}

/* ── Footer Links ─────────────────────────────────────── */
.privacy-footer {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 2px solid #e2e8f0;
  text-align: center;
  font-size: 0.9rem;
}
.privacy-footer a { font-weight: 600; }
.divider { margin: 0 0.4rem; color: #94a3b8; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 640px) {
  .privacy-nav { padding: 0 1rem; }
  .nav-brand span { display: none; }
  .privacy-card { padding: 2rem 1.25rem; }
  .toc { flex-direction: column; gap: 0.3rem; }
}
