:root {
  --ink: #171714;
  --ink-soft: #494941;
  --paper: #f4efe5;
  --paper-light: #fbf8f1;
  --paper-deep: #e8dfcf;
  --line: rgba(23, 23, 20, .22);
  --orange: #b54d27;
  --green: #153e35;
  --bronze: #98744c;
  color-scheme: light;
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(to right, transparent calc(50% - .5px), rgba(23, 23, 20, .045) 50%, transparent calc(50% + .5px)),
    var(--paper);
}
a { color: inherit; }
img { max-width: 100%; }
button, input, textarea, select { font: inherit; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--paper-light);
  background: var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 239, 229, .96);
}
.masthead {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}
.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  letter-spacing: -.02em;
}
.brand span {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  font-weight: 750;
}
.header-nav a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.header-nav .home-link { text-decoration: none; }
.header-nav .home-link::after { content: " ↗"; color: var(--orange); }

.hero {
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  min-height: 600px;
  padding: 86px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(290px, .68fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: end;
}
.eyebrow,
.section-kicker,
.article-label {
  margin: 0 0 18px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero h1,
.article-hero h1 {
  margin: 0;
  max-width: 900px;
  font-family: Georgia, "Times New Roman", "Noto Serif KR", serif;
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: 1.06;
  text-wrap: balance;
}
.hero h1 { font-size: clamp(52px, 7vw, 94px); }
.hero-lead {
  margin: 30px 0 0;
  max-width: 760px;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.72;
}
.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.button.ink { color: var(--paper-light); background: var(--ink); }
.button.outline { color: var(--ink); background: transparent; }
.hero-note {
  padding: 26px 0 4px 28px;
  border-left: 3px solid var(--bronze);
}
.hero-note strong {
  display: block;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", "Noto Serif KR", serif;
  font-size: 27px;
  font-weight: 500;
  line-height: 1.35;
}
.hero-note dl { margin: 0; }
.hero-note div {
  padding: 13px 0;
  border-top: 1px solid var(--line);
}
.hero-note dt {
  margin-bottom: 5px;
  color: var(--orange);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .1em;
}
.hero-note dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.65;
}

.notice-boundary {
  border-bottom: 1px solid var(--line);
  background: var(--paper-deep);
}
.notice-boundary .wrap {
  padding-block: 24px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: baseline;
}
.notice-boundary h2 {
  margin: 0;
  color: var(--orange);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.notice-boundary p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.section {
  padding: 108px 0;
  border-bottom: 1px solid var(--line);
}
.section-head {
  margin-bottom: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 64px;
  align-items: end;
}
.section-head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Noto Serif KR", serif;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.1;
}
.section-head p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.8;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--line);
}
.method-card {
  min-height: 350px;
  padding: 30px 25px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 248, 241, .42);
  display: flex;
  flex-direction: column;
}
.method-no {
  margin-bottom: 42px;
  color: var(--orange);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .13em;
}
.method-card h3 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", "Noto Serif KR", serif;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -.035em;
}
.method-card p {
  margin: 0 0 28px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}
.method-card strong {
  margin-top: auto;
  margin-bottom: 7px;
  color: var(--orange);
  font-size: 10px;
  letter-spacing: .1em;
}
.method-card > span:last-child { color: var(--ink-soft); font-size: 12px; line-height: 1.6; }

.notice-section { background: var(--paper-light); }
.notice-section-head > div:last-child { align-self: end; }
.notice-section-head .archive-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  text-underline-offset: 5px;
}
.notice-filter-panel {
  margin-bottom: 36px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.filter-row {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 22px;
  align-items: start;
}
.filter-label {
  padding-top: 8px;
  color: var(--orange);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
}
.notice-search {
  width: min(100%, 620px);
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
  font-size: 13px;
}
.notice-search:focus { outline: 2px solid var(--orange); outline-offset: 2px; }
.notice-search::placeholder { color: var(--ink-soft); opacity: .75; }
.filter-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-button,
.filter-reset {
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
}
.filter-button:hover,
.filter-button.is-active {
  border-color: var(--ink);
  color: var(--paper-light);
  background: var(--ink);
}
.filter-summary {
  padding: 15px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.filter-summary p { margin: 0; color: var(--ink-soft); font-size: 12px; }
.filter-reset { border: 0; padding-inline: 0; text-decoration: underline; text-underline-offset: 4px; }

.notice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.notice-card {
  min-width: 0;
  min-height: 430px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--paper);
  display: flex;
  flex-direction: column;
}
.notice-card[hidden] { display: none; }
.notice-card-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.method-badge,
.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .05em;
}
.method-badge { color: var(--paper-light); background: var(--green); border-color: var(--green); }
.status-badge { color: var(--orange); }
.notice-card h2,
.notice-card h3 {
  margin: 28px 0 14px;
  font-family: Georgia, "Times New Roman", "Noto Serif KR", serif;
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.32;
}
.notice-card h2 a,
.notice-card h3 a { text-decoration: none; }
.notice-card h2 a:hover,
.notice-card h3 a:hover { color: var(--orange); }
.notice-applicant {
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.72;
}
.notice-facts { margin: 0; border-top: 1px solid var(--line); }
.notice-facts div {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 16px;
}
.notice-facts dt { color: var(--orange); font-size: 10px; font-weight: 850; }
.notice-facts dd { margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.65; }
.notice-tags { margin: 18px 0 22px; display: flex; flex-wrap: wrap; gap: 7px; }
.notice-tags span {
  padding: 5px 8px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 10px;
}
.notice-links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px 22px; }
.notice-links a { color: var(--green); font-size: 12px; font-weight: 850; text-underline-offset: 4px; }
.notice-timing-note { margin: 26px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.7; }
.notice-load-more-wrap { margin-top: 28px; text-align: center; }
.notice-load-more {
  min-width: 180px;
  min-height: 46px;
  padding: 10px 22px;
  border: 1px solid var(--ink);
  color: var(--paper-light);
  background: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
}
.notice-load-more:hover { color: var(--ink); background: var(--paper-deep); }
.notice-load-more[hidden] { display: none; }

