/**
 * Branded 404 page.
 *
 * @package ALW
 * @since   1.0.0
 */

.alw-not-found {
	margin: 0;
	padding: 0;
}

.alw-not-found__hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	min-height: clamp(520px, 72svh, 760px);
	padding: calc(var(--alw-header-stack-height) + 48px) 0 80px;
	background-image: var(--alw-gradient-hero);
	color: var(--alw-white);
}

.alw-not-found__glow {
	position: absolute;
	border-radius: 9999px;
	pointer-events: none;
	filter: blur(48px);
}

.alw-not-found__glow--teal {
	top: -10%;
	inset-inline-end: -8%;
	width: min(420px, 55vw);
	height: min(420px, 55vw);
	background: var(--alw-hero-glow-teal);
}

.alw-not-found__glow--gold {
	bottom: -18%;
	inset-inline-start: -10%;
	width: min(380px, 50vw);
	height: min(380px, 50vw);
	background: var(--alw-hero-glow-gold);
}

.alw-not-found__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 720px;
	margin-inline: auto;
	text-align: center;
}

.alw-not-found__eyebrow {
	margin: 0 0 16px;
	font-family: var(--alw-font-sans);
	font-size: var(--alw-font-size-eyebrow-lg);
	font-weight: var(--alw-font-weight-eyebrow);
	letter-spacing: var(--alw-letter-spacing-eyebrow);
	text-transform: uppercase;
	color: var(--alw-gold);
}

.alw-not-found__code {
	margin: 0 0 8px;
	font-family: var(--alw-font-heading);
	font-size: clamp(72px, 16vw, 140px);
	font-weight: 700;
	line-height: 0.9;
	letter-spacing: -0.04em;
	background: var(--alw-gradient-gold);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.alw-not-found__title {
	margin: 0 0 16px;
	font-family: var(--alw-font-heading);
	font-size: clamp(28px, 5vw, 44px);
	font-weight: var(--alw-font-weight-heading);
	line-height: 1.15;
	letter-spacing: var(--alw-letter-spacing-heading);
	color: var(--alw-white);
}

.alw-not-found__body {
	margin: 0 0 32px;
	max-width: 38rem;
	font-family: var(--alw-font-sans);
	font-size: clamp(15px, 2.2vw, 18px);
	line-height: 1.65;
	color: var(--alw-primary-foreground-85);
}

.alw-not-found__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
}

.alw-not-found__actions .alw-btn__icon {
	display: inline-flex;
	align-items: center;
}

body.alw-lang-ar .alw-not-found__eyebrow,
body.alw-rtl .alw-not-found__eyebrow {
	letter-spacing: 0.08em;
	text-transform: none;
	font-family: var(--alw-font-sans-ar);
}

body.alw-lang-ar .alw-not-found__title,
body.alw-lang-ar .alw-not-found__body,
body.alw-rtl .alw-not-found__title,
body.alw-rtl .alw-not-found__body {
	font-family: var(--alw-font-sans-ar);
}

@media (max-width: 767px) {
	.alw-not-found__hero {
		padding: calc(var(--alw-header-stack-height) + 32px) 0 64px;
		min-height: clamp(460px, 70svh, 640px);
	}
}
