.cored-page-preloader {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 1.5rem;
	background:
		radial-gradient(ellipse 80% 60% at 50% 40%, rgba(212, 225, 252, 0.9) 0%, transparent 70%),
		linear-gradient(160deg, #f8fafc 0%, #e8eef8 45%, #d4e1fc 100%);
	opacity: 1;
	visibility: visible;
	transition: opacity 0.45s ease, visibility 0.45s ease;
	pointer-events: all;
}

.cored-page-preloader.is-hidden {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.cored-page-preloader__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1.15rem;
	text-align: center;
}

.cored-page-preloader__logo {
	display: block;
	width: auto;
	max-width: min(12rem, 55vw);
	height: auto;
	max-height: 4.5rem;
	object-fit: contain;
}

.cored-page-preloader__brand {
	font-size: clamp(1.15rem, 2.5vw, 1.5rem);
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.3;
	color: #1e3a5f;
}

.cored-page-preloader__spinner {
	width: 2.5rem;
	height: 2.5rem;
	border: 3px solid rgba(30, 58, 95, 0.12);
	border-top-color: #f6761a;
	border-radius: 50%;
	animation: cored-page-preloader-spin 0.75s linear infinite;
}

.cored-page-preloader__text {
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.4;
	color: #5b6b7c;
}

html:has(.cored-page-preloader:not(.is-hidden)),
html:has(.cored-page-preloader:not(.is-hidden)) body {
	overflow: hidden;
}

@keyframes cored-page-preloader-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.cored-page-preloader {
		transition-duration: 0.01ms;
	}

	.cored-page-preloader__spinner {
		animation: none;
		border-top-color: #f6761a;
		opacity: 0.85;
	}
}
