/* Uphill 게시 페이지 공용 스타일 (개인정보 처리방침).
 *
 * 구글 문서 게시본을 대체한 이유가 곧 이 파일의 존재 이유다 — 게시 페이지에는
 * viewport 선언이 없어 모바일 웹뷰가 데스크톱 폭으로 렌더하고 폰트를 부스팅했다.
 * 색은 docs/design/tokens/colors.css의 Ember Sunrise 팔레트를 따른다.
 * 외부 폰트·스크립트를 부르지 않는다(로딩 지연·FOUT 없이 즉시 읽히게).
 */

:root {
  --bg: #fdf8f2;
  --surface: #fffdfb;
  --text: #1c1917;
  --text-muted: #57534e;
  --primary: #c2410c;
  --border: #e7e0d8;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17110c;
    --surface: #221a14;
    --text: #f5f0ea;
    --text-muted: #b8ada3;
    --primary: #ff8a4c;
    --border: #3a2e25;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 2rem 1.25rem 4rem;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", "Apple SD Gothic Neo",
    "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

h1 {
  font-size: 1.75rem;
  line-height: 1.3;
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 1.2rem;
  line-height: 1.4;
  margin: 2.5rem 0 0.75rem;
  color: var(--primary);
}

p,
li {
  margin: 0 0 1rem;
}

ul {
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}

li {
  margin-bottom: 0.75rem;
}

li > p {
  margin: 0.75rem 0 0;
}

strong {
  font-weight: 650;
}

a {
  color: var(--primary);
  overflow-wrap: anywhere;
}

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

.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  margin: 0 0 1.5rem;
}

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

.note {
  color: var(--text-muted);
  font-style: italic;
}

footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.95rem;
}

footer a {
  font-style: normal;
}

/* 언어 전환 — 본문 위 우측. 화면이 좁아도 줄바꿈으로 흐르게 둔다. */
.lang {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* 루트 랜딩 — 문서 목록만 있는 최소 페이지. */
.landing {
  text-align: center;
  padding-top: 3rem;
}

.landing ul {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
}

.landing li {
  margin-bottom: 1rem;
}
