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

@font-face {
		font-family: 'Nacelle';
		src: url('Nacelle-Bold.woff2') format('woff2'),
				url('Nacelle-Bold.woff') format('woff');
		font-weight: bold;
		font-style: normal;
		font-display: swap;
}

@font-face {
		font-family: 'Nacelle';
		src: url('Nacelle-Regular.woff2') format('woff2'),
				url('Nacelle-Regular.woff') format('woff');
		font-weight: normal;
		font-style: normal;
		font-display: swap;
}

/* @font-face {
		font-family: 'Nacelle';
		src: url('Nacelle-BoldItalic.woff2') format('woff2'),
				url('Nacelle-BoldItalic.woff') format('woff');
		font-weight: bold;
		font-style: italic;
		font-display: swap;
}

@font-face {
		font-family: 'Nacelle';
		src: url('Nacelle-Italic.woff2') format('woff2'),
				url('Nacelle-Italic.woff') format('woff');
		font-weight: normal;
		font-style: italic;
		font-display: swap;
} */

:root {
	--secondary-pink: #DD52E5;
	--primary-blue: #81B5F9;
	--background: #FAF7FF;
	--surface: #F7F9FC;
	--bg-card: #0E0E1A;
	--bg-panel: #12121F;
	--text-primary: #1A0A1E;
	--text-secondary: #6B5570;
	--border-dim: rgba(0,0,0,0.1);
	--border-mid: rgba(0,0,0,0.16);
	--font-head: 'Nacelle', sans-serif;
	--font-body: ui-mono, monospace;
}

@media screen and (prefers-color-scheme: dark) {
	:root {
		--secondary-pink: #FF2D78;
		--primary-blue: #00EEFF;
		--background: #150C1F;
		--surface: #0F1115;
		--bg-card: #0E0E1A;
		--bg-panel: #12121F;
		--text-primary: #FAF0FD;
		--text-secondary: #B89AC0;
		--border-dim: rgba(255,255,255,0.07);
		--border-mid: rgba(255,255,255,0.12);
	}
}

html { scroll-behavior: smooth; }

body {
	background: var(--background);
	color: var(--text-primary);
	font-family: var(--font-body);
	font-weight: 300;
	line-height: 1.7;
	min-height: 100vh;
	overflow-x: hidden;
}

/* ── HERO ── */
.hero {
	position: relative;
	z-index: 1;
	min-height: 100vh;
	display: grid;
	grid-template-rows: auto 1fr auto;
	grid-template-areas:
		"text"
		"screenshot"
		"cta";
	align-items: center;
	padding: 2rem;
	text-align: center;
	overflow: hidden;
	gap: 1rem;
}

.hero-text {
	grid-area: text;
}

.hero-screenshot {
	grid-area: screenshot;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero-cta {
	grid-area: cta;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
}

/* ── SCREENSHOT ── */
.hero-screenshot img {
	/* aspect-ratio: 9 / 19.5; */
	width: auto;
	max-width: min(220px, 55vw);
	/* border-radius: 36px;
	background: var(--bg-card);
	border: 1.5px solid var(--border-mid); */
	display: block;
}

.hero-eyebrow {
	font-size: 0.8rem;
	/* letter-spacing: 0.15em; */
	text-transform: uppercase;
	color: var(--primary-blue);
	margin-bottom: 0.75rem;
	opacity: 0.85;
}

h1 {
	font-family: var(--font-head);
	font-weight: 800;
	font-size: 3rem;
	line-height: 0.95;
	letter-spacing: -0.03em;
	color: var(--text-primary);
	margin-bottom: 0.3em;
}

h1 .accent { color: var(--secondary-pink); }

.tagline {
	font-size: 0.7rem;
	color: var(--text-secondary);
	margin: 0;
	line-height: 1.6;
}

.app-store-btn {
	height: 2.5rem;
	width: auto;
}

/* ── BELOW FOLD ── */
.below-fold {
	position: relative;
	z-index: 1;
	max-width: 800px;
	margin: 0 auto;
	padding: 5rem 2rem 6rem;
}

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

.section-label {
	font-size: 0.65rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--primary-blue);
	margin-bottom: 1.5rem;
	opacity: 0.7;
}

h2 {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 1.4rem;
	letter-spacing: -0.02em;
	margin-bottom: 1.2rem;
	color: var(--text-primary);
}

.legal {
	font-size: 0.88rem;
	color: var(--text-secondary);
	line-height: 1.8;
	text-align: left;
}

.legal p { margin-bottom: 1em; }
.legal p:last-child { margin-bottom: 0; }

.legal strong {
	color: var(--text-secondary);
	font-weight: 400;
}

/* ── FAQ ── */
.faq-list { margin-top: 0.5rem; }

details {
	border-bottom: 1px solid var(--border-dim);
	padding: 0;
}

details:first-child { border-top: 1px solid var(--border-dim); }

summary {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 1.1rem;
	text-align: left;
	color: var(--text-primary);
	padding: 1.1rem 0;
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	letter-spacing: -0.01em;
	transition: color 0.2s;
}

summary::-webkit-details-marker { display: none; }

summary:hover { color: var(--primary-blue); }

summary::after {
	content: '+';
	font-size: 1.2rem;
	font-weight: 300;
	color: var(--secondary-pink);
	transition: transform 0.2s;
	margin-left: 1rem;
	flex-shrink: 0;
}

details[open] summary::after {
	transform: rotate(45deg);
}

.faq-answer {
	font-size: 0.84rem;
	color: var(--text-secondary);
	line-height: 1.75;
	padding: 0 0 1.2rem;
	/* max-width: 600px; */
	text-align: left;
}

.faq-answer a, .faq-answer a:visited, .legal p a, .legal p a:visited {
	color: var(--primary-blue);
}

#terms, footer {
	border-top: 1px solid var(--border-dim);
}

#terms p strong, #privacy p strong {
	text-transform: uppercase;
}

/* ── FOOTER ── */
footer {
	position: relative;
	z-index: 1;
	padding: 2rem 1.5rem;
	text-align: center;
	max-width: 100%;
	font-size: 0.72rem;
	color: var(--text-secondary);
	opacity: 0.45;
	letter-spacing: 0.06em;
}

footer a, footer a:visited {
	color: var(--text-secondary);
}

/* ── RESPONSIVE, DESKTOP SECOND ── */
@media (min-width: 800px) {
	.hero {
		grid-template-rows: 1fr;
		grid-template-columns: max-content 1fr;
		grid-template-areas:
			"screenshot text"
			"screenshot cta";
		width: 800px;
		margin-inline: auto;
		padding: 5rem 5vw;
		text-align: left;
		column-gap: 4vw;
	}
	
	.hero-text {
		align-self: end;
	}
	
	.hero-cta {
		align-self: start;
		align-items: flex-start;
	}
	
	.hero-screenshot {
		align-self: stretch;
		align-items: center;
		justify-content: flex-end;
	}
	
	.hero-eyebrow {
		font-size: 1rem;
	}
	
	.app-store-btn {
		height: 4rem;
	}
	
	.screenshot-placeholder,
	.hero-screenshot img {
		/* fill the column height rather than a fixed width */
		max-width: none;
		width: auto;
		height: min(75vh, 560px);
	}
}