/* ===================================================================
 * /www/style/flocks-legal.css
 *
 * Page-specific styles for the public legal pages:
 *   - /www/policy.php      (Privacybeleid)
 *   - /www/disclaimer.php  (Disclaimer)
 *
 * Layered op /www/style/flocks.css. Geeft een editorial-achtige
 * typografie aan een lange-tekst document, met genummerde secties
 * die alterneren tussen wit en cream.
 *
 * Owned here:
 *   - .section-white          alternerende sectie-achtergrond (cream zit al in flocks.css)
 *   - .legal-wrap             max-width container voor leesbare regelbreedte
 *   - .legal-meta             "Laatst bijgewerkt"-pill bovenaan elke sectie
 *   - .legal-num              groot oranje sectienummer (zoals .how-num op landing)
 *   - .legal-h2 / .legal-deck article-titel + onderkop
 *   - .legal-body             rest van de paragrafen + lijsten
 *   - .legal-toc              kleine inhoudsopgave bovenaan de pagina
 * =================================================================== */


/* alternerende sectie-achtergrond, ontbreekt in flocks.css */
.section-white { background: #FFFFFF; }


/* ============ WRAPPER ============ */
.legal-wrap {
  max-width: 720px;
  margin: 0 auto;
}


/* ============ META + NUMMERING ============ */
.legal-meta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--muted);
}
.legal-meta .pill {
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--secondary);
}
.legal-meta .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--muted);
}

.legal-num {
  display: inline-block;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--secondary);
  line-height: 0.85;
  margin-bottom: 10px;
}


/* ============ TITLE + DECK ============ */
.legal-h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 14px;
}
@media (max-width: 600px) {
  .legal-h2 { font-size: 26px; }
  .legal-num { font-size: 44px; }
}
.legal-deck {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 24px;
}


/* ============ BODY ============ */
.legal-body p {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 16px;
}
.legal-body p:last-child { margin-bottom: 0; }
.legal-body strong { font-weight: 600; color: var(--ink); }

.legal-body ul {
  list-style: none;
  margin: 0 0 18px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.legal-body li {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.6;
  padding-left: 22px;
  position: relative;
}
.legal-body li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary);
}

.legal-body a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color 0.15s;
}
.legal-body a:hover { color: var(--secondary); }


/* ============ TOC (intro) ============ */
.legal-toc {
  background: var(--cream);
  border-radius: 14px;
  padding: 22px 26px;
  margin-bottom: 24px;
}
.legal-toc-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 12px;
}
.legal-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 22px;
  counter-reset: legal-toc;
}
@media (max-width: 600px) {
  .legal-toc ol { grid-template-columns: 1fr; }
}
.legal-toc ol li {
  counter-increment: legal-toc;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
}
.legal-toc ol li::before {
  content: counter(legal-toc, decimal-leading-zero);
  display: inline-block;
  width: 24px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--secondary);
}
.legal-toc ol li a {
  color: var(--ink);
  text-decoration: none;
}
.legal-toc ol li a:hover {
  color: var(--secondary);
  text-decoration: underline;
}


/* ============ INTRO (above TOC) ============ */
.legal-intro {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 28px;
  max-width: 60ch;
}
.legal-intro strong { font-weight: 600; }
