/* Athena CredXpert — New Legal pages */

/* ========== Page Background ========== */
.acx-new-legal,
.acx-new-legal .nl-page-head,
.acx-new-legal .nl-body {
	background: var(--bg-2) !important;
}

/* ========== Global Settings ========== */
.acx-new-legal {
	overflow-x: hidden;
}

/* ========== Reveal ========== */
.acx-new-legal [data-nl-reveal] {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1);
}

.acx-new-legal [data-nl-reveal].is-visible {
	opacity: 1;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	.acx-new-legal [data-nl-reveal] {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* ========== Page Head ========== */
/* Compact section heading in the site pattern (About / Careers section
   titles, site h2 scale) — not a hero. Left-aligned in the same
   --maxw container as the body cards so the heading, lead and cards
   share one left edge. */
.acx-new-legal .nl-page-head {
	position: relative;
	padding: 40px 0 0;
}

.acx-new-legal .nl-page-head .wrap {
	position: relative;
	z-index: 1;
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 0 24px;
}

.acx-new-legal .nl-page-head__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
	gap: 12px;
	width: 100%;
}

.acx-new-legal .nl-page-head__updated {
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--amber);
}

.acx-new-legal .nl-page-head__title {
	margin: 0;
	max-width: 100%;
	font-size: clamp(28px, 3.2vw, 36px);
	line-height: 1.15;
	letter-spacing: -.025em;
	font-weight: 800;
	color: var(--navy);
	position: relative;
	padding-bottom: 12px;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.acx-new-legal .nl-page-head__title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 44px;
	height: 3px;
	border-radius: 2px;
	background: var(--amber);
}

/* Heading is totally white, including the accent span (site pattern). */
.acx-new-legal .nl-page-head__title,
.acx-new-legal .nl-page-head__title span {
	color: #fff;
}

.acx-new-legal .nl-page-head__lead {
	margin: 0;
	max-width: min(100%, 78ch);
	width: 100%;
	font-size: 16px;
	line-height: 1.65;
	color: var(--ink-2);
	overflow-wrap: anywhere;
}

.acx-new-legal.acx-new-terms .nl-page-head__lead,
.acx-new-legal.acx-new-privacy-policy .nl-page-head__lead,
.acx-new-legal.acx-new-refunds .nl-page-head__lead {
	max-width: 100%;
}

/* ========== Body ========== */
.acx-new-legal .nl-body {
	padding: 24px 0 80px;
	width: 100%;
	box-sizing: border-box;
}

.acx-new-legal .nl-body__inner {
	max-width: var(--maxw, 1180px);
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	width: 100%;
	box-sizing: border-box;
}

.acx-new-legal .nl-card {
	padding: 22px 24px;
	border-radius: 14px;
	border: 1px solid var(--line);
	background: var(--card);
	box-shadow: 0 14px 28px -18px rgba(0, 0, 0, .5);
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	min-width: 0;
}

.acx-new-legal .nl-card__title {
	margin: 0 0 12px;
	font-size: clamp(17px, 2.2vw, 22px);
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.25;
	color: var(--navy);
	position: relative;
	padding-bottom: 12px;
	overflow-wrap: anywhere;
}

.acx-new-legal .nl-card__title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 36px;
	height: 3px;
	border-radius: 2px;
	background: var(--amber);
}

.acx-new-legal .nl-card__text {
	margin: 0 0 10px;
	font-size: 15.5px;
	line-height: 1.65;
	color: var(--ink-2);
	overflow-wrap: anywhere;
}

.acx-new-legal .nl-card__text:last-child {
	margin-bottom: 0;
}

.acx-new-legal .nl-card__list {
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.acx-new-legal .nl-card__list li {
	position: relative;
	padding-left: 18px;
	font-size: 15px;
	line-height: 1.55;
	color: var(--ink-2);
	overflow-wrap: anywhere;
}

.acx-new-legal .nl-card__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .55em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--amber);
}

.acx-new-legal .nl-card__list strong {
	color: var(--navy);
	font-weight: 700;
}

.acx-new-legal .nl-card__link {
	color: var(--amber);
	text-decoration: underline;
	text-underline-offset: 2px;
	word-break: break-word;
}

.acx-new-legal .nl-card__link:hover {
	color: var(--amber-2);
}

.acx-new-legal .nl-card--contact {
	background: linear-gradient(145deg, var(--card) 0%, rgba(252, 163, 17, .08) 100%);
}

