/* =============================================================
   Era Shift — juridische pagina's (privacyverklaring, voorwaarden)
   Zelfde tokens als de landingspagina. Self-hosted fonts.
   ============================================================= */

@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/Inter_18pt-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: italic; font-weight: 400; font-display: swap;
  src: url('fonts/Inter_18pt-Italic.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('fonts/Inter_18pt-Medium.ttf') format('truetype');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal; font-weight: 300 400; font-display: swap;
  src: url('fonts/Fraunces-latin.woff2') format('woff2');
}

:root {
  --es-purple: #5B2C8C;
  --es-black: #0a0a0f;
  --es-offwhite: #F5F3EE;
  --es-line: rgba(245, 243, 238, 0.10);
  --es-mute: rgba(245, 243, 238, 0.62);
  --es-fine: rgba(245, 243, 238, 0.46);
  --es-font-display: 'Fraunces', 'Times New Roman', Georgia, serif;
  --es-font-body: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--es-black);
  color: var(--es-offwhite);
  font-family: var(--es-font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a {
  color: var(--es-offwhite);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 200ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
a:hover { color: var(--es-purple); }

.legal-wrap {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ---------- Header ---------- */
.legal-top {
  border-bottom: 1px solid var(--es-line);
  padding: 28px 0;
}
.legal-home { display: inline-block; line-height: 0; }
.legal-home img { width: 150px; }

/* ---------- Document ---------- */
.legal-doc { padding: 64px 0 80px; }

.legal-eyebrow {
  font-family: var(--es-font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--es-purple);
  margin: 0 0 16px;
}
.legal-doc h1 {
  font-family: var(--es-font-display);
  font-weight: 300;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  text-wrap: balance;
}
.legal-sub {
  color: var(--es-mute);
  font-size: 14px;
  margin: 0;
}
.legal-lead {
  color: var(--es-offwhite);
  opacity: 0.84;
  font-size: 17px;
  line-height: 1.65;
  margin: 28px 0 0;
  max-width: 66ch;
}

.legal-doc h2 {
  font-family: var(--es-font-display);
  font-weight: 300;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.005em;
  margin: 56px 0 0;
  padding-top: 32px;
  border-top: 1px solid var(--es-line);
  text-wrap: balance;
}
.legal-doc h3 {
  font-family: var(--es-font-body);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.4;
  margin: 32px 0 0;
  color: var(--es-offwhite);
}
.legal-doc p {
  color: var(--es-mute);
  margin: 16px 0 0;
  max-width: 68ch;
}
.legal-doc p.kv {
  margin: 4px 0 0;
  color: var(--es-offwhite);
  opacity: 0.84;
}
.legal-doc p.kv--first { margin-top: 16px; }
.legal-doc p.leadin {
  color: var(--es-offwhite);
  opacity: 0.84;
  margin: 20px 0 0;
}
.legal-doc ul {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  max-width: 68ch;
}
.legal-doc li {
  position: relative;
  padding-left: 26px;
  margin: 10px 0 0;
  color: var(--es-mute);
}
.legal-doc li::before {
  content: "\2726";
  position: absolute;
  left: 0;
  top: 0.15em;
  color: var(--es-purple);
  font-family: var(--es-font-display);
  font-weight: 300;
  font-size: 11px;
}

/* ---------- Footer ---------- */
.legal-foot {
  border-top: 1px solid var(--es-line);
  padding: 40px 0 48px;
}
.legal-foot-inner { display: grid; gap: 14px; }
.legal-foot p { margin: 0; color: var(--es-fine); font-size: 13px; line-height: 1.6; }
.legal-foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
.legal-foot-links a { color: var(--es-mute); font-size: 13px; }
.legal-glyph {
  color: var(--es-purple);
  font-family: var(--es-font-display);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.7;
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; }
}
