:root {
  --bg: #ebe9e4; --panel: #f7f5f1; --line: rgba(140,107,42,.22);
  --text: #2b2824; --muted: #6f695f; --gold-d: #7a5c20;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  font-size: 16px; line-height: 1.7; word-break: keep-all; overflow-wrap: anywhere;
}
main { max-width: 720px; margin: 0 auto; padding: 48px 20px 64px; }
.brand { margin: 0 0 6px; font-size: 13px; letter-spacing: .14em; color: var(--gold-d); font-weight: 700; }
.brand a { color: inherit; text-decoration: none; }
h1 { margin: 0 0 12px; font-size: 28px; line-height: 1.3; }
h2 { margin: 0 0 8px; font-size: 18px; }
.lead { margin: 0 0 8px; color: var(--muted); }
.date { margin: 0; font-size: 14px; color: var(--muted); }
section { margin-top: 28px; padding: 20px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
section p { margin: 0 0 10px; }
section p:last-child, section ul:last-child { margin-bottom: 0; }
ul { margin: 0 0 10px; padding-left: 20px; }
li { margin-bottom: 6px; }
a { color: var(--gold-d); text-underline-offset: 3px; }
code { font-size: .92em; background: rgba(140,107,42,.1); padding: 1px 5px; border-radius: 4px; }
table { width: 100%; border-collapse: collapse; margin: 0 0 12px; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
th { font-size: 13px; color: var(--muted); font-weight: 600; }
footer { margin-top: 32px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
@media (max-width: 520px) {
  main { padding: 32px 16px 48px; }
  h1 { font-size: 24px; }
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  tr { padding: 8px 0; border-bottom: 1px solid var(--line); }
  td { border: 0; padding: 2px 0; }
  td:first-child { font-weight: 700; }
}