.acx-new-legal .nl-card__contact {
	margin: 14px 0 0;
}

.acx-new-legal .nl-card__mail {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	max-width: 100%;
	padding: 10px 14px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: rgba(255, 255, 255, .04);
	color: var(--amber);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	transition: border-color .15s ease, background .15s ease;
	box-sizing: border-box;
}

.acx-new-legal .nl-card__mail span {
	overflow-wrap: anywhere;
	word-break: break-word;
}

.acx-new-legal .nl-card__mail:hover,
.acx-new-legal .nl-card__mail:focus-visible {
	border-color: var(--amber);
	background: var(--amber-soft);
}

.acx-new-legal .nl-card__mail svg {
	flex: none;
}

/* ========== Responsive — Tablet ========== */
@media (max-width: 991.98px) {
	.acx-new-legal .nl-page-head .wrap,
	.acx-new-legal .nl-body__inner {
		padding-left: 20px;
		padding-right: 20px;
	}

	.acx-new-legal .nl-page-head__lead {
		max-width: 100%;
	}

	.acx-new-legal .nl-body {
		padding: 20px 0 64px;
	}

	.acx-new-legal .nl-card {
		padding: 20px;
	}
}

/* ========== Responsive — Phone / Large Phone ========== */
@media (max-width: 767.98px) {
	.acx-new-legal .nl-page-head {
		padding-top: 32px;
	}

	.acx-new-legal .nl-page-head .wrap,
	.acx-new-legal .nl-body__inner {
		padding-left: 16px;
		padding-right: 16px;
	}

	.acx-new-legal .nl-page-head__copy {
		gap: 10px;
	}

	.acx-new-legal .nl-page-head__updated {
		font-size: 12px;
		letter-spacing: .05em;
	}

	.acx-new-legal .nl-page-head__title {
		font-size: clamp(24px, 6vw, 28px);
	}

	.acx-new-legal .nl-page-head__title::after {
		width: 36px;
	}

	.acx-new-legal .nl-page-head__lead {
		font-size: 15px;
		line-height: 1.6;
	}

	.acx-new-legal .nl-body {
		padding: 20px 0 52px;
	}

	.acx-new-legal .nl-body__inner {
		gap: 12px;
	}

	.acx-new-legal .nl-card {
		padding: 16px 14px;
		border-radius: 12px;
	}

	.acx-new-legal .nl-card__title {
		font-size: clamp(16px, 4.5vw, 19px);
		margin-bottom: 10px;
		padding-bottom: 10px;
	}

	.acx-new-legal .nl-card__title::after {
		width: 28px;
		height: 2px;
	}

	.acx-new-legal .nl-card__text {
		font-size: 14.5px;
		line-height: 1.6;
	}

	.acx-new-legal .nl-card__list {
		gap: 8px;
	}

	.acx-new-legal .nl-card__list li {
		font-size: 14px;
		padding-left: 16px;
	}

	.acx-new-legal .nl-card__mail {
		width: 100%;
		justify-content: center;
		padding: 12px 14px;
		font-size: 13px;
	}
}

/* ========== Responsive — Small Phone ========== */
@media (max-width: 479.98px) {
	.acx-new-legal .nl-page-head {
		padding-top: 28px;
	}

	.acx-new-legal .nl-page-head .wrap,
	.acx-new-legal .nl-body__inner {
		padding-left: 14px;
		padding-right: 14px;
	}

	.acx-new-legal .nl-page-head__lead {
		font-size: 14.5px;
	}

	.acx-new-legal .nl-body {
		padding: 16px 0 44px;
	}

	.acx-new-legal .nl-card {
		padding: 14px 12px;
		border-radius: 10px;
	}

	.acx-new-legal .nl-card__text,
	.acx-new-legal .nl-card__list li {
		font-size: 14px;
	}
}

/* ========== Responsive — Desktop+ ========== */
@media (min-width: 992px) {
	.acx-new-legal .nl-body {
		padding: 28px 0 96px;
	}

	.acx-new-legal .nl-body__inner {
		gap: 16px;
	}

	.acx-new-legal .nl-card {
		padding: 24px 28px;
	}
}

@media (min-width: 1200px) {
	.acx-new-legal .nl-page-head .wrap,
	.acx-new-legal .nl-body__inner {
		padding-left: 24px;
		padding-right: 24px;
	}
}
