:root {
  --bg: #fff8ef;
  --card: #ffffff;
  --text: #3a2e26;
  --muted: #7a6c5d;
  --line: #eadfd0;
  --accent: #ff9f5b;
  --accent-soft: #fff1e3;
  --link: #b5651d;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1f1a16;
    --card: #2a231e;
    --text: #f3e9dd;
    --muted: #b9aa98;
    --line: #3d332b;
    --accent: #ff9f5b;
    --accent-soft: #33271d;
    --link: #ffb97d;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  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;
  line-height: 1.7;
  font-size: 16px;
}
.wrap { max-width: 860px; margin: 0 auto; padding: 0 20px; }
a { color: var(--link); }
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.brand { font-weight: 800; text-decoration: none; color: var(--text); font-size: 18px; }
nav { display: flex; gap: 14px; flex-wrap: wrap; font-size: 14px; }
nav a { text-decoration: none; color: var(--muted); }
nav a:hover { color: var(--text); text-decoration: underline; }
nav a.lang { border: 1px solid var(--line); border-radius: 999px; padding: 0 10px; color: var(--text); }
main { padding-top: 28px; padding-bottom: 56px; min-height: 60vh; }
.hero { text-align: center; padding: 28px 0 12px; }
.hero h1 { font-size: clamp(26px, 5vw, 38px); line-height: 1.3; margin: 0 0 14px; }
.lead { color: var(--muted); font-size: 17px; max-width: 620px; margin: 0 auto 20px; }
.soon { display: inline-block; background: var(--accent-soft); color: var(--text); border-radius: 999px; padding: 6px 16px; font-size: 14px; }
.btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; font-weight: 700; padding: 10px 22px; border-radius: 12px; margin: 4px; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin: 32px 0 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.card h2 { font-size: 17px; margin: 0 0 6px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card.wide { grid-column: 1 / -1; }
.note { color: var(--muted); font-size: 14px; text-align: center; }
.doc h1 { font-size: 28px; margin: 4px 0 18px; }
.doc h2 { font-size: 19px; margin: 32px 0 8px; padding-top: 6px; border-top: 1px solid var(--line); }
.doc h2:first-of-type { border-top: 0; }
.doc p, .doc li { font-size: 15.5px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 4px 0; }
.table-wrap { overflow-x: auto; margin: 14px 0; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.doc table { border-collapse: collapse; width: 100%; font-size: 14px; }
.doc th, .doc td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.doc th { background: var(--accent-soft); white-space: nowrap; }
.doc tr:last-child td { border-bottom: 0; }
.draft-note { background: var(--accent-soft); border: 1px dashed var(--accent); border-radius: 12px; padding: 10px 14px; font-size: 14px; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--muted); font-size: 13px; }
.site-footer p { margin: 2px 0; }
.site-footer .copy { margin-top: 10px; }
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .header-inner { flex-direction: column; align-items: flex-start; }
}
