:root {
	--bg: #fafaf9;
	--surface: #ffffff;
	--text: #1c1917;
	--muted: #57534e;
	--line: #e7e5e4;
	--brand: #14532d;
	--brand-soft: #dcfce7;
	--accent: #15803d;
	color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #0c0a09;
		--surface: #1c1917;
		--text: #f5f5f4;
		--muted: #a8a29e;
		--line: #292524;
		--brand-soft: #14532d;
		--accent: #4ade80;
	}
}

* {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	-webkit-font-smoothing: antialiased;
}

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

.wrap {
	max-width: 720px;
	margin: 0 auto;
	padding: 0 20px;
}

header {
	border-bottom: 1px solid var(--line);
}

header .wrap,
footer .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 64px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--text);
	font-weight: 600;
	text-decoration: none;
}

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

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

nav a {
	color: var(--muted);
	text-decoration: none;
}

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

main {
	padding: 56px 0 72px;
}

h1 {
	margin: 0 0 16px;
	font-size: clamp(32px, 6vw, 44px);
	line-height: 1.15;
	letter-spacing: -0.02em;
}

h2 {
	margin: 40px 0 8px;
	font-size: 21px;
	line-height: 1.3;
}

.lead {
	margin: 0 0 32px;
	color: var(--muted);
	font-size: 19px;
}

.steps {
	display: grid;
	gap: 12px;
	margin: 40px 0;
	padding: 0;
	list-style: none;
	counter-reset: step;
}

.steps li {
	position: relative;
	padding: 18px 20px 18px 64px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 12px;
	counter-increment: step;
}

.steps li::before {
	content: counter(step);
	position: absolute;
	top: 18px;
	left: 20px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--brand-soft);
	color: var(--accent);
	font-weight: 700;
	font-size: 15px;
	line-height: 28px;
	text-align: center;
}

.steps strong {
	display: block;
}

.steps span {
	color: var(--muted);
	font-size: 16px;
}

.button {
	display: inline-block;
	padding: 12px 20px;
	border-radius: 10px;
	background: var(--brand);
	color: #f0fdf4;
	font-weight: 600;
	text-decoration: none;
}

.button:hover {
	background: #166534;
}

.meta {
	color: var(--muted);
	font-size: 15px;
}

table {
	width: 100%;
	margin: 16px 0;
	border-collapse: collapse;
	font-size: 15px;
}

th,
td {
	padding: 10px 12px 10px 0;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

th {
	color: var(--muted);
	font-weight: 600;
}

.table-scroll {
	overflow-x: auto;
}

ul {
	padding-left: 22px;
}

li + li {
	margin-top: 4px;
}

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

footer a {
	color: var(--muted);
}

@media (max-width: 480px) {
	body {
		font-size: 16px;
	}

	main {
		padding: 40px 0 56px;
	}

	footer .wrap {
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;
		gap: 4px;
		padding-top: 16px;
		padding-bottom: 16px;
	}
}
