/* Legal Pages */

.helix-container--legal {
	max-width: min(100%, 1040px);
}

.helix-legal-hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(5.5rem, 10vh, 7rem) clamp(2.25rem, 4vw, 3rem);
	background: #05070a;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.helix-legal-hero__bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.helix-legal-hero__gradient {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0, 200, 255, 0.1) 0%, transparent 68%),
		linear-gradient(180deg, #070b12 0%, #05070a 100%);
}

.helix-legal-hero__texture {
	position: absolute;
	inset: 0;
	opacity: 0.22;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
	background-size: 72px 72px;
}

.helix-legal-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 900px;
}

.helix-legal-hero__accent {
	width: 3.5rem;
	height: 2px;
	margin-bottom: 1.25rem;
	background: linear-gradient(90deg, rgba(0, 200, 255, 0.95) 0%, rgba(0, 200, 255, 0.15) 100%);
	box-shadow: 0 0 18px rgba(0, 200, 255, 0.35);
}

.helix-legal-hero__title {
	margin: 0 0 1rem;
	font-family: var(--helix-font-heading);
	font-size: clamp(1.85rem, 3.6vw, 2.75rem);
	font-weight: 600;
	line-height: 1.12;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--helix-text-primary);
}

.helix-legal-hero__intro {
	margin: 0;
	max-width: 760px;
	font-size: clamp(1rem, 1.5vw, 1.1rem);
	line-height: 1.75;
	color: var(--helix-text-secondary);
}

.helix-legal-content {
	padding-block: clamp(2.25rem, 4vw, 3.5rem);
	background: #05070a;
}

.helix-legal-content__sections {
	display: grid;
	gap: 1rem;
}

.helix-legal-section {
	padding: 1.25rem 1.35rem;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--helix-radius-sm);
	background: linear-gradient(180deg, rgba(11, 17, 24, 0.92) 0%, rgba(5, 7, 10, 0.96) 100%);
}

.helix-legal-section__title {
	margin: 0 0 0.75rem;
	font-family: var(--helix-font-heading);
	font-size: clamp(0.95rem, 1.6vw, 1.05rem);
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--helix-accent-cyan);
}

.helix-legal-section__body {
	margin: 0;
}

.helix-legal-section__body p {
	margin: 0;
	font-size: clamp(0.92rem, 1.35vw, 0.98rem);
	line-height: 1.75;
	color: var(--helix-text-secondary);
}

.helix-legal-cta {
	padding-block: 0 clamp(3rem, 6vw, 4.5rem);
	background: #05070a;
}

.helix-legal-cta__inner {
	padding: 1.35rem 1.5rem;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--helix-radius-sm);
	text-align: center;
	background: rgba(255, 255, 255, 0.02);
}

.helix-legal-cta__title {
	margin: 0 0 0.65rem;
	font-family: var(--helix-font-heading);
	font-size: clamp(1rem, 1.8vw, 1.2rem);
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--helix-text-primary);
}

.helix-legal-cta__text {
	margin: 0 0 1.15rem;
	font-size: 0.92rem;
	line-height: 1.65;
	color: var(--helix-text-muted);
}

.helix-legal-cta__inner .helix-btn {
	min-width: min(100%, 200px);
}

@media (max-width: 768px) {
	.helix-legal-section {
		padding: 1.1rem 1.05rem;
	}

	.helix-legal-cta__inner {
		padding: 1.15rem 1.05rem;
	}
}

@media (max-width: 414px) {
	.helix-legal-hero__title {
		letter-spacing: 0.08em;
	}
}
