/* CandleDash marketing site — neon retro / cyber grid */

:root {
	--neon: #00ff88;
	--neon-dim: #00cc6a;
	--neon-soft: #66ffaa;
	--orange: #ff8800;
	--orange-soft: #ffaa44;
	--danger: #ff0044;
	--cyan: #00ffff;
	--bg: #0a0a14;
	--bg-elevated: #121222;
	--surface: #1a1a2e;
	--surface-2: #2a2a4e;
	--border: #3a3a5e;
	--text: #ffffff;
	--text-muted: #7a8a9a;
	--glow-neon: 0 0 18px rgba(0, 255, 136, 0.45);
	--glow-orange: 0 0 18px rgba(255, 136, 0, 0.4);
	--max: 1120px;
	--font-display: "Orbitron", "Segoe UI", sans-serif;
	--font-mono: "Share Tech Mono", ui-monospace, monospace;
	--font-body: "Exo 2", system-ui, sans-serif;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	background: var(--bg);
	-webkit-text-size-adjust: 100%;
	scrollbar-gutter: stable;
	overflow-wrap: break-word;
}

body {
	margin: 0;
	color: var(--text);
	background: var(--bg);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.6;
	overflow-x: hidden;
}

body.site-nav-open {
	overflow: hidden;
}

img {
	max-width: 100%;
	display: block;
}

a {
	color: var(--neon);
	text-decoration: none;
}

a:hover,
a:focus-visible {
	color: var(--neon-soft);
	text-decoration: underline;
	text-underline-offset: 3px;
}

button {
	font: inherit;
	cursor: pointer;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Atmosphere ------------------------------------------------------------ */

.page-grid {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	background-image:
		linear-gradient(rgba(0, 255, 136, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(0, 255, 136, 0.035) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: radial-gradient(ellipse at center, #000 35%, transparent 78%);
}

.candle-field {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 0;
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
	.candle-field {
		display: none;
	}
}

.page-glow {
	position: fixed;
	inset: -20% -10% auto;
	height: 55vh;
	pointer-events: none;
	z-index: 0;
	background:
		radial-gradient(ellipse at 50% 0%, rgba(0, 255, 136, 0.12), transparent 55%),
		radial-gradient(ellipse at 80% 20%, rgba(255, 136, 0, 0.08), transparent 45%);
}

.scanlines {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 50;
	opacity: 0.06;
	background: repeating-linear-gradient(
		to bottom,
		transparent 0,
		transparent 2px,
		rgba(0, 0, 0, 0.55) 3px
	);
}

.site-wrap {
	position: relative;
	z-index: 1;
}

/* Top banner ------------------------------------------------------------ */

.store-banner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	flex-wrap: wrap;
	padding: 0.65rem 1.25rem;
	text-align: center;
	font-family: var(--font-mono);
	font-size: clamp(0.72rem, 2vw, 0.85rem);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--neon);
	background: linear-gradient(90deg, #050510, #0d1a14 40%, #1a1208 70%, #050510);
	border-bottom: 1px solid rgba(0, 255, 136, 0.25);
	box-shadow: inset 0 -1px 0 rgba(255, 136, 0, 0.15);
}

.store-banner > span:not(.store-banner__pip) {
	flex: 1 1 12rem;
	min-width: 0;
	max-width: 100%;
}

.store-banner a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-color: rgba(0, 255, 136, 0.45);
}

.store-banner a:hover,
.store-banner a:focus-visible {
	color: var(--neon-soft);
	text-decoration-color: var(--neon-soft);
}

.store-banner__pip {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--neon);
	box-shadow: var(--glow-neon);
	animation: pulse-pip 1.8s ease-in-out infinite;
}

@keyframes pulse-pip {
	0%,
	100% {
		opacity: 0.45;
		transform: scale(0.9);
	}
	50% {
		opacity: 1;
		transform: scale(1.15);
	}
}

/* Nav ------------------------------------------------------------------- */

.site-nav {
	position: sticky;
	top: 0;
	z-index: 40;
	backdrop-filter: blur(12px);
	background: rgba(10, 10, 20, 0.82);
	border-bottom: 1px solid rgba(58, 58, 94, 0.7);
}

.site-nav__inner {
	max-width: var(--max);
	margin: 0 auto;
	padding: 0.75rem 1.25rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.site-nav__brand {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	min-width: 0;
	color: var(--text);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
}

.site-nav__brand:hover {
	color: var(--neon);
	text-decoration: none;
}

.site-nav__brand-mark {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	border: 1px solid rgba(0, 255, 136, 0.45);
	box-shadow: var(--glow-neon);
	object-fit: cover;
}

.site-nav__end {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin-left: auto;
}

.social-links {
	display: flex;
	align-items: center;
	gap: 0;
}

.social-links__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 8px;
	color: var(--text-muted);
	text-decoration: none;
	transition:
		background 120ms ease,
		color 120ms ease;
}

.social-links__link:hover,
.social-links__link:focus-visible {
	color: var(--neon);
	background: rgba(0, 255, 136, 0.08);
	text-decoration: none;
	text-shadow: 0 0 10px rgba(0, 255, 136, 0.35);
	outline: none;
}

.social-links__link:focus-visible {
	box-shadow: 0 0 0 2px rgba(0, 255, 136, 0.45);
}

.social-links__icon {
	display: block;
	width: 20px;
	height: 20px;
}

.site-nav__links .social-links {
	flex-shrink: 0;
}

.site-nav__links {
	display: flex;
	align-items: center;
	gap: 1.1rem;
}

.site-nav__link {
	font-family: var(--font-mono);
	font-size: 0.85rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text-muted);
	text-decoration: none;
	white-space: normal;
	overflow-wrap: break-word;
}

