:root {
  color-scheme: light;
  --ink: #241a16;
  --muted: #776b62;
  --paper: #fbf7f0;
  --card: #fffcf7;
  --red: #8e1f14;
  --red-dark: #65130d;
  --line: #e8ded1;
  --gold: #d7a32d;
}

* { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; }
body { overflow-x: hidden; margin: 0; color: var(--ink); background: var(--paper); font-family: Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif; line-height: 1.75; }
a { color: inherit; }
.shell { width: calc(100% - 32px); max-width: 920px; margin: 0 auto; padding: 28px 0 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 42px; color: var(--red); font-weight: 900; text-decoration: none; }
.brand-mark { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 12px; color: white; background: var(--red); font-size: 19px; }
.hero { overflow: hidden; position: relative; padding: clamp(30px, 7vw, 64px); border: 1px solid var(--line); border-radius: 32px; background: var(--card); box-shadow: 0 24px 60px rgba(73, 39, 25, .08); }
.hero::after { content: "국"; position: absolute; right: -10px; bottom: -72px; color: rgba(142, 31, 20, .055); font-size: 220px; font-weight: 1000; line-height: 1; }
.eyebrow { margin: 0 0 12px; color: var(--red); font-size: 12px; font-weight: 900; letter-spacing: .18em; }
h1 { max-width: 720px; margin: 0; overflow-wrap: anywhere; font-size: clamp(34px, 7vw, 64px); line-height: 1.08; letter-spacing: -.045em; }
.lead { max-width: 650px; margin: 20px 0 0; color: var(--muted); font-size: clamp(16px, 2.5vw, 19px); }
.meta { display: inline-flex; margin-top: 20px; padding: 7px 11px; border-radius: 999px; color: var(--red-dark); background: #f6e7df; font-size: 13px; font-weight: 800; }
.document-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.document-card { display: flex; min-height: 150px; flex-direction: column; justify-content: space-between; padding: 24px; border: 1px solid var(--line); border-radius: 24px; background: var(--card); text-decoration: none; transition: transform .18s ease, border-color .18s ease; }
.document-card:hover { transform: translateY(-3px); border-color: #c9aa93; }
.document-card strong { font-size: 20px; }
.document-card span { color: var(--muted); font-size: 14px; }
.document-card b { align-self: flex-end; color: var(--red); font-size: 25px; }
.doc-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 28px; }
.doc-nav a { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-size: 13px; font-weight: 750; text-decoration: none; }
.doc-nav a[aria-current="page"] { color: white; border-color: var(--red); background: var(--red); }
.article { margin-top: 20px; padding: clamp(24px, 6vw, 52px); border: 1px solid var(--line); border-radius: 28px; background: var(--card); }
.article section + section { margin-top: 32px; padding-top: 30px; border-top: 1px solid var(--line); }
h2 { margin: 0 0 12px; font-size: 20px; letter-spacing: -.02em; }
p { margin: 8px 0 0; overflow-wrap: anywhere; color: var(--muted); }
.notice { margin-top: 20px; padding: 18px 20px; border-left: 4px solid var(--gold); border-radius: 10px; background: #fff6d9; }
.notice strong { color: var(--ink); }
.action { display: inline-flex; margin-top: 18px; padding: 12px 18px; border-radius: 14px; color: white; background: var(--red); font-weight: 850; text-decoration: none; }
footer { margin-top: 34px; color: var(--muted); font-size: 13px; text-align: center; }
footer a { color: var(--red); font-weight: 800; }

@media (max-width: 640px) {
  .shell { width: calc(100% - 22px); padding-top: 16px; }
  .brand { margin-bottom: 22px; }
  .hero { border-radius: 24px; }
  .document-grid { grid-template-columns: 1fr; }
  .document-card { min-height: 128px; }
  .article { border-radius: 22px; }
}
