.ws-launch-offer[hidden] {
	display: none !important;
}

.ws-launch-offer {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: grid;
	place-items: center;
	padding: clamp(1rem, 3vw, 2rem);
	color: #20372f;
}

.ws-launch-offer__backdrop {
	position: absolute;
	inset: 0;
	background: rgb(20 38 32 / 72%);
	backdrop-filter: blur(7px);
}

.ws-launch-offer__dialog {
	position: relative;
	display: grid;
	grid-template-columns: minmax(220px, .76fr) minmax(320px, 1.24fr);
	width: min(880px, 100%);
	max-height: calc(100dvh - 2rem);
	overflow: auto;
	background: #fbf7ef;
	box-shadow: 0 30px 90px rgb(9 27 21 / 34%);
	outline: none;
}

.ws-launch-offer__close {
	position: absolute;
	top: .85rem;
	right: .85rem;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 2.65rem;
	height: 2.65rem;
	padding: 0;
	border: 1px solid rgb(32 55 47 / 28%);
	border-radius: 50%;
	background: #fbf7ef;
	color: #20372f;
	font: 400 1.65rem/1 Georgia, serif;
	cursor: pointer;
}

.ws-launch-offer__visual {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: flex;
	min-height: 100%;
	padding: clamp(2rem, 5vw, 4.25rem) 1.75rem;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	background: #20372f;
	color: #f9f1e5;
	text-align: center;
}

.ws-launch-offer__visual::before,
.ws-launch-offer__visual::after {
	position: absolute;
	inset: 0;
	content: "";
}

.ws-launch-offer__visual::before {
	z-index: -2;
	background-image: var(--ws-launch-offer-image);
	background-position: 48% center;
	background-size: cover;
	filter: saturate(.9) contrast(1.02);
}

.ws-launch-offer__visual::after {
	z-index: -1;
	background: linear-gradient(180deg, rgb(18 48 38 / 60%), rgb(20 49 39 / 88%));
}

.ws-launch-offer__visual > * {
	position: relative;
	z-index: 1;
	text-shadow: 0 2px 22px rgb(4 18 13 / 42%);
}

.ws-launch-offer__visual span,
.ws-launch-offer__eyebrow {
	font: 750 .72rem/1.4 Inter, system-ui, sans-serif;
	letter-spacing: .18em;
	text-transform: uppercase;
}

.ws-launch-offer__visual strong {
	display: flex;
	margin: .35rem 0 -.25rem;
	align-items: flex-start;
	font: 400 clamp(6.4rem, 13vw, 10rem)/.85 Didot, "Bodoni 72", Georgia, serif;
	letter-spacing: -.08em;
}

.ws-launch-offer__visual strong small {
	margin: .7em 0 0 .1em;
	font-size: .27em;
	letter-spacing: 0;
}

.ws-launch-offer__visual em {
	font: italic 400 1.1rem/1.4 Didot, Georgia, serif;
}

.ws-launch-offer__content {
	padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4.5rem) clamp(2rem, 5vw, 4rem);
}

.ws-launch-offer__eyebrow {
	margin: 0 0 1rem;
	color: #ad7440;
}

.ws-launch-offer__content h2 {
	max-width: 12ch;
	margin: 0 0 1.15rem;
	font: 400 clamp(2.35rem, 5vw, 4.3rem)/.94 Didot, "Bodoni 72", Georgia, serif;
	letter-spacing: -.035em;
}

.ws-launch-offer__content > p:not(.ws-launch-offer__eyebrow, .ws-launch-offer__status, .ws-launch-offer__note) {
	max-width: 48ch;
	margin: 0 0 1.5rem;
	color: #5d6b65;
	font: 400 1rem/1.65 Inter, system-ui, sans-serif;
}

.ws-launch-offer__code {
	display: flex;
	margin-top: 1.6rem;
	border: 1px solid #bcc4bc;
	align-items: stretch;
}

.ws-launch-offer__code > span {
	display: grid;
	min-width: 0;
	padding: .75rem 1rem;
	flex: 1;
}

.ws-launch-offer__code small {
	color: #718078;
	font: 700 .62rem/1.2 Inter, system-ui, sans-serif;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.ws-launch-offer__code strong {
	font: 800 1.28rem/1.35 Inter, system-ui, sans-serif;
	letter-spacing: .12em;
}

.ws-launch-offer__code button,
.ws-launch-offer__cta {
	border: 0;
	background: #20372f;
	color: #fff;
	font: 750 .77rem/1.2 Inter, system-ui, sans-serif;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.ws-launch-offer__code button {
	padding: .85rem 1.15rem;
	cursor: pointer;
}

.ws-launch-offer__cta {
	display: flex;
	min-height: 3.6rem;
	margin-top: .35rem;
	padding: .85rem 1.2rem;
	align-items: center;
	justify-content: space-between;
	text-decoration: none;
}

.ws-launch-offer__cta span {
	font-size: 1.25rem;
}

.ws-launch-offer__status {
	min-height: 1.4rem;
	margin: .35rem 0;
	color: #47705f;
	font: 650 .76rem/1.4 Inter, system-ui, sans-serif;
}

.ws-launch-offer__note {
	margin: .75rem 0 0;
	color: #718078;
	font: 400 .75rem/1.45 Inter, system-ui, sans-serif;
	text-align: center;
}

.ws-launch-offer__close:focus-visible,
.ws-launch-offer__code button:focus-visible,
.ws-launch-offer__cta:focus-visible {
	outline: 3px solid #d9a45a;
	outline-offset: 3px;
}

html.ws-launch-offer-open {
	overflow: hidden;
}

@media (max-width: 660px) {
	.ws-launch-offer {
		padding: .7rem;
	}

	.ws-launch-offer__dialog {
		grid-template-columns: 1fr;
		max-height: calc(100dvh - 1.4rem);
	}

	.ws-launch-offer__visual {
		min-height: auto;
		padding: 1.25rem 4rem 1.15rem 1.25rem;
		align-items: baseline;
		flex-direction: row;
		gap: .55rem;
		justify-content: flex-start;
	}

	.ws-launch-offer__visual::before {
		background-position: center 43%;
	}

	.ws-launch-offer__visual span {
		max-width: 8rem;
		text-align: left;
	}

	.ws-launch-offer__visual strong {
		margin: 0;
		font-size: 3rem;
		letter-spacing: -.06em;
	}

	.ws-launch-offer__visual em {
		display: none;
	}

	.ws-launch-offer__close {
		top: .7rem;
		right: .7rem;
		border-color: rgb(255 255 255 / 55%);
		background: transparent;
		color: #fff;
	}

	.ws-launch-offer__content {
		padding: 1.55rem 1.25rem 1.35rem;
	}

	.ws-launch-offer__content h2 {
		font-size: clamp(2rem, 11vw, 3rem);
	}
}

@media (max-width: 420px) {
	.ws-launch-offer__code {
		align-items: stretch;
		flex-direction: column;
	}

	.ws-launch-offer__code button {
		min-height: 2.8rem;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.ws-launch-offer:not([hidden]) .ws-launch-offer__backdrop {
		animation: ws-offer-fade .24s ease both;
	}

	.ws-launch-offer:not([hidden]) .ws-launch-offer__dialog {
		animation: ws-offer-rise .38s cubic-bezier(.2, .7, .2, 1) both;
	}

	@keyframes ws-offer-fade {
		from { opacity: 0; }
	}

	@keyframes ws-offer-rise {
		from { opacity: 0; transform: translateY(18px) scale(.985); }
	}
}
