:root {
	--bg: #050505;
	--surface: #101010;
	--surface-alt: #181818;
	--text: #f5f5f5;
	--muted: #a3a3a3;
	--line: rgba(255, 255, 255, 0.08);
	--accent: #14b8a6;
	--accent-strong: #2dd4bf;
	--accent-soft: rgba(20, 184, 166, 0.14);
	--shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
	--radius: 24px;
	--shell: min(1120px, calc(100vw - 32px));
	--entropy-bg: #000;
	--entropy-fg: #fff;
	--entropy-muted: rgba(255, 255, 255, 0.62);
}

@keyframes bounce-x {
	0%,
	100% {
		transform: translateX(-4px);
	}

	50% {
		transform: translateX(0);
	}
}

@keyframes glow {
	0%,
	100% {
		opacity: 0.6;
		filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.3));
	}

	50% {
		opacity: 1;
		filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
	}
}

@keyframes float-up {
	0% {
		opacity: 0;
		transform: translateY(6px);
		filter: blur(2px);
	}

	100% {
		opacity: 1;
		transform: translateY(0);
		filter: blur(0);
	}
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	background: linear-gradient(180deg, #020202 0%, var(--bg) 100%);
	color: var(--text);
	line-height: 1.6;
}

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

a {
	color: inherit;
}

.shell {
	width: var(--shell);
	margin: 0 auto;
}

.section {
	padding: 32px 0 72px;
}

.stack-sm > * + * {
	margin-top: 12px;
}

.stack-md > * + * {
	margin-top: 20px;
}

.stack-lg > * + * {
	margin-top: 32px;
}

.site-shell {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	position: relative;
}

.site-main {
	flex: 1;
	position: relative;
	z-index: 1;
}

.site-background {
	position: fixed;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
	display: flex;
	align-items: center;
	justify-content: center;
}

.site-background__veil {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.site-background__frame {
	position: relative;
	width: min(84vw, 1120px);
	aspect-ratio: 1.18 / 1;
	border-radius: 34px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.09);
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.03),
		0 0 48px rgba(255, 255, 255, 0.08),
		0 40px 120px rgba(0, 0, 0, 0.6);
	background: rgba(0, 0, 0, 0.58);
	opacity: 0.42;
	transform: translateY(2vh);
}

.site-background__canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.site-background__canvas {
	opacity: 0.78;
	filter: blur(0.1px);
}

.site-background__veil {
	background:
		radial-gradient(circle at top left, rgba(20, 184, 166, 0.08), transparent 24%),
		radial-gradient(circle at center, rgba(255, 255, 255, 0.015), transparent 34%),
		linear-gradient(180deg, rgba(0, 0, 0, 0.54) 0%, rgba(0, 0, 0, 0.76) 100%);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	backdrop-filter: blur(16px);
	background: rgba(8, 8, 8, 0.74);
	border-bottom: 1px solid var(--line);
}

.site-header__inner,
.site-footer__inner,
.cta-band,
.hero {
	display: grid;
	gap: 24px;
}

.site-header__inner {
	grid-template-columns: 1fr auto;
	align-items: center;
	padding: 18px 0;
}

.site-brand {
	display: inline-flex;
	align-items: center;
	gap: 14px;
}

.site-brand__mark {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 14px;
	background: #fff;
	color: #111;
	font-weight: 700;
	text-decoration: none;
}

.site-brand__name {
	text-decoration: none;
	color: inherit;
}

.site-brand__name strong {
	font-size: 1rem;
	letter-spacing: -0.02em;
}

