/*
 * Newsletter page. Design: Newsletter — Desktop / Mobile (+ Thanks): centred 600px card,
 * ink logo bar, brand-arch background with an arch-outline pattern; no site chrome.
 */
.fp-nl-page {
	min-height: 100vh;
	overflow-x: hidden;
}

.fp-nl-bg {
	position: fixed;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
}

.fp-nl-bg__pattern {
	position: absolute;
	inset: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='92' height='62' fill='none' stroke='%23eee3d6' stroke-width='2'%3E%3Cpath d='M14 58V36a32 32 0 0 1 64 0v22'/%3E%3C/svg%3E") repeat;
	mask-image: radial-gradient(ellipse at center, transparent 32%, #000 70%);
}

.fp-nl-bg .fp-arch {
	position: absolute;
	bottom: -60px;
}

.fp-nl-bg .fp-arch--brand {
	left: -50px;
	width: 230px;
	height: 230px;
	margin: 0;
	border-radius: 115px 115px 0 0;
}

.fp-nl-bg .fp-arch--cream {
	left: 170px;
	width: 190px;
	height: 190px;
	border-radius: 95px 95px 0 0;
}

.fp-nl-main {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	min-height: 100vh;
	padding: 24px 16px;
}

.fp-nl-card {
	width: 100%;
	max-width: 600px;
	background: var(--fp-surface);
	box-shadow: 0 16px 40px rgb(42 26 16 / 0.12);
}

.fp-nl-card__bar {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 64px;
	background: var(--fp-ink);
}

.fp-nl-card__bar .fp-logo {
	--fp-logo-h: 26px;
}

.fp-nl-card__body {
	display: grid;
	justify-items: center;
	padding: 30px 22px;
	text-align: center;
}

.fp-nl-card__thanks,
.fp-nl-card[data-state="thanks"] .fp-nl-card__signup {
	display: none;
}

.fp-nl-card[data-state="thanks"] .fp-nl-card__thanks {
	display: grid;
}

.fp-nl-card__title {
	font-size: 28px;
	line-height: 1.18;
}

.fp-nl-card__eyebrow {
	margin-top: 18px;
	color: var(--fp-brand-text);
	font-family: var(--fp-font-ui);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.fp-nl-card__sections {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 10px;
	width: 100%;
	margin: 12px 0 0;
	padding: 12px 0;
	border-block: 1px solid var(--fp-rule);
	list-style: none;
}

.fp-nl-card__sections li {
	color: var(--fp-ink);
	font-family: var(--fp-font-head);
	font-size: 13px;
	font-weight: 700;
}

.fp-nl-card__sections li + li::before {
	content: "·";
	margin-right: 10px;
	color: var(--fp-brand);
}

.fp-nl-card__copy {
	margin-top: 18px;
	color: var(--fp-body);
	font-size: 15px;
	line-height: 1.6;
}

.fp-nl-card__form {
	display: grid;
	gap: 12px;
	width: 100%;
	margin-top: 24px;
}

.fp-nl-card__form .fp-input {
	height: 52px;
	border-color: #f2d6cc;
	background: #fcf3ef;
	font-size: 15.5px;
	text-align: center;
}

.fp-nl-card__form .fp-button {
	min-height: 52px;
	font-size: 15.5px;
}

.fp-nl-card .fp-newsletter__privacy {
	margin-top: 14px;
	font-size: 12.5px;
}

.fp-nl-card__check {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #fce9e3;
	color: var(--fp-brand-text);
}

.fp-nl-card__title--thanks {
	margin-top: 18px;
	font-size: 24px;
	line-height: 1.24;
}

.fp-nl-card__thanks .fp-nl-card__copy {
	margin-top: 12px;
}

.fp-nl-card__thanks .fp-button {
	margin-top: 26px;
}

.fp-nl-card__thanks:focus {
	outline: none;
}

.fp-newsletter__status[data-state="error"] {
	color: var(--fp-brand-text);
}

@media (min-width: 768px) {
	.fp-nl-bg .fp-arch--brand {
		left: -170px;
		width: 500px;
		height: 500px;
		bottom: -200px;
		border-radius: 250px 250px 0 0;
	}

	.fp-nl-bg .fp-arch--cream {
		left: 100px;
		width: 300px;
		height: 300px;
		bottom: -110px;
		border-radius: 150px 150px 0 0;
	}

	.fp-nl-bg .fp-ears--face {
		top: 70px;
	}

	.fp-nl-card__bar {
		height: 80px;
	}

	.fp-nl-card__bar .fp-logo {
		--fp-logo-h: 32px;
	}

	.fp-nl-card__body {
		padding: 40px 64px;
	}

	.fp-nl-card__title {
		font-size: 36px;
	}

	.fp-nl-card__sections li {
		font-size: 12.5px;
	}

	.fp-nl-card__copy {
		font-size: 16px;
	}

	.fp-nl-card__title--thanks {
		font-size: 30px;
	}

	.fp-nl-card__thanks .fp-nl-card__copy {
		font-size: 16.5px;
	}
}
