:root {
	--ink: #090a08;
	--paper: #f2f3ec;
	--dim: rgba(242, 243, 236, 0.62);
	--line: rgba(255, 255, 255, 0.14);
	--accent: #c6ff1a;
	--accent-ink: #0d1008;
	--font: "Manrope", "Segoe UI", sans-serif;
	--display: "Oswald", "Manrope", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--ink);
	color: var(--paper);
	font-family: var(--font);
	-webkit-font-smoothing: antialiased;
}

a {
	color: inherit;
	text-decoration: none;
}

.parallax-layer {
	will-change: transform;
	transform: translate3d(0, 0, 0);
}

/* —— Hero: one composition —— */
.hero {
	position: relative;
	min-height: 100vh;
	min-height: 100dvh;
	overflow: hidden;
	isolation: isolate;
	perspective: 1200px;
	transform-style: preserve-3d;
}

@media (prefers-reduced-motion: reduce) {
	.glow { animation: none !important; }
}

.hero-bg {
	position: absolute;
	inset: -48px;
	z-index: 0;
	pointer-events: none;
	will-change: transform;
}

.hero-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 58% 42%;
	filter: blur(2.2px) saturate(1.1) contrast(1.08) brightness(0.86);
}

.hero-shade {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		linear-gradient(90deg, rgba(9, 10, 8, 0.94) 0%, rgba(9, 10, 8, 0.72) 34%, rgba(9, 10, 8, 0.18) 58%, rgba(9, 10, 8, 0.55) 100%),
		linear-gradient(180deg, rgba(9, 10, 8, 0.5) 0%, transparent 32%, rgba(9, 10, 8, 0.88) 100%);
}

.cast-ground {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 62%;
	height: 36%;
	z-index: 1;
	pointer-events: none;
	background: radial-gradient(ellipse at 58% 88%, rgba(0, 0, 0, 0.62) 0%, transparent 72%);
}

.glow {
	position: absolute;
	pointer-events: none;
	border-radius: 50%;
	filter: blur(28px);
	will-change: transform, opacity;
	mix-blend-mode: screen;
	z-index: 2;
}

.glow-arch {
	left: 42%;
	top: 18%;
	width: min(42vw, 520px);
	height: min(42vw, 520px);
	background:
		radial-gradient(circle at 50% 45%, rgba(255, 170, 70, 0.42) 0%, rgba(255, 120, 40, 0.12) 42%, transparent 70%);
	opacity: 0.85;
	animation: glowPulse 5.5s ease-in-out infinite;
}

.glow-kazak {
	right: 22%;
	bottom: 8%;
	width: min(30vw, 380px);
	height: min(34vw, 420px);
	background:
		radial-gradient(circle at 45% 55%, rgba(198, 255, 26, 0.22) 0%, rgba(255, 190, 80, 0.1) 40%, transparent 72%);
	opacity: 0.9;
	animation: glowPulse 4.8s ease-in-out 0.2s infinite;
}

.glow-gibdd {
	right: 0%;
	bottom: 6%;
	width: min(34vw, 420px);
	height: min(36vw, 440px);
	background:
		radial-gradient(circle at 48% 50%, rgba(255, 230, 120, 0.2) 0%, rgba(198, 255, 26, 0.12) 38%, transparent 70%);
	opacity: 0.95;
	animation: glowPulse 5.2s ease-in-out 0.9s infinite;
}

@keyframes glowPulse {
	0%, 100% { opacity: 0.5; }
	50% { opacity: 0.95; }
}

.stage-cast {
	position: absolute;
	inset: 0;
	z-index: 3;
	pointer-events: none;
	overflow: visible;
	isolation: isolate;
}

.cast {
	position: absolute;
	object-fit: contain;
	opacity: 1;
	filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.78)) contrast(1.03) saturate(1.02);
	image-rendering: -webkit-optimize-contrast;
	will-change: transform;
	animation: castFade 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cast-kazak {
	right: 18%;
	bottom: -2%;
	height: min(86vh, 720px);
	width: auto;
	max-width: 34vw;
	z-index: 2;
	animation-delay: 0.08s;
}

.cast-gibdd {
	right: 1%;
	bottom: -2%;
	height: min(80vh, 640px);
	width: auto;
	max-width: 30vw;
	z-index: 3;
	animation-delay: 0.18s;
}

@keyframes castFade {
	from { opacity: 0; }
	to { opacity: 1; }
}

.frame {
	position: absolute;
	inset: 16px;
	z-index: 4;
	pointer-events: none;
}

