:root {
	--surface-0: #0d0f15;
	--surface-1: #12151d;
	--surface-2: #181c26;
	--surface-3: #202632;
	--surface-4: #2a303c;
	--border: rgba(255, 255, 255, 0.09);
	--text: #f6f7f9;
	--text-soft: #b5bac5;
	--text-muted: #818896;
	--green: #f4f4f2;
	--green-dark: #c9c9c5;
	--green-soft: rgba(255, 255, 255, 0.09);
	--danger: #ff667a;
	--shadow: 0 32px 80px rgba(0, 0, 0, 0.42);
	--max-width: 1180px;
	color-scheme: dark;
	font-family:
		Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-synthesis: none;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 90px;
}

body {
	margin: 0;
	min-width: 320px;
	overflow-x: hidden;
	background: var(--surface-0);
	color: var(--text);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

body.menu-open,
body:has(dialog[open]) {
	overflow: hidden;
}

button,
input {
	font: inherit;
}

[hidden] {
	display: none !important;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

a {
	color: inherit;
	text-decoration: none;
}

.svg-sprite {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

.skip-link {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 100;
	padding: 10px 14px;
	transform: translateY(-160%);
	border-radius: 8px;
	background: var(--green);
	color: #06130b;
	font-weight: 800;
}

.skip-link:focus {
	transform: translateY(0);
}

.site-header {
	position: absolute;
	top: 0;
	left: 50%;
	z-index: 30;
	display: flex;
	width: min(calc(100% - 40px), var(--max-width));
	height: 76px;
	align-items: center;
	justify-content: space-between;
	transform: translateX(-50%);
}

.brand,
.footer-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.brand img,
.footer-brand img {
	border-radius: 9px;
	box-shadow: 0 0 24px rgba(255, 255, 255, 0.08);
}

.brand span {
	font-size: 22px;
	font-weight: 850;
	letter-spacing: -0.04em;
}

.main-nav {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 5px;
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 12px;
	background: rgba(18, 21, 29, 0.6);
	backdrop-filter: blur(14px);
}

.main-nav a {
	padding: 8px 13px;
	border-radius: 8px;
	color: var(--text-soft);
	font-size: 14px;
	font-weight: 650;
	transition:
		color 160ms ease,
		background 160ms ease;
}

.main-nav a:hover {
	background: rgba(255, 255, 255, 0.06);
	color: var(--text);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 9px;
}

.language-button,
.menu-button,
.dialog-close {
	display: grid;
	border: 0;
	color: var(--text-soft);
	cursor: pointer;
	place-items: center;
}

.language-button {
	width: 38px;
	height: 38px;
	border: 1px solid var(--border);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.04);
	font-size: 12px;
	font-weight: 800;
}

.language-button:hover {
	border-color: rgba(255, 255, 255, 0.18);
	color: var(--text);
}

.menu-button {
	display: none;
	width: 40px;
	height: 40px;
	padding: 9px;
	gap: 4px;
	border: 1px solid var(--border);
	border-radius: 10px;
	background: var(--surface-2);
}

.menu-button span {
	width: 18px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
}

.button {
	display: inline-flex;
	min-height: 46px;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 0 18px;
	border: 1px solid transparent;
	border-radius: 11px;
	cursor: pointer;
	font-weight: 750;
	transition:
		transform 160ms ease,
		background 160ms ease,
		border-color 160ms ease,
		box-shadow 160ms ease;
}

.button:hover {
	transform: translateY(-1px);
}

.button:active {
	transform: translateY(0);
}

.button:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible {
	outline: 3px solid rgba(255, 255, 255, 0.3);
	outline-offset: 2px;
}

.button svg {
	width: 19px;
	height: 19px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
}

.button-small {
	min-height: 38px;
	padding: 0 13px;
	border-radius: 10px;
	font-size: 14px;
}

.button-small svg {
	width: 17px;
	height: 17px;
}

.button-primary {
	background: var(--green);
	box-shadow: 0 12px 34px rgba(255, 255, 255, 0.08);
	color: #080808;
}

.button-primary:hover {
	background: #ffffff;
	box-shadow: 0 14px 40px rgba(255, 255, 255, 0.14);
}

.button-secondary {
	border-color: rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.07);
	color: var(--text);
}

.button-secondary:hover,
.button-ghost:hover {
	border-color: rgba(255, 255, 255, 0.15);
	background: rgba(255, 255, 255, 0.1);
}

.button-ghost {
	border-color: var(--border);
	background: rgba(255, 255, 255, 0.035);
	color: var(--text-soft);
}

.hero {
	position: relative;
	display: grid;
	min-height: 760px;
	grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
	align-items: center;
	gap: 64px;
	overflow: hidden;
	padding: 132px max(24px, calc((100vw - var(--max-width)) / 2)) 94px;
	border-bottom: 1px solid var(--border);
	background:
		radial-gradient(circle at 18% 40%, rgba(255, 255, 255, 0.045), transparent 28%),
		linear-gradient(145deg, #11141c 0%, #0d0f15 70%);
}

.hero-pattern {
	position: absolute;
	inset: 0;
	opacity: 0.42;
	background-image:
		linear-gradient(135deg, transparent 46%, rgba(255, 255, 255, 0.028) 47%, rgba(255, 255, 255, 0.028) 54%, transparent 55%),
		linear-gradient(45deg, transparent 46%, rgba(255, 255, 255, 0.022) 47%, rgba(255, 255, 255, 0.022) 54%, transparent 55%);
	background-position:
		0 0,
		36px 36px;
	background-size: 72px 72px;
	mask-image: linear-gradient(90deg, black, transparent 85%);
}

.hero-glow {
	position: absolute;
	top: 50%;
	right: -240px;
	width: 760px;
	height: 760px;
	transform: translateY(-50%);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.035);
	filter: blur(20px);
}

.hero-content,
.launcher-showcase {
	position: relative;
	z-index: 2;
}

.hero-content {
	max-width: 600px;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 22px;
	padding: 7px 11px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	color: #e8e8e5;
	font-size: 13px;
	font-weight: 750;
}

.status-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--green);
	box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.hero h1 {
	margin: 0;
	font-size: clamp(52px, 6vw, 78px);
	font-weight: 880;
	letter-spacing: -0.065em;
	line-height: 0.98;
}

