body.legal-body {
	background: #f6f7fb;
	color: #1f2937;
}

.legal-site-header {
	background: linear-gradient(135deg, #9f2f00 0%, #ff8b00 100%);
	border: 0;
	border-radius: 0;
	box-shadow: 0 16px 40px rgba(176, 55, 0, 0.18);
	left: auto;
	margin: 0;
	max-width: none;
	padding: 14px 0;
	position: static;
	top: auto;
	transform: none;
	width: 100%;
}

.legal-site-header.header-scrolled {
	background: linear-gradient(135deg, #9f2f00 0%, #ff8b00 100%);
	padding: 14px 0;
	top: auto;
}

.legal-site-header .navbar {
	padding: 0;
}

.legal-site-header .nav-links {
	align-items: center;
	display: flex;
	gap: 0.5rem;
}

.legal-site-header .nav-links li {
	margin: 0;
}

.legal-site-header .nav-links a {
	border-radius: 8px;
	color: rgba(255, 255, 255, 0.92);
	font-weight: 700;
	padding: 0.65rem 0.9rem;
}

.legal-site-header .nav-links a:hover,
.legal-site-header .nav-links a.active {
	background: rgba(255, 255, 255, 0.16);
	color: #ffffff;
}

.legal-site-header .logo img {
	filter: none;
	height: 42px;
}

.legal-page {
	padding: 56px 0 80px;
}

.legal-shell {
	margin: 0 auto;
	max-width: 980px;
}

.legal-header {
	margin-bottom: 2rem;
}

.legal-header a {
	color: var(--primary);
	font-weight: 700;
	text-decoration: none;
}

.legal-header h1 {
	color: #203247;
	font-size: clamp(2rem, 5vw, 3rem);
	line-height: 1.12;
	margin: 1rem 0;
}

.legal-header p {
	color: #4b5563;
	max-width: 680px;
}

.legal-card,
.terms-card {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	border-top: 4px solid var(--primary);
	box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
	padding: 2rem;
}

.legal-card h2,
.terms-list h2 {
	color: #203247;
}

.legal-card h2 {
	margin-bottom: 0.75rem;
}

.legal-list,
.terms-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.legal-list li {
	border-bottom: 1px solid #e5e7eb;
	display: grid;
	gap: 1rem;
	grid-template-columns: 240px 1fr;
	padding: 1rem 0;
}

.legal-list li:last-child,
.terms-list li:last-child {
	border-bottom: 0;
}

.legal-label {
	color: #64748b;
	font-weight: 800;
}

.legal-value {
	color: #172033;
}

.terms-list {
	display: grid;
	gap: 1.25rem;
}

.terms-list li {
	border-bottom: 1px solid #e5e7eb;
	padding-bottom: 1.25rem;
}

.terms-list li:last-child {
	padding-bottom: 0;
}

.terms-list h2 {
	font-size: 1.25rem;
	margin-bottom: 0.5rem;
}

.terms-list p {
	color: #334155;
}

.footer-legal-details {
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.9rem;
	line-height: 1.6;
	margin-top: 1rem;
}

.footer-legal-details strong {
	color: #ffffff;
}

@media (max-width: 992px) {
	.legal-site-header {
		border-radius: 0 0 16px 16px;
		padding: 10px 0;
	}

	.legal-site-header .navbar {
		padding: 0 4px;
	}

	.legal-site-header .logo img {
		height: 32px;
	}

	.legal-site-header .nav-links {
		align-items: center;
		background: linear-gradient(135deg, #9f2f00 0%, #ff8b00 100%);
		bottom: 0;
		display: none;
		flex-direction: column;
		height: 100vh;
		justify-content: center;
		left: 0;
		opacity: 0;
		padding: 2rem;
		pointer-events: none;
		position: fixed;
		right: 0;
		text-align: center;
		top: 0;
		transform: translateY(-20px);
		transition: all 0.3s ease;
		visibility: hidden;
		width: 100vw;
		z-index: 9999;
	}

	.legal-site-header .nav-links.show {
		display: flex;
		opacity: 1;
		pointer-events: auto;
		transform: translateY(0);
		visibility: visible;
	}

	.legal-site-header .nav-links li {
		list-style: none;
		margin: 0.75rem 0;
		max-width: 280px;
		width: 100%;
	}

	.legal-site-header .nav-links a {
		background: rgba(255, 255, 255, 0.1);
		border: 2px solid rgba(255, 255, 255, 0.2);
		border-radius: 12px;
		color: #ffffff;
		display: block;
		font-size: 1.1rem;
		font-weight: 700;
		line-height: 1.4;
		min-height: 48px;
		padding: 1rem 1.5rem;
		text-align: center;
		text-decoration: none;
		width: 100%;
	}

	.legal-site-header .mobile-menu-close {
		align-items: center;
		background: rgba(255, 255, 255, 0.15);
		border: 2px solid rgba(255, 255, 255, 0.3);
		border-radius: 50%;
		color: #ffffff;
		cursor: pointer;
		display: flex;
		font-size: 1.4rem;
		height: 48px;
		justify-content: center;
		position: absolute;
		right: 2rem;
		top: 2rem;
		width: 48px;
		z-index: 10000;
	}

	.legal-site-header .menu-toggle {
		display: block;
	}

	.legal-page {
		padding: 32px 0 56px;
	}
}

@media (max-width: 700px) {
	.legal-header {
		margin-bottom: 1.5rem;
	}

	.legal-header h1 {
		font-size: 2rem;
	}

	.legal-card,
	.terms-card {
		padding: 1.25rem;
	}

	.legal-list li {
		gap: 0.35rem;
		grid-template-columns: 1fr;
	}
}
