:root {
	--ink: #07050b;
	--violet-950: #100a19;
	--violet-900: #171022;
	--violet-800: #241631;
	--violet-700: #342044;
	--gold-500: #f2ad55;
	--gold-300: #ffdc92;
	--smoke-300: #b8c6d7;
	--sage-400: #98aa85;
	--paper: #fff6e7;
	--muted: #b8afc4;
	--line: rgba(255, 220, 146, 0.18);
	--surface: rgba(18, 11, 28, 0.48);
	--surface-strong: rgba(26, 17, 39, 0.68);
	--shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background:
		linear-gradient(135deg, rgba(7, 5, 11, 1), rgba(19, 10, 28, 1) 46%, rgba(29, 18, 39, 1));
	color: var(--paper);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	letter-spacing: 0;
	line-height: 1.6;
	min-height: 100svh;
}

body::selection {
	background: var(--gold-500);
	color: var(--ink);
}

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

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

.site-header {
	align-items: flex-end;
	backdrop-filter: blur(18px);
	background: rgba(7, 5, 11, 0.46);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	left: 0;
	min-height: 96px;
	padding: 0.8rem max(1.25rem, calc((100vw - 1120px) / 2)) 0.55rem;
	position: fixed;
	right: 0;
	top: 0;
	z-index: 10;
}

.brand {
	align-items: flex-end;
	display: inline-flex;
	font-weight: 700;
	gap: 0.85rem;
	min-width: 0;
}

.brand img {
	aspect-ratio: 1 / 1;
	border-radius: 8px;
	box-shadow: 0 0 22px rgba(242, 173, 85, 0.2);
	flex: 0 0 auto;
	height: 65px;
	object-fit: cover;
	width: 65px;
}

