/* ==========================================================================
   Generic content pages (page.php): Terms of Service, Privacy Policy, Refund Policy.
   Layout + TOC live in guides.css (shared).
   ========================================================================== */

/* Header: left aligned (Figma pt 56, pb 32, gap 12, H1 52) */
.legal-hero { padding: 56px 0 32px; }
.legal-hero__inner { gap: 12px; }
.legal-hero__title { font-size: 52px; letter-spacing: -.02em; }
.legal-hero__meta { font-size: 15px; }

/* Content: sections 32px apart, heading -> text 10px */
.prose--legal { font-size: 17px; line-height: 1.7; }
.prose--legal > * + * { margin-top: 10px; }
.prose--legal > h2 {
	margin-top: 32px;
	font-size: 24px;
	font-weight: 700;
	line-height: normal;
	letter-spacing: 0;
	scroll-margin-top: calc(var(--hh) + 24px);
}
.prose--legal > h2:first-child { margin-top: 0; }
.prose--legal > h3 { margin-top: 24px; font-size: 19px; }
.prose--legal a {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: var(--light-1);
	text-underline-offset: 3px;
	transition: color .25s, text-decoration-color .25s;
}
.prose--legal a:hover { color: var(--orange); text-decoration-color: currentColor; }

@media (max-width: 1023px) {
	.legal-hero__title { font-size: 44px; }
}

@media (max-width: 767px) {
	.legal-hero { padding: 32px 0 25px; }
	.legal-hero__inner { gap: 10px; }
	.legal-hero__title { font-size: 34px; }
	.legal-hero__meta { font-size: 14px; }
	.prose--legal { font-size: 16px; }
	.prose--legal > h2 { margin-top: 28px; font-size: 21px; }
}
