:root {
	--bg: #0b0d11;
	--panel: #11151b;
	--line: rgba(248, 250, 252, 0.14);
	--text: #f8fafc;
	--muted: #c9d1dc;
	--soft: #8d98a8;
	--accent: #deb353;
	--accent-rgb: 222, 179, 83;
	--max: 760px;
}

* {
	box-sizing: border-box;
}

html {
	min-height: 100%;
}

body {
	min-height: 100%;
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.5;
}

button,
input {
	font: inherit;
}

.waitlist-page {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 100vh;
	padding: clamp(24px, 5vw, 56px);
	background:
		linear-gradient(180deg, rgba(11, 13, 17, 0.76), rgba(11, 13, 17, 0.94)),
		linear-gradient(90deg, rgba(11, 13, 17, 0.96), rgba(11, 13, 17, 0.58) 50%, rgba(11, 13, 17, 0.96)),
		url("../background.png") center / cover no-repeat;
	overflow: hidden;
}

.waitlist-page::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(248, 250, 252, 0.026) 1px, transparent 1px) 0 0 / 72px 72px,
		linear-gradient(0deg, rgba(248, 250, 252, 0.018) 1px, transparent 1px) 0 0 / 72px 72px;
	mask-image: linear-gradient(180deg, transparent, #000 24%, #000 76%, transparent);
	pointer-events: none;
}

.waitlist-card {
	position: relative;
	z-index: 1;
	width: min(100%, var(--max));
	text-align: center;
}

.site-logo {
	display: block;
	width: clamp(150px, 22vw, 220px);
	height: clamp(150px, 22vw, 220px);
	margin: 0 auto 30px;
	border: 0;
	background: transparent;
	object-fit: contain;
	filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.38));
}

.payoff {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	margin: 0 0 22px;
	padding: 10px 15px;
	border: 1px solid rgba(var(--accent-rgb), 0.28);
	background: rgba(var(--accent-rgb), 0.08);
	color: var(--accent);
	font-size: clamp(0.92rem, 1.8vw, 1.18rem);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0;
}

h1 {
	max-width: 100%;
	margin: 0;
	font-size: clamp(3.2rem, 9vw, 6.4rem);
	line-height: 0.92;
	letter-spacing: 0;
	overflow-wrap: anywhere;
}

.page-copy {
	max-width: 590px;
	margin: 24px auto 34px;
	color: var(--muted);
	font-size: clamp(1.02rem, 2vw, 1.22rem);
}

.join-form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 10px;
	width: min(100%, 620px);
	margin: 0 auto;
	padding: 8px;
	border: 1px solid var(--line);
	background: rgba(17, 21, 27, 0.74);
	box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
	backdrop-filter: blur(14px);
}

.join-form label {
	min-width: 0;
}

.join-form label span {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.join-form input {
	width: 100%;
	min-height: 52px;
	border: 1px solid transparent;
	background: transparent;
	color: var(--text);
	padding: 0 14px;
	border-radius: 0;
}

.join-form input::placeholder {
	color: var(--soft);
}

.join-form input:focus {
	outline: 2px solid rgba(var(--accent-rgb), 0.42);
	outline-offset: -2px;
}

.hp-field {
	position: absolute;
	left: -100vw;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 20px;
	border: 1px solid var(--accent);
	background: var(--accent);
	color: #151108;
	cursor: pointer;
	font-weight: 800;
	white-space: nowrap;
	box-shadow: 0 14px 34px rgba(var(--accent-rgb), 0.17);
	transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
	transform: translateY(-1px);
	box-shadow: 0 18px 44px rgba(var(--accent-rgb), 0.24);
}

.form-message {
	grid-column: 1 / -1;
	margin: 4px 8px 2px;
	color: var(--accent);
	font-size: 0.94rem;
	font-weight: 700;
	text-align: left;
}

@media (max-width: 620px) {
	.waitlist-page {
		padding: 22px;
	}

	.join-form {
		grid-template-columns: 1fr;
		padding: 10px;
	}

	.button {
		width: 100%;
	}

	.form-message {
		text-align: center;
	}
}
