:root {
	--background: #090a0f;
	--surface: #101118;
	--surface-raised: #151720;
	--surface-soft: #1a1c26;
	--text: #f4f5f8;
	--muted: #9a9eac;
	--muted-strong: #c3c6d0;
	--line: #292c38;
	--line-strong: #3a3e4d;
	--accent: #766cf1;
	--accent-hover: #8e85ff;
	--accent-soft: rgba(118, 108, 241, 0.14);
	--radius: 18px;
	--shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

*, *::before, *::after {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	background:
		radial-gradient(circle at 50% 0%, rgba(118, 108, 241, 0.08), transparent 33rem),
		var(--background);
	color: var(--text);
	font-family: 'Manrope', system-ui, sans-serif;
	font-size: 16px;
	line-height: 1.65;
	overflow-x: hidden;
}

a {
	color: inherit;
}

img {
	display: block;
	max-width: 100%;
}

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

:focus-visible {
	outline: 2px solid var(--accent-hover);
	outline-offset: 4px;
}

.shell {
	width: min(1160px, calc(100% - 48px));
	margin-inline: auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 30;
	border-bottom: 1px solid rgba(41, 44, 56, 0.72);
	background: rgba(9, 10, 15, 0.86);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
}

.nav {
	position: relative;
	display: flex;
	min-height: 76px;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--text);
	font-size: 0.98rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	text-decoration: none;
}

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

.brand-mark {
	display: grid;
	width: 38px;
	height: 38px;
	place-items: center;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--surface-raised);
}

.brand-mark img {
	width: 25px;
	height: 25px;
	object-fit: contain;
}

.desktop-nav {
	display: flex;
	align-items: center;
	gap: 28px;
}