.hero h1 span,
.hero h1 strong {
	display: block;
}

.hero h1 strong {
	margin-top: 7px;
	color: var(--green);
	font-weight: inherit;
}

.hero-copy {
	max-width: 590px;
	margin: 26px 0 0;
	color: var(--text-soft);
	font-size: clamp(17px, 1.65vw, 20px);
	line-height: 1.55;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.button-download {
	min-height: 52px;
	padding-inline: 22px;
}

.version-line {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin: 15px 4px 0;
	color: var(--text-muted);
	font-size: 12px;
}

.launcher-showcase {
	perspective: 1200px;
}

.showcase-window {
	width: 700px;
	overflow: hidden;
	transform: rotateY(-7deg) rotateX(2deg);
	transform-origin: center left;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 18px;
	background: #12151d;
	box-shadow:
		0 50px 120px rgba(0, 0, 0, 0.55),
		0 0 0 1px rgba(0, 0, 0, 0.4),
		-30px 30px 100px rgba(255, 255, 255, 0.035);
}

.window-bar {
	display: flex;
	height: 46px;
	align-items: center;
	justify-content: space-between;
	padding: 0 16px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	background: #171a23;
}

.window-brand {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 12px;
	font-weight: 850;
}

.window-ridge-mark {
	width: 24px;
	height: 24px;
	fill: #fff;
}

.window-brand strong {
	letter-spacing: -0.03em;
}

.window-history {
	display: flex;
	gap: 6px;
	margin-left: 2px;
}

.window-history span {
	display: grid;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.07);
	color: #aeb4bf;
	place-items: center;
}

