.legal-page-main {
	background: #f4f7fb;
}

.legal-hero {
	width: 100%;
	padding: 0;
}

.legal-hero > .container {
	width: 100%;
	max-width: none;
}

.legal-hero-card {
	position: relative;
	overflow: hidden;
	min-height: 430px;
	border-radius: 0;
	background:
		radial-gradient(circle at 14% 20%, rgba(199, 154, 60, 0.34), transparent 27%),
		radial-gradient(circle at 88% 85%, rgba(37, 99, 235, 0.34), transparent 33%),
		linear-gradient(145deg, #07111f 0%, #0d2349 58%, #102f68 100%);
	color: #fff;
}

.legal-hero-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-size: 42px 42px;
	pointer-events: none;
}

.legal-hero-card .hero-nav {
	position: relative;
	z-index: 3;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 26px;
	padding: 18px 28px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.legal-hero-card .brand,
.legal-hero-card .menu,
.legal-hero-card .hero-nav-actions {
	display: flex;
	align-items: center;
}

.legal-hero-card .brand img {
	width: 88px;
	height: auto;
}

.legal-hero-card .menu {
	justify-content: center;
	gap: clamp(14px, 2vw, 28px);
}

.legal-hero-card .menu a,
.legal-hero-card .lang-switch-btn {
	color: rgba(255, 255, 255, 0.86);
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
}

.legal-hero-card .lang-switch-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 42px;
	padding: 0 11px;
	border: 1px solid rgba(255, 255, 255, 0.32);
	border-radius: 6px;
}

.legal-hero-card .btn-light {
	min-height: 42px;
	padding: 9px 16px;
	border-color: #c79a3c;
	background: #c79a3c;
	color: #07111f;
	font-size: 13px;
	font-weight: 900;
}

.legal-hero-card .mobile-menu-toggle {
	display: none;
}

.legal-hero-copy {
	position: relative;
	z-index: 2;
	max-width: 800px;
	padding: clamp(64px, 9vw, 112px) clamp(24px, 6vw, 72px) 76px;
}

.legal-eyebrow {
	display: inline-block;
	margin-bottom: 14px;
	color: #e8bd60;
	font-size: 13px;
	font-weight: 900;
}

.legal-hero-copy h1 {
	margin: 0;
	font-size: clamp(38px, 6vw, 72px);
	line-height: 1.12;
}

.legal-hero-copy p {
	max-width: 720px;
	margin: 20px 0 0;
	color: rgba(255, 255, 255, 0.78);
	font-size: clamp(16px, 2vw, 19px);
	line-height: 1.9;
}

.legal-content-section {
	padding: clamp(44px, 7vw, 88px) 0 clamp(64px, 9vw, 112px);
}

.legal-layout {
	display: flex;
	justify-content: center;
}

.legal-document {
	width: min(900px, 100%);
	padding: clamp(26px, 5vw, 58px);
	border: 1px solid #e3e8f0;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 22px 70px rgba(15, 35, 72, 0.08);
}

.legal-updated {
	display: inline-flex;
	margin: 0 0 34px;
	padding: 8px 13px;
	border-radius: 999px;
	background: #f4ead4;
	color: #7b5a16;
	font-size: 13px;
	font-weight: 800;
}

.legal-section + .legal-section {
	margin-top: 36px;
	padding-top: 36px;
	border-top: 1px solid #e8edf4;
}

.legal-section h2 {
	margin: 0 0 14px;
	color: #10274d;
	font-size: clamp(22px, 3vw, 29px);
	line-height: 1.4;
}

.legal-section p {
	margin: 0;
	color: #46566d;
	font-size: 16px;
	line-height: 2;
}

html[dir="ltr"] .legal-hero-copy,
html[dir="ltr"] .legal-document {
	direction: ltr;
	text-align: left;
}

@media (max-width: 980px) {
	.legal-hero-card .hero-nav {
		grid-template-columns: auto 1fr auto;
	}

	.legal-hero-card .mobile-menu-toggle {
		display: grid;
		place-items: center;
		width: 42px;
		height: 42px;
		min-height: 42px;
		padding: 9px;
		border-color: rgba(255, 255, 255, 0.34);
		background: transparent;
	}

	.legal-hero-card .mobile-menu-toggle span {
		display: block;
		width: 21px;
		height: 2px;
		margin: 2px 0;
		background: #fff;
	}

	.legal-hero-card .menu {
		position: absolute;
		top: 78px;
		inset-inline: 18px;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 12px;
		border: 1px solid rgba(255, 255, 255, 0.14);
		border-radius: 8px;
		background: #0a1931;
		box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	}

	.legal-hero-card .hero-nav.menu-open .menu {
		display: flex;
	}

	.legal-hero-card .menu a {
		padding: 10px 12px;
	}
}

@media (max-width: 680px) {
	.legal-hero {
		padding-top: 0;
	}

	.legal-hero > .container {
		width: 100%;
	}

	.legal-hero-card {
		min-height: 390px;
		border-radius: 0;
	}

	.legal-hero-card .hero-nav {
		gap: 10px;
		padding: 14px 16px;
	}

	.legal-hero-card .brand img {
		width: 70px;
	}

	.legal-hero-card .hero-nav-actions .btn-light {
		display: none;
	}

	.legal-hero-copy {
		padding: 70px 22px 58px;
	}

	.legal-document {
		padding: 24px 20px;
	}

	.legal-section + .legal-section {
		margin-top: 28px;
		padding-top: 28px;
	}
}