:root {
  --purple: #6d28d9;
  --purple-dark: #4c1d95;
  --text: #374151;
  --muted: #6b7280;
  --line: #e5e7eb;
}
* { box-sizing: border-box; }
html { width: 100%; min-height: 100%; overflow-x: hidden; background: #7651a8; }
body {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 24px;
  color: var(--text);
  background: radial-gradient(circle at top left, #ffe29f, transparent 35%), radial-gradient(circle at bottom right, #ffa99f, transparent 35%), linear-gradient(135deg, #667eea, #764ba2);
  font-family: "Pretendard", "Noto Sans KR", Arial, sans-serif;
}
.shell { width: min(100%, 900px); min-width: 0; margin: 0 auto; }
.site-header, .article, .site-footer {
  border: 1px solid rgba(255,255,255,.4);
  background: rgba(255,255,255,.95);
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
}
.site-header { margin-bottom: 20px; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-radius: 18px; }
.brand { color: #5b21b6; font-size: 17px; font-weight: 900; text-decoration: none; }
.site-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 16px; }
.site-nav a { color: #4b5563; font-size: 14px; font-weight: 700; text-decoration: none; }
.site-nav a[aria-current="page"], .site-nav a:hover, .site-nav a:focus-visible { color: var(--purple); text-decoration: underline; text-underline-offset: 4px; }
.article { min-width: 0; padding: clamp(27px, 6vw, 54px); overflow-wrap: anywhere; border-radius: 26px; }
.eyebrow { margin: 0 0 10px; color: var(--purple); font-size: 14px; font-weight: 900; letter-spacing: .04em; }
h1 { margin: 0 0 16px; color: #27143f; font-size: clamp(30px, 7vw, 44px); line-height: 1.2; word-break: keep-all; overflow-wrap: break-word; }
.lead { margin: 0 0 32px; color: #4b5563; font-size: 18px; line-height: 1.75; word-break: keep-all; }
h2 { margin: 36px 0 12px; padding-top: 5px; color: var(--purple-dark); font-size: 24px; line-height: 1.35; }
h3 { margin: 24px 0 8px; color: var(--purple); font-size: 19px; }
p, li { font-size: 16px; line-height: 1.85; word-break: keep-all; }
p { margin: 0 0 15px; }
ul, ol { margin: 10px 0 20px; padding-left: 24px; }
li + li { margin-top: 8px; }
.note { margin: 25px 0; padding: 19px 21px; border-left: 4px solid #8b5cf6; border-radius: 0 14px 14px 0; background: #faf5ff; }
.note p:last-child { margin-bottom: 0; }
.info-table { width: 100%; margin: 18px 0; border-collapse: collapse; }
.info-table th, .info-table td { padding: 13px; border: 1px solid var(--line); font-size: 14px; line-height: 1.65; text-align: left; vertical-align: top; }
.info-table th { width: 26%; background: #faf5ff; color: var(--purple-dark); }
a { color: var(--purple); }
.updated { margin-top: 35px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.site-footer { margin-top: 20px; padding: 22px; border-radius: 18px; text-align: center; }
.footer-links { margin-bottom: 9px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; }
.footer-links a { font-size: 13px; font-weight: 700; }
.site-footer p { margin: 0; color: var(--muted); font-size: 12px; }
@media (max-width: 640px) {
  body { padding: 14px; }
  .site-header { align-items: flex-start; flex-direction: column; }
  .site-nav { width: 100%; justify-content: flex-start; gap: 8px 12px; }
  .article { border-radius: 21px; }
  .lead { font-size: 16px; }
  h2 { font-size: 21px; }
  .info-table, .info-table tbody, .info-table tr, .info-table th, .info-table td { display: block; width: 100%; }
  .info-table tr + tr { margin-top: 12px; }
}