.window-history svg {
	width: 14px;
	height: 14px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
}

.window-controls {
	display: flex;
	gap: 11px;
}

.window-controls i {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #424957;
}

.window-body {
	display: grid;
	height: 410px;
	grid-template-columns: 104px 1fr;
}

.mock-sidebar {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 10px 8px;
	border-right: 1px solid rgba(255, 255, 255, 0.055);
	background: #20232a;
}

.mock-nav {
	display: flex;
	min-height: 45px;
	flex: 1;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	padding: 4px 2px;
	border-radius: 9px;
	color: #aeb4bf;
	font-size: 8px;
	font-weight: 750;
	line-height: 1.1;
}

.mock-nav svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.75;
}

.mock-nav.active {
	background: rgba(255, 255, 255, 0.13);
	color: #ffffff;
}

.mock-nav-create {
	color: #c8d9ff;
}

.mock-content {
	padding: 30px;
	background:
		radial-gradient(circle at 95% 5%, rgba(255, 255, 255, 0.04), transparent 28%),
		#151922;
}

.mock-welcome small {
	color: #89919e;
	font-size: 9px;
}

.mock-welcome h2 {
	margin: 1px 0 18px;
	font-size: 24px;
	letter-spacing: -0.04em;
}

.mock-instance {
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 13px;
	background: #1d222c;
}

.instance-art {
	position: relative;
	height: 134px;
	overflow: hidden;
	background: linear-gradient(180deg, #54565b, #36393f 52%, #25272b);
}

.mountain {
	position: absolute;
	bottom: -52px;
	width: 210px;
	height: 170px;
	transform: rotate(45deg);
	border-radius: 18px;
}

.mountain-back {
	right: 48px;
	background: #777a80;
}

.mountain-front {
	right: -45px;
	background: #45484e;
}

.sun {
	position: absolute;
	top: 28px;
	left: 72px;
	width: 31px;
	height: 31px;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 0 40px rgba(255, 255, 255, 0.32);
}

.instance-info {
	display: flex;
	height: 60px;
	align-items: center;
	justify-content: space-between;
	padding: 0 15px;
}

.instance-info small,
.instance-info strong {
	display: block;
}

.instance-info small {
	margin-bottom: 2px;
	color: #848b98;
	font-size: 8px;
}

.instance-info strong {
	font-size: 12px;
}

.instance-info button {
	padding: 7px 14px;
	border: 0;
	border-radius: 7px;
	background: var(--green);
	color: #080808;
	font-size: 9px;
	font-weight: 850;
}

.mock-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-top: 10px;
}

.mock-grid > div {
	position: relative;
	padding: 13px 14px;
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.03);
}

.mock-grid strong,
.mock-grid small {
	display: block;
}

.mock-grid strong {
	font-size: 17px;
}

.mock-grid small {
	color: #7c8491;
	font-size: 8px;
}

.mock-icon {
	position: absolute;
	top: 13px;
	right: 13px;
	width: 17px;
	height: 17px;
	color: var(--green);
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.section {
	width: min(calc(100% - 40px), var(--max-width));
	margin-inline: auto;
	padding-block: 112px;
}

.section-heading {
	max-width: 650px;
	margin-bottom: 45px;
}

.section-kicker {
	margin: 0 0 9px;
	color: var(--green);
	font-size: 13px;
	font-weight: 820;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.section-heading h2,
.requirements-panel h2 {
	margin: 0;
	font-size: clamp(34px, 4vw, 49px);
	letter-spacing: -0.045em;
	line-height: 1.08;
}

.section-heading > p:last-child,
.requirements-panel > div > p:last-child {
	margin: 15px 0 0;
	color: var(--text-soft);
	font-size: 18px;
}

.feature-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 15px;
}

.feature-card {
	position: relative;
	min-height: 252px;
	overflow: hidden;
	padding: 30px;
	border: 1px solid var(--border);
	border-radius: 16px;
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.027), transparent),
		var(--surface-1);
}

