:root {
  --bg: #ffffff;
  --fg: #1c1c1e;
  --muted: #6b6b70;
  --rule: #e3e3e6;
  --accent: #8b5e3c;
  --card: #faf8f6;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16161a;
    --fg: #ececf0;
    --muted: #9a9aa2;
    --rule: #2e2e34;
    --accent: #c79b76;
    --card: #1e1e23;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
               "Pretendard", "Noto Sans KR", Segoe UI, Roboto, sans-serif;
  line-height: 1.75;
  font-size: 16px;
}

.wrap { max-width: 720px; margin: 0 auto; padding: 40px 24px 96px; }

/* 상단 사이트 내비 */
.sitenav {
  display: flex; align-items: center; gap: 18px;
  padding-bottom: 18px; margin-bottom: 26px;
  border-bottom: 1px solid var(--rule);
  font-size: 0.9rem;
}
.sitenav a { color: var(--muted); text-decoration: none; }
.sitenav a:hover { color: var(--fg); }
.sitenav a[aria-current="page"] { color: var(--accent); font-weight: 600; }
.sitenav .spacer { flex: 1; }

.langbar { display: flex; gap: 8px; margin-bottom: 28px; }
.langbar button {
  font: inherit; font-size: 0.88rem; padding: 5px 14px; border-radius: 999px;
  border: 1px solid var(--rule); background: transparent; color: var(--muted); cursor: pointer;
}
.langbar button[aria-pressed="true"] {
  background: var(--accent); border-color: var(--accent); color: #fff;
}

header { border-bottom: 1px solid var(--rule); padding-bottom: 24px; margin-bottom: 8px; }
h1 { font-size: 1.6rem; margin: 0 0 6px; letter-spacing: -0.01em; }
.sub { color: var(--muted); font-size: 0.9rem; margin: 0; }

h2 {
  font-size: 1.08rem; margin: 40px 0 10px; letter-spacing: -0.01em;
  padding-left: 12px; border-left: 3px solid var(--accent);
}
h3 { font-size: 1rem; margin: 22px 0 6px; }

ul { padding-left: 20px; }
li { margin: 6px 0; }
a { color: var(--accent); }

.lede {
  background: var(--card); border: 1px solid var(--rule); border-radius: 12px;
  padding: 18px 20px; margin: 28px 0 8px;
}
.lede p { margin: 0; }
.lede strong { font-weight: 650; }

table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 0.95rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { color: var(--muted); font-weight: 600; white-space: nowrap; }

/* FAQ */
details {
  border: 1px solid var(--rule); border-radius: 10px;
  padding: 12px 16px; margin: 10px 0; background: var(--card);
}
details[open] { padding-bottom: 4px; }
summary { cursor: pointer; font-weight: 600; }
summary::marker { color: var(--accent); }
details p:first-of-type { margin-top: 10px; }

.contact {
  background: var(--card); border: 1px solid var(--rule); border-radius: 12px;
  padding: 20px; margin: 16px 0;
}
.contact p { margin: 0 0 6px; }
.contact .addr { font-size: 1.05rem; font-weight: 600; }

footer {
  margin-top: 56px; padding-top: 20px;
  border-top: 1px solid var(--rule); color: var(--muted); font-size: 0.88rem;
}

[hidden] { display: none !important; }