.frame-edge {
	position: absolute;
	width: 30px;
	height: 30px;
	border: 2px solid rgba(198, 255, 26, 0.72);
	animation: frameIn 0.85s ease both;
}

.frame-tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.frame-tr { top: 0; right: 0; border-left: 0; border-bottom: 0; animation-delay: 0.08s; }
.frame-bl { bottom: 0; left: 0; border-right: 0; border-top: 0; animation-delay: 0.12s; }
.frame-br { bottom: 0; right: 0; border-left: 0; border-top: 0; animation-delay: 0.16s; }

@keyframes frameIn {
	from { opacity: 0; transform: scale(0.85); }
	to { opacity: 1; transform: scale(1); }
}

.top,
.stage {
	position: relative;
	z-index: 5;
}

.top {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 24px;
	height: 78px;
	padding: 0 36px 0 40px;
}

.top-nav {
	display: flex;
	gap: 6px;
}

.top-nav a,
.top-auth-btn {
	padding: 8px 14px;
	font-size: 13px;
	font-weight: 600;
	color: var(--dim);
	transition: color 0.2s ease;
	border: 0;
	background: transparent;
	font-family: inherit;
	cursor: pointer;
}

.top-nav a:hover,
.top-auth-btn:hover { color: var(--paper); }

.top-user {
	padding: 8px 10px;
	font-size: 13px;
	font-weight: 700;
	color: var(--accent);
}

.stage {
	display: flex;
	align-items: center;
	min-height: calc(100vh - 78px);
	min-height: calc(100dvh - 78px);
	padding: 24px 40px 72px;
}

.copy {
	max-width: 520px;
	animation: copyIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

@keyframes copyIn {
	from { opacity: 0; transform: translate3d(0, 18px, 0); }
	to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.eyebrow {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--accent);
}

.title {
	margin: 0;
	font-family: var(--display);
	font-size: clamp(64px, 9vw, 104px);
	font-weight: 700;
	line-height: 0.92;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.sub {
	margin: 14px 0 0;
	font-size: 18px;
	font-weight: 600;
	color: var(--dim);
}

.rule {
	width: 72px;
	height: 3px;
	margin-top: 22px;
	background: var(--accent);
	transform-origin: left center;
	animation: ruleDraw 0.7s ease 0.35s both;
}

@keyframes ruleDraw {
	from { transform: scaleX(0); }
	to { transform: scaleX(1); }
}

.lead {
	margin: 22px 0 0;
	max-width: 28em;
	font-size: 16px;
	line-height: 1.5;
	color: var(--dim);
}

.cta-row {
	margin-top: 28px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 22px;
}

.cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 28px;
	border: 0;
	background: var(--accent);
	color: var(--accent-ink);
	font-family: var(--font);
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.02em;
	cursor: pointer;
	transition: filter 0.2s ease, transform 0.2s ease;
}

.cta:hover {
	filter: brightness(1.06);
	transform: translateY(-1px);
}

.sysreq {
	margin-top: 30px;
	width: min(460px, 100%);
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.sysreq-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

.sysreq-kicker {
	margin: 0;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--dim);
}

.sysreq-ver {
	font-size: 12px;
	font-weight: 600;
	color: var(--dim);
	white-space: nowrap;
}

.sysreq-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px 28px;
}

.sysreq-label {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 700;
	color: var(--paper);
}

.sysreq-col ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sysreq-col li {
	margin-bottom: 6px;
	font-size: 13px;
	line-height: 1.45;
	color: var(--dim);
}

.sysreq-note {
	margin: 14px 0 0;
	font-size: 12px;
	line-height: 1.45;
	color: var(--dim);
}

/* —— Roster (roles) —— */
.life {
	position: relative;
	z-index: 6;
	padding: 88px 32px 56px;
	background: #080908;
	border-top: 1px solid var(--line);
	overflow: hidden;
}

.life-bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(ellipse 70% 55% at 50% 100%, rgba(198, 255, 26, 0.07), transparent 60%),
		radial-gradient(ellipse 40% 40% at 15% 20%, rgba(255, 170, 60, 0.05), transparent 55%),
		radial-gradient(ellipse 40% 40% at 85% 25%, rgba(80, 160, 255, 0.05), transparent 55%);
}

.life-inner,
.below-inner {
	position: relative;
	width: min(1280px, 100%);
	margin: 0 auto;
}

.section-head {
	margin-bottom: 48px;
	max-width: 42em;
}

.section-head-wide {
	max-width: 48em;
}