.desktop-nav a {
	color: var(--muted);
	font-size: 0.84rem;
	font-weight: 700;
	text-decoration: none;
	transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.desktop-nav a:hover {
	color: var(--text);
}

.desktop-nav .nav-cta {
	padding: 10px 17px;
	border: 1px solid var(--accent);
	border-radius: 10px;
	background: var(--accent);
	color: #ffffff;
}

.desktop-nav .nav-cta:hover {
	border-color: var(--accent-hover);
	background: var(--accent-hover);
	color: #ffffff;
}

.mobile-nav {
	display: none;
}

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

h1, h2, h3 {
	line-height: 1.1;
}

.hero {
	display: flex;
	min-height: 650px;
	align-items: center;
	justify-content: center;
	padding-block: 120px 130px;
	text-align: center;
}

.hero-copy {
	max-width: 940px;
}

.hero h1 {
	margin-bottom: 28px;
	font-size: clamp(3.2rem, 7.4vw, 6.3rem);
	font-weight: 800;
	letter-spacing: -0.068em;
}

.hero p {
	max-width: 710px;
	margin: 0 auto 38px;
	color: var(--muted-strong);
	font-size: clamp(1rem, 1.8vw, 1.17rem);
}

.button-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.button {
	display: inline-flex;
	min-height: 50px;
	align-items: center;
	justify-content: center;
	padding: 0 21px;
	border: 1px solid transparent;
	border-radius: 10px;
	font-size: 0.88rem;
	font-weight: 800;
	text-decoration: none;
	transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.button-primary {
	border-color: var(--accent);
	background: var(--accent);
	color: #ffffff;
}

.button-primary:hover {
	border-color: var(--accent-hover);
	background: var(--accent-hover);
	color: #ffffff;
}

.button-secondary {
	border-color: var(--line-strong);
	background: var(--surface);
	color: var(--text);
}

.button-secondary:hover {
	border-color: #515665;
	background: var(--surface-raised);
	color: var(--text);
}

.section {
	padding-block: 120px;
}

.model-section {
	border-bottom: 1px solid var(--line);
	background: var(--surface);
}

.model-layout {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
	align-items: center;
	gap: clamp(60px, 8vw, 120px);
}

.model-copy h2,
.section-heading h2,
.requirements-copy h2,
.community h2 {
	margin-bottom: 0;
	font-size: clamp(2.35rem, 4.7vw, 4.25rem);
	font-weight: 800;
	letter-spacing: -0.055em;
}

.model-copy > p {
	margin: 24px 0 0;
	color: var(--muted);
}

.model-stage {
	position: relative;
	height: min(600px, 70vw);
	min-height: 480px;
	border: 1px solid var(--line);
	border-radius: 24px;
	background:
		radial-gradient(circle at 50% 50%, rgba(118, 108, 241, 0.16), transparent 46%),
		var(--background);
	box-shadow: var(--shadow);
	overflow: hidden;
}

model-viewer {
	display: block;
	width: 100%;
	height: 100%;
	background: transparent;
	--poster-color: transparent;
}

.section-heading {
	display: grid;
	grid-template-columns: 1fr minmax(280px, 390px);
	align-items: end;
	gap: 50px;
	margin-bottom: 50px;
}

.section-heading p {
	margin-bottom: 5px;
	color: var(--muted);
}

.steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	overflow: hidden;
}

.install-step {
	min-height: 330px;
	padding: 29px 26px;
	border-right: 1px solid var(--line);
}

.install-step:last-child {
	border-right: 0;
}

.step-number {
	display: flex;
	width: 39px;
	height: 39px;
	align-items: center;
	justify-content: center;
	margin-bottom: 74px;
	border: 1px solid rgba(118, 108, 241, 0.38);
	border-radius: 9px;
	background: var(--accent-soft);
	color: #b7b1ff;
	font-family: 'DM Mono', monospace;
	font-size: 0.72rem;
}

.install-step h3 {
	margin-bottom: 13px;
	font-size: 1.05rem;
	font-weight: 800;
}

.install-step p {
	margin-bottom: 0;
	color: var(--muted);
	font-size: 0.86rem;
}

.install-step a {
	color: var(--muted-strong);
	font-weight: 700;
	text-decoration-color: var(--accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.install-step a:hover {
	color: var(--text);
}

code,
.key {
	padding: 2px 6px;
	border: 1px solid var(--line-strong);
	border-radius: 5px;
	background: var(--background);
	color: #d8d6ff;
	font-family: 'DM Mono', monospace;
	font-size: 0.78em;
}

.requirements-section {
	border-block: 1px solid var(--line);
	background: var(--surface);
}

.requirements-layout {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
	align-items: start;
	gap: clamp(60px, 9vw, 130px);
}

.requirements-copy p {
	max-width: 420px;
	margin: 24px 0 0;
	color: var(--muted);
}

.requirement-list {
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--line);
	list-style: none;
}

.requirement-list li {
	padding: 23px 0;
	border-bottom: 1px solid var(--line);
}

.requirement-list strong {
	display: block;
	margin-bottom: 3px;
	font-size: 0.95rem;
}

.requirement-list li > span {
	color: var(--muted);
	font-size: 0.84rem;
}

.community {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 50px;
	margin-block: 110px;
	padding: clamp(38px, 6vw, 68px);
	border: 1px solid var(--line-strong);
	border-radius: 22px;
	background:
		linear-gradient(120deg, rgba(118, 108, 241, 0.14), transparent 48%),
		var(--surface-raised);
}

.community p {
	max-width: 600px;
	margin: 20px 0 0;
	color: var(--muted);
}

.community .button {
	min-width: 160px;
}

.footer {
	padding: 44px 0;
	border-top: 1px solid var(--line);
	background: #07080c;
}

.footer-inner {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 30px;
}

.support-email {
	display: inline-block;
	margin-bottom: 8px;
	color: var(--text);
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
}

.support-email:hover {
	color: var(--accent-hover);
}

.footer p {
	margin: 0;
	color: var(--muted);
	font-size: 0.75rem;
}

.footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.footer-links a {
	color: var(--muted);
	font-size: 0.78rem;
	font-weight: 700;
	text-decoration: none;
}

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

@media (max-width: 1080px) {
	.steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.install-step:nth-child(2) {
		border-right: 0;
	}

	.install-step:nth-child(-n + 2) {
		border-bottom: 1px solid var(--line);
	}
}

@media (max-width: 900px) {
	.model-layout,
	.requirements-layout {
		grid-template-columns: 1fr;
	}

	.model-copy,
	.requirements-copy {
		max-width: 640px;
	}

	.model-stage {
		height: 570px;
		min-height: 0;
	}
}

@media (max-width: 760px) {
	.shell {
		width: min(100% - 32px, 1160px);
	}

	.desktop-nav {
		display: none;
	}

	.mobile-nav {
		display: block;
	}

	.mobile-nav summary {
		padding: 9px 14px;
		border: 1px solid var(--line-strong);
		border-radius: 9px;
		background: var(--surface-raised);
		color: var(--text);
		cursor: pointer;
		font-size: 0.8rem;
		font-weight: 800;
		list-style: none;
	}

	.mobile-nav summary::-webkit-details-marker {
		display: none;
	}

	.mobile-nav[open] summary {
		border-color: var(--accent);
		background: var(--accent);
		color: #ffffff;
	}

	.mobile-nav-panel {
		position: absolute;
		top: calc(100% + 1px);
		right: 0;
		display: grid;
		width: min(320px, calc(100vw - 32px));
		padding: 10px;
		border: 1px solid var(--line);
		border-radius: 0 0 14px 14px;
		background: #0e0f15;
		box-shadow: 0 24px 50px rgba(0, 0, 0, 0.46);
	}

	.mobile-nav-panel a {
		padding: 13px 14px;
		border-radius: 8px;
		color: var(--muted-strong);
		font-size: 0.86rem;
		font-weight: 700;
		text-decoration: none;
	}

	.mobile-nav-panel a:hover {
		background: var(--surface-soft);
		color: var(--text);
	}

	.hero {
		min-height: 590px;
		padding-block: 100px;
	}

	.proof-list {
		grid-template-columns: 1fr;
		padding-block: 8px;
	}

	.proof-list li,
	.proof-list li:first-child {
		min-height: 54px;
		border-right: 0;
		border-left: 0;
		border-bottom: 1px solid var(--line);
	}

	.proof-list li:last-child {
		border-bottom: 0;
	}

	.section-heading {
		grid-template-columns: 1fr;
		gap: 22px;
	}

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

	.community .button {
		justify-self: start;
	}
}

@media (max-width: 560px) {
	.nav {
		min-height: 68px;
	}

	.hero {
		min-height: 560px;
		padding-block: 84px;
	}

	.hero h1 {
		font-size: clamp(2.8rem, 14vw, 4.1rem);
	}

	.button-row {
		align-items: stretch;
		flex-direction: column;
	}

	.button {
		width: 100%;
	}

	.section {
		padding-block: 86px;
	}

	.model-stage {
		height: 440px;
		border-radius: 18px;
	}

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

	.install-step {
		min-height: 0;
		border-right: 0;
		border-bottom: 1px solid var(--line);
	}

	.install-step:nth-child(2) {
		border-right: 0;
	}

	.install-step:last-child {
		border-bottom: 0;
	}

	.step-number {
		margin-bottom: 42px;
	}

	.community {
		margin-block: 78px;
		padding: 32px 24px;
	}

	.community .button {
		justify-self: stretch;
	}

	.footer-inner {
		align-items: flex-start;
		flex-direction: column;
	}
}

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

	*, *::before, *::after {
		transition: none !important;
	}
}
