/* Standalone homepage subscribe styles. Not compiled by gulp. */
@keyframes fmmOnAutoFill {
	from { opacity: 1; }
	to { opacity: 1; }
}
.subscribe-block {
	padding: 8px 16px 32px;
	position: relative;
	scroll-margin-top: 80px;
}
.subscribe-block__card {
	background: #1685ff;
	border-radius: 16px;
	padding: 24px 20px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.subscribe-block__copy h2 {
	margin: 0 0 8px;
	color: #fff;
	font-size: 24px;
	line-height: 28px;
	text-align: center;
}
.subscribe-block__copy p {
	margin: 0;
	color: #fff;
	font-size: 15px;
	line-height: 22px;
	font-weight: 400;
	text-align: center;
}
.subscribe-block__action {
	width: 100%;
}
.subscribe-block__form {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
}
.subscribe-block__input {
	width: 100%;
	height: 46px;
	border: none;
	border-radius: 50px;
	padding: 0 20px;
	font-family: Figtree, sans-serif;
	font-size: 16px;
	font-weight: 500;
	color: #192330;
	box-sizing: border-box;
}
.subscribe-block__input::placeholder {
	color: #8793a0;
}
.subscribe-block__input:focus {
	outline: 2px solid #fff;
	outline-offset: 2px;
}
.subscribe-block__input:-webkit-autofill {
	animation-name: fmmOnAutoFill;
}
.subscribe-block__btn {
	height: 46px;
	width: 100%;
	border: none;
	border-radius: 50px;
	padding: 0 24px;
	background: #fff;
	color: #1371ff;
	font-family: Figtree, sans-serif;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.2s ease-in-out, color 0.2s ease-in-out;
}
.subscribe-block__btn:hover,
.subscribe-block__btn:focus {
	background: #f4f8ff;
	color: #1685ff;
}
.subscribe-block__btn:disabled,
.subscribe-block__btn.is-disabled {
	opacity: 0.5;
	cursor: not-allowed;
	background: #fff;
	color: #1371ff;
}
.subscribe-block__btn.is-sending:disabled {
	opacity: 0.85;
	cursor: progress;
}
.subscribe-block__message {
	margin: 8px 0 0;
	min-height: 22px;
	font-size: 14px;
	line-height: 20px;
	color: #fff;
	font-weight: 500;
	text-align: center;
}
.subscribe-block__message.is-error {
	color: #ffe8e8;
}
.subscribe-block__honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

html {
	scroll-behavior: smooth;
}

.first-screen__text-block {
	min-height: 380px;
	height: auto;
	padding: 40px 16px 32px;
	justify-items: center;
}

.first-screen__cta {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin: 16px auto 0;
	width: 100%;
	max-width: 280px;
	position: relative;
	z-index: 2;
}

.first-screen__join {
	margin: 0;
	width: 100%;
	max-width: 186px;
	height: 44px;
	font-family: Figtree, sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.5em;
	color: #fff !important;
	border-radius: 50px;
	background-color: #1371ff;
	border: 2px solid #1371ff;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	box-sizing: border-box;
	transition: background 0.2s linear, border-color 0.2s linear;
}

.first-screen__join:hover,
.first-screen__join:focus {
	background: #1685ff;
	border-color: #1685ff;
	color: #fff !important;
	text-decoration: none;
}

.first-screen__cta-note {
	font-weight: 500;
	font-size: 13px;
	line-height: 18px;
	color: #5a718c;
	text-align: center;
	padding: 0 8px;
}

@media (max-width: 991px) {
	.first-screen__text-block h1 {
		margin: 100px 0 0;
	}
}

@media (max-width: 767px) {
	.first-screen__text-block {
		min-height: 0;
		height: auto;
		padding: 16px 16px 28px;
	}
	.first-screen__text-block h1 {
		margin: 80px 0 0;
		padding: 0 8px;
	}
}

@media (min-width: 768px) {
	.subscribe-block__card {
		padding: 32px 28px;
		gap: 20px;
	}
	.subscribe-block__copy h2 {
		font-size: 26px;
		line-height: 30px;
	}
	.first-screen__cta {
		margin-top: 18px;
		max-width: 300px;
		gap: 10px;
	}
	.first-screen__join {
		height: 48px;
		font-size: 18px;
	}
	.first-screen__cta-note {
		font-size: 14px;
		line-height: 20px;
		padding: 0;
	}
}

@media (min-width: 992px) {
	.subscribe-block {
		padding: 0 16px 40px;
		scroll-margin-top: 96px;
	}
	.subscribe-block__card {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		border-radius: 20px;
		padding: 48px 56px;
		gap: 40px;
	}
	.subscribe-block__copy h2 {
		margin: 0 0 10px;
		font-size: 28px;
		line-height: 32px;
		text-align: left;
	}
	.subscribe-block__copy p {
		font-size: 16px;
		line-height: 24px;
		text-align: left;
	}
	.subscribe-block__action {
		max-width: 480px;
		flex-shrink: 0;
	}
	.subscribe-block__form {
		flex-direction: row;
		align-items: center;
		gap: 12px;
	}
	.subscribe-block__input {
		height: 52px;
		padding: 0 22px;
	}
	.subscribe-block__btn {
		height: 52px;
		width: auto;
		padding: 0 28px;
		font-size: 18px;
	}
	.subscribe-block__message {
		text-align: left;
	}
	.first-screen__cta {
		margin-top: 24px;
		max-width: 320px;
	}
}
