/* 이용약관·개인정보 처리방침 공용 — 색은 홈(index.html)과 같은 토큰 */
:root {
  color-scheme:light;
  --bg:#f4f7fb; --fg:#333d4b; --muted:#64707d; --card:#ffffff; --border:#e5e8eb;
  --title:#191f28; --accent:#1b64da; --accent-soft:#e8f3ff;
}
html[data-theme="dark"] {
  color-scheme:dark;
  --bg:#141a22; --fg:#d1d6db; --muted:#9da7b2; --card:#20262e; --border:#333d4b;
  --title:#f2f4f6; --accent:#74aafc; --accent-soft:#1d3553;
}
* { box-sizing:border-box; }
html { background:var(--bg); }
body {
  margin:0; background:var(--bg); color:var(--fg); line-height:1.75; letter-spacing:-.01em;
  font-family:'Pretendard',-apple-system,BlinkMacSystemFont,system-ui,'Segoe UI','Malgun Gothic',sans-serif;
}
.wrap { max-width:820px; margin:0 auto; padding:0 16px 80px; }
.top { min-height:64px; display:flex; align-items:center; justify-content:space-between; gap:12px; }
.brand { color:var(--title); text-decoration:none; font-size:1.2rem; font-weight:800; letter-spacing:-.04em; }
.brand span { color:var(--accent); }
.top nav a { color:var(--muted); text-decoration:none; font-size:.9rem; margin-left:14px; }
.top nav a[aria-current="page"] { color:var(--accent); font-weight:700; }
article { background:var(--card); border:1px solid var(--border); border-radius:18px; padding:32px 28px; }
h1 { color:var(--title); font-size:1.6rem; margin:0 0 6px; letter-spacing:-.03em; }
.meta { color:var(--muted); font-size:.88rem; margin:0 0 24px; }
h2 { color:var(--title); font-size:1.08rem; margin:30px 0 8px; }
p, li { font-size:.95rem; }
ol, ul { padding-left:1.3em; }
table { width:100%; border-collapse:collapse; font-size:.88rem; margin:8px 0; }
th, td { border:1px solid var(--border); padding:8px 10px; text-align:left; vertical-align:top; word-break:keep-all; }
th:first-child, td:first-child { white-space:nowrap; }
th { background:var(--accent-soft); color:var(--title); }
.table-scroll { overflow-x:auto; }
footer { color:var(--muted); font-size:.82rem; margin-top:28px; line-height:1.7; }
footer a { color:var(--muted); }
@media (max-width:600px) { article { padding:22px 16px; } h1 { font-size:1.35rem; } }
