/* Privacy Policy / Terms & Conditions pages.
   Reuses the shared .work-header / .work-nav chrome (our-work.css) for the top
   bar; everything else is scoped with .legal- so it can't leak to other pages.
   Vars (--ink/--blue/--navy) come from home.css :root, with hex fallbacks. */

.legal-hero {
	position: relative;
	overflow: hidden;
	color: #fff;
	background:
		radial-gradient(120% 90% at 14% 0%, rgba(14, 103, 255, .28), transparent 55%),
		radial-gradient(90% 80% at 90% 12%, rgba(122, 63, 242, .22), transparent 55%),
		linear-gradient(180deg, #05143a 0%, #030d29 100%);
}

.legal-hero-inner {
	width: min(1000px, calc(100% - 40px));
	margin: 0 auto;
	padding: 42px 0 78px;
	text-align: center;
}
.legal-hero .breadcrumb { justify-content: center; margin-bottom: 20px; }
.legal-hero h1 {
	color: #fff;
	font-size: clamp(32px, 5vw, 52px);
	line-height: 1.1;
	font-weight: 800;
	letter-spacing: -.01em;
	margin: 0;
	text-wrap: balance;
}
.legal-updated {
	margin: 16px 0 0;
	color: rgba(255, 255, 255, .6);
	font-size: 14px;
	font-weight: 500;
}

/* ---- content card ---- */
.legal-body-wrap { background: #f4f8ff; padding: 0 20px 84px; }

.legal-content {
	width: min(900px, 100%);
	margin: -44px auto 0;          /* overlap the hero edge for depth */
	position: relative;
	z-index: 2;
	background: #fff;
	border: 1px solid #e6ecfa;
	border-radius: 18px;
	box-shadow: 0 24px 60px rgba(17, 34, 82, .10);
	padding: clamp(28px, 5vw, 56px);
	color: #46506d;
	font-size: 16px;
	line-height: 1.8;
}
.legal-content > *:first-child { margin-top: 0; }
.legal-content > *:last-child { margin-bottom: 0; }

.legal-content h2 {
	color: var(--ink, #061641);
	font-size: clamp(20px, 2.6vw, 25px);
	line-height: 1.3;
	font-weight: 800;
	letter-spacing: -.01em;
	margin: 40px 0 14px;
}
.legal-content h3 {
	color: var(--ink, #061641);
	font-size: 18px;
	font-weight: 700;
	margin: 28px 0 10px;
}
.legal-content p { margin: 0 0 18px; }
.legal-content strong { color: #26304d; font-weight: 700; }
.legal-content a {
	color: var(--blue, #0e67ff);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid rgba(14, 103, 255, .3);
	transition: border-color .2s ease;
}
.legal-content a:hover { border-bottom-color: var(--blue, #0e67ff); }

.legal-content ul, .legal-content ol { margin: 0 0 20px; padding-left: 2px; list-style: none; }
.legal-content li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.legal-content ul li::before {
	content: "";
	position: absolute;
	left: 4px; top: 11px;
	width: 8px; height: 8px;
	border-radius: 50%;
	background: linear-gradient(135deg, #0e67ff, #7a3ff2);
}
.legal-content ol { counter-reset: legal; }
.legal-content ol li { counter-increment: legal; }
.legal-content ol li::before {
	content: counter(legal);
	position: absolute;
	left: 0; top: 1px;
	width: 22px; height: 22px;
	display: grid; place-items: center;
	border-radius: 50%;
	background: rgba(14, 103, 255, .1);
	color: var(--blue, #0e67ff);
	font-size: 12px; font-weight: 800;
}

.legal-content blockquote {
	margin: 0 0 20px;
	padding: 14px 20px;
	border-left: 3px solid var(--blue, #0e67ff);
	background: #f2f6ff;
	border-radius: 0 10px 10px 0;
}
.legal-content hr { border: 0; border-top: 1px solid #e6ecfa; margin: 32px 0; }

@media (max-width: 768px) {
	.legal-hero-inner { padding: 24px 0 60px; }
	.legal-content { margin-top: -36px; border-radius: 14px; }
	.legal-content h2 { margin-top: 32px; }
}