.site-nav__link:hover,
.site-nav__link[aria-current="page"] {
	color: var(--neon);
	text-decoration: none;
	text-shadow: 0 0 10px rgba(0, 255, 136, 0.35);
}

.site-nav__home-group {
	display: inline-flex;
	align-items: baseline;
	gap: 0.65rem;
}

.site-nav__anchors {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
}

.site-nav__link--anchor {
	font-size: 0.68rem;
	letter-spacing: 0.06em;
	opacity: 0.85;
	color: rgba(122, 138, 154, 0.95);
}

.site-nav__link--anchor:hover,
.site-nav__link--anchor:focus-visible {
	color: var(--neon-soft);
	opacity: 1;
	text-decoration: none;
	text-shadow: 0 0 8px rgba(0, 255, 136, 0.3);
}

.site-nav__anchor-sep {
	color: rgba(58, 58, 94, 0.95);
	font-size: 0.65rem;
	user-select: none;
}

.site-nav__toggle {
	display: none;
	width: 42px;
	height: 42px;
	border-radius: 8px;
	border: 1px solid var(--border);
	background: transparent;
	color: var(--neon);
	align-items: center;
	justify-content: center;
}

.site-nav__toggle-icon {
	display: flex;
	flex-direction: column;
	gap: 5px;
	width: 18px;
}

.site-nav__toggle-icon span {
	display: block;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	box-shadow: 0 0 6px rgba(0, 255, 136, 0.5);
}

@media (max-width: 1024px) {
	.store-banner {
		letter-spacing: 0.06em;
		padding-left: 0.85rem;
		padding-right: 0.85rem;
	}

	.store-banner__pip {
		display: none;
	}

	.site-nav__inner {
		flex-wrap: wrap;
		gap: 0.45rem 0.75rem;
	}

	.site-nav__brand {
		flex: 1 1 8rem;
		font-size: 0.82rem;
		letter-spacing: 0.04em;
	}

	.site-nav__end {
		gap: 0.15rem;
		margin-left: 0;
		flex: 0 0 auto;
	}

	.site-nav__toggle {
		display: inline-flex;
	}

	.social-links {
		display: none;
	}

	.site-nav__links {
		display: none;
		position: absolute;
		left: 1rem;
		right: 1rem;
		top: calc(100% + 0.35rem);
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 0.5rem;
		background: var(--surface);
		border: 1px solid var(--border);
		border-radius: 12px;
		box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
		max-height: min(70vh, 32rem);
		overflow-y: auto;
	}

	.site-nav.is-open .site-nav__links {
		display: flex;
	}

	.site-nav__links .social-links {
		display: flex;
		justify-content: center;
		flex-wrap: wrap;
		padding: 0.35rem 0.35rem 0.7rem;
		margin-bottom: 0.25rem;
		border-bottom: 1px solid var(--border);
	}

	.site-nav__link {
		padding: 0.85rem 1rem;
		border-radius: 8px;
	}

	.site-nav__link:hover {
		background: rgba(0, 255, 136, 0.08);
	}

	.site-nav__home-group {
		flex-direction: column;
		align-items: stretch;
		gap: 0.15rem;
	}

	.site-nav__anchors {
		padding: 0 0.35rem 0.35rem 1.15rem;
		flex-wrap: wrap;
	}

	.site-nav__link--anchor {
		padding: 0.45rem 0.65rem;
		font-size: 0.72rem;
	}
}

/* Buttons / store badges ------------------------------------------------ */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	padding: 0.9rem 1.45rem;
	border-radius: 10px;
	border: 2px solid transparent;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.92rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	transition:
		transform 0.18s ease,
		box-shadow 0.18s ease,
		background 0.18s ease,
		color 0.18s ease;
}

.btn:hover,
.btn:focus-visible {
	text-decoration: none;
	transform: translateY(-1px);
}

.btn--primary {
	background: var(--neon);
	color: #06140e;
	box-shadow: var(--glow-neon);
}

.btn--primary:hover,
.btn--primary:focus-visible {
	background: var(--neon-soft);
	color: #06140e;
}

