@font-face {
	font-family: "Quyuan GEO Sans SC";
	src: url("./fonts/regular.woff") format("woff");
	font-style: normal;
	font-weight: 400 500;
	font-display: swap;
}

@font-face {
	font-family: "Quyuan GEO Sans SC";
	src: url("./fonts/semibold.woff") format("woff");
	font-style: normal;
	font-weight: 600 900;
	font-display: swap;
}

:root {
	color-scheme: light;
	font-family: "Quyuan GEO Sans SC", -apple-system, BlinkMacSystemFont, "Noto Sans SC", sans-serif;
	font-size: 14px;
	color: #303133;
	background: #fff;
	line-height: 1.5;
	-webkit-text-size-adjust: 100%;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 20px 16px max(32px, env(safe-area-inset-bottom));
	background:
		radial-gradient(ellipse 337.5px 310px at left 30px, #8b5cf611, transparent 90%),
		radial-gradient(ellipse 487.5px 240px at right top, #2f6bff1a, transparent 85%);
	background-attachment: fixed;
}

article {
	max-width: 800px;
	margin: 0 auto;
	overflow-wrap: anywhere;
}

.brand {
	margin: 0 0 8px;
	color: #606266;
	font-size: 12px;
	line-height: 18px;
}

h1 {
	margin: 0 0 12px;
	font-size: 20px;
	font-weight: 600;
	line-height: 28px;
}

h2 {
	margin: 0 0 12px;
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
}

section {
	margin-top: 16px;
	padding: 20px 16px 8px;
	background: #fff;
	border: 1px solid #dcdfe699;
	border-radius: 16px;
	scroll-margin-top: 16px;
}

p {
	margin: 0 0 12px;
}

strong {
	font-weight: 600;
}

.meta {
	color: #606266;
	font-size: 12px;
	line-height: 18px;
}

nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	margin-top: 24px;
	padding-top: 16px;
	border-top: 1px solid #dcdfe6;
}

a {
	color: #2f6bff;
	text-underline-offset: 3px;
}

nav a {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
}

a:focus-visible {
	outline: 2px solid #2f6bff;
	outline-offset: 4px;
}
