:root {
	--cherry: #d6303f;
	--cherry-dark: #b3212f;
	--cherry-soft: #fbe7e9;
	--bg: #fffafa;
	--surface: #ffffff;
	--text: #1d1b1b;
	--text-muted: #6b6363;
	--border: #ece4e4;
	--ring: rgba(214, 48, 63, 0.35);
	--shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.05);
	--radius: 14px;
	--maxw: 760px;
	--font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
	:root {
		--cherry: #ff5a68;
		--cherry-dark: #ff7a85;
		--cherry-soft: #2a1416;
		--bg: #141112;
		--surface: #1c1819;
		--text: #f3eded;
		--text-muted: #a89f9f;
		--border: #2c2627;
		--ring: rgba(255, 90, 104, 0.4);
		--shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.35);
	}
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font);
	color: var(--text);
	background: var(--bg);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.wrap {
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 0 1.25rem;
}

/* ---------- Header / nav ---------- */
header.site {
	position: sticky;
	top: 0;
	z-index: 10;
	background: color-mix(in srgb, var(--bg) 88%, transparent);
	backdrop-filter: saturate(160%) blur(10px);
	border-bottom: 1px solid var(--border);
}

.nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	height: 60px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	font-weight: 700;
	font-size: 1.05rem;
	letter-spacing: -0.01em;
	color: var(--text);
	text-decoration: none;
}

.brand svg {
	width: 26px;
	height: 26px;
}

.nav-links {
	display: flex;
	gap: 0.35rem;
	flex-wrap: wrap;
}

.nav-links a {
	color: var(--text-muted);
	text-decoration: none;
	font-size: 0.92rem;
	padding: 0.35rem 0.65rem;
	border-radius: 8px;
	transition: color 0.15s, background 0.15s;
}

.nav-links a:hover {
	color: var(--text);
	background: var(--cherry-soft);
}

.nav-links a[aria-current="page"] {
	color: var(--cherry);
	font-weight: 600;
}

/* ---------- Layout ---------- */
main {
	padding: 3rem 0 4rem;
}

.page-title {
	font-size: clamp(1.9rem, 5vw, 2.6rem);
	line-height: 1.1;
	letter-spacing: -0.02em;
	margin: 0 0 0.5rem;
}

.lede {
	font-size: 1.15rem;
	color: var(--text-muted);
	margin: 0 0 2rem;
	max-width: 56ch;
}

h2 {
	font-size: 1.35rem;
	letter-spacing: -0.01em;
	margin: 2.5rem 0 0.75rem;
}

h3 {
	font-size: 1.05rem;
	margin: 1.5rem 0 0.4rem;
}

p,
li {
	color: var(--text);
}

a {
	color: var(--cherry);
}

.muted {
	color: var(--text-muted);
}

.small {
	font-size: 0.88rem;
}

/* ---------- Hero (home) ---------- */
.hero {
	text-align: center;
	padding: 4rem 0 2rem;
}

.hero .badge {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--cherry);
	background: var(--cherry-soft);
	padding: 0.3rem 0.75rem;
	border-radius: 999px;
	margin-bottom: 1.25rem;
}

.hero h1 {
	font-size: clamp(2.2rem, 7vw, 3.4rem);
	line-height: 1.05;
	letter-spacing: -0.03em;
	margin: 0 0 1rem;
}

.hero .lede {
	margin-left: auto;
	margin-right: auto;
	font-size: 1.2rem;
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: var(--cherry);
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	padding: 0.7rem 1.3rem;
	border-radius: 10px;
	transition: background 0.15s, transform 0.05s;
}

.btn:hover {
	background: var(--cherry-dark);
}

.btn:active {
	transform: translateY(1px);
}

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

.card {
	display: block;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.4rem;
	text-decoration: none;
	color: var(--text);
	box-shadow: var(--shadow);
	transition: transform 0.15s, border-color 0.15s;
}

.card:hover {
	transform: translateY(-3px);
	border-color: var(--cherry);
}

.card h3 {
	margin: 0 0 0.35rem;
	color: var(--text);
}

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

/* ---------- Roadmap ---------- */
.roadmap-group {
	border: 1px solid var(--border);
	background: var(--surface);
	border-radius: var(--radius);
	padding: 1.25rem 1.5rem;
	margin: 1rem 0;
	box-shadow: var(--shadow);
}

.roadmap-group h2 {
	margin-top: 0;
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 1.15rem;
}

.tag {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
}

.tag.shipped {
	color: #0a7d3c;
	background: #d8f3e3;
}

.tag.progress {
	color: var(--cherry);
	background: var(--cherry-soft);
}

.tag.planned {
	color: var(--text-muted);
	background: var(--border);
}

@media (prefers-color-scheme: dark) {
	.tag.shipped {
		color: #57d98a;
		background: #103024;
	}
}

.checklist {
	list-style: none;
	padding: 0;
	margin: 0.5rem 0 0;
}

.checklist li {
	position: relative;
	padding-left: 1.7rem;
	margin: 0.55rem 0;
}

.checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--cherry);
}

/* ---------- Feedback ---------- */
.feedback-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 2rem;
	box-shadow: var(--shadow);
	text-align: center;
}

.feedback-card .btn {
	margin-top: 0.5rem;
}

/* ---------- Footer ---------- */
footer.site {
	border-top: 1px solid var(--border);
	padding: 2rem 0;
	color: var(--text-muted);
	font-size: 0.9rem;
}

footer.site .nav {
	height: auto;
	flex-wrap: wrap;
	gap: 0.75rem;
}

footer.site a {
	color: var(--text-muted);
	text-decoration: none;
}

footer.site a:hover {
	color: var(--cherry);
}

/* ---------- Misc ---------- */
:focus-visible {
	outline: 2px solid var(--cherry);
	outline-offset: 2px;
	border-radius: 4px;
}

hr {
	border: none;
	border-top: 1px solid var(--border);
	margin: 2.5rem 0;
}
