/* Terms & Conditions page-specific styles */
.legal-hero { margin-top: var(--space-8); margin-bottom: var(--space-6); }
.legal-meta { margin-top: var(--space-2); margin-bottom: var(--space-4); }

/* Table of contents box */
.toc-box { margin-top: var(--space-4); }
.toc-box ul { margin: 0; padding-left: var(--space-5); display: grid; gap: var(--space-1); }
#toc a[aria-current="true"] { color: var(--color-primary); font-weight: 700; text-decoration: none; }

/* Legal content spacing */
.legal-content { margin-bottom: var(--space-10); }
.legal-section { margin-top: var(--space-8); }

/* Ensure anchored headings are visible below sticky header */
main :is(h2, h3) { scroll-margin-top: 96px; }

/* Small helper */
.small { font-size: var(--text-sm); }
