:root {
  --bg: #fbf8f3;
  --text: #2b2622;
  --muted: #6b625a;
  --line: #e4ddd3;
  --accent: #b5651d;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1d1b19;
    --text: #ece6de;
    --muted: #a99f94;
    --line: #3a3530;
    --accent: #e09a52;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 16px 64px;
}

h1 { font-size: 1.7rem; line-height: 1.3; margin: 0 0 8px; }
h2 { font-size: 1.2rem; margin: 36px 0 8px; padding-top: 16px; border-top: 1px solid var(--line); }
h3 { font-size: 1.02rem; margin: 20px 0 4px; }
p, li { font-size: 0.98rem; }
ul { padding-left: 1.3em; }
a { color: var(--accent); }

.meta { color: var(--muted); font-size: 0.9rem; margin: 0 0 20px; }
.lang { margin: 0 0 8px; font-size: 0.9rem; }
.lang a { margin-right: 12px; }
.lang-section { margin-top: 56px; }
.lang-section:first-of-type { margin-top: 24px; }

table { width: 100%; border-collapse: collapse; margin: 8px 0; font-size: 0.94rem; }
th, td { text-align: left; vertical-align: top; padding: 8px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }

.links { list-style: none; padding: 0; }
.links li { margin: 6px 0; }

footer { margin-top: 48px; color: var(--muted); font-size: 0.85rem; }
