/**
 * Legal pages — full-width hero + dark readable content (Privacy, Terms).
 */

.site-main--legal {
	background: #050816;
	color: #e2e8f0;
}

/* Full-width hero band (shell only wraps inner text, not the section). */
.page-hero.page-hero--legal {
	width: 100%;
	max-width: none;
	margin: 0;
	padding-block: clamp(3.25rem, 8vw, 5.5rem);
	box-shadow: none;
	border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.page-hero--legal .page-hero__inner {
	position: relative;
	z-index: 2;
}

.page-hero--legal__ambient {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background:
		radial-gradient(900px 480px at 12% -10%, rgba(99, 102, 241, 0.22), transparent 55%),
		radial-gradient(700px 400px at 92% 0%, rgba(56, 189, 248, 0.14), transparent 52%);
}

.page-hero.page-hero--legal::after {
	opacity: 0.18;
}

/* Content lane */
.page-content.page-content--legal {
	padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(4.5rem, 9vw, 6.5rem);
	background: linear-gradient(180deg, #0b1020 0%, #050816 100%);
}

.page-content--legal .page-content__inner {
	max-width: 52rem;
}

/* Override global .prose muted color on light body */
.site-main--legal .aash-legal-prose,
.site-main--legal .prose {
	max-width: none;
	margin: 0;
	color: rgba(226, 232, 240, 0.94);
	font-size: 1.02rem;
	line-height: 1.78;
}

.site-main--legal .aash-legal-prose > p:first-child,
.site-main--legal .prose > p:first-child {
	margin-top: 0;
	color: rgba(148, 163, 184, 0.95);
	font-size: 0.95rem;
}

.site-main--legal .aash-legal-prose h2,
.site-main--legal .prose h2 {
	margin: 2.25rem 0 0.85rem;
	padding-top: 0.25rem;
	font-family: var(--font-display, inherit);
	font-size: clamp(1.2rem, 2.2vw, 1.45rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #f8fafc;
	border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.site-main--legal .aash-legal-prose h2:first-of-type,
.site-main--legal .prose h2:first-of-type {
	border-top: none;
	margin-top: 1.5rem;
}

.site-main--legal .aash-legal-prose p,
.site-main--legal .prose p,
.site-main--legal .aash-legal-prose li,
.site-main--legal .prose li {
	color: rgba(203, 213, 225, 0.92);
}

.site-main--legal .aash-legal-prose ul,
.site-main--legal .prose ul {
	margin: 0 0 1.25rem;
	padding-left: 1.35rem;
}

.site-main--legal .aash-legal-prose a,
.site-main--legal .prose a {
	color: #7dd3fc;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.site-main--legal .aash-legal-prose a:hover,
.site-main--legal .prose a:hover {
	color: #bae6fd;
}

.site-main--legal .aash-legal-prose strong,
.site-main--legal .prose strong {
	color: #f1f5f9;
}

/* Footer spacing on legal routes */
.site-main--legal + .site-footer,
body.page-template-page-legal .site-footer {
	margin-top: 0;
}
