/* ==========================================================
   Legal Pages (Privacy Policy, Terms) — legal.css
   ========================================================== */

/* ----------------------------------------------------------
   HERO
   ---------------------------------------------------------- */
.legal-hero {
	position: relative;
	background: linear-gradient(135deg, #011530 0%, var(--color-navy) 55%, #01284e 100%);
	padding: 5rem 0 4rem;
	overflow: hidden;
}

.legal-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 52px 52px;
	-webkit-mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, black 10%, transparent 72%);
	mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, black 10%, transparent 72%);
	pointer-events: none;
}

.legal-hero__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.legal-hero__eyebrow {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--color-teal);
}

.legal-hero__h1 {
	font-family: var(--font-heading);
	font-size: clamp(2.5rem, 6vw, 5.5rem);
	line-height: 1.04;
	color: var(--color-white);
	letter-spacing: 0.02em;
	text-transform: uppercase;
	margin: 0;
}

.legal-hero__date {
	font-size: 1rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.45);
	margin: 0;
}

/* ----------------------------------------------------------
   CONTENT BODY
   ---------------------------------------------------------- */
.legal-body {
	padding: 5rem 0 7rem;
	background: var(--color-white);
}

.legal-body__inner {
	max-width: 860px;
}

/* Intro paragraph */
.legal-intro {
	font-size: 1.1875rem;
	font-weight: 500;
	color: #3d5166;
	line-height: 1.8;
	margin-bottom: 3rem;
	padding-bottom: 2.5rem;
	border-bottom: 1px solid rgba(1, 33, 65, 0.1);
}

/* Section */
.legal-section {
	margin-bottom: 2.75rem;
}

.legal-section:last-child {
	margin-bottom: 0;
}

.legal-section__h2 {
	font-family: var(--font-heading);
	font-size: clamp(1.375rem, 2vw, 1.75rem);
	color: var(--color-navy);
	margin: 0 0 1rem;
	letter-spacing: 0.02em;
	padding-bottom: 0.625rem;
	border-bottom: 2px solid var(--color-teal);
	display: inline-block;
}

.legal-section p {
	font-size: 1.0625rem;
	font-weight: 500;
	color: #3d5166;
	line-height: 1.8;
	margin-bottom: 1rem;
}

.legal-section p:last-child {
	margin-bottom: 0;
}

.legal-section ul,
.legal-section ol {
	list-style: none;
	margin: 0.75rem 0 1rem;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
}

.legal-section ul li,
.legal-section ol li {
	font-size: 1.0625rem;
	font-weight: 500;
	color: #3d5166;
	line-height: 1.75;
	padding-left: 1.5rem;
	position: relative;
}

.legal-section ul li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--color-teal);
}

.legal-section ol {
	counter-reset: legal-ol;
}

.legal-section ol li {
	counter-increment: legal-ol;
}

.legal-section ol li::before {
	content: counter(legal-ol) ".";
	position: absolute;
	left: 0;
	top: 0;
	font-weight: 700;
	color: var(--color-teal);
	font-size: 0.9375rem;
}

.legal-section strong {
	font-weight: 700;
	color: var(--color-navy);
}

/* Contact block inside a section */
.legal-contact-block {
	background: #F2F6FB;
	border-radius: 12px;
	padding: 1.75rem 2rem;
	border-left: 3px solid var(--color-teal);
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-top: 1rem;
}

.legal-contact-block p {
	margin: 0;
	font-size: 1.0625rem;
}

.legal-contact-block a {
	color: var(--color-teal);
	font-weight: 600;
}

.legal-contact-block a:hover {
	color: var(--color-navy);
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 900px) {
	.legal-hero { padding: 4rem 0 3rem; }
	.legal-body  { padding: 4rem 0 5rem; }
}

@media (max-width: 680px) {
	.legal-hero { padding: 3rem 0 2.5rem; }
	.legal-body  { padding: 3rem 0 4rem; }
	.legal-intro { margin-bottom: 2rem; padding-bottom: 1.75rem; }
	.legal-section { margin-bottom: 2rem; }
}