.btn--ghost {
	background: transparent;
	color: var(--neon);
	border-color: var(--neon);
	box-shadow: inset 0 0 0 0 rgba(0, 255, 136, 0.2);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
	background: rgba(0, 255, 136, 0.08);
	color: var(--neon-soft);
}

.btn--orange {
	background: transparent;
	color: var(--orange);
	border-color: var(--orange);
	box-shadow: var(--glow-orange);
}

.btn--orange:hover,
.btn--orange:focus-visible {
	background: rgba(255, 136, 0, 0.1);
	color: var(--orange-soft);
}

.store-badges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.85rem;
}

.store-badges a {
	display: block;
	line-height: 0;
	opacity: 0.95;
	transition: opacity 0.15s ease, transform 0.15s ease, filter 0.15s ease;
}

.store-badges a:hover {
	opacity: 1;
	transform: translateY(-1px);
}

.store-badges img {
	height: 44px;
	width: auto;
}

.store-pairs {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 1rem 1.5rem;
}

.store-pairs--hero {
	margin: 0;
	justify-content: flex-start;
}

.store-pair {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
	flex: 0 0 7.5rem;
	width: 7.5rem;
	max-width: 100%;
	min-width: 0;
}

.store-pair__badge {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 40px;
	width: 100%;
	height: 40px;
	line-height: 0;
	text-decoration: none;
	transition: transform 0.18s ease;
}

.store-pair__badge:hover,
.store-pair__badge:focus-visible {
	text-decoration: none;
	transform: translateY(-2px);
}

.store-pair__badge img {
	display: block;
	width: 100%;
	height: 40px;
	max-width: none;
	object-fit: contain;
	object-position: center;
}

.store-pair__qr-link {
	display: none;
	flex: 0 0 7.5rem;
	box-sizing: border-box;
	width: 7.5rem;
	height: 7.5rem;
	padding: 8px;
	border-radius: 12px;
	background: #fff;
	box-shadow:
		0 8px 24px -12px rgba(0, 0, 0, 0.55),
		inset 0 0 0 1px rgba(0, 255, 136, 0.18);
	line-height: 0;
	text-decoration: none;
}

.store-pair__qr-link:hover,
.store-pair__qr-link:focus-visible {
	text-decoration: none;
}

.store-pair__qr {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	padding: 0;
	object-fit: contain;
}

/* Desktop / trackpad only — QR is for scanning with a second device. */
@media (hover: hover) and (pointer: fine) and (min-width: 721px) {
	.store-pair__qr-link {
		display: block;
	}
}

/* Hero ------------------------------------------------------------------ */

.hero {
	position: relative;
	display: flex;
	align-items: center;
	padding: clamp(2.5rem, 6vw, 4.5rem) 1.25rem 3.5rem;
	overflow: hidden;
}

.hero__inner {
	width: min(100%, var(--max));
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	column-gap: clamp(2rem, 5vw, 4rem);
	align-items: stretch;
}

.hero__left {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	min-width: 0;
}

.hero__copy {
	min-width: 0;
}

.hero__more {
	min-width: 0;
}

.hero__logo {
	position: relative;
	width: clamp(88px, 14vw, 128px);
	margin: 0 0 1.25rem;
}

.hero__logo::before {
	content: "";
	position: absolute;
	inset: -18%;
	border-radius: 28%;
	background: radial-gradient(
		circle,
		rgba(0, 255, 136, 0.28),
		rgba(0, 255, 255, 0.08) 45%,
		transparent 70%
	);
	filter: blur(2px);
	animation: glow-orbit 4.5s ease-in-out infinite;
	z-index: 0;
}

.hero__logo img {
	position: relative;
	z-index: 1;
	width: 100%;
	height: auto;
	border-radius: 22%;
	border: 1px solid rgba(0, 255, 136, 0.4);
	box-shadow:
		0 0 0 1px rgba(0, 255, 255, 0.12) inset,
		0 0 28px rgba(0, 255, 136, 0.35),
		0 12px 36px rgba(0, 0, 0, 0.45);
}

.hero__brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	max-width: 100%;
	font-family: var(--font-display);
	font-weight: 800;
	line-height: 0.92;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin: 0 0 1rem;
	font-size: clamp(2.05rem, 12vw, 5.4rem);
}

.hero__brand-candle {
	display: block;
	color: var(--neon);
	text-shadow:
		0 0 18px rgba(0, 255, 136, 0.55),
		0 0 40px rgba(0, 255, 136, 0.25);
	animation: neon-breathe 3.2s ease-in-out infinite;
}

.hero__brand-dash {
	display: block;
	color: #fff;
	opacity: 0;
	animation: dash-in 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.38s forwards;
}

.hero__rule {
	width: min(280px, 70%);
	height: 2px;
	border: 0;
	margin: 0 0 1rem;
	background: linear-gradient(
		90deg,
		transparent,
		var(--neon) 20%,
		var(--neon) 80%,
		transparent
	);
	box-shadow: var(--glow-neon);
}

.hero__tag {
	margin: 0 0 1.15rem;
	max-width: 100%;
	font-family: var(--font-mono);
	font-size: clamp(0.85rem, 2.2vw, 1.15rem);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--neon);
}