.feature-card::after {
	position: absolute;
	right: -80px;
	bottom: -100px;
	width: 230px;
	height: 230px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.025);
	content: "";
	filter: blur(10px);
}

.feature-icon {
	display: grid;
	width: 43px;
	height: 43px;
	margin-bottom: 22px;
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 11px;
	background: var(--green-soft);
	color: var(--green);
	place-items: center;
}

.feature-icon svg {
	width: 21px;
	height: 21px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.feature-card h3 {
	margin: 0;
	font-size: 22px;
	letter-spacing: -0.03em;
}

.feature-card p {
	max-width: 520px;
	margin: 9px 0 0;
	color: var(--text-soft);
}

.feature-card-large {
	grid-row: span 2;
	min-height: 519px;
}

.friend-stack {
	position: absolute;
	right: 30px;
	bottom: 34px;
	left: 30px;
	display: flex;
	height: 170px;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 13px;
	background:
		radial-gradient(circle at center, rgba(255, 255, 255, 0.07), transparent 58%),
		rgba(0, 0, 0, 0.15);
}

.friend-orbit {
	position: absolute;
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 50%;
}

.orbit-a {
	width: 120px;
	height: 120px;
}

.orbit-b {
	width: 190px;
	height: 190px;
}

.orbit-c {
	width: 270px;
	height: 270px;
}

.friend-avatar,
.friend-count {
	position: relative;
	z-index: 2;
	display: grid;
	width: 62px;
	height: 62px;
	margin-left: -9px;
	border: 3px solid #20252f;
	border-radius: 50%;
	font-weight: 850;
	place-items: center;
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.friend-avatar:first-of-type {
	margin-left: 0;
}

.friend-avatar > span {
	display: grid;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	place-items: center;
}

.friend-avatar > i {
	position: absolute;
	right: 1px;
	bottom: 2px;
	width: 12px;
	height: 12px;
	border: 3px solid #20252f;
	border-radius: 50%;
	background: #f4f4f2;
}

.avatar-a {
	margin-left: 0;
	transform: translateY(9px);
	color: #242424;
}

.avatar-a > span {
	background: #dededb;
}

.avatar-b {
	z-index: 2;
	transform: translateY(-11px);
	color: #1a1a1b;
}

.avatar-b > span {
	background: #a9aaad;
}

.avatar-c {
	transform: translateY(6px);
	color: #f3f3f1;
}

.avatar-c > span {
	background: #717378;
}

.friend-count {
	width: 48px;
	height: 48px;
	background: #2c3441;
	color: var(--text-soft);
	font-size: 13px;
}

.dialog-close svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-width: 2;
}

.feature-card-wide {
	display: flex;
	min-height: 220px;
	grid-column: 1 / -1;
	align-items: center;
	justify-content: space-between;
}

.speed-lines {
	display: flex;
	width: 32%;
	align-items: flex-end;
	justify-content: center;
	gap: 10px;
	padding-right: 30px;
}

.speed-lines i {
	width: 16px;
	border-radius: 8px 8px 3px 3px;
	background: linear-gradient(180deg, var(--green), rgba(255, 255, 255, 0.08));
}

.speed-lines i:nth-child(1) {
	height: 45px;
}

.speed-lines i:nth-child(2) {
	height: 75px;
}

.speed-lines i:nth-child(3) {
	height: 110px;
}

.speed-lines i:nth-child(4) {
	height: 145px;
}

.socials-section {
	padding-top: 35px;
}

.social-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 13px;
}

.social-card {
	display: grid;
	min-height: 128px;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 14px;
	padding: 20px;
	overflow: hidden;
	border: 1px solid var(--border);
	border-radius: 15px;
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent),
		var(--surface-1);
	transition:
		transform 160ms ease,
		border-color 160ms ease,
		background 160ms ease;
}