.section-head h2 {
	margin: 8px 0 0;
	font-family: var(--display);
	font-size: clamp(34px, 5vw, 52px);
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.section-lead {
	margin: 16px 0 0;
	font-size: 16px;
	line-height: 1.55;
	color: var(--dim);
}

.roster {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 18px;
}

.roster-item {
	--glow: 198, 255, 26;
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 420px;
	padding: 0 0 18px;
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.roster-item:hover {
	transform: translateY(-10px);
}

.roster-item[data-glow="medic"] { --glow: 255, 96, 88; }
.roster-item[data-glow="military"] { --glow: 168, 210, 96; }
.roster-item[data-glow="police"] { --glow: 96, 154, 255; }
.roster-item[data-glow="bandit"] { --glow: 255, 168, 64; }
.roster-item[data-glow="business"] { --glow: 198, 255, 26; }

.roster-stage {
	position: relative;
	flex: 1;
	min-height: 340px;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	margin-bottom: 18px;
	overflow: visible;
	isolation: isolate;
}

/* Soft floor pool only — stays under the feet, never across the body */
.roster-glow {
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 68%;
	height: 18%;
	margin-left: -34%;
	border-radius: 50%;
	z-index: 0;
	pointer-events: none;
	background: radial-gradient(
		ellipse at 50% 50%,
		rgba(var(--glow), 0.45) 0%,
		rgba(var(--glow), 0.12) 45%,
		transparent 72%
	);
	filter: blur(18px);
	opacity: 0.55;
	animation: rosterGlow 6s ease-in-out infinite;
}

@keyframes rosterGlow {
	0%, 100% { opacity: 0.4; transform: scale(0.96); }
	50% { opacity: 0.65; transform: scale(1.04); }
}

.roster-item:nth-child(odd) .roster-cast {
	height: min(54vh, 480px);
}

.roster-item:nth-child(even) .roster-cast {
	height: min(48vh, 420px);
}

.roster-item:nth-child(3) .roster-cast {
	height: min(56vh, 500px);
}

/*
 * Glow via drop-shadow follows PNG alpha OUTSIDE the body —
 * it does not fill through the sprite (no semi-transparent wash).
 */
.roster-cast {
	position: relative;
	z-index: 2;
	display: block;
	height: min(52vh, 460px);
	width: auto;
	max-width: 100%;
	object-fit: contain;
	object-position: bottom center;
	opacity: 1;
	mix-blend-mode: normal;
	filter:
		drop-shadow(0 20px 26px rgba(0, 0, 0, 0.88))
		drop-shadow(0 0 18px rgba(var(--glow), 0.28))
		drop-shadow(0 10px 32px rgba(var(--glow), 0.18));
	user-select: none;
	pointer-events: none;
	will-change: transform;
	transition: filter 0.35s ease, transform 0.35s ease;
}

.roster-item:hover .roster-cast {
	filter:
		drop-shadow(0 24px 32px rgba(0, 0, 0, 0.9))
		drop-shadow(0 0 22px rgba(var(--glow), 0.38))
		drop-shadow(0 12px 40px rgba(var(--glow), 0.24));
}

.roster-item:hover .roster-glow {
	opacity: 0.75;
}

.roster-meta {
	position: relative;
	z-index: 2;
	padding: 16px 4px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	text-align: left;
}

.roster-meta strong {
	display: block;
	margin-bottom: 8px;
	font-family: var(--display);
	font-size: clamp(20px, 1.7vw, 26px);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.roster-meta span {
	display: block;
	font-size: 14px;
	line-height: 1.45;
	color: var(--dim);
	font-weight: 500;
	max-width: 18em;
}

@media (prefers-reduced-motion: reduce) {
	.roster-glow { animation: none !important; }
	.roster-item { transition: none; }
	.roster-item:hover { transform: none; }
}

/* —— Steps —— */
.below {
	position: relative;
	z-index: 6;
	background: #090a08;
	border-top: 1px solid var(--line);
	padding: 64px 40px 48px;
}

.steps-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.steps-list > li {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 16px;
	padding: 28px 24px 8px 0;
	border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.steps-list > li:last-child {
	border-right: 0;
	padding-right: 0;
}

.steps-num {
	font-family: var(--display);
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--accent);
	line-height: 1.15;
}

.steps-list h3 {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 800;
}

.steps-list p {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--dim);
}

.site-foot {
	margin-top: 56px;
	padding-top: 28px;
	border-top: 1px solid var(--line);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
}

.foot-brand {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 13px;
	font-weight: 600;
	color: var(--dim);
}

.foot-brand img {
	display: block;
	height: 28px;
	width: auto;
}

.foot-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
}

.foot-links a {
	font-size: 13px;
	font-weight: 600;
	color: var(--dim);
	border-bottom: 1px solid transparent;
}

.foot-links a:hover {
	color: var(--paper);
	border-bottom-color: var(--line);
}

@media (max-width: 1200px) {
	.roster { grid-template-columns: repeat(3, 1fr); gap: 28px 18px; }
	/* Keep desktop-scale figures — do not shrink on tablet */
	.roster-item:nth-child(odd) .roster-cast { height: min(54vh, 480px); }
	.roster-item:nth-child(even) .roster-cast { height: min(48vh, 420px); }
	.roster-item:nth-child(3) .roster-cast { height: min(56vh, 500px); }
	.roster-cast { height: min(52vh, 460px); }
	.roster-stage { min-height: 380px; }
}

@media (max-width: 980px) {
	.cast-kazak {
		right: 8%;
		max-width: 42vw;
		height: min(78vh, 620px);
	}
	.cast-gibdd {
		right: -4%;
		max-width: 38vw;
		height: min(72vh, 560px);
	}
	.stage { padding: 20px 28px 64px; }
	.top { padding: 0 24px; }
	.life,
	.below { padding-left: 28px; padding-right: 28px; }
	.steps-list { grid-template-columns: 1fr; }
	.steps-list > li {
		border-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
		padding: 22px 0;
	}
	.steps-list > li:last-child { border-bottom: 0; }
	.sysreq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
	/* Hero must grow — overflow:hidden clipped the download CTA */
	.hero {
		overflow: visible;
		min-height: 0;
		perspective: none;
	}
	.hero-bg { inset: 0; }
	.top-nav > a { display: none; }
	.top-user { display: none; }
	.top-nav { gap: 0; }
	.top {
		height: 64px;
		padding: 0 16px;
		position: relative;
		z-index: 8;
	}
	.top-auth-btn {
		min-height: 44px;
		padding: 10px 14px;
		position: relative;
		z-index: 9;
	}
	.stage {
		display: block;
		min-height: 0;
		padding: 12px 18px 36px;
		position: relative;
		z-index: 8;
	}
	.copy {
		max-width: 100%;
		position: relative;
		z-index: 8;
	}
	.stage-cast {
		z-index: 2;
		opacity: 0.55;
		pointer-events: none;
	}
	.cast-kazak {
		right: -10%;
		max-width: 52vw;
		height: min(48vh, 340px);
		bottom: 8%;
	}
	.cast-gibdd {
		right: -18%;
		max-width: 42vw;
		height: min(42vh, 300px);
		bottom: 6%;
	}
	.title { font-size: clamp(44px, 14vw, 60px); }
	.sub { font-size: 15px; }
	.lead {
		font-size: 14px;
		max-width: 22em;
	}
	.hero-shade {
		background:
			linear-gradient(180deg, rgba(9, 10, 8, 0.55) 0%, rgba(9, 10, 8, 0.78) 42%, rgba(9, 10, 8, 0.96) 100%),
			linear-gradient(90deg, rgba(9, 10, 8, 0.94) 0%, rgba(9, 10, 8, 0.72) 55%, rgba(9, 10, 8, 0.5) 100%);
	}
	.cta-row {
		flex-direction: column;
		align-items: stretch;
		margin-top: 22px;
		width: 100%;
		max-width: 100%;
		position: relative;
		z-index: 10;
	}
	.cta {
		width: 100%;
		min-height: 52px;
		font-size: 16px;
		-webkit-tap-highlight-color: transparent;
		touch-action: manipulation;
	}
	.sysreq {
		width: 100%;
		margin-top: 22px;
		position: relative;
		z-index: 8;
	}
	/* One column so characters keep desktop size & footing */
	.roster {
		grid-template-columns: 1fr;
		gap: 28px;
		max-width: 420px;
		margin: 0 auto;
	}
	.roster-item { min-height: 0; }
	.roster-stage {
		min-height: 420px;
		align-items: flex-end;
		justify-content: center;
	}
	.roster-cast,
	.roster-item:nth-child(odd) .roster-cast,
	.roster-item:nth-child(even) .roster-cast,
	.roster-item:nth-child(3) .roster-cast {
		height: min(58vh, 480px);
		max-width: min(100%, 360px);
		margin: 0 auto;
	}
	.roster-glow {
		height: 16%;
		width: 64%;
		margin-left: -32%;
	}
	.roster-meta {
		text-align: center;
	}
	.roster-meta strong { font-size: 22px; }
	.roster-meta span {
		font-size: 14px;
		max-width: none;
		margin: 0 auto;
	}
	.life { padding: 48px 18px 36px; }
	.below { padding: 48px 18px 36px; }
	.auth-overlay { padding: 12px; align-items: flex-end; }
	.auth-panel {
		width: 100%;
		max-height: min(92dvh, 92vh);
		overflow: auto;
		-webkit-overflow-scrolling: touch;
		padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
	}
}

@media (max-width: 420px) {
	.roster { max-width: 100%; gap: 32px; }
	.roster-stage { min-height: 400px; }
	.roster-cast,
	.roster-item:nth-child(odd) .roster-cast,
	.roster-item:nth-child(even) .roster-cast,
	.roster-item:nth-child(3) .roster-cast {
		height: min(62vh, 460px);
		max-width: 92vw;
	}
	.roster-item:hover { transform: none; }
}

/* —— Auth modal —— */
body.auth-open { overflow: hidden; }

.auth-overlay {
	position: fixed;
	inset: 0;
	z-index: 40;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(5, 6, 4, 0.72);
	backdrop-filter: blur(8px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.18s ease;
}

.auth-overlay.is-open {
	opacity: 1;
	pointer-events: auto;
}

.auth-panel {
	position: relative;
	width: min(420px, 100%);
	padding: 22px 22px 24px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: linear-gradient(160deg, rgba(20, 22, 16, 0.96), rgba(8, 9, 7, 0.94));
	box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
}

.auth-head {
	display: grid;
	grid-template-columns: 1fr 36px;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
}

.auth-tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
	min-width: 0;
}

.auth-close {
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(0, 0, 0, 0.28);
	color: var(--dim);
	cursor: pointer;
	display: grid;
	place-items: center;
	flex-shrink: 0;
}

.auth-close span {
	position: relative;
	width: 12px;
	height: 12px;
	display: block;
}

.auth-close span::before,
.auth-close span::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 1.5px;
	background: currentColor;
	border-radius: 1px;
}

