/* Paper Boy Biz theme: policy pages (privacy, terms, refund). Source: handoff css/pages/privacy-policy.css
   Breakpoints (mobile-first, min-width): mobile < 768px, tablet 768-1023px,
   desktop >= 1024px. Tokens that change per breakpoint live in tokens.css.

   Shared template: these rules are identical for 2 other page(s)
   that use the same WordPress template:
     refund-returns.html
     terms-and-conditions.html
   In the theme, enqueue ONE stylesheet per template (not per page) so the
   rules are maintained in one place.
   ========================================================================== */

/* ==========================================================================
   Pages: Privacy Policy, Terms and Conditions, Refund and Return Policy
   (privacy-policy.html, terms-and-conditions.html, refund-returns.html → page.php)
   Effective date · sticky table of contents · long-form prose.
   Breakpoints: mobile < 768 · tablet 768–1023 · desktop >= 1024
   ========================================================================== */

.legal-date { margin: var(--space-2) 0 0; font-size: var(--fs-small); font-weight: var(--fw-semibold); color: var(--color-text-muted); }
.legal-layout { display: grid; gap: var(--space-6); }
.legal-toc { padding: var(--space-4); background: var(--color-bg-light); border-radius: var(--radius-md); }
.legal-toc__title { margin: 0 0 var(--space-2); font-size: var(--fs-xs); font-weight: var(--fw-bold); letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-muted); }
.legal-toc ol { list-style: none; margin: 0; padding: 0; }
.legal-toc a { display: flex; align-items: center; min-height: 36px; color: var(--color-text); text-decoration: none; font-size: var(--fs-small); font-weight: var(--fw-medium); }
.legal-toc a:hover { color: var(--color-primary); text-decoration: underline; }
.legal-body section { scroll-margin-top: var(--space-6); }
.legal-body section:first-of-type h2 { margin-top: var(--space-4); }
.legal-body .list-head { list-style: none; margin-left: -1.25em; margin-top: var(--space-4); }
.legal-contact { padding: var(--space-4); background: var(--color-bg-light); border-radius: var(--radius-md); font-style: normal; line-height: 1.7; display: block; }

@media (min-width: 1024px) {
  .legal-layout { grid-template-columns: 260px minmax(0, 1fr); gap: var(--space-10); align-items: start; }
  .legal-toc { position: sticky; top: var(--space-4); }
}
