/* =========================================================================
   Legal pages — template-privacy.php and template-terms.php.

   No Figma frame: these two are not designed, so the layout is the site's own
   vocabulary — the centred hero type the other pages use, over prose.css's
   reading measure. Loaded together with prose.css (inc/setup.php).

   The header stays solid here (there is no wash to frost against), so it sits
   in flow and the hero only needs its own modest top padding.
   ========================================================================= */

/* ---- Document head ------------------------------------------------------ */
.legal__hero { padding-block: var(--s-64) var(--s-48); }

.legal__head {
	max-width: var(--prose);
	margin-inline: auto;
	text-align: center;
}

.legal__kicker {
	margin: 0 0 12px;
	font-size: clamp(1rem, 1.042vw, 1.125rem);       /* 18px */
	line-height: 1.56;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--c-accent);
}

.legal__title {
	margin: 0;
	font-size: clamp(1.875rem, 3.009vw, 3.25rem);    /* 52px, the site's h2 scale */
	line-height: 1.16;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--c-ink);
}

/* ---- Document body ------------------------------------------------------ */
.legal__body { padding-block: 0 var(--s-120); }

/* These documents are numbered, so their sections need more air above than an
   Insight's headings do, and the tables carry most of the detail. */
.legal .prose h2 { margin-top: var(--s-64); }
.legal .prose table { font-size: var(--fs-small); }
.legal .prose th,
.legal .prose td { padding: 10px 12px; }

@media (max-width: 900px) {
	.legal__hero { padding-block: var(--s-48) var(--s-32); }
	.legal__body { padding-block: 0 var(--s-64); }
	.legal .prose h2 { margin-top: var(--s-48); }
}