.social-card:hover {
	transform: translateY(-3px);
	border-color: rgba(255, 255, 255, 0.22);
	background: var(--surface-2);
}

.social-icon {
	display: grid;
	width: 48px;
	height: 48px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 13px;
	background: #f4f4f2;
	color: #0a0a0a;
	place-items: center;
}

.social-icon svg {
	width: 25px;
	height: 25px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.social-card strong,
.social-card small {
	display: block;
}

.social-card strong {
	font-size: 15px;
}

.social-card small {
	margin-top: 2px;
	color: var(--text-muted);
	font-size: 11px;
}

.social-card i {
	display: grid;
	width: 29px;
	height: 29px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.05);
	color: var(--text-muted);
	place-items: center;
}

.social-card i svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
}

.social-card:hover i {
	color: var(--text);
}

.requirements-section {
	padding-top: 20px;
}

.requirements-panel {
	display: grid;
	grid-template-columns: 1.2fr 0.9fr auto;
	align-items: center;
	gap: 50px;
	padding: 48px;
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 20px;
	background:
		linear-gradient(110deg, rgba(255, 255, 255, 0.055), transparent 42%),
		var(--surface-1);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.requirements-panel ul {
	display: grid;
	gap: 9px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.requirements-panel li {
	display: flex;
	justify-content: space-between;
	gap: 25px;
	padding-bottom: 9px;
	border-bottom: 1px solid var(--border);
	font-size: 13px;
}

.requirements-panel li span {
	color: var(--text-muted);
}

.requirements-panel li strong {
	text-align: right;
}

.site-footer {
	display: grid;
	width: min(calc(100% - 40px), var(--max-width));
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 30px;
	margin: 0 auto;
	padding: 36px 0;
	border-top: 1px solid var(--border);
	color: var(--text-muted);
	font-size: 12px;
}

.footer-brand {
	color: var(--text);
}

.footer-brand strong,
.footer-brand small {
	display: block;
}

.footer-brand small {
	margin-top: 1px;
	color: var(--text-muted);
	font-size: 10px;
}

.site-footer > p {
	text-align: center;
}

.footer-links {
	display: flex;
	justify-content: flex-end;
	gap: 18px;
}

.footer-links a:hover {
	color: var(--text);
}

.auth-dialog {
	width: min(calc(100% - 30px), 490px);
	max-height: min(90vh, 760px);
	padding: 0;
	overflow: auto;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 18px;
	background: var(--surface-1);
	box-shadow: var(--shadow);
	color: var(--text);
}

.auth-dialog::backdrop {
	background: rgba(4, 6, 10, 0.78);
	backdrop-filter: blur(8px);
}

.dialog-shell {
	position: relative;
	padding: 30px;
}

.dialog-close {
	position: absolute;
	top: 18px;
	right: 18px;
	width: 34px;
	height: 34px;
	border-radius: 9px;
	background: rgba(255, 255, 255, 0.06);
	font-size: 23px;
	line-height: 1;
}

.dialog-close:hover {
	background: rgba(255, 255, 255, 0.1);
	color: var(--text);
}

.dialog-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 26px;
}

.dialog-brand img {
	width: 36px;
	height: 36px;
	border-radius: 9px;
}

.dialog-brand strong,
.dialog-brand small {
	display: block;
}

.dialog-brand strong {
	line-height: 1.15;
}

.dialog-brand small {
	color: var(--text-muted);
	font-size: 11px;
}

.auth-tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px;
	margin-bottom: 27px;
	padding: 4px;
	border-radius: 11px;
	background: var(--surface-0);
}

.auth-tabs button {
	height: 38px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--text-muted);
	cursor: pointer;
	font-size: 13px;
	font-weight: 750;
}

.auth-tabs button.active {
	background: var(--surface-3);
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
	color: var(--text);
}

.dialog-heading {
	margin-bottom: 22px;
}

.dialog-heading h2 {
	margin: 0;
	font-size: 27px;
	letter-spacing: -0.035em;
}

