/*
 * The coming soon page (Coming Soon by MW3.biz). The colours and fonts are the site's own, set on
 * :root by the plugin (--mw3cs-background, --mw3cs-text, --mw3cs-title, --mw3cs-title-font,
 * --mw3cs-text-font). The site's stylesheets load before this one (for its fonts), so every rule here
 * names the page's own classes under body.mw3cs, which none of the site's rules match.
 */

html {
	margin: 0 !important;
	padding: 0;
	background: var(--mw3cs-background);
}

body.mw3cs {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100svh;
	margin: 0;
	padding: 0;
	background: var(--mw3cs-background);
	color: var(--mw3cs-text);
	font-family: var(--mw3cs-text-font);
	font-size: 15px;
	line-height: 1.8;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

body.mw3cs *,
body.mw3cs *::before,
body.mw3cs *::after {
	box-sizing: inherit;
}

body.mw3cs .mw3cs__main {
	display: flex;
	flex: 1 0 auto;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: clamp(56px, 12vh, 140px) 24px clamp(40px, 8vh, 96px);
	text-align: center;
}

body.mw3cs .mw3cs__logo {
	width: min(280px, 62vw);
	margin: 0 auto;
	color: var(--mw3cs-title);
	line-height: 0;
}

body.mw3cs .mw3cs__logo svg,
body.mw3cs .mw3cs__logo img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 auto;
}

body.mw3cs .mw3cs__logo .mw3cs__logo-img--icon {
	width: min(120px, 32vw);
}

body.mw3cs .mw3cs__name {
	display: block;
	margin-top: 18px;
	font-family: var(--mw3cs-title-font);
	font-size: clamp(26px, 4vw, 36px);
	font-weight: 400;
	letter-spacing: 0.06em;
	line-height: 1.2;
}

body.mw3cs .mw3cs__rule {
	display: block;
	width: 48px;
	height: 1px;
	margin: clamp(40px, 7vh, 64px) auto clamp(30px, 5vh, 44px);
	background: var(--mw3cs-title);
	opacity: 0.35;
}

body.mw3cs .mw3cs__title {
	margin: 0;
	padding: 0;
	color: var(--mw3cs-title);
	font-family: var(--mw3cs-title-font);
	font-size: clamp(22px, 3vw, 30px);
	font-style: normal;
	font-weight: 400;
	letter-spacing: 0.16em;
	line-height: 1.25;
	text-transform: uppercase;
}

body.mw3cs .mw3cs__second {
	margin: 16px 0 0;
	color: var(--mw3cs-text);
	font-family: var(--mw3cs-text-font);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.32em;
	line-height: 1.6;
	text-transform: uppercase;
	opacity: 0.8;
}

body.mw3cs .mw3cs__message {
	max-width: 460px;
	margin: 30px auto 0;
	font-size: 15px;
	line-height: 1.9;
}

body.mw3cs .mw3cs__foot {
	flex-shrink: 0;
	padding: 0 24px clamp(28px, 5vh, 44px);
	text-align: center;
}

body.mw3cs .mw3cs__links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0 18px;
	margin: 0 0 14px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.24em;
	text-transform: uppercase;
}

body.mw3cs .mw3cs__links a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: inherit;
	text-decoration: none;
	transition: opacity 0.3s ease;
}

body.mw3cs .mw3cs__links a:hover,
body.mw3cs .mw3cs__links a:focus-visible {
	opacity: 0.65;
}

body.mw3cs .mw3cs__links a:focus-visible {
	outline: 1px solid currentColor;
	outline-offset: 4px;
}

body.mw3cs .mw3cs__dot {
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: currentColor;
	opacity: 0.5;
}

body.mw3cs .mw3cs__copy {
	margin: 0;
	font-size: 12px;
	letter-spacing: 0.08em;
	opacity: 0.7;
}

@media (prefers-reduced-motion: no-preference) {
	body.mw3cs .mw3cs__main > * {
		animation: mw3cs-in 1.4s cubic-bezier(0.22, 1, 0.36, 1) both;
	}

	body.mw3cs .mw3cs__main > :nth-child(2) {
		animation-delay: 0.25s;
	}

	body.mw3cs .mw3cs__main > :nth-child(n+3) {
		animation-delay: 0.45s;
	}

	body.mw3cs .mw3cs__foot {
		animation: mw3cs-in 1.4s 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
	}
}

/* No "to": each part ends at its own opacity (the rule's 0.35, the second line's 0.8). */
@keyframes mw3cs-in {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
}
