.aqb-legal-page {
	position: relative;
	min-height: 100vh;
	padding: 126px 0 72px;
	background:
		radial-gradient(ellipse at 14% 18%, rgba(124, 52, 153, 0.22), transparent 30%),
		radial-gradient(ellipse at 86% 72%, rgba(220, 164, 58, 0.1), transparent 30%),
		linear-gradient(135deg, #07030b, #16071f 58%, #07030b);
}

.aqb-legal-page::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--aqb-star-field);
	background-size: 150px 150px, 220px 220px, 180px 180px, 250px 250px, 280px 280px;
	mix-blend-mode: screen;
	opacity: 0.34;
	pointer-events: none;
}

.aqb-legal-page .aqb-container {
	position: relative;
	z-index: 1;
}

.aqb-legal-page h1 {
	max-width: min(100%, 1040px);
	margin-right: auto;
	margin-left: auto;
	color: var(--aqb-white);
	font-size: clamp(2.5rem, 5vw, 4.55rem);
	text-align: center;
}

.aqb-legal-page__intro {
	max-width: 680px;
	margin: 12px auto 34px;
	color: var(--aqb-muted);
	font-size: 1rem;
	font-weight: 600;
	text-align: center;
}

.aqb-legal-page__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.aqb-retreat-terms-page .aqb-legal-page__grid {
	margin-top: 34px;
}

.aqb-legal-page__admin-notice {
	max-width: 860px;
	margin: 0 auto 24px;
	background: rgba(86, 31, 105, 0.62) !important;
	border-color: rgba(255, 216, 107, 0.38) !important;
}

.aqb-legal-page__version {
	margin: 24px 0 0;
	font-family: var(--aqb-font-accent);
	font-size: 0.72rem !important;
	letter-spacing: 0.08em;
	text-align: center;
	text-transform: uppercase;
}

.aqb-legal-page h1 + .aqb-legal-page__grid {
	margin-top: 34px;
}

.aqb-legal-page article {
	padding: 26px;
	background:
		linear-gradient(180deg, rgba(255, 250, 243, 0.055), rgba(255, 250, 243, 0.025)),
		rgba(16, 7, 23, 0.78);
	border: 1px solid rgba(255, 216, 107, 0.16);
	border-radius: 8px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.aqb-legal-page h2 {
	color: var(--aqb-gold-2);
	font-family: var(--aqb-font-accent);
	font-size: 0.88rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.aqb-legal-page p,
.aqb-legal-page dd {
	color: var(--aqb-muted);
	font-size: 0.93rem;
	font-weight: 600;
	line-height: 1.65;
}

.aqb-legal-page dl {
	display: grid;
	gap: 10px;
	margin: 16px 0 0;
}

.aqb-legal-page dt {
	color: var(--aqb-white);
	font-family: var(--aqb-font-accent);
	font-size: 0.68rem;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.aqb-legal-page dd {
	margin: 2px 0 0;
}

.aqb-legal-page a {
	color: var(--aqb-gold-2);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.aqb-legal-page__links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 22px;
}

.aqb-legal-page__links a {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 10px 15px;
	background: rgba(255, 216, 107, 0.08);
	border: 1px solid rgba(255, 216, 107, 0.22);
	border-radius: 6px;
	color: var(--aqb-white);
	font-family: var(--aqb-font-accent);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
}

@media (max-width: 1060px) {
	.aqb-legal-page__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	.aqb-legal-page {
		padding: 104px 0 52px;
	}

	.aqb-legal-page .aqb-kicker,
	.aqb-legal-page h1,
	.aqb-legal-page__intro {
		margin-right: auto;
		margin-left: auto;
		text-align: center;
	}

	.aqb-legal-page article {
		padding: 22px;
	}
}