.dialog-heading p {
	margin: 6px 0 0;
	color: var(--text-soft);
	font-size: 14px;
}

.auth-form {
	display: grid;
	gap: 15px;
}

.auth-form[hidden],
.account-panel[hidden] {
	display: none;
}

.auth-form label {
	display: grid;
	gap: 7px;
	color: var(--text-soft);
	font-size: 12px;
	font-weight: 700;
}

.auth-form input {
	width: 100%;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--border);
	border-radius: 9px;
	outline: none;
	background: var(--surface-0);
	color: var(--text);
	font-size: 14px;
	transition: border-color 140ms ease;
}

.auth-form input:hover {
	border-color: rgba(255, 255, 255, 0.17);
}

.auth-form input:focus {
	border-color: var(--green);
}

.form-link {
	justify-self: end;
	margin: -5px 0 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--text-soft);
	cursor: pointer;
	font-size: 12px;
}

.form-link:hover {
	color: var(--text);
	text-decoration: underline;
}

.pow-challenge {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 11px;
	min-height: 56px;
	padding: 9px;
	border: 1px solid var(--border);
	border-radius: 10px;
	background: var(--surface-0);
}

.pow-button {
	min-height: 36px;
	padding: 0 12px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 8px;
	background: var(--surface-3);
	color: var(--text);
	cursor: pointer;
	font-size: 12px;
	font-weight: 750;
}

.pow-button:disabled {
	cursor: wait;
	opacity: 0.7;
}

.pow-status {
	color: var(--text-muted);
	font-size: 11px;
	line-height: 1.3;
}

.pow-challenge.verified {
	border-color: rgba(190, 255, 205, 0.3);
}

.pow-challenge.verified .pow-button {
	background: #dce8df;
	color: #101712;
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 11px;
}

.form-error {
	min-height: 18px;
	margin: -3px 0 0;
	color: var(--danger);
	font-size: 12px;
}

.form-submit {
	width: 100%;
	margin-top: 2px;
}

.form-submit[disabled] {
	cursor: wait;
	opacity: 0.65;
}

.account-panel {
	text-align: center;
}

.auth-message-panel {
	text-align: center;
}

.auth-page {
	display: grid;
	min-height: 100vh;
	padding: 24px;
	background:
		radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.06), transparent 32%),
		var(--surface-0);
	place-items: center;
}

.auth-page-card {
	width: min(100%, 480px);
	padding: 30px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 18px;
	background: var(--surface-1);
	box-shadow: var(--shadow);
}

.auth-page-card .dialog-heading h1 {
	margin: 0;
	font-size: 27px;
	letter-spacing: -0.035em;
}

.auth-page-card .dialog-brand {
	width: max-content;
}

