/*
 * legal.css v1.0.0
 *
 * Static legal pages (Terms of Use, Privacy Policy). A centered, readable
 * prose column for the page-terms-of-use.php / page-privacy-policy.php
 * templates.
 *
 * Those templates bypass GeneratePress's .entry-content and supply their own
 * <main>, so this stylesheet provides the container width + vertical rhythm
 * itself — mirroring how .lore-auth__container self-styles for the auth
 * templates, but wider: legal text wants a comfortable reading measure, not a
 * 480px form column.
 *
 * Every rule is scoped under .lore-legal, so although the stylesheet is
 * enqueued globally (matching the listing/modal global-enqueue pattern in
 * lore_child_enqueue_styles), it only affects the two legal templates — no
 * bleed onto other surfaces.
 *
 * Brand tokens per tokens.css (ADR-012). Larken headings / Articulat body
 * inherit from typography.css; only color, size, and spacing are set here.
 *
 * Non-tokenized values intentional:
 *   760px reading-column max-width (measure tuned for legal prose)
 *   60px desktop top padding (off the 8-pt scale, matches footer.css desktop)
 */

.lore-legal {
  width: 100%;
}

.lore-legal__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--space-10) var(--space-4) var(--space-12);
  color: var(--color-text);
}

@media (min-width: 768px) {
  .lore-legal__inner {
    padding: 60px var(--space-6) var(--space-12);
  }
}

/* ─── Heading block ─────────────────────────────────────────────────── */

.lore-legal__head {
  margin: 0 0 var(--space-8);
  padding: 0 0 var(--space-6);
  border-bottom: 1px solid var(--color-border);
}

.lore-legal__title {
  margin: 0 0 var(--space-3);
  font-size: var(--fs-3xl);
  line-height: var(--lh-tight);
  color: var(--color-cabernet);
}

.lore-legal__effective {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

/* ─── Sections ──────────────────────────────────────────────────────── */

.lore-legal__section {
  margin: 0 0 var(--space-8);
}

.lore-legal__section:last-child {
  margin-bottom: 0;
}

.lore-legal__section h2 {
  margin: 0 0 var(--space-3);
  font-size: var(--fs-xl);
  line-height: var(--lh-snug);
  color: var(--color-text);
}

.lore-legal__section p {
  margin: 0 0 var(--space-4);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
}

.lore-legal__section p:last-child {
  margin-bottom: 0;
}

.lore-legal__section ul {
  margin: 0 0 var(--space-4);
  padding-left: var(--space-6);
}

.lore-legal__section ul:last-child {
  margin-bottom: 0;
}

.lore-legal__section li {
  margin: 0 0 var(--space-2);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
}

.lore-legal__section li:last-child {
  margin-bottom: 0;
}

/* ─── Links (contact mailto, etc.) ──────────────────────────────────── */

.lore-legal a {
  color: var(--color-scarlet);
  text-decoration: underline;
  text-underline-offset: 2px;
  -webkit-tap-highlight-color: transparent;
}

.lore-legal a:hover {
  color: var(--color-cabernet);
}

.lore-legal a:focus-visible {
  outline: 2px solid var(--color-scarlet);
  outline-offset: 3px;
  border-radius: 2px;
}
