* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html,
body {
	height: 100%;
	background: #000;
}

body {
	font-family: "Poppins", system-ui, sans-serif;
	-webkit-font-smoothing: antialiased;
	overflow: hidden;
	color: #f2f2f2;
}

canvas#surface {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
}

/* ---- Content ---- */
.deal {
	font-size: clamp(11px, min(1.1vw, 1.75vh), 17px);
	position: fixed;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 24px 16px;
	pointer-events: none;
}

.deal > * {
	pointer-events: auto;
	position: relative;
}

.mark {
	width: 3.5em;
	aspect-ratio: 1;
	margin-bottom: 1.4em;
}

.mark svg {
	width: 100%;
	height: 100%;
	display: block;
	fill: #fff;
}

h1 {
	color: #fff;
	font-size: 3.8em;
	font-weight: 300;
	letter-spacing: -.03em;
	line-height: 1;
}

.dates {
	margin-top: .9em;
	font-size: 1.12em;
	font-weight: 300;
	color: #fff;
}

.cta {
	margin-top: 1.9em;
	border: 0;
	border-radius: 99px;
	padding: .75em 1.8em;
	background: #fff;
	color: #000;
	font: 400 1.4em "Poppins", system-ui, sans-serif;
	cursor: pointer;
}

.home {
	margin-top: 1.25em;
	font-size: 1.05em;
	font-weight: 300;
	color: #fff;
	text-decoration: none;
}

.home:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.cta:focus-visible,
.home:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 4px;
}

/* Visually hidden, still read by screen readers */
.sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

/*
	The shader draws the content as frosted glass over the 50%.
	This HTML copy stays invisible but keeps clicks, focus and screen readers working.
	Without WebGL, the script adds .no-gl to <html> and the plain content above shows instead.
*/
html:not(.no-gl) h1,
html:not(.no-gl) .dates,
html:not(.no-gl) .home {
	color: transparent;
}

html:not(.no-gl) .mark svg {
	fill: transparent;
}

html:not(.no-gl) .cta {
	background: transparent;
	color: transparent;
}

html:not(.no-gl) .home:hover {
	text-decoration: none;
}
