:root {
	color: #202622;
	background: #f3f5f3;
	font-family:
		ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
		"PingFang SC", "Microsoft YaHei", sans-serif;
	font-synthesis: none;
	--surface: #f3f5f3;
	--surface-raised: #fbfcfb;
	--border: #cdd5cf;
	--text: #202622;
	--text-muted: #5d6961;
	--accent: #21613c;
	--accent-hover: #174a2d;
	--accent-soft: #dceade;
	--code: #17211b;
	--code-text: #e7f0e9;
	--focus: #397dbe;
}

@media (prefers-color-scheme: dark) {
	:root {
		color: #e5ebe7;
		background: #171c19;
		--surface: #171c19;
		--surface-raised: #202622;
		--border: #3e4841;
		--text: #e5ebe7;
		--text-muted: #adb8b0;
		--accent: #62a879;
		--accent-hover: #78bc8e;
		--accent-soft: #243e2d;
		--code: #0e1410;
		--code-text: #e7f0e9;
		--focus: #77afe3;
	}
}

* {
	box-sizing: border-box;
}
html {
	min-width: 320px;
	min-height: 100%;
}
body {
	min-width: 320px;
	min-height: 100dvh;
	margin: 0;
	background: var(--surface);
	color: var(--text);
}
a {
	color: var(--accent);
	text-underline-offset: 3px;
}
a:hover {
	color: var(--accent-hover);
}
a:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--focus) 35%, transparent);
	outline-offset: 3px;
}

.site-header,
main,
footer {
	width: min(920px, calc(100% - 40px));
	margin-inline: auto;
}
.site-header {
	min-height: 76px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	border-bottom: 1px solid var(--border);
	font-size: 14px;
}
.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--text);
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
}
.brand-mark {
	width: 30px;
	height: 30px;
	display: inline-grid;
	place-items: center;
	border-radius: 6px;
	background: var(--accent);
	color: #f8fbf9;
}

main {
	padding: 64px 0 72px;
}
.intro {
	max-width: 720px;
	padding-bottom: 52px;
}
.eyebrow {
	margin: 0 0 12px;
	color: var(--accent);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
}
h1,
h2,
p {
	margin-top: 0;
	letter-spacing: 0;
}
h1 {
	margin-bottom: 18px;
	font-size: 42px;
	line-height: 1.16;
	font-weight: 720;
}
h2 {
	margin-bottom: 6px;
	font-size: 18px;
	line-height: 1.35;
}
p {
	color: var(--text-muted);
	line-height: 1.65;
}
.summary {
	max-width: 680px;
	margin: 0;
	font-size: 17px;
}

.install {
	padding: 28px 0;
	border-top: 1px solid var(--border);
}
.section-heading {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}
.section-heading p {
	margin-bottom: 0;
	font-size: 14px;
}
.step-number {
	width: 28px;
	height: 28px;
	display: inline-grid;
	place-items: center;
	flex: 0 0 auto;
	border-radius: 50%;
	background: var(--accent-soft);
	color: var(--accent);
	font-size: 13px;
	font-weight: 750;
}
pre {
	margin: 18px 0 0 42px;
	padding: 18px 20px;
	overflow-x: auto;
	border-radius: 6px;
	background: var(--code);
	color: var(--code-text);
}
code {
	font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
	font-size: 13px;
	line-height: 1.55;
}

.permission-note {
	margin-top: 18px;
	padding: 24px;
	border-left: 4px solid var(--accent);
	background: var(--surface-raised);
}
.permission-note p {
	max-width: 720px;
	margin-bottom: 18px;
	font-size: 14px;
}
.primary-link {
	display: inline-block;
	font-size: 14px;
	font-weight: 700;
}
footer {
	display: flex;
	gap: 6px;
	padding: 22px 0 30px;
	border-top: 1px solid var(--border);
	color: var(--text-muted);
	font-size: 12px;
}

@media (max-width: 640px) {
	.site-header,
	main,
	footer {
		width: min(100% - 28px, 920px);
	}
	.site-header {
		min-height: 64px;
	}
	main {
		padding: 42px 0 52px;
	}
	.intro {
		padding-bottom: 34px;
	}
	h1 {
		font-size: 32px;
	}
	.summary {
		font-size: 15px;
	}
	pre {
		margin-left: 0;
		padding: 16px;
		white-space: pre-wrap;
		overflow-wrap: anywhere;
	}
	.permission-note {
		padding: 20px 18px;
	}
}
