/* 안내 글 공통 스타일. 첫 화면(index.html)과 같은 책상/종이 색과 글꼴을 쓴다. */
@font-face { font-family: "HwpPdf Serif"; src: url("/ui-fonts/HwpPdfSerif-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "HwpPdf Serif"; src: url("/ui-fonts/HwpPdfSerif-ExtraBold.woff2") format("woff2"); font-weight: 700 900; font-display: swap; }
@font-face { font-family: "HwpPdf Sans"; src: url("/ui-fonts/HwpPdfSans-Regular.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "HwpPdf Sans"; src: url("/ui-fonts/HwpPdfSans-SemiBold.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }

:root {
  --desk: #e8ebe8;
  --desk-edge: #d3d8d4;
  --ink: #15181d;
  --muted: #5b636b;
  --sheet: #fbfbf8;
  --seal: #c3342a;
  --btn: #15181d;
  --btn-ink: #fbfbf8;
  --focus: #2f5bd3;
  --font-display: "HwpPdf Serif", "Nanum Myeongjo", "AppleMyungjo", serif;
  --font-body: "HwpPdf Sans", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --desk: #16191d; --desk-edge: #2a2f35; --ink: #e9ebee; --muted: #9ba3ac;
    --seal: #d33f34; --btn: #e9ebee; --btn-ink: #15181d; --focus: #8fb0ff;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --desk: #16191d; --desk-edge: #2a2f35; --ink: #e9ebee; --muted: #9ba3ac;
  --seal: #d33f34; --btn: #e9ebee; --btn-ink: #15181d; --focus: #8fb0ff;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--desk); color: var(--ink);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.8;
  word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.site-head { max-width: 1120px; margin: 0 auto; padding: 22px 20px 0; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1; }
.brand svg { width: 26px; height: 26px; display: block; flex: none; }
.crumb { font-size: 0.875rem; color: var(--muted); }
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; }

article, .list { max-width: 40rem; margin: 0 auto; padding: 40px 20px 24px; }
h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 6vw, 2.75rem); line-height: 1.2; letter-spacing: -0.03em; margin: 0 0 12px; text-wrap: balance; }
.meta { margin: 0 0 32px; font-size: 0.875rem; color: var(--muted); }
.lead { font-size: 1.1875rem; color: var(--muted); margin: 0 0 32px; }
h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: 1.35; margin: 48px 0 12px; text-wrap: balance; }
h3 { font-size: 1.0625rem; font-weight: 600; margin: 28px 0 6px; }
p { margin: 0 0 16px; text-wrap: pretty; }
ol, ul { margin: 0 0 16px; padding-left: 1.4em; }
li { margin-bottom: 6px; }
li::marker { color: var(--muted); }
strong { font-weight: 600; }
.menu { font-weight: 600; white-space: nowrap; }

table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 0.9375rem; line-height: 1.6; }
th, td { text-align: left; vertical-align: top; padding: 10px 10px 10px 0; border-bottom: 1px solid var(--desk-edge); }
th { font-weight: 500; color: var(--muted); font-size: 0.8125rem; }
.table-wrap { overflow-x: auto; }

.note { margin: 24px 0; padding: 4px 0 4px 14px; border-left: 3px solid var(--desk-edge); color: var(--muted); }
.note p:last-child { margin-bottom: 0; }

.cta { margin: 40px 0 8px; padding: 22px 22px 20px; background: var(--sheet); color: #15181d; box-shadow: 0 1px 0 rgba(20,24,29,.06), 0 14px 32px -20px rgba(20,24,29,.45); }
.cta p { margin: 0 0 14px; }
.cta strong { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; display: block; margin-bottom: 4px; }
.btn { display: inline-block; font-weight: 600; font-size: 0.9375rem; text-decoration: none; padding: 11px 20px; border-radius: 2px; background: #15181d; color: #fbfbf8; }
.btn:hover { opacity: .88; }

.more { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--desk-edge); }
.more h2 { margin-top: 0; font-size: 1.125rem; }
.more ul { list-style: none; padding: 0; }
.refs { font-size: 0.875rem; color: var(--muted); }
.refs a { overflow-wrap: anywhere; }

.list ul { list-style: none; padding: 0; margin: 0; }
.list li { border-top: 1px solid var(--desk-edge); padding: 18px 0; margin: 0; }
.list li:last-child { border-bottom: 1px solid var(--desk-edge); }
.list li a { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; text-decoration: none; }
.list li a:hover { text-decoration: underline; }
.list li p { margin: 4px 0 0; color: var(--muted); font-size: 0.9375rem; }

footer { max-width: 40rem; margin: 0 auto; padding: 24px 20px 56px; font-size: 0.75rem; color: var(--muted); display: grid; gap: 4px; }
footer p { margin: 0; }
