/* Cue site — 정적 2장(index/privacy) 공용 스타일.
   팔레트는 앱 theme.odin 과 동일 값(PAPER/INK/RED/DARK_*). */

:root {
	--paper: #f5f2ea;
	--ink: #1a1a1e;
	--red: #d32f2f;
	--muted: #6b6860;
	--rule: #ddd8cc;
	--surface: #fffdf8;
}

@media (prefers-color-scheme: dark) {
	:root {
		--paper: #18181b;
		--ink: #ebe8e1;
		--red: #e35555;
		--muted: #9a968c;
		--rule: #33333a;
		--surface: #26262b;
	}
}

* {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	padding: 3rem 1.25rem 6rem;
	background: var(--paper);
	color: var(--ink);
	font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

main {
	max-width: 40rem;
	margin: 0 auto;
}

.wordmark {
	font-size: 2rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0 0 0.25rem;
}

.wordmark .dot {
	color: var(--red);
}

.tagline {
	color: var(--muted);
	margin: 0 0 2.5rem;
}

h1 {
	font-size: 1.6rem;
	line-height: 1.25;
	margin: 0 0 0.5rem;
}

h2 {
	font-size: 1.1rem;
	margin: 2.5rem 0 0.75rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--rule);
}

h3 {
	font-size: 1rem;
	margin: 1.5rem 0 0.4rem;
}

p,
ul,
ol {
	margin: 0 0 1rem;
}

ul,
ol {
	padding-left: 1.25rem;
}

li {
	margin-bottom: 0.4rem;
}

a {
	color: var(--red);
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

code {
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 0.9em;
	background: var(--surface);
	border: 1px solid var(--rule);
	border-radius: 3px;
	padding: 0.05em 0.3em;
}

.updated {
	color: var(--muted);
	font-size: 0.9rem;
	margin-bottom: 2rem;
}

.lede {
	background: var(--surface);
	border: 1px solid var(--rule);
	border-left: 3px solid var(--red);
	padding: 1rem 1.25rem;
	margin-bottom: 2rem;
}

.lede p:last-child {
	margin-bottom: 0;
}

footer {
	margin-top: 4rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--rule);
	color: var(--muted);
	font-size: 0.9rem;
}

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