:root {
	--bg: #07060a;
	--panel: rgba( 20, 18, 25, .88 );
	--panel-strong: #151219;
	--text: #f6f2f7;
	--muted: #b9afbD;
	--border: rgba( 255, 255, 255, .12 );
	--red: #e3294f;
	--red-bright: #ff3b61;
	--purple: #7552b8;
	--yellow: #ffcf48;
	--focus: #ff8aa1;
	--control-bg: rgba(4, 3, 6, .48);
	--control-border: rgba(255, 255, 255, .13);
	--primary-gradient: linear-gradient(110deg, #c91f43, var(--red-bright));
	--primary-gradient-hover: linear-gradient(110deg, #df294e, #ff5574);
	--shadow: 0 20px 54px rgba( 0, 0, 0, .42 );
	--radius: 18px;
}

* { box-sizing: border-box; }

html { min-height: 100%; background: var(--bg); }

body {
	margin: 0;
	min-height: 100vh;
	color: var(--text);
	font-family: "Nutmeg", "Segoe UI", sans-serif;
	background:
		linear-gradient(135deg, rgba(7, 6, 10, .18), rgba(7, 5, 9, .36)),
		url("/assets/images/tile_bg.png") center top / 500px 500px repeat;
	background-attachment: fixed;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(circle at 12% 4%, rgba(117, 82, 184, .18), transparent 28rem),
		radial-gradient(circle at 88% 78%, rgba(227, 41, 79, .14), transparent 32rem);
}

a { color: inherit; }

button, input, select { font: inherit; }

.site-shell {
	position: relative;
	z-index: 1;
	width: min(1240px, calc(100% - 36px));
	min-height: 100vh;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
}

.site-header {
	min-height: 68px;
	margin-top: 14px;
	padding: 8px 15px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 20px;
	border: 1px solid var(--border);
	border-radius: 15px;
	background: rgba(11, 10, 14, .9);
	box-shadow: 0 12px 34px rgba(0, 0, 0, .28);
	backdrop-filter: blur(18px);
}

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-logo { display: block; width: 48px; height: 52px; object-fit: contain; }
.brand-copy { display: grid; gap: 1px; line-height: 1; }
.brand-copy strong { font-size: .9rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.brand-copy small { color: #9e94a1; font-size: .7rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }

.site-main {
	width: 100%;
	flex: 1;
	display: grid;
	align-items: center;
	padding: 32px 0 38px;
}

.site-footer {
	padding: 14px 4px 20px;
	display: flex;
	justify-content: space-between;
	gap: 16px;
	color: #867d8a;
	font-size: .78rem;
	letter-spacing: .05em;
}

.card {
	position: relative;
	width: min(860px, 100%);
	padding: clamp(26px, 4vw, 40px);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: linear-gradient(145deg, rgba(26, 23, 31, .97), rgba(13, 12, 17, .96));
	box-shadow: var(--shadow);
	overflow: hidden;
}

.card::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 140px;
	height: 3px;
	background: linear-gradient(90deg, var(--red-bright), var(--purple));
}

.card--hero { margin: 0 auto; }
.card--message { margin: 0 auto; text-align: left; }

.eyebrow {
	margin: 0 0 10px;
	color: var(--yellow);
	font-size: .76rem;
	font-weight: 800;
	letter-spacing: .2em;
	text-transform: uppercase;
}

h1, h2, h3, h4, h5, h6, p { margin-top: 0; }

h1, h2, h3, h4, h5, h6 { font-weight: 500; }

h1 {
	max-width: 22ch;
	margin-bottom: 14px;
	font-size: clamp(2rem, 4vw, 3.55rem);
	font-weight: 550;
	line-height: .98;
	letter-spacing: -.045em;
}

h2 {
	margin-bottom: 8px;
	font-size: clamp(1.6rem, 3vw, 2.25rem);
	line-height: 1.05;
}

.lead {
	max-width: 58ch;
	margin-bottom: 22px;
	color: var(--muted);
	font-size: clamp(.98rem, 1.5vw, 1.12rem);
	line-height: 1.5;
}

.button-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 44px;
	padding: 10px 18px;
	border: 1px solid var(--border);
	border-radius: 12px;
	color: var(--text);
	background: rgba(255,255,255,.04);
	font-weight: 750;
	text-decoration: none;
	cursor: pointer;
	transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.button:hover { transform: translateY(-1px); border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.08); }
.button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.button--primary {
	border-color: transparent;
	background: var(--primary-gradient);
	box-shadow: 0 12px 30px rgba(227, 41, 79, .24);
}

.button--primary:hover { border-color: transparent; background: var(--primary-gradient-hover); }
.button--disabled { color: #827a85; cursor: not-allowed; background: rgba(255,255,255,.025); }

.alert {
	margin: 20px 0;
	padding: 13px 15px;
	border-radius: 10px;
	font-size: .93rem;
	line-height: 1.45;
}

.alert--error { border: 1px solid rgba(255, 72, 104, .36); color: #ffd8df; background: rgba(171, 25, 54, .16); }

.fine-print { margin: 16px 0 0; color: #8f8792; font-size: .82rem; line-height: 1.5; }

@media (max-width: 640px) {
	.site-shell { width: min(100% - 20px, 1240px); }
	.site-header { min-height: 60px; margin-top: 10px; padding: 7px 10px; border-radius: 13px; }
	.brand { gap: 8px; }
	.brand-logo { width: 40px; height: 44px; }
	.brand-copy strong { font-size: .76rem; }
	.brand-copy small { font-size: .6rem; }
	.site-main { padding: 22px 0 28px; align-items: start; }
	.site-footer { flex-direction: column; padding-bottom: 20px; }
	.card { padding: 24px 19px; border-radius: 15px; }
	h1 { font-size: clamp(2rem, 11vw, 2.8rem); }
	.button, .button-row .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
