.mm-waitlist {
	max-width: 680px;
	margin: 0 auto;
	padding: clamp(1.5rem, 4vw, 3rem);
	border: 0;
	border-radius: 0;
	background: #fff;
	box-shadow: none;
}

.mm-waitlist-launcher {
	display: flex;
	width: 100%;
	max-width: 1200px;
	align-items: center;
	justify-content: space-between;
	gap: clamp(18px, 4vw, 48px);
	margin: 0 auto;
	padding: clamp(18px, 2.5vw, 28px);
	border: 0;
	background: #58588a;
	color: #fff;
}

.mm-waitlist-launcher__copy {
	min-width: 0;
}

.mm-waitlist-launcher__title,
.mm-waitlist-launcher__text {
	margin: 0;
}

.mm-waitlist-launcher__title {
	font-family: "Space Grotesk", sans-serif;
	font-size: clamp(1.25rem, 2.4vw, 2.2rem);
	line-height: 1;
	text-transform: uppercase;
}

.mm-waitlist-launcher__text {
	margin-top: 0.45rem;
	font-size: clamp(0.86rem, 1.2vw, 1rem);
}

.mm-waitlist-launcher__button {
	display: inline-flex;
	min-height: 50px;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	padding: 0.8rem 1.25rem;
	border: 2px solid #0a0a0a;
	background: #fff;
	color: #0a0a0a;
	font-weight: 750;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
}

.mm-waitlist-launcher__button:hover {
	background: #0a0a0a;
	color: #fff;
}

.mm-waitlist-launcher__button:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

.mm-waitlist-modal {
	position: fixed;
	z-index: 99999;
	inset: 0;
	display: grid;
	padding: 12px;
	place-items: center;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition: opacity 160ms ease, visibility 160ms ease;
}

.mm-waitlist-modal:target,
.mm-waitlist-modal.is-open {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}

.mm-waitlist-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(17, 26, 69, 0.78);
	cursor: default;
}

.mm-waitlist-modal__panel {
	position: relative;
	z-index: 1;
	width: min(620px, calc(100vw - 24px));
	max-height: calc(100dvh - 24px);
	overflow: auto;
	padding: clamp(24px, 5vw, 46px);
	border: 0;
	background: #fff;
	transform: translateY(10px) scale(0.985);
	transition: transform 180ms ease;
}

.mm-waitlist-modal:target .mm-waitlist-modal__panel,
.mm-waitlist-modal.is-open .mm-waitlist-modal__panel {
	transform: translateY(0) scale(1);
}

.mm-waitlist-modal__close {
	position: absolute;
	z-index: 2;
	top: 10px;
	right: 13px;
	display: grid;
	width: 40px;
	height: 40px;
	place-items: center;
	color: #0a0a0a;
	font-size: 2rem;
	line-height: 1;
	text-decoration: none;
}

.mm-waitlist-modal__close:hover,
.mm-waitlist-modal__close:focus-visible {
	color: #111a45;
}

.mm-waitlist--dialog {
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
}

.mm-waitlist--dialog .mm-waitlist__title {
	padding-right: 36px;
}

body.mm-waitlist-modal-open {
	overflow: hidden;
}

.mm-waitlist__title {
	margin: 0 0 0.75rem;
	font-family: "Space Grotesk", sans-serif;
	font-size: clamp(1.65rem, 3vw, 2.5rem);
	line-height: 0.98;
	text-align: center;
	text-transform: uppercase;
}

.mm-waitlist__intro {
	margin: 0 auto 1.75rem;
	text-align: center;
}

.mm-waitlist__form {
	display: grid;
	gap: 1rem;
}

.mm-waitlist__field {
	display: grid;
	gap: 0.4rem;
}

.mm-waitlist__field label {
	font-weight: 600;
}

.mm-waitlist__field label span {
	font-size: 0.85em;
	font-weight: 400;
	opacity: 0.7;
}

.mm-waitlist__field input {
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	padding: 0.7rem 0.85rem;
	border: 2px solid #0a0a0a;
	border-radius: 0;
	background: #fff;
	color: #202124;
	font: inherit;
}

.mm-waitlist__field input:focus {
	border-color: #0a0a0a;
	outline: 3px solid #111a45;
}

.mm-waitlist__consent {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	font-size: 0.875rem;
	line-height: 1.45;
}

.mm-waitlist__consent input {
	flex: 0 0 auto;
	margin-top: 0.25rem;
}

.mm-waitlist__submit {
	min-height: 48px;
	padding: 0.8rem 1.25rem;
	border: 0;
	border: 2px solid #0a0a0a;
	border-radius: 0;
	background: #0a0a0a;
	color: #fff;
	font: inherit;
	font-weight: 700;
	text-transform: uppercase;
	cursor: pointer;
}

.mm-waitlist__submit:hover {
	background: #111a45;
	color: #fff;
}

.mm-waitlist__submit:focus-visible {
	outline: 3px solid #111a45;
	outline-offset: 3px;
}

.mm-waitlist__message {
	margin-bottom: 1rem;
	padding: 0.85rem 1rem;
	border: 2px solid currentColor;
	border-radius: 0;
}

.mm-waitlist__message--success,
.mm-waitlist__message--exists {
	background: #ecfdf5;
	color: #065f46;
}

.mm-waitlist__message--invalid,
.mm-waitlist__message--error,
.mm-waitlist__message--spam {
	background: #fef2f2;
	color: #991b1b;
}

.mm-waitlist__honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

@media (max-width: 560px) {
	.mm-waitlist {
		padding: 1.25rem;
	}

	.mm-waitlist-launcher {
		align-items: stretch;
		flex-direction: column;
	}

	.mm-waitlist-launcher__button {
		width: 100%;
	}

	.mm-waitlist-modal {
		padding: 6px;
	}

	.mm-waitlist-modal__panel {
		width: calc(100vw - 12px);
		max-height: calc(100dvh - 12px);
		padding: 24px 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mm-waitlist-modal,
	.mm-waitlist-modal__panel {
		transition: none;
	}
}
