/* Dark theme matching the app's settings page. */
:root {
	--bg: #12141a;
	--card: #1c1f28;
	--row: #232733;
	--text: #e8eaf0;
	--muted: #9aa0b0;
	--accent: #ff5a48;
	--accent-soft: #ff5a4833;
	--ok: #4cd97b;
}

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

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	line-height: 1.6;
	color: var(--text);
	background: var(--bg);
	min-height: 100vh;
}

.hero {
	padding: 4rem 2rem 3rem;
	text-align: center;
	background:
		radial-gradient(ellipse 60% 50% at 50% 0%, var(--accent-soft), transparent);
}

.hero-mouse {
	width: 11rem;
	height: 11rem;
	border-radius: 28px;
	margin-bottom: 1.5rem;
	transition: transform 0.15s ease-out;
	box-shadow: 0 12px 40px rgb(0 0 0 / 0.45);
}

.hero h1 {
	font-size: 2.8rem;
	font-weight: 800;
	line-height: 1.2;
	margin-bottom: 0.75rem;
}

.hero .accent {
	color: var(--accent);
}

.tagline {
	font-size: 1.2rem;
	color: var(--muted);
	max-width: 600px;
	margin: 0 auto;
}

.hero-hint {
	margin-top: 1.25rem;
	font-size: 0.85rem;
	color: var(--muted);
	opacity: 0.7;
	font-style: italic;
}

main {
	max-width: 900px;
	margin: 0 auto;
	padding: 0 1.5rem 2rem;
}

section {
	margin-bottom: 3.5rem;
}

h2 {
	font-size: 1.5rem;
	text-align: center;
	margin-bottom: 0.5rem;
}

.section-sub {
	color: var(--muted);
	text-align: center;
	max-width: 640px;
	margin: 0 auto 1.5rem;
}

.section-sub code {
	background: var(--row);
	border-radius: 6px;
	padding: 0.1rem 0.4rem;
	font-size: 0.9em;
}

.cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1rem;
}

.card {
	background: var(--card);
	border-radius: 16px;
	padding: 1.5rem;
	transition: transform 0.15s ease-out;
}

.card:hover {
	transform: translateY(-4px);
}

.card-emoji {
	font-size: 2.2rem;
	margin-bottom: 0.5rem;
}

.card h3 {
	margin-bottom: 0.4rem;
	color: var(--accent);
}

.card p {
	color: var(--muted);
	font-size: 0.95rem;
}

.demo-frame {
	background: var(--card);
	border-radius: 16px;
	padding: 0.75rem;
	box-shadow: 0 12px 40px rgb(0 0 0 / 0.45);
}

.demo-frame iframe {
	display: block;
	width: 100%;
	height: 680px;
	border: 0;
	border-radius: 10px;
	background: var(--bg);
}

.demo-note {
	text-align: center;
	color: var(--muted);
	font-size: 0.85rem;
	margin-top: 0.75rem;
	opacity: 0.8;
}

.screenshot {
	display: block;
	width: 100%;
	max-width: 560px;
	margin: 0 auto;
	border-radius: 16px;
	box-shadow: 0 12px 40px rgb(0 0 0 / 0.45);
}

.footer {
	text-align: center;
	padding: 2rem;
	color: var(--muted);
}

.footer a {
	color: var(--text);
	text-decoration: none;
	font-weight: 600;
}

.footer a:hover {
	text-decoration: underline;
	color: var(--accent);
}

@media (max-width: 768px) {
	.hero {
		padding: 2.5rem 1rem 2rem;
	}

	.hero h1 {
		font-size: 2rem;
	}

	.hero-mouse {
		width: 8rem;
		height: 8rem;
	}

	.demo-frame iframe {
		height: 560px;
	}
}
