* {
	box-sizing: border-box;
}

html,
body {
	min-height: 100%;
	margin: 0;
	background: #fff;
}

body.site-gate-page {
	min-height: 100vh;
	min-height: 100svh;
	color: #282828;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	-webkit-font-smoothing: antialiased;
}

.site-gate-root {
	position: relative;
	width: 100%;
	height: 100vh;
	height: 100svh;
	overflow: hidden;
	background: #fff;
	opacity: 1;
	transition: opacity 160ms ease;
}

html.js .site-gate-root:not(.is-visible) {
	opacity: 0;
}

.site-gate-root.is-exiting {
	opacity: 0;
}

.site-gate-submit-loader {
	position: fixed;
	z-index: 2147483647;
	inset: 0;
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	background: #fff;
	opacity: 0;
	visibility: hidden;
	transition: opacity 80ms ease, visibility 80ms ease;
}

.site-gate-submit-loader.is-visible {
	opacity: 1;
	visibility: visible;
}

.site-gate-submit-loader .site-gate-home-loader__animation {
	position: relative;
	width: min(320px, 72vw);
	aspect-ratio: 4 / 1;
}

.site-gate-submit-loader .site-gate-home-loader__animation::before,
.site-gate-submit-loader .site-gate-home-loader__animation::after {
	position: absolute;
	top: calc(50% - 5px);
	left: 0;
	height: 10px;
	border-radius: 999px;
	content: "";
}

.site-gate-submit-loader .site-gate-home-loader__animation::before {
	width: 100%;
	background: #d1d1d1;
}

.site-gate-submit-loader .site-gate-home-loader__animation::after {
	width: 30%;
	background: #111;
	animation: site-gate-progress 1s ease-in-out infinite alternate;
}

.site-gate-submit-loader .site-gate-home-loader__animation.is-lottie-ready::before,
.site-gate-submit-loader .site-gate-home-loader__animation.is-lottie-ready::after {
	display: none;
}

@keyframes site-gate-progress {
	from { transform: translateX(0); }
	to { transform: translateX(235%); }
}

.site-gate-controls {
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 50%;
	width: min(320px, calc(100% - 48px));
	transform: translate(-50%, -50%);
}

.site-gate-label {
	position: absolute;
	bottom: calc(100% + 10px);
	left: 0;
	margin: 0;
	color: #303030;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
}

.site-gate-field {
	display: flex;
	align-items: center;
	width: 100%;
	height: 50px;
	border: 1px solid #c8c8c8;
	border-radius: 999px;
	background: #e6e6e6;
	transition: border-color 160ms ease, background-color 160ms ease;
}

.site-gate-field:focus-within {
	border-color: #a7a7a7;
	background: #ededed;
}

.site-gate-input {
	flex: 1 1 auto;
	width: 0;
	min-width: 0;
	height: 100%;
	padding: 0 15px;
	border: 0;
	outline: 0;
	background: transparent;
	color: #282828;
	font: inherit;
	font-size: 16px;
	letter-spacing: 0.12em;
}

.site-gate-submit {
	display: grid;
	flex: 0 0 48px;
	place-items: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #2d2d2d;
	cursor: pointer;
	transition: transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1), color 180ms ease;
}

.site-gate-submit svg {
	display: block;
}

.site-gate-submit:hover {
	transform: scale(1.1);
}

.site-gate-submit:active {
	transform: scale(0.96);
}

.site-gate-submit:focus-visible,
.site-gate-input:focus-visible {
	outline: 2px solid #555;
	outline-offset: 2px;
}

.site-gate-submit:disabled {
	opacity: 0.55;
	cursor: wait;
}

.site-gate-error {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	width: 100%;
	min-height: 18px;
	margin: 0;
	color: #a32929;
	font-size: 12px;
	line-height: 18px;
}

.site-gate-field.is-shaking {
	animation: site-gate-shake 420ms cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes site-gate-shake {
	10%, 90% { transform: translateX(-2px); }
	20%, 80% { transform: translateX(4px); }
	30%, 50%, 70% { transform: translateX(-7px); }
	40%, 60% { transform: translateX(7px); }
}

@media (min-width: 768px) {
	.site-gate-controls {
		width: 340px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.site-gate-root,
	.site-gate-submit-loader,
	.site-gate-field,
	.site-gate-submit {
		transition-duration: 0.01ms;
	}

	.site-gate-field.is-shaking {
		animation: none;
	}

	.site-gate-submit-loader .site-gate-home-loader__animation::after {
		animation: none;
	}
}
