/* ═══════════════════════════════
   Kaveli — gedeelde stijl voor
   juridische en contact pagina's
═══════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;1,9..144,300;1,9..144,400&family=Outfit:wght@300;400;500;600&display=swap');

:root {
  --indigo-950: #0F1225;
  --indigo-900: #1E2340;
  --indigo-800: #2A3158;
  --indigo-700: #3D4680;
  --indigo-500: #6470C4;
  --indigo-300: #9BA5E0;
  --indigo-100: #E8EAF6;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { height: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--indigo-950);
  color: rgba(255,255,255,0.78);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.7;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(99,112,196,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,112,196,0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  top: -25vh; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 500px;
  background: radial-gradient(ellipse, rgba(61,70,128,0.22) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.page {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ── Nav ── */
header {
  padding: 32px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.logo-wordmark {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  color: white;
  letter-spacing: -0.01em;
  line-height: 1;
}
.logo-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--indigo-300);
  flex-shrink: 0;
  margin-bottom: 2px;
}

.back-link {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.back-link:hover { color: rgba(255,255,255,0.7); }
.back-link svg { flex-shrink: 0; }

/* ── Content ── */
main {
  flex: 1;
  padding: 64px 5% 80px;
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
}

.page-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--indigo-300);
  margin-bottom: 14px;
}

.page-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: white;
  margin-bottom: 8px;
}
.page-title em {
  font-style: italic;
  color: var(--indigo-300);
}

.page-meta {
  font-size: 13px;
  color: rgba(255,255,255,0.25);
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* ── Document body ── */
.doc h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  color: white;
  letter-spacing: -0.01em;
  margin-top: 48px;
  margin-bottom: 16px;
  line-height: 1.2;
}
.doc h2:first-child { margin-top: 0; }

.doc p {
  font-size: 15px;
  color: rgba(255,255,255,0.62);
  margin-bottom: 16px;
  line-height: 1.75;
}

.doc ul, .doc ol {
  margin: 0 0 16px 20px;
}
.doc li {
  font-size: 15px;
  color: rgba(255,255,255,0.62);
  line-height: 1.75;
  margin-bottom: 6px;
}

.doc a {
  color: var(--indigo-300);
  text-decoration: none;
  border-bottom: 1px solid rgba(155,165,224,0.3);
  transition: border-color 0.2s, color 0.2s;
}
.doc a:hover {
  color: white;
  border-color: rgba(255,255,255,0.5);
}

.doc strong {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}

.doc .info-box {
  background: rgba(155,165,224,0.08);
  border: 1px solid rgba(155,165,224,0.15);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 24px 0;
}
.doc .info-box p {
  margin-bottom: 0;
  font-size: 14px;
}

/* ── Footer ── */
footer {
  position: relative;
  z-index: 1;
  padding: 24px 5% 32px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links a, .footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.55); }
.footer-links a.active { color: rgba(255,255,255,0.45); }
