﻿/* ═══════════════════════════════════════════════════════════════════
   WULVIA LEGAL PAGES — PRIVACY POLICY + TERMS & CONDITIONS
   Editorial, minimal, premium, extremely readable. Built on the Wulvia
   design tokens (variables.css) and the help-center page skeleton
   (hc-page / hc-header in components.css).
   ═══════════════════════════════════════════════════════════════════ */

/* ── Legal content wrapper ── */
.legal-page .hc-header {
  margin-bottom: 40px;
}

.legal-last-updated {
  margin-top: 18px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ash, #666);
}

.legal-content {
  /* Editorial measure: comfortable line length for long-form reading */
  max-width: 760px;
}

/* ── Section headings (H2) ── */
.legal-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--noir, #3F2854);
  margin: 0 0 14px;
  padding-top: 8px;
  scroll-margin-top: 120px;
}
.legal-h2::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--accent, #E45B91);
  vertical-align: middle;
  margin-right: 12px;
}

/* ── Sub-headings (H3) ── */
.legal-h3 {
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--smoke, #555);
  margin: 0 0 10px;
}

/* ── Paragraphs ── */
.legal-p {
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.9;
  letter-spacing: 0.01em;
  color: var(--text-secondary, #444);
  margin: 0 0 18px;
}

/* ── Lists ── */
.legal-ul {
  margin: 0 0 22px;
  padding-left: 22px;
  list-style: none;
}

.legal-ul li {
  position: relative;
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-secondary, #444);
  padding: 0 0 10px;
}

/* Custom minimal marker (em-dash accent) instead of a bullet */
.legal-ul li::before {
  content: '\2014';
  position: absolute;
  left: -20px;
  top: 0;
  color: var(--accent, #E45B91);
  font-weight: 400;
}

/* ── Inline emphasis from the renderer ── */
.legal-content strong {
  font-weight: 600;
  color: var(--noir, #3F2854);
}
.legal-content em {
  font-style: italic;
  color: var(--smoke, #555);
}

/* Subtle separation between H2 groups */
.legal-content .legal-h2 {
  padding-top: 34px;
}
.legal-content .legal-h2:first-child {
  padding-top: 0;
}

/* Respect reduced-motion for any reveal transitions the wrapper may add */
@media (prefers-reduced-motion: reduce) {
  .legal-content { animation: none !important; }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .legal-page .hc-header { margin-bottom: 32px; }
  .legal-content { max-width: 100%; }
  .legal-h2 { font-size: 22px; }
  .legal-p { font-size: 15px; line-height: 1.8; }
  .legal-ul li { font-size: 15px; }
  .legal-last-updated { font-size: 10px; }
}

@media (max-width: 420px) {
  .legal-h2 { font-size: 20px; }
  .legal-p, .legal-ul li { font-size: 14px; }
  .legal-ul { padding-left: 20px; }
  .legal-ul li::before { left: -18px; }
}