.hero__lead {
	margin: 0 0 1.75rem;
	max-width: 34ch;
	color: var(--text-muted);
	font-size: 1.08rem;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	margin-bottom: 1.5rem;
}

.hero__actions .btn {
	width: 11.5rem;
}

.hero__meta {
	font-family: var(--font-mono);
	font-size: 0.78rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(0, 255, 136, 0.65);
}

.hero__visual {
	position: relative;
	min-width: 0;
	min-height: 0;
}

.hero__device {
	position: absolute;
	inset: 0;
	display: flex;
	justify-content: center;
	align-items: stretch;
}

.hero__device .phone-frame {
	height: 100%;
	width: auto;
	max-width: 100%;
	max-height: 100%;
	box-sizing: border-box;
}

.hero__device .phone-frame img {
	height: 100%;
	width: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.hero__device::before {
	content: "";
	position: absolute;
	inset: 8% -12% -8%;
	background: radial-gradient(
		ellipse at center,
		rgba(0, 255, 136, 0.22),
		transparent 65%
	);
	filter: blur(8px);
	z-index: 0;
	animation: glow-orbit 5s ease-in-out infinite;
}

.phone-frame {
	position: relative;
	z-index: 1;
	border-radius: 28px;
	padding: 10px;
	background: linear-gradient(160deg, #1c1c30, #0c0c16);
	border: 1px solid rgba(0, 255, 136, 0.35);
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.04) inset,
		0 24px 60px rgba(0, 0, 0, 0.55),
		var(--glow-neon);
}

.phone-frame img {
	width: 100%;
	height: auto;
	border-radius: 20px;
	display: block;
	background: #050510;
}

@keyframes neon-breathe {
	0%,
	100% {
		text-shadow:
			0 0 14px rgba(0, 255, 136, 0.4),
			0 0 28px rgba(0, 255, 136, 0.18);
	}
	50% {
		text-shadow:
			0 0 22px rgba(0, 255, 136, 0.7),
			0 0 48px rgba(0, 255, 136, 0.35);
	}
}

@keyframes dash-in {
	0% {
		opacity: 0;
		transform: translateX(2.8em) scale(1.06);
		filter: blur(5px);
		text-shadow:
			-0.45em 0 14px rgba(0, 255, 136, 0.55),
			-0.9em 0 24px rgba(0, 255, 136, 0.28),
			-1.35em 0 36px rgba(0, 255, 136, 0.12);
	}
	65% {
		opacity: 1;
		filter: blur(0);
		text-shadow:
			0 0 16px rgba(255, 255, 255, 0.55),
			0 0 28px rgba(0, 255, 136, 0.35);
	}
	82% {
		transform: translateX(-0.06em) scale(1.02);
	}
	100% {
		opacity: 1;
		transform: translateX(0) scale(1);
		filter: blur(0);
		text-shadow: none;
	}
}

@keyframes glow-orbit {
	0%,
	100% {
		opacity: 0.7;
		transform: scale(1);
	}
	50% {
		opacity: 1;
		transform: scale(1.05);
	}
}

@media (max-width: 860px) {
	.hero {
		padding-top: 2.5rem;
	}

	.hero__inner {
		grid-template-columns: 1fr;
		grid-template-areas:
			"copy"
			"stores"
			"visual"
			"more";
		row-gap: 1.15rem;
		text-align: center;
	}

	.hero__left {
		display: contents;
	}

	.hero__copy {
		grid-area: copy;
	}

	.hero__more {
		grid-area: more;
	}

	.hero__logo {
		width: clamp(64px, 18vw, 96px);
		margin: 0 auto 0.85rem;
	}

	.hero__brand {
		align-items: center;
		letter-spacing: 0.02em;
	}

	.hero__tag {
		letter-spacing: 0.08em;
	}

	.hero__actions .btn {
		width: min(11.5rem, 100%);
	}

	.hero__rule {
		margin-left: auto;
		margin-right: auto;
	}

	.hero__lead {
		margin-left: auto;
		margin-right: auto;
	}

	.hero__actions {
		justify-content: center;
	}

	.hero__visual {
		grid-area: visual;
		position: static;
		width: min(100%, 260px);
		justify-self: center;
	}

	.hero__device {
		position: relative;
		inset: auto;
		display: block;
		width: 100%;
	}

	.hero__device .phone-frame,
	.hero__device .phone-frame img {
		height: auto;
		width: 100%;
		max-height: none;
	}

	.store-pairs--hero {
		grid-area: stores;
		justify-content: center;
		width: 100%;
	}
}

/* Sections -------------------------------------------------------------- */

.section {
	padding: clamp(3.5rem, 8vw, 6rem) 1.25rem;
}

.section--tight {
	padding-top: 1.5rem;
}

.section__inner {
	width: min(100%, var(--max));
	margin: 0 auto;
}

.section__inner--narrow {
	width: min(100%, 720px);
}

.section__eyebrow {
	margin: 0 0 0.6rem;
	font-family: var(--font-mono);
	font-size: 0.8rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--orange);
}