.menu {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.menu a,
.footer-links a,
.text-link {
	text-decoration: none;
}

.menu a:hover,
.footer-links a:hover,
.text-link:hover {
	color: var(--accent);
}

.hero {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: start;
	padding: 56px 0 24px;
	position: relative;
	z-index: 1;
}

.hero-compact {
	grid-template-columns: 1fr;
	padding-bottom: 0;
}

.hero-copy h1,
.section-heading h2,
.cta-band h2,
.prose h1,
.prose h2,
.prose h3 {
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -0.03em;
}

.hero-copy h1,
.prose h1 {
	font-size: clamp(2.4rem, 4vw, 4.75rem);
	margin: 0;
}

.lead {
	font-size: 1.15rem;
	color: var(--muted);
	max-width: 62ch;
}

.eyebrow {
	margin: 0 0 8px;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-size: 0.75rem;
	color: var(--accent-strong);
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 18px;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 600;
	border: 1px solid transparent;
	transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

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

.button-primary:hover {
	background: var(--accent-strong);
}

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

.button-ghost-light {
	background: transparent;
	color: var(--entropy-fg);
	border-color: rgba(255, 255, 255, 0.18);
}

.button-ghost-light:hover {
	border-color: rgba(255, 255, 255, 0.35);
}

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

.card,
.cta-band {
	background: rgba(16, 16, 16, 0.84);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	backdrop-filter: blur(16px);
}

.card {
	padding: 24px;
}

.hero-panel {
	background:
		linear-gradient(180deg, rgba(20, 184, 166, 0.12), rgba(16, 16, 16, 0.98)),
		var(--surface);
}

.hero-panel--dark,
.entropy-card {
	background:
		radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 30%),
		linear-gradient(160deg, #050505 0%, #101010 100%);
	color: var(--entropy-fg);
	border-color: rgba(255, 255, 255, 0.08);
}

.zodara-spotlight,
.legal-addon {
	margin-bottom: 24px;
}

.section-heading {
	max-width: 720px;
}

.card-grid,
.feature-grid,
.faq-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.app-card {
	display: grid;
	gap: 14px;
	align-content: start;
}

.card-media {
	display: block;
	overflow: hidden;
	border-radius: 18px;
}

.card-media img,
.media-frame img {
	width: 100%;
	object-fit: cover;
}

.media-frame {
	padding: 12px;
	background: #0b0b0b;
}

.feature-card {
	min-height: 140px;
	background: linear-gradient(180deg, rgba(16, 16, 16, 0.92), rgba(24, 24, 24, 0.96));
}

.faq-item summary {
	cursor: pointer;
	font-weight: 600;
}

.cta-band {
	grid-template-columns: 1.4fr auto;
	align-items: center;
	padding: 32px;
	background:
		radial-gradient(circle at top right, rgba(255, 255, 255, 0.22), transparent 32%),
		linear-gradient(135deg, #1f1a17 0%, #103c38 100%);
	color: #fff;
}

.prose {
	max-width: 76ch;
}

.prose p,
.prose li {
	color: #d4d4d4;
}

.prose > :first-child {
	margin-top: 0;
}

.prose > :last-child {
	margin-bottom: 0;
}

.legal-prose {
	background: #121212;
}

.site-footer {
	padding: 32px 0 48px;
	border-top: 1px solid var(--line);
	background: rgba(10, 10, 10, 0.8);
	position: relative;
	z-index: 1;
}

.site-footer__inner {
	grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
}

.site-footer__title {
	font-weight: 700;
	margin-top: 0;
}

.site-footer__legal {
	color: var(--muted);
	font-size: 0.95rem;
	max-width: 40ch;
}

.footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 8px;
}

.footer-links--meta {
	color: var(--muted);
}

.quick-access-panel {
	margin-bottom: 24px;
}

.app-logo {
	width: 72px;
	height: 72px;
	object-fit: contain;
	border-radius: 18px;
	background: var(--surface-alt);
	padding: 10px;
}

.store-links,
.store-checklist,
.quick-links {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 12px;
}

.store-links a,
.quick-links a {
	text-decoration: none;
}

.store-link-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 18px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.store-link-card strong,
.quick-links strong {
	display: block;
}

.store-link-card span,
.quick-links span,
.entropy-note {
	color: var(--entropy-muted);
}

.lighting-button {
	animation: bounce-x 1.5s ease-in-out infinite;
}

.lighting-button:hover {
	animation: none;
	transform: translateX(0);
}

.light-glow {
	animation: glow 2s ease-in-out infinite;
}

.screen-reader-text {
	position: absolute;
	left: -9999px;
}

@media (max-width: 900px) {
	.hero,
	.card-grid,
	.feature-grid,
	.faq-list,
	.site-footer__inner,
	.cta-band {
		grid-template-columns: 1fr;
	}

	.site-header__inner {
		grid-template-columns: 1fr;
	}

	.site-nav {
		overflow-x: auto;
	}

	.site-background__frame {
		width: min(92vw, 760px);
		opacity: 0.32;
	}
}

@media (max-width: 600px) {
	.hero {
		padding-top: 36px;
	}

	.card,
	.cta-band {
		padding: 20px;
		border-radius: 20px;
	}

	.menu {
		gap: 12px;
	}

	.site-background__frame {
		width: min(96vw, 560px);
		border-radius: 26px;
		opacity: 0.26;
	}
}
