/* ═══════════════════════════════════════════════════════════════════════════
   Legal pages — Privacy Policy & Terms of Use
   Palette: bg #0a0a0a · card #111113 · border #27272a · text #fafafa
            muted #52525b · accent #ef4444 · max-width 1280px
═══════════════════════════════════════════════════════════════════════════ */

/* ── Page wrapper ─────────────────────────────────────────────────────────── */

.legal-page {
	background: #0a0a0a;
	color: #fafafa;
	min-height: 100vh;
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */

.legal-hero {
	padding: 6rem 2rem 4rem;
	border-bottom: 1px solid #18181b;
	background:
		radial-gradient(ellipse 80% 60% at 50% 0%, rgba(239,68,68,0.07), transparent),
		repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,0.02) 40px),
		repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255,255,255,0.02) 40px);
}

.legal-hero__inner {
	max-width: 800px;
	margin: 0 auto;
	text-align: center;
}

.legal-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #ef4444;
	margin-bottom: 1.25rem;
}

.legal-hero__title {
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 900;
	letter-spacing: -0.03em;
	line-height: 1.1;
	color: #fafafa;
	margin: 0 0 1rem;
}

.legal-hero__meta {
	font-size: 0.8125rem;
	color: #52525b;
}

.legal-hero__meta time {
	color: #71717a;
}

/* ── Body layout ──────────────────────────────────────────────────────────── */

.legal-body {
	padding: 5rem 2rem 7rem;
}

.legal-body__inner {
	max-width: 800px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 3.5rem;
}

/* ── Section cards ────────────────────────────────────────────────────────── */

.legal-section {
	background: #111113;
	border: 1px solid #27272a;
	border-radius: 16px;
	padding: 2.25rem 2.5rem;
	position: relative;
	overflow: hidden;
}

.legal-section::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at top left, rgba(239,68,68,0.04), transparent 65%);
	pointer-events: none;
}

.legal-section__num {
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #ef4444;
	display: block;
	margin-bottom: 0.5rem;
}

.legal-section__title {
	font-size: 1.125rem;
	font-weight: 700;
	color: #fafafa;
	margin: 0 0 1.25rem;
}

.legal-section p,
.legal-section li {
	font-size: 0.9375rem;
	line-height: 1.75;
	color: #a1a1aa;
}

.legal-section p + p {
	margin-top: 0.875rem;
}

.legal-section ul,
.legal-section ol {
	padding-left: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-top: 0.875rem;
}

.legal-section ul li::marker {
	color: #ef4444;
}

.legal-section ol li::marker {
	color: #52525b;
	font-weight: 600;
}

.legal-section a {
	color: #ef4444;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.legal-section a:hover {
	color: #f87171;
}

/* ── Contact callout ──────────────────────────────────────────────────────── */

.legal-contact {
	background: #111113;
	border: 1px solid #27272a;
	border-radius: 16px;
	padding: 2rem 2.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
}

.legal-contact__copy p {
	font-size: 0.9375rem;
	color: #a1a1aa;
	line-height: 1.6;
	margin: 0;
}

.legal-contact__copy strong {
	color: #fafafa;
	display: block;
	font-size: 1rem;
	margin-bottom: 0.25rem;
}

.legal-contact__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: #ef4444;
	color: #fff;
	font-size: 0.875rem;
	font-weight: 600;
	padding: 0.625rem 1.25rem;
	border-radius: 8px;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.2s;
	flex-shrink: 0;
}

.legal-contact__btn:hover {
	background: #dc2626;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */

@media (max-width: 640px) {
	.legal-hero { padding: 4rem 1.25rem 2.5rem; }
	.legal-body  { padding: 3rem 1.25rem 5rem; }
	.legal-section { padding: 1.5rem 1.25rem; }
	.legal-contact { padding: 1.5rem 1.25rem; flex-direction: column; align-items: flex-start; }
}