.auth-close span::before { transform: translate(-50%, -50%) rotate(45deg); }
.auth-close span::after { transform: translate(-50%, -50%) rotate(-45deg); }

.auth-close:hover {
	color: var(--paper);
	border-color: rgba(255, 255, 255, 0.28);
}

.auth-tab {
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(0, 0, 0, 0.22);
	color: var(--dim);
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	padding: 10px 12px;
	cursor: pointer;
}

.auth-tab.is-active {
	color: var(--paper);
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.22);
}

.auth-form h2 {
	margin: 0 0 8px;
	font-family: var(--display);
	font-size: 26px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.auth-hint {
	margin: 0 0 16px;
	font-size: 13px;
	line-height: 1.4;
	color: var(--dim);
}

.auth-field {
	display: block;
	margin-bottom: 12px;
}

.auth-field span {
	display: block;
	margin-bottom: 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--dim);
}

.auth-field input {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(0, 0, 0, 0.35);
	color: var(--paper);
	font: inherit;
	font-size: 14px;
	outline: none;
}

.auth-field input:focus {
	border-color: rgba(198, 255, 26, 0.55);
}

.auth-check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 10px 0;
	font-size: 13px;
	line-height: 1.4;
	color: var(--dim);
	cursor: pointer;
}

.auth-check input {
	margin-top: 3px;
	accent-color: var(--accent);
}

.auth-check a {
	color: var(--paper);
	border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.auth-error {
	margin: 8px 0 0;
	font-size: 13px;
	font-weight: 600;
	color: #ff7b7b;
}

.auth-submit {
	width: 100%;
	margin-top: 16px;
}

.auth-submit:disabled {
	opacity: 0.55;
	cursor: wait;
	transform: none;
}

/* —— Legal pages —— */
.legal-page {
	min-height: 100vh;
	background: var(--ink);
}

.legal {
	width: min(720px, 100%);
	margin: 0 auto;
	padding: 48px 24px 64px;
}

.legal-back {
	display: inline-block;
	margin-bottom: 24px;
	font-size: 13px;
	font-weight: 600;
	color: var(--dim);
}

.legal-back:hover { color: var(--paper); }

.legal h1 {
	margin: 0 0 18px;
	font-family: var(--display);
	font-size: 34px;
	text-transform: uppercase;
}

.legal p,
.legal li {
	font-size: 15px;
	line-height: 1.55;
	color: var(--dim);
}

.legal ul {
	padding-left: 1.2em;
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation: none !important;
		transition: none !important;
	}
}
