
:root {
  --ink: #152033;
  --muted: #526174;
  --line: #d8e2ee;
  --soft: #f7fafc;
  --blue: #2563eb;
  --green: #0f9f6e;
  --amber: #d97706;
  --white: #ffffff;
  --shadow: 0 14px 40px rgba(21, 32, 51, .08);
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, "Noto Sans KR", sans-serif; color: var(--ink); background: var(--white); line-height: 1.7; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
.skip { position: absolute; left: -999px; top: 12px; background: var(--ink); color: white; padding: 8px 12px; z-index: 3; }
.skip:focus { left: 12px; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.95); position: sticky; top: 0; z-index: 2; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 0; }
.brand { font-size: 22px; font-weight: 800; letter-spacing: 0; white-space: nowrap; }
.brand span { color: var(--blue); }
.nav { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; font-size: 14px; color: var(--muted); }
.nav a { padding: 4px 0; }
.home-hero { background: linear-gradient(180deg, #f7fafc 0%, #ffffff 100%); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; padding: 64px 0 50px; }
.eyebrow { color: var(--green); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0; margin: 0 0 10px; }
h1, h2, h3 { line-height: 1.25; letter-spacing: 0; }
h1 { font-size: 46px; margin: 0 0 18px; }
h2 { font-size: 28px; margin: 0 0 18px; }
h3 { font-size: 20px; margin: 0 0 10px; }
p { margin: 0 0 16px; }
.hero-grid p { font-size: 18px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.button { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 8px; font-weight: 700; background: white; }
.button.primary { color: white; background: var(--blue); border-color: var(--blue); }
.hero-media { margin: 0; }
.hero-media img { width: 100%; height: auto; display: block; border-radius: 8px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.section { padding: 52px 0; }
.section.tight { padding-top: 20px; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.quick-grid a, .card { border: 1px solid var(--line); border-radius: 8px; background: white; padding: 22px; box-shadow: 0 6px 18px rgba(21,32,51,.04); }
.quick-grid span, .card p { display: block; color: var(--muted); font-size: 15px; }
.topic-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.topic-pills a { border: 1px solid var(--line); border-radius: 999px; background: var(--soft); padding: 9px 14px; font-weight: 700; color: var(--muted); }
.topic-pills button { border: 1px solid var(--line); border-radius: 999px; background: var(--soft); padding: 9px 14px; font: inherit; font-weight: 700; color: var(--muted); cursor: pointer; }
.search-box { display: grid; gap: 10px; margin: 8px 0 20px; }
.search-box label { font-weight: 800; }
.search-box div { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.search-box input { width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font: inherit; }
.search-results { display: grid; gap: 12px; margin-top: 24px; }
.result-count { color: var(--muted); font-weight: 800; }
.search-result { border: 1px solid var(--line); border-radius: 8px; padding: 18px; background: white; }
.search-result h2 { font-size: 20px; margin-bottom: 8px; }
.site-map-list { display: grid; gap: 10px; padding-left: 0; list-style: none; }
.site-map-list li { border-bottom: 1px solid var(--line); padding: 10px 0; }
.site-map-list a { font-weight: 800; }
.site-map-list span { display: block; color: var(--muted); margin-top: 4px; }
.update-list { display: grid; gap: 12px; padding-left: 0; list-style: none; }
.update-list li { border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; background: white; }
.update-list span { display: block; color: var(--muted); margin-top: 4px; }
.hub-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 20px 0 28px; }
.hub-list a { border: 1px solid var(--line); border-radius: 8px; padding: 18px; text-decoration: none; background: white; }
.hub-list span { display: block; color: var(--muted); margin-top: 6px; }
.band { background: #f4f8fb; border-block: 1px solid var(--line); padding: 54px 0; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 42px; align-items: start; }
.steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.steps li { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; }
.steps span { display: block; color: var(--muted); }
.grid { display: grid; gap: 16px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.card h3 a { text-decoration: none; }
.page-hero, .article-head { padding: 56px 0 28px; }
.page-hero p, .article-head p { color: var(--muted); max-width: 760px; font-size: 18px; }
.article-head .meta-line { color: var(--muted); font-size: 14px; margin-top: 8px; }
.article { max-width: 820px; padding-bottom: 34px; }
.article a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.article h2 { margin-top: 34px; }
.article li { margin-bottom: 8px; }
.article-visual { margin: 24px 0 30px; }
.article-visual img { width: 100%; height: auto; display: block; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); background: var(--soft); }
.article-visual figcaption { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.article table { width: 100%; border-collapse: collapse; margin: 20px 0 28px; font-size: 15px; }
.article th, .article td { border: 1px solid var(--line); padding: 12px; vertical-align: top; text-align: left; }
.article th { background: #f4f8fb; }
.read-order { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; counter-reset: order; }
.read-order li { border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; background: white; counter-increment: order; }
.read-order li::before { content: counter(order); display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin-right: 8px; border-radius: 50%; background: var(--blue); color: white; font-weight: 800; font-size: 13px; }
.read-order a { font-weight: 800; }
.read-order span { display: block; color: var(--muted); margin-top: 6px; font-size: 15px; }
.note { border-left: 4px solid var(--amber); background: #fff8ed; padding: 16px 18px; margin: 28px 0; }
.footer { background: #111827; color: #e5e7eb; padding: 34px 0; margin-top: 36px; }
.footer a { color: white; text-decoration: underline; text-underline-offset: 3px; }
.footer p { color: #cbd5e1; margin-bottom: 8px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 860px) {
  .header-inner { align-items: flex-start; flex-direction: column; }
  .nav { justify-content: flex-start; }
  .hero-grid, .split, .footer-grid { grid-template-columns: 1fr; }
  .quick-grid, .grid.three, .read-order { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 36px; }
}
@media (max-width: 560px) {
  .wrap { width: min(100% - 24px, 1120px); }
  .quick-grid, .grid.three, .read-order, .hub-list { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 42px; }
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  .nav { gap: 10px 12px; }
  .search-box div { grid-template-columns: 1fr; }
  .article table { display: block; overflow-x: auto; white-space: normal; }
}
