:root {
	--canvas: #f7f8f7;
	--surface: #ffffff;
	--sunken: #eef2f1;
	--line: #dfe5e3;
	--ink: #16201e;
	--muted: #5d6b68;
	--accent: #0f6b5c;
	--accent-soft: #e3f1ee;
	--up: #d6453d;
	--down: #3567d6;
	--shadow: 0 1px 2px rgb(22 32 30 / 0.04), 0 12px 32px -12px rgb(22 32 30 / 0.2);
	color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
	:root {
		--canvas: #121514;
		--surface: #1a1f1d;
		--sunken: #222826;
		--line: #2c3431;
		--ink: #eef2f1;
		--muted: #9fb0ac;
		--accent: #5fc3ad;
		--accent-soft: #19332d;
		--up: #f07a72;
		--down: #7fa1f2;
		--shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 16px 40px -12px rgb(0 0 0 / 0.6);
	}
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--canvas);
	color: var(--ink);
	font-family:
		'Pretendard',
		'Inter',
		ui-sans-serif,
		system-ui,
		-apple-system,
		'Segoe UI',
		'Apple SD Gothic Neo',
		'Noto Sans KR',
		sans-serif;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

a {
	color: inherit;
}

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

.nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 0;
}

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

.nav nav {
	display: flex;
	align-items: center;
	gap: 8px;
}

.link {
	padding: 8px 12px;
	color: var(--muted);
	font-size: 15px;
	text-decoration: none;
}

.button {
	display: inline-flex;
	align-items: center;
	height: 48px;
	padding: 0 22px;
	border-radius: 14px;
	background: var(--ink);
	color: var(--canvas);
	font-weight: 600;
	text-decoration: none;
	box-shadow: var(--shadow);
}

.button.small {
	height: 38px;
	padding: 0 16px;
	border-radius: 12px;
	font-size: 14px;
}

.hero {
	display: grid;
	gap: 48px;
	align-items: center;
	padding: 56px 0 72px;
}

@media (min-width: 900px) {
	.hero {
		grid-template-columns: 1.1fr 1fr;
		padding: 96px 0;
	}
}

.eyebrow {
	margin: 0 0 16px;
	color: var(--accent);
	font-size: 14px;
	font-weight: 600;
}

h1 {
	margin: 0;
	font-size: clamp(40px, 7vw, 64px);
	line-height: 1.05;
	letter-spacing: -0.03em;
}

.lede {
	max-width: 30em;
	margin: 20px 0 32px;
	color: var(--muted);
	font-size: 19px;
}

.card {
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: 28px;
	background: var(--surface);
	box-shadow: var(--shadow);
}

.card .label {
	margin: 0;
	color: var(--muted);
	font-size: 13px;
	font-weight: 600;
}

.card .big {
	margin: 2px 0;
	font-size: 30px;
	font-weight: 700;
	letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums;
}

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

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

.rows {
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}

.rows li {
	display: flex;
	justify-content: space-between;
	padding: 10px 0;
	border-top: 1px solid var(--line);
	font-variant-numeric: tabular-nums;
}

.nudge {
	margin-top: 14px;
	padding: 12px 14px;
	border-radius: 16px;
	background: var(--sunken);
	font-size: 14px;
}

.features {
	display: grid;
	gap: 16px;
	padding: 24px 0 80px;
}

@media (min-width: 700px) {
	.features {
		grid-template-columns: repeat(3, 1fr);
	}
}

.features h2 {
	margin: 0 0 6px;
	font-size: 18px;
}

.features p {
	margin: 0;
	color: var(--muted);
}

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

footer a {
	margin-right: 16px;
}

.doc {
	max-width: 44em;
	padding: 32px 0 80px;
}

.doc h1 {
	font-size: 36px;
}

.doc h2 {
	margin-top: 32px;
	font-size: 20px;
}