.account-avatar {
	display: grid;
	width: 74px;
	height: 74px;
	margin: 7px auto 17px;
	border-radius: 21px;
	background: linear-gradient(145deg, #ffffff, #bdbdb9);
	color: #080808;
	font-size: 30px;
	font-weight: 900;
	place-items: center;
	box-shadow: 0 16px 35px rgba(255, 255, 255, 0.08);
}

.account-panel h2 {
	margin: 0;
	font-size: 26px;
	letter-spacing: -0.035em;
}

.account-panel > p {
	margin: 3px 0 0;
	color: var(--text-muted);
}

.account-note {
	margin: 22px 0;
	padding: 13px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 10px;
	background: var(--green-soft);
	color: #ddddda;
	font-size: 13px;
}

.toast {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 80;
	max-width: min(360px, calc(100% - 40px));
	padding: 12px 16px;
	transform: translateY(30px);
	border: 1px solid var(--border);
	border-radius: 11px;
	background: var(--surface-3);
	box-shadow: 0 16px 45px rgba(0, 0, 0, 0.35);
	color: var(--text);
	font-size: 13px;
	opacity: 0;
	pointer-events: none;
	transition:
		opacity 180ms ease,
		transform 180ms ease;
}

.toast.visible {
	transform: translateY(0);
	opacity: 1;
}

@media (max-width: 1080px) {
	.hero {
		min-height: 0;
		grid-template-columns: 1fr;
		gap: 60px;
		padding-top: 150px;
	}

	.hero-content {
		max-width: 730px;
		margin-inline: auto;
		text-align: center;
	}

	.hero-actions,
	.version-line {
		justify-content: center;
	}

	.launcher-showcase {
		width: min(760px, 100%);
		margin: 0 auto -180px;
	}

	.showcase-window {
		width: 100%;
		transform: none;
	}

	.hero {
		padding-bottom: 250px;
	}

	.requirements-panel {
		grid-template-columns: 1fr 1fr;
	}

	.social-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.requirements-panel .button {
		grid-column: 1 / -1;
	}
}

@media (max-width: 760px) {
	html {
		scroll-padding-top: 75px;
	}

	.site-header {
		position: absolute;
		width: calc(100% - 30px);
		height: 68px;
	}

	.main-nav {
		position: fixed;
		top: 65px;
		right: 15px;
		left: 15px;
		display: none;
		padding: 8px;
		border-color: rgba(255, 255, 255, 0.12);
		background: rgba(18, 21, 29, 0.97);
		box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
	}

	body.menu-open .main-nav {
		display: grid;
	}

	.main-nav a {
		padding: 11px 12px;
	}

	.header-actions .button-small {
		display: none;
	}

	.menu-button {
		display: grid;
	}

	.hero {
		gap: 40px;
		padding: 123px 20px 132px;
	}

	.hero h1 {
		font-size: clamp(46px, 14.5vw, 66px);
	}

	.hero-copy {
		font-size: 17px;
	}

	.hero-actions {
		display: grid;
	}

	.hero-actions .button {
		width: 100%;
	}

	.launcher-showcase {
		margin-bottom: -85px;
	}

	.window-body {
		height: 300px;
		grid-template-columns: 1fr;
	}

	.mock-sidebar {
		display: none;
	}

	.mock-content {
		padding: 20px;
	}

	.instance-art {
		height: 90px;
	}

	.section {
		width: min(calc(100% - 30px), var(--max-width));
		padding-block: 80px;
	}

	.feature-grid {
		grid-template-columns: 1fr;
	}

	.feature-card,
	.feature-card-large,
	.feature-card-wide {
		min-height: 0;
		grid-column: auto;
		grid-row: auto;
	}

	.feature-card-large {
		padding-bottom: 235px;
	}

	.friend-stack {
		height: 170px;
	}

	.feature-card-wide {
		display: block;
	}

	.social-grid {
		grid-template-columns: 1fr;
	}

	.social-card {
		min-height: 100px;
	}

	.speed-lines {
		width: 100%;
		height: 120px;
		align-items: flex-end;
		padding: 0;
	}

	.speed-lines i:nth-child(4) {
		height: 110px;
	}

	.requirements-section {
		padding-top: 0;
	}

	.requirements-panel {
		grid-template-columns: 1fr;
		gap: 30px;
		padding: 28px;
	}

	.requirements-panel .button {
		grid-column: auto;
	}

	.site-footer {
		grid-template-columns: 1fr;
		justify-items: center;
		text-align: center;
	}

	.footer-links {
		justify-content: center;
	}
}

@media (max-width: 480px) {
	.brand span {
		font-size: 19px;
	}

	.hero {
		padding-inline: 15px;
	}

	.eyebrow {
		font-size: 11px;
	}

	.launcher-showcase {
		margin-bottom: -60px;
	}

	.window-bar {
		height: 40px;
	}

	.window-body {
		height: 280px;
	}

	.mock-content {
		padding: 16px;
	}

	.mock-grid {
		display: none;
	}

	.form-row {
		grid-template-columns: 1fr;
	}

	.dialog-shell {
		padding: 23px;
	}

	.auth-dialog {
		max-height: 94vh;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
