:root {
	--primary: #1f3a5f;
	--accent: #f4b860;
	--bg: #ffffff;
	--surface: #f4f6f9;
	--text: #1b1f24;
	--muted: #5b6573;
	--border: #dde2e8;
	color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #12161c;
		--surface: #1b2129;
		--text: #e9edf2;
		--muted: #a3adba;
		--border: #2c3440;
	}
}

* {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 17px;
	line-height: 1.6;
}

a {
	color: inherit;
	text-decoration-color: var(--accent);
	text-underline-offset: 3px;
}

a:hover {
	text-decoration-thickness: 2px;
}

header {
	background: var(--primary);
	color: #fff;
}

.bar {
	max-width: 760px;
	margin: 0 auto;
	padding: 14px 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	font-size: 20px;
	text-decoration: none;
}

.brand img {
	width: 36px;
	height: 36px;
	border-radius: 9px;
}

nav {
	display: flex;
	gap: 18px;
	font-size: 15px;
}

nav a {
	text-decoration: none;
	opacity: 0.85;
}

nav a:hover,
nav a[aria-current="page"] {
	opacity: 1;
	text-decoration: underline;
	text-decoration-color: var(--accent);
}

main {
	max-width: 760px;
	margin: 0 auto;
	padding: 32px 16px 56px;
}

h1 {
	font-size: 32px;
	line-height: 1.2;
	margin: 0 0 16px;
}

h2 {
	font-size: 22px;
	margin: 40px 0 8px;
}

h3 {
	font-size: 18px;
	margin: 24px 0 4px;
}

p,
ul {
	margin: 0 0 12px;
}

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

.hero {
	text-align: center;
	padding: 24px 0 8px;
}

.hero img {
	width: 112px;
	height: 112px;
	border-radius: 26px;
	margin-bottom: 20px;
}

.hero .lead {
	font-size: 20px;
	color: var(--muted);
	max-width: 520px;
	margin: 0 auto 24px;
}

.badge {
	display: inline-block;
	background: var(--accent);
	color: #1b1f24;
	font-weight: 600;
	padding: 10px 20px;
	border-radius: 999px;
}

.features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 16px;
	margin-top: 40px;
}

.feature {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 18px;
}

.feature h3 {
	margin-top: 0;
}

.feature p {
	margin: 0;
	color: var(--muted);
	font-size: 16px;
}

dl {
	display: grid;
	grid-template-columns: max-content 1fr;
	gap: 6px 20px;
	margin: 0 0 12px;
}

dt {
	font-weight: 600;
}

dd {
	margin: 0;
}

@media (max-width: 520px) {
	dl {
		grid-template-columns: 1fr;
		gap: 0;
	}

	dd {
		margin-bottom: 8px;
	}

	nav {
		gap: 12px;
	}
}

footer {
	border-top: 1px solid var(--border);
	color: var(--muted);
	font-size: 15px;
}

footer .bar {
	flex-wrap: wrap;
}