.section__title {
	margin: 0 0 0.85rem;
	font-family: var(--font-display);
	font-size: clamp(1.45rem, 6vw, 2.5rem);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.15;
	max-width: 100%;
}

.section__lead {
	margin: 0 0 2rem;
	max-width: 52ch;
	color: var(--text-muted);
	font-size: 1.05rem;
}

.section--center .section__eyebrow,
.section--center .section__title,
.section--center .section__lead {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

/* Modes row ------------------------------------------------------------- */

.mode-rail {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
}

.mode {
	padding: 1.25rem 1.1rem;
	border: 1px solid rgba(58, 58, 94, 0.9);
	border-radius: 14px;
	background: linear-gradient(180deg, rgba(26, 26, 46, 0.85), rgba(10, 10, 20, 0.4));
	min-height: 100%;
}

.mode:nth-child(1) {
	border-color: rgba(0, 255, 136, 0.45);
}

.mode:nth-child(2) {
	border-color: rgba(0, 255, 136, 0.28);
}

.mode:nth-child(3) {
	border-color: rgba(0, 255, 255, 0.28);
}

.mode:nth-child(4) {
	border-color: rgba(255, 136, 0, 0.45);
}

.mode__label {
	display: block;
	margin-bottom: 0.55rem;
	font-family: var(--font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--neon);
}

.mode:nth-child(4) .mode__label {
	color: var(--orange);
}

.mode h3 {
	margin: 0 0 0.45rem;
	font-family: var(--font-display);
	font-size: 1rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.mode p {
	margin: 0;
	color: var(--text-muted);
	font-size: 0.95rem;
}

@media (max-width: 900px) {
	.mode-rail {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 520px) {
	.mode-rail {
		grid-template-columns: 1fr;
	}
}

/* Hangar showcase ------------------------------------------------------- */

.hangar-showcase {
	display: grid;
	grid-template-columns: minmax(0, 220px) 1fr;
	gap: clamp(1.5rem, 4vw, 2.75rem);
	align-items: start;
}

.hangar-showcase__device {
	justify-self: center;
}

.hangar-showcase__device .phone-frame {
	max-width: 220px;
	margin: 0 auto;
}

.hangar-showcase__intro {
	margin: 0 0 1.25rem;
	color: var(--text-muted);
	font-size: 1.05rem;
	max-width: 52ch;
}

.hangar-bays {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.85rem;
}

.hangar-bay {
	padding: 1.1rem 1rem;
	border: 1px solid rgba(58, 58, 94, 0.9);
	border-radius: 14px;
	background: linear-gradient(180deg, rgba(26, 26, 46, 0.85), rgba(10, 10, 20, 0.4));
	min-height: 100%;
}

.hangar-bay:nth-child(1) {
	border-color: rgba(0, 255, 136, 0.4);
}

.hangar-bay:nth-child(2) {
	border-color: rgba(0, 255, 255, 0.32);
}

.hangar-bay:nth-child(3) {
	border-color: rgba(255, 136, 0, 0.4);
}

.hangar-bay:nth-child(4) {
	border-color: rgba(170, 102, 255, 0.35);
}

.hangar-bay__label {
	display: block;
	margin-bottom: 0.45rem;
	font-family: var(--font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--neon);
}

.hangar-bay:nth-child(2) .hangar-bay__label {
	color: var(--cyan);
}

.hangar-bay:nth-child(3) .hangar-bay__label {
	color: var(--orange);
}

.hangar-bay:nth-child(4) .hangar-bay__label {
	color: #c89bff;
}

.hangar-bay h3 {
	margin: 0 0 0.4rem;
	font-family: var(--font-display);
	font-size: 1rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.hangar-bay p {
	margin: 0;
	color: var(--text-muted);
	font-size: 0.92rem;
}

.hangar-showcase__future {
	margin: 1.35rem 0 0;
	padding: 0.9rem 1rem;
	border-left: 2px solid rgba(255, 136, 0, 0.55);
	color: var(--text-muted);
	font-size: 0.95rem;
	max-width: 56ch;
}

@media (max-width: 760px) {
	.hangar-showcase {
		grid-template-columns: 1fr;
	}

	.hangar-showcase__device .phone-frame {
		max-width: 200px;
	}
}

@media (max-width: 520px) {
	.hangar-bays {
		grid-template-columns: 1fr;
	}
}

/* Chart literacy -------------------------------------------------------- */

.literacy-unknown {
	font-family: var(--font-mono);
	letter-spacing: 0.12em;
	color: var(--text-muted);
}

.literacy-catalog__eyebrow {
	margin: 2.25rem 0 0.85rem;
	font-family: var(--font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--orange);
}

.pattern-codex {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0.75rem;
}

.pattern-chip {
	padding: 1rem 0.95rem;
	border: 1px solid rgba(58, 58, 94, 0.9);
	border-top: 2px solid var(--chip, var(--neon));
	border-radius: 14px;
	background: linear-gradient(180deg, rgba(26, 26, 46, 0.85), rgba(10, 10, 20, 0.4));
	min-height: 100%;
}

.pattern-chip__bias {
	display: block;
	margin-bottom: 0.4rem;
	font-family: var(--font-mono);
	font-size: 0.68rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--neon);
}

.pattern-chip__bias--bear {
	color: var(--danger);
}

.pattern-chip__bias--split {
	color: var(--orange);
}

.pattern-chip h3 {
	margin: 0 0 0.35rem;
	font-family: var(--font-display);
	font-size: 0.82rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	line-height: 1.25;
	color: var(--chip);
}

.pattern-chip p {
	margin: 0;
	color: var(--text-muted);
	font-size: 0.82rem;
	line-height: 1.4;
}

.literacy-note {
	margin: 1.35rem 0 0;
	padding: 0.9rem 1rem;
	border-left: 2px solid rgba(255, 136, 0, 0.55);
	color: var(--text-muted);
	font-size: 0.95rem;
	max-width: 62ch;
}

@media (max-width: 980px) {
	.pattern-codex {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.pattern-codex {
		grid-template-columns: 1fr;
	}
}

/* Screenshot carousel --------------------------------------------------- */

.shot-deck {
	outline: none;
}

.shot-deck__stage {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 0.85rem;
	align-items: center;
}

.shot-deck__nav {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	border: 1px solid rgba(0, 255, 136, 0.45);
	background: rgba(10, 10, 20, 0.75);
	color: var(--neon);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: var(--glow-neon);
	transition: background 0.15s ease, opacity 0.15s ease;
}

.shot-deck__nav:hover:not(:disabled),
.shot-deck__nav:focus-visible:not(:disabled) {
	background: rgba(0, 255, 136, 0.12);
}

.shot-deck__nav:disabled {
	opacity: 0.35;
	cursor: default;
	box-shadow: none;
}

.shot-deck__viewport {
	position: relative;
	overflow: hidden;
	touch-action: pan-y;
	border-radius: 24px;
	padding: 1.25rem 0.5rem 0.5rem;
	border: 1px solid rgba(58, 58, 94, 0.8);
	background:
		radial-gradient(ellipse at 50% 0%, rgba(0, 255, 136, 0.1), transparent 55%),
		rgba(18, 18, 34, 0.7);
}

.shot-deck__track {
	position: relative;
	display: grid;
	place-items: center;
	user-select: none;
	cursor: grab;
}

.shot-deck__track.is-dragging {
	cursor: grabbing;
}

.shot-deck__slide {
	grid-area: 1 / 1;
	width: min(100%, 300px);
	opacity: 0;
	transform: translateX(36px) scale(0.96);
	transition:
		opacity 0.35s ease,
		transform 0.35s ease;
	pointer-events: none;
}

.shot-deck__slide.is-active {
	opacity: 1;
	transform: translateX(0) scale(1);
	pointer-events: auto;
}

.shot-deck__slide .phone-frame {
	margin: 0 auto;
}

.shot-deck__meta {
	margin-top: 1.35rem;
	display: grid;
	gap: 0.85rem;
	justify-items: center;
	text-align: center;
}

.shot-deck__caption {
	max-width: 46ch;
	display: grid;
	gap: 0.35rem;
}

.shot-deck__caption strong {
	font-family: var(--font-display);
	font-size: 1.05rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--neon);
}

.shot-deck__caption span {
	color: var(--text-muted);
	font-size: 0.98rem;
}

.shot-deck__counter {
	font-family: var(--font-mono);
	font-size: 0.8rem;
	letter-spacing: 0.14em;
	color: var(--text-muted);
}

.shot-deck__dots {
	display: flex;
	gap: 0.55rem;
	justify-content: center;
}

.shot-deck__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 1px solid rgba(0, 255, 136, 0.55);
	background: transparent;
	padding: 0;
}

.shot-deck__dot.is-active {
	background: var(--neon);
	box-shadow: var(--glow-neon);
}

.shot-deck__hint {
	margin: 0;
	font-family: var(--font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(122, 138, 154, 0.85);
}

@media (max-width: 640px) {
	.shot-deck__stage {
		grid-template-columns: 1fr;
	}

	.shot-deck__nav {
		display: none;
	}

	.shot-deck__slide {
		width: min(100%, 260px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.hero__brand-candle,
	.hero__brand-dash,
	.store-banner__pip,
	.hero__device::before {
		animation: none;
	}

	.hero__brand-dash {
		opacity: 1;
	}

	.shot-deck__slide {
		transition: none;
	}
}

/* Feature bands --------------------------------------------------------- */

.feature-stack {
	display: grid;
	gap: 2.5rem;
}

.feature-band {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: clamp(1.25rem, 4vw, 2.5rem);
	align-items: center;
}

.feature-band--flip {
	grid-template-columns: 1.2fr 1fr;
}

.feature-band--flip .feature-band__copy {
	order: 2;
}

.feature-band h3 {
	margin: 0 0 0.55rem;
	font-family: var(--font-display);
	font-size: 1.25rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.feature-band p {
	margin: 0;
	color: var(--text-muted);
}

.feature-band__visual {
	border-radius: 16px;
	border: 1px solid rgba(0, 255, 136, 0.28);
	padding: 1.5rem;
	background:
		linear-gradient(135deg, rgba(0, 255, 136, 0.08), transparent 40%),
		rgba(26, 26, 46, 0.55);
	font-family: var(--font-mono);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--neon);
	min-height: 140px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.45rem;
}

.feature-band__visual small {
	color: var(--orange);
	font-size: 0.78rem;
}

.feature-band__visual span {
	font-size: clamp(1.1rem, 2.5vw, 1.45rem);
	color: #fff;
	text-shadow: 0 0 12px rgba(0, 255, 136, 0.35);
}

@media (max-width: 760px) {
	.feature-band,
	.feature-band--flip {
		grid-template-columns: 1fr;
	}

	.feature-band--flip .feature-band__copy {
		order: 0;
	}
}

/* CTA ------------------------------------------------------------------- */

.cta {
	width: min(100% - 2.5rem, var(--max));
	margin: 0 auto clamp(3rem, 7vw, 5rem);
	padding: clamp(2rem, 5vw, 3rem);
	border-radius: 20px;
	border: 1px solid rgba(0, 255, 136, 0.35);
	background:
		radial-gradient(ellipse at 20% 0%, rgba(255, 136, 0, 0.12), transparent 50%),
		radial-gradient(ellipse at 80% 100%, rgba(0, 255, 136, 0.14), transparent 55%),
		rgba(18, 18, 34, 0.9);
	text-align: center;
	box-shadow: 0 0 40px rgba(0, 255, 136, 0.08);
}

.cta h2 {
	margin: 0 0 0.65rem;
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 3.5vw, 2.1rem);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.cta p {
	margin: 0 auto 1.5rem;
	max-width: 42ch;
	color: var(--text-muted);
}

.cta .store-pairs {
	justify-content: center;
}

/* Footer / legal pages -------------------------------------------------- */

.site-footer {
	border-top: 1px solid rgba(58, 58, 94, 0.75);
	padding: 2.5rem 1.25rem 2rem;
	background: rgba(5, 5, 12, 0.85);
}

.site-footer__inner {
	width: min(100%, var(--max));
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 2rem;
}

.site-footer__brand {
	font-family: var(--font-display);
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--neon);
	margin: 0 0 0.5rem;
}

.site-footer p {
	margin: 0;
	color: var(--text-muted);
	font-size: 0.95rem;
}

.site-footer h4 {
	margin: 0 0 0.75rem;
	font-family: var(--font-mono);
	font-size: 0.78rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--text);
}

.site-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.45rem;
}

.site-footer a {
	font-family: var(--font-mono);
	font-size: 0.9rem;
	letter-spacing: 0.04em;
	color: var(--text-muted);
	overflow-wrap: anywhere;
}

.site-footer a:hover {
	color: var(--neon);
}

.site-footer__bottom {
	width: min(100%, var(--max));
	margin: 2rem auto 0;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(58, 58, 94, 0.55);
	font-family: var(--font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text-muted);
}

@media (max-width: 720px) {
	.site-footer__inner {
		grid-template-columns: 1fr;
	}
}

.article h1 {
	margin: 0 0 1rem;
	font-family: var(--font-display);
	font-size: clamp(1.8rem, 4vw, 2.4rem);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.article h2 {
	margin: 2rem 0 0.75rem;
	font-family: var(--font-display);
	font-size: 1.15rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--neon);
}

.article p,
.article li {
	color: var(--text-muted);
}

.article a {
	overflow-wrap: anywhere;
}

.article .muted {
	color: var(--text-muted);
}

.faq {
	display: grid;
	gap: 0.75rem;
}

.faq details {
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 0.85rem 1rem;
	background: rgba(26, 26, 46, 0.5);
}

.faq summary {
	cursor: pointer;
	font-family: var(--font-display);
	font-size: 0.92rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--text);
}

.faq details[open] summary {
	color: var(--neon);
	margin-bottom: 0.55rem;
}

.faq p {
	margin: 0;
}

/* Background music mute ------------------------------------------------- */

.bgm-toggle {
	position: fixed;
	right: max(1rem, env(safe-area-inset-right));
	bottom: max(1rem, env(safe-area-inset-bottom));
	z-index: 60;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid rgba(0, 255, 136, 0.55);
	background: rgba(10, 10, 20, 0.88);
	color: var(--neon);
	box-shadow:
		var(--glow-neon),
		0 8px 24px rgba(0, 0, 0, 0.45);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transition:
		color 120ms ease,
		border-color 120ms ease,
		background 120ms ease,
		transform 120ms ease;
}

.bgm-toggle:hover,
.bgm-toggle:focus-visible {
	color: var(--neon-soft);
	border-color: var(--neon);
	background: rgba(0, 255, 136, 0.12);
	outline: none;
	transform: translateY(-1px);
}

.bgm-toggle:focus-visible {
	box-shadow:
		var(--glow-neon),
		0 0 0 2px rgba(0, 255, 136, 0.45);
}

.bgm-toggle.is-muted {
	color: var(--text-muted);
	border-color: rgba(58, 58, 94, 0.95);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.bgm-toggle__icon {
	display: none;
	line-height: 0;
}

.bgm-toggle:not(.is-muted) .bgm-toggle__icon--on,
.bgm-toggle.is-muted .bgm-toggle__icon--off {
	display: block;
}

/* Game mode showcase ---------------------------------------------------- */

.mode-rail--3 {
	grid-template-columns: repeat(3, 1fr);
}

.mode-rail--3 .mode:nth-child(1) {
	border-color: rgba(0, 255, 136, 0.5);
}

.mode-rail--3 .mode:nth-child(2) {
	border-color: rgba(255, 136, 0, 0.5);
}

.mode-rail--3 .mode:nth-child(2) .mode__label {
	color: var(--orange);
}

.mode-rail--3 .mode:nth-child(3) {
	border-color: rgba(0, 255, 255, 0.45);
}

.mode-rail--3 .mode:nth-child(3) .mode__label {
	color: var(--cyan);
}

.mode-card {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	height: 100%;
}

.mode-card__shot {
	order: -1;
}

.mode-card .phone-frame {
	margin: 0 auto;
	max-width: 220px;
}

.mode-card__body {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.85rem;
	text-align: center;
}

.mode-card__icon {
	display: block;
	width: 112px;
	height: 112px;
	border-radius: 18px;
	object-fit: cover;
	border: 1px solid rgba(0, 255, 136, 0.45);
	box-shadow:
		0 0 18px rgba(0, 255, 136, 0.22),
		0 8px 24px rgba(0, 0, 0, 0.45);
}

.mode-rail--3 .mode:nth-child(2) .mode-card__icon {
	border-color: rgba(255, 136, 0, 0.55);
	box-shadow:
		0 0 18px rgba(255, 136, 0, 0.28),
		0 8px 24px rgba(0, 0, 0, 0.45);
}

.mode-rail--3 .mode:nth-child(3) .mode-card__icon {
	border-color: rgba(0, 255, 255, 0.5);
	box-shadow:
		0 0 18px rgba(0, 255, 255, 0.25),
		0 8px 24px rgba(0, 0, 0, 0.45);
}

.mode-card__copy {
	min-width: 0;
}

.shot-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	aspect-ratio: 9 / 19.5;
	width: 100%;
	max-width: 220px;
	margin: 0 auto;
	border-radius: 28px;
	border: 1px dashed rgba(0, 255, 136, 0.35);
	background:
		linear-gradient(180deg, rgba(26, 26, 46, 0.9), rgba(10, 10, 20, 0.75)),
		repeating-linear-gradient(
			-45deg,
			transparent,
			transparent 6px,
			rgba(0, 255, 136, 0.04) 6px,
			rgba(0, 255, 136, 0.04) 12px
		);
	text-align: center;
	padding: 1rem;
}

.shot-placeholder__mode {
	font-family: var(--font-display);
	font-size: 0.85rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--neon);
}

