.clean-body .error404 {
	min-height: 100vh;
}

.error404 {
	--error404-cyan: #4dc6e1;
	--error404-ink: #2b2d38;
	--error404-bg: #f4f8fb;
	position: relative;
	overflow: hidden;
	min-height: calc(100vh - 88px);
	background: var(--error404-bg);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px 20px 72px;
}

.error404__sprite {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

.error404__deco {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

.error404__mark {
	position: absolute;
	color: var(--error404-cyan);
	transform: translate(-50%, -50%) rotate(var(--r, 0deg));
	line-height: 0;
}

.error404__mark svg {
	display: block;
	width: 100%;
	height: 100%;
}

.error404__mark--quad,
.error404__mark--plus {
	height: auto;
	aspect-ratio: 1;
}

.error404__mark--side {
	aspect-ratio: 72 / 28;
}

.error404__mark--pin {
	aspect-ratio: 24 / 32;
}

.error404__content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	max-width: 920px;
	width: 100%;
}

.error404__hero {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(2px, 0.8vw, 10px);
	user-select: none;
}

.error404__digit {
	margin: 0;
	font-family: 'Poppins', 'Roboto', sans-serif;
	font-weight: 600;
	font-size: clamp(92px, 22vw, 248px);
	line-height: 0.85;
	letter-spacing: -0.04em;
	color: var(--error404-cyan);
}

.error404__zero {
	position: relative;
	width: clamp(108px, 24vw, 268px);
	height: clamp(108px, 24vw, 268px);
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.error404__halo {
	position: absolute;
	inset: 4%;
	border-radius: 50%;
	background: rgba(77, 198, 225, 0.16);
}

.error404__drone {
	position: relative;
	z-index: 1;
	width: 88%;
	height: 88%;
	color: var(--error404-cyan);
}

.error404__drone svg {
	display: block;
	width: 100%;
	height: 100%;
}

.error404__caption {
	margin: clamp(28px, 4vw, 48px) 0 0;
	font-family: 'Roboto', 'Poppins', sans-serif;
	font-size: clamp(16px, 2.15vw, 28px);
	font-weight: 600;
	line-height: 1.35;
	color: var(--error404-ink);
}

.error404__code {
	margin: 16px 0 0;
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	line-height: 1.5;
	font-weight: 400;
	color: #888887;
}

.error404__code strong {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-weight: 700;
	color: var(--error404-ink);
	letter-spacing: 0.04em;
}

.error404__details {
	margin-top: 28px;
	width: 100%;
	max-width: 560px;
	text-align: left;
	background: #fff;
	border-radius: 16px;
	padding: 16px 18px;
	box-shadow: 0 10px 28px rgba(180, 215, 235, 0.45);
}

.error404__details-label {
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	color: var(--error404-ink);
}

.error404__details pre {
	margin: 10px 0 0;
	white-space: pre-wrap;
	word-break: break-word;
	font-size: 12px;
	line-height: 1.45;
	color: #3d3d3d;
}

.error404__home {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: clamp(24px, 3.4vw, 40px);
	padding: 12px 30px 12px 18px;
	min-height: 52px;
	width: auto !important;
	height: auto !important;
	border-radius: 999px;
	background: var(--error404-cyan);
	color: #fff !important;
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none !important;
	box-shadow: 0 14px 35px #b4d7eb;
	transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.error404__home:hover,
.error404__home:focus {
	background: #3aaee6;
	box-shadow: none;
	color: #fff !important;
}

.error404__radio {
	width: 30px;
	height: 30px;
	flex-shrink: 0;
	color: #fff;
}

.error404__radio svg {
	display: block;
	width: 100%;
	height: 100%;
}

@media only screen and (max-width: 767px) {
	.error404 {
		min-height: calc(100vh - 64px);
		padding: 36px 16px 56px;
	}

	.error404__caption {
		max-width: 22em;
	}

	.error404__home {
		width: 100% !important;
		max-width: 280px;
	}
}