.notice-archive-hero .wrap,
.notice-detail-hero .wrap { max-width: 1100px; }
.notice-grid-archive { margin-bottom: 42px; }
.archive-back { margin: 34px 0 0; }
.archive-back a { color: var(--green); font-size: 13px; font-weight: 850; text-underline-offset: 4px; }
.notice-detail-hero .notice-tags { margin-top: 28px; }
.notice-detail-layout { max-width: 1020px; }
.notice-detail-aside a { text-decoration: underline; text-underline-offset: 4px; }
.cta-kicker {
  margin: 0 0 18px;
  color: #d99472;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
}
.guide-card {
  min-height: 380px;
  padding: 34px 30px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 248, 241, .42);
  display: flex;
  flex-direction: column;
  transition: background .18s ease, transform .18s ease;
}
.guide-card:first-child { border-left: 1px solid var(--line); }
.guide-card:hover { background: var(--paper-light); transform: translateY(-3px); }
.guide-no {
  margin-bottom: 54px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .12em;
}
.guide-card h3 {
  margin: 0 0 20px;
  font-family: Georgia, "Times New Roman", "Noto Serif KR", serif;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.28;
}
.guide-card p {
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}
.guide-card a {
  margin-top: auto;
  width: fit-content;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.scope-grid {
  display: grid;
  grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr);
  gap: 70px;
}
.scope-intro h2 {
  margin: 0 0 22px;
  font-family: Georgia, "Times New Roman", "Noto Serif KR", serif;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.12;
}
.scope-intro p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.8;
}
.scope-list {
  margin: 0;
  border-top: 1px solid var(--ink);
}
.scope-list div {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
}
.scope-list dt {
  color: var(--orange);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .12em;
}
.scope-list dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

.source-strip {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.source-strip .wrap {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  align-items: flex-start;
}
.source-strip p {
  margin: 0;
  max-width: 760px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}
.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 12px;
  font-weight: 800;
}
.source-links a { text-underline-offset: 4px; }

.cta-section {
  padding: 80px 0;
  color: var(--paper-light);
  background: var(--ink);
}
.cta-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
}
.cta-grid h2 {
  margin: 0;
  max-width: 720px;
  font-family: Georgia, "Times New Roman", "Noto Serif KR", serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.1;
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}
.button.light { color: var(--ink); background: var(--paper-light); }
.button.ghost { color: var(--paper-light); background: transparent; }