.brand span {
	display: inline-block;
	line-height: 1;
	overflow: hidden;
	padding-bottom: 10px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.main-nav,
.site-footer nav,
.download-actions,
.hero-actions,
.legal-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.main-nav {
	align-items: flex-end;
	justify-content: flex-end;
	padding-bottom: 10px;
}

.main-nav a,
.site-footer a,
.text-link {
	color: var(--muted);
	font-size: 0.95rem;
	transition: color 180ms ease;
}

.main-nav a {
	line-height: 1;
}

.main-nav a:hover,
.main-nav a[aria-current="page"],
.site-footer a:hover,
.text-link:hover {
	color: var(--gold-300);
}

.hero {
	align-items: center;
	background:
		linear-gradient(90deg, rgba(7, 5, 11, 0.88), rgba(14, 8, 22, 0.62) 50%, rgba(7, 5, 11, 0.2)),
		linear-gradient(0deg, rgba(7, 5, 11, 0.3), rgba(7, 5, 11, 0.3)),
		url("background-1.jpg") center / cover;
	display: flex;
	isolation: isolate;
	min-height: 84svh;
	overflow: hidden;
	padding: 9rem max(1.25rem, calc((100vw - 1120px) / 2)) 5rem;
	position: relative;
}

.hero::before {
	background: inherit;
	content: "";
	inset: -18px;
	position: absolute;
	transform: scale(1.02);
	z-index: -2;
	animation: quietBreath 16s ease-in-out infinite alternate;
}

.hero::after {
	background:
		linear-gradient(180deg, transparent, rgba(7, 5, 11, 0.86)),
		linear-gradient(90deg, rgba(242, 173, 85, 0.14), transparent 34%, rgba(184, 198, 215, 0.08));
	content: "";
	inset: 0;
	position: absolute;
	z-index: -1;
}

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

.eyebrow {
	color: var(--gold-300);
	font-size: 0.8rem;
	font-weight: 700;
	margin: 0 0 0.9rem;
	text-transform: uppercase;
}

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

h1 {
	font-size: 5rem;
	line-height: 0.95;
	margin-bottom: 1.2rem;
}

h2 {
	font-size: 2.4rem;
	line-height: 1.12;
	margin-bottom: 1rem;
	max-width: 760px;
}

h3 {
	font-size: 1.12rem;
	line-height: 1.25;
	margin-bottom: 0.65rem;
}

.hero-copy {
	color: #f4ecdf;
	font-size: 1.3rem;
	max-width: 580px;
}

.btn {
	align-items: center;
	border: 1px solid var(--line);
	border-radius: 8px;
	display: inline-flex;
	font-weight: 750;
	gap: 0.65rem;
	justify-content: center;
	min-height: 48px;
	padding: 0.85rem 1rem;
	transition: border-color 180ms ease, color 180ms ease, transform 180ms ease, background 180ms ease;
}

.btn:hover {
	transform: translateY(-2px);
}

.btn-primary {
	background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
	border-color: transparent;
	color: #1a0f20;
	box-shadow: 0 16px 42px rgba(242, 173, 85, 0.24);
}

.btn-secondary {
	background: rgba(255, 255, 255, 0.06);
	color: var(--paper);
}

.btn-secondary:hover {
	border-color: rgba(255, 220, 146, 0.42);
}

.store-link::before {
	border-bottom: 7px solid transparent;
	border-left: 11px solid currentColor;
	border-top: 7px solid transparent;
	content: "";
	height: 0;
	width: 0;
}

.section {
	padding: 6rem max(1.25rem, calc((100vw - 1120px) / 2));
}

.section-inner {
	margin: 0 auto;
	max-width: 1120px;
	width: 100%;
}

.split-layout,
.download-layout {
	align-items: center;
	display: grid;
	gap: 3rem;
	grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
}

.intro-section {
	background:
		linear-gradient(90deg, rgba(7, 5, 11, 0.96), rgba(18, 10, 28, 0.84) 54%, rgba(7, 5, 11, 0.56));
	overflow: hidden;
	position: relative;
}

.intro-section::before {
	background: url("background-2.jpg") 76% center / cover fixed;
	content: "";
	filter: saturate(0.74) brightness(0.72);
	inset: 0;
	opacity: 0.58;
	position: absolute;
	z-index: 0;
}

.intro-section::after {
	background:
		radial-gradient(circle at 78% 52%, rgba(184, 198, 215, 0.16), transparent 30%),
		linear-gradient(180deg, rgba(7, 5, 11, 0.08), rgba(7, 5, 11, 0.74));
	content: "";
	inset: 0;
	position: absolute;
	z-index: 0;
}

.intro-layout {
	align-items: center;
	display: grid;
	gap: 3rem;
	grid-template-columns: minmax(0, 0.96fr) minmax(230px, 0.54fr);
	min-height: 560px;
	position: relative;
	z-index: 1;
}

.intro-copy p,
.download-copy p,
.legal-hero p,
.legal-content p,
.feature p {
	color: var(--muted);
}

.intro-copy {
	max-width: 660px;
}

.intro-points {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin-top: 1.6rem;
}

.intro-points span {
	background: rgba(255, 255, 255, 0.045);
	border: 1px solid rgba(184, 198, 215, 0.18);
	border-radius: 8px;
	color: #f6ead5;
	font-size: 0.9rem;
	font-weight: 700;
	padding: 0.55rem 0.75rem;
}

.app-preview {
	align-items: center;
	aspect-ratio: 1;
	display: flex;
	justify-content: center;
	justify-self: end;
	margin: 0;
	max-width: 330px;
	width: 100%;
}

.app-preview img {
	aspect-ratio: 1 / 1;
	border-radius: 8px;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 38px rgba(242, 173, 85, 0.14);
	height: auto;
	object-fit: contain;
	width: 100%;
	animation: warmGlow 4s ease-in-out infinite alternate;
}

.feature-section {
	background: var(--ink);
}

.feature-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature {
	backdrop-filter: blur(12px);
	background: rgba(255, 255, 255, 0.025);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 8px;
	min-height: 210px;
	padding: 1.4rem;
}

.feature-index {
	align-items: center;
	display: inline-flex;
	gap: 0.55rem;
	height: 18px;
	margin-bottom: 2.25rem;
	width: 58px;
}

.feature-index::before {
	background: var(--gold-300);
	border-radius: 999px;
	box-shadow: 0 0 18px rgba(242, 173, 85, 0.32);
	content: "";
	height: 7px;
	width: 7px;
}

.feature-index::after {
	background: linear-gradient(90deg, rgba(255, 220, 146, 0.44), transparent);
	content: "";
	height: 1px;
	width: 36px;
}

.download-section {
	background:
		linear-gradient(135deg, rgba(36, 22, 49, 0.66), rgba(7, 5, 11, 0.76)),
		url("background-1.jpg") center / cover;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.download-copy {
	max-width: 640px;
}

.qr-panel {
	justify-self: end;
	margin: 0;
	max-width: 310px;
	width: 100%;
}

.qr-panel img {
	aspect-ratio: 1 / 1;
	background: #fff;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 8px;
	box-shadow: var(--shadow);
	height: auto;
	object-fit: contain;
	padding: 0.9rem;
	width: 100%;
}

.qr-panel figcaption {
	color: var(--muted);
	font-size: 0.9rem;
	margin-top: 0.9rem;
	text-align: center;
}

.site-footer {
	align-items: center;
	background: #060409;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	color: var(--muted);
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: space-between;
	padding: 1.4rem max(1.25rem, calc((100vw - 1120px) / 2));
}

.legal-page {
	background:
		linear-gradient(135deg, rgba(7, 5, 11, 0.84), rgba(19, 10, 28, 0.9)),
		url("background-1.jpg") center / cover fixed;
}

.legal-shell {
	margin: 0 auto;
	max-width: 960px;
	padding: 8.5rem 1.25rem 4rem;
}

.legal-hero {
	margin-bottom: 2rem;
}

.legal-hero h1 {
	font-size: 3.3rem;
	margin-bottom: 1rem;
}

.legal-content {
	backdrop-filter: blur(16px);
	background: var(--surface-strong);
	border: 1px solid var(--line);
	border-radius: 8px;
	box-shadow: var(--shadow);
	padding: 2rem;
}

.legal-content article {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding-top: 1.45rem;
}

.legal-content article + article {
	margin-top: 1.45rem;
}

.legal-content h2 {
	font-size: 1.25rem;
}

.legal-content a {
	color: var(--gold-300);
	text-decoration: underline;
	text-decoration-color: rgba(255, 220, 146, 0.35);
	text-underline-offset: 0.22em;
}

.updated {
	color: var(--smoke-300);
	font-weight: 700;
}

.legal-actions {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	margin-top: 1.8rem;
	padding-top: 1.8rem;
}

@keyframes quietBreath {
	from {
		transform: scale(1.02) translate3d(0, 0, 0);
	}
	to {
		transform: scale(1.07) translate3d(-12px, 8px, 0);
	}
}

@keyframes warmGlow {
	from {
		filter: drop-shadow(0 0 14px rgba(242, 173, 85, 0.12));
	}
	to {
		filter: drop-shadow(0 0 28px rgba(242, 173, 85, 0.24));
	}
}

@media (max-width: 900px) {
	.site-header {
		align-items: flex-start;
		flex-direction: column;
		min-height: 0;
		padding-bottom: 0.85rem;
	}

	.main-nav {
		justify-content: flex-start;
		width: 100%;
	}

	.hero {
		min-height: 82svh;
		padding-top: 11rem;
	}

	h1 {
		font-size: 3.45rem;
	}

	h2 {
		font-size: 2rem;
	}

	.hero-copy {
		font-size: 1.12rem;
	}

	.split-layout,
	.intro-layout,
	.download-layout,
	.feature-grid {
		grid-template-columns: 1fr;
	}

	.intro-layout {
		min-height: auto;
	}

	.app-preview {
		justify-self: start;
		max-width: 280px;
	}

	.qr-panel {
		justify-self: start;
	}
}

@media (max-width: 560px) {
	.site-header {
		position: absolute;
	}

	.main-nav a {
		font-size: 0.88rem;
	}

	.hero {
		min-height: 80svh;
		padding-bottom: 4rem;
		padding-top: 11.5rem;
	}

	h1 {
		font-size: 2.8rem;
	}

	h2,
	.legal-hero h1 {
		font-size: 1.75rem;
	}

	.section {
		padding-bottom: 4rem;
		padding-top: 4rem;
	}

	.btn {
		width: 100%;
	}

	.hero-actions,
	.download-actions,
	.legal-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.legal-content {
		padding: 1.25rem;
	}

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

@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;
	}
}