.shot-placeholder__hint {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.06em;
	color: var(--text-muted);
	text-transform: uppercase;
}

.mode-rail--4 {
	grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
	.mode-rail--4 {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 520px) {
	.mode-rail--4 {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 900px) {
	.mode-rail--3 {
		grid-template-columns: 1fr;
	}

	.mode-rail--3 .mode-card {
		display: grid;
		grid-template-columns: minmax(0, 160px) 1fr;
		align-items: center;
		gap: 1rem;
	}

	.mode-rail--3 .mode-card__shot {
		order: 0;
	}

	.mode-rail--3 .mode-card .phone-frame,
	.mode-rail--3 .shot-placeholder {
		max-width: 160px;
	}

	.mode-rail--3 .mode-card__body {
		flex-direction: row;
		align-items: flex-start;
		text-align: left;
		gap: 0.9rem;
	}

	.mode-rail--3 .mode-card__icon {
		width: 88px;
		height: 88px;
		border-radius: 14px;
		flex-shrink: 0;
	}
}

@media (max-width: 520px) {
	.mode-rail--3 .mode-card {
		grid-template-columns: 1fr;
	}

	.mode-rail--3 .mode-card__shot {
		order: -1;
	}

	.mode-rail--3 .mode-card .phone-frame,
	.mode-rail--3 .shot-placeholder {
		max-width: 200px;
	}

	.mode-rail--3 .mode-card__body {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.mode-rail--3 .mode-card__icon {
		width: 104px;
		height: 104px;
	}
}