.article-hero {
  padding: 92px 0 68px;
  border-bottom: 1px solid var(--line);
}
.article-hero .wrap { max-width: 1100px; }
.article-hero h1 {
  max-width: 1080px;
  font-size: clamp(46px, 5.4vw, 72px);
}
.article-deck {
  margin: 28px 0 0;
  max-width: 790px;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.75;
}
.article-meta {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  color: var(--ink-soft);
  font-size: 12px;
}
.article-meta strong { color: var(--ink); }
.priority-note {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper-deep);
}
.priority-note p {
  margin: 0;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.7;
}
.article-layout {
  max-width: 1020px;
  padding: 76px 0 108px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 76px;
  align-items: start;
}
.article-body { min-width: 0; }
.article-body section {
  padding: 0 0 54px;
  margin-bottom: 54px;
  border-bottom: 1px solid var(--line);
}
.article-body section:last-child { margin-bottom: 0; }
.article-body h2 {
  margin: 0 0 24px;
  font-family: Georgia, "Times New Roman", "Noto Serif KR", serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.3;
}
.article-body h3 {
  margin: 32px 0 12px;
  font-size: 17px;
}
.article-body p,
.article-body li {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.9;
}
.article-body p { margin: 0 0 18px; }
.article-body ul,
.article-body ol { margin: 18px 0; padding-left: 1.3em; }
.article-body li + li { margin-top: 10px; }
.checklist {
  margin-top: 24px;
  border-top: 1px solid var(--ink);
}
.checklist div {
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
}
.checklist dt {
  color: var(--orange);
  font-size: 12px;
  font-weight: 850;
}
.checklist dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}
.article-aside {
  position: sticky;
  top: 28px;
  padding-top: 16px;
  border-top: 2px solid var(--orange);
}
.article-aside h2 {
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.article-aside ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
.article-aside li { border-top: 1px solid var(--line); }
.article-aside a {
  padding: 13px 0;
  display: block;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none;
}
.article-aside a:hover { color: var(--orange); }
.article-sources {
  padding: 36px;
  background: var(--paper-deep);
}
.article-sources h2 { font-size: 26px; }
.article-sources p,
.article-sources li { font-size: 14px; }

.site-footer {
  padding: 30px 0 40px;
  color: var(--paper-deep);
  background: var(--ink);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-start;
}
.footer-grid p { margin: 0; font-size: 12px; line-height: 1.7; }
.footer-grid a { text-underline-offset: 4px; }

@media (max-width: 860px) {
  body { background: var(--paper); }
  .hero-grid,
  .section-head,
  .scope-grid,
  .article-layout { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; padding: 72px 0 58px; gap: 48px; align-items: start; }
  .hero-note { max-width: 620px; }
  .guide-grid { grid-template-columns: 1fr; }
  .method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .notice-grid { grid-template-columns: 1fr; }
  .guide-card { min-height: 0; border-left: 1px solid var(--line); }
  .guide-no { margin-bottom: 30px; }
  .article-layout { gap: 40px; }
  .article-aside { position: static; order: -1; }
  .article-aside ol { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 20px; }
  .cta-grid { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 620px) {
  .wrap { width: min(100% - 32px, 1180px); }
  .masthead { min-height: 66px; }
  .brand span { display: none; }
  .header-nav { gap: 12px; font-size: 12px; }
  .header-nav .section-link { display: none; }
  .hero-grid { padding: 58px 0 48px; }
  .hero h1 { font-size: clamp(46px, 15vw, 68px); }
  .hero-lead { font-size: 17px; line-height: 1.72; }
  .hero-actions { width: 100%; }
  .hero-actions .button { width: 100%; }
  .hero-note { padding: 22px 0 0; border-left: 0; border-top: 2px solid var(--bronze); }
  .hero-note strong { font-size: 24px; }
  .notice-boundary .wrap { grid-template-columns: 1fr; gap: 8px; }
  .section { padding: 76px 0; }
  .section-head { gap: 24px; margin-bottom: 34px; }
  .section-head h2 { font-size: 42px; }
  .section-head p:last-child { font-size: 15px; }
  .guide-card { padding: 28px 22px; }
  .guide-card h3 { font-size: 27px; }
  .scope-list div,
  .checklist div { grid-template-columns: 1fr; gap: 8px; }
  .method-grid { grid-template-columns: 1fr; }
  .method-card { min-height: 0; }
  .method-no { margin-bottom: 28px; }
  .filter-row { grid-template-columns: 1fr; gap: 10px; }
  .filter-label { padding-top: 0; }
  .filter-buttons { flex-wrap: nowrap; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x proximity; scrollbar-width: thin; }
  .filter-button { flex: 0 0 auto; scroll-snap-align: start; }
  .filter-summary { align-items: flex-start; }
  .notice-card { min-height: 0; padding: 24px 20px; }
  .notice-card h2,
  .notice-card h3 { font-size: 24px; }
  .notice-facts div { grid-template-columns: 1fr; gap: 5px; }
  .source-strip .wrap,
  .footer-grid { flex-direction: column; }
  .cta-section { padding: 64px 0; }
  .cta-grid h2 { font-size: 40px; }
  .cta-actions { width: 100%; }
  .cta-actions .button { width: 100%; }
  .article-hero { padding: 64px 0 48px; }
  .article-hero h1 { font-size: 44px; }
  .article-deck { font-size: 17px; }
  .article-layout { padding: 54px 0 76px; }
  .article-body section { padding-bottom: 42px; margin-bottom: 42px; }
  .article-body p,
  .article-body li { font-size: 15px; }
  .article-aside ol { grid-template-columns: 1fr; }
  .article-sources { padding: 26px 22px; }
}

@media print {
  .site-header,
  .article-aside,
  .cta-section,
  .site-footer { display: none; }
  body { background: #fff; }
  .article-hero,
  .article-layout { padding-block: 24px; }
}
