:root {
  --ink: #171717;
  --muted: #626262;
  --line: #dededb;
  --paper: #ffffff;
  --soft: #f1f3f4;
  --accent: #e23b2e;
  --accent-dark: #a8231a;
  --green: #1d6b4d;
  --blue: #1f5b91;
  --yellow: #f4c64e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input { font: inherit; }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(780px, calc(100% - 40px)); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
}
.skip-link:focus { top: 12px; }

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .97);
}
.header-inner {
  min-height: 68px;
  display: grid;
  grid-template-columns: 160px 1fr 80px;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-block;
  width: fit-content;
  font-size: 25px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}
.brand::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 3px;
  background: var(--accent);
}
.primary-nav { display: flex; justify-content: center; gap: 32px; }
.primary-nav a, .header-search {
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}
.primary-nav a:hover, .header-search:hover { color: var(--accent-dark); }
.header-search { justify-self: end; border-bottom: 1px solid var(--ink); }

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.35;
}
.home-hero {
  min-height: min(670px, calc(100vh - 68px));
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}
.home-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr);
  gap: 80px;
  align-items: end;
  padding: 72px 0 78px;
}
.home-hero h1 {
  max-width: 850px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 76px;
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: 0;
}
.home-hero__copy > p:not(.eyebrow):not(.data-date) {
  max-width: 670px;
  margin: 28px 0;
  color: #3c3c3c;
  font-size: 19px;
}
.hero-search {
  width: min(680px, 100%);
  display: grid;
  grid-template-columns: 1fr 92px;
  border: 2px solid var(--ink);
  background: #fff;
}
.hero-search input {
  min-width: 0;
  height: 58px;
  padding: 0 18px;
  border: 0;
  outline: none;
  background: transparent;
}
.hero-search input:focus { box-shadow: inset 0 0 0 2px var(--yellow); }
.hero-search button {
  border: 0;
  color: #fff;
  background: var(--ink);
  cursor: pointer;
  font-weight: 750;
}
.hero-search button:hover { background: var(--accent-dark); }
.data-date { margin: 14px 0 0; color: var(--muted); font-size: 12px; }
.home-hero__stats { border-top: 3px solid var(--ink); }
.home-hero__stats div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 19px 0;
  border-bottom: 1px solid #c9c9c5;
}
.home-hero__stats strong { font-family: Georgia, serif; font-size: 30px; font-weight: 500; }
.home-hero__stats span { color: var(--muted); font-size: 12px; text-align: right; }

.archive-showcase, .guide-band, .method-band, .guide-list-section { padding: 88px 0; }
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 18px;
}
.section-heading h2, .method-band h2, .report-promo h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  font-weight: 500;
  line-height: 1.15;
}
.section-intro { max-width: 690px; margin: 0 0 32px; color: var(--muted); }
.text-link { font-size: 14px; font-weight: 750; white-space: nowrap; }
.archive-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.archive-card { min-width: 0; text-decoration: none; }
.archive-card__image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--soft);
}
.archive-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.archive-card:hover img { transform: scale(1.025); }
.archive-card p { margin: 12px 0 1px; color: var(--muted); font-size: 11px; font-weight: 750; text-transform: uppercase; }
.archive-card h3 { min-height: 42px; margin: 0 0 5px; font-size: 14px; line-height: 1.45; }
.archive-card span { font-size: 13px; font-weight: 700; }

.guide-band { color: #fff; background: #20201f; }
.guide-band .eyebrow { color: #ff7c6f; }
.guide-band .text-link { color: #fff; }
.quick-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
  border-top: 1px solid #53534f;
  border-bottom: 1px solid #53534f;
}
.quick-guide-grid a { min-height: 270px; padding: 30px; border-right: 1px solid #53534f; text-decoration: none; }
.quick-guide-grid a:first-child { border-left: 1px solid #53534f; }
.quick-guide-grid span { color: #ff7c6f; font-size: 12px; font-weight: 800; }
.quick-guide-grid h3 { margin: 76px 0 12px; font-size: 22px; line-height: 1.25; }
.quick-guide-grid p { margin: 0; color: #c7c7c2; font-size: 14px; }
.quick-guide-grid a:hover { background: #2c2c2a; }

.method-band { border-bottom: 1px solid var(--line); background: #e6f0ea; }
.method-band__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 190px;
  gap: 56px;
  align-items: center;
}
.method-band__inner > p { margin: 0; color: #345044; }
.button-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  background: transparent;
  font-size: 14px;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
}
.button-link:hover { color: #fff; background: var(--ink); }

.page-intro { padding: 92px 0 74px; border-bottom: 1px solid var(--line); background: var(--soft); }
.page-intro h1, .article-header h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 58px;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
}
.page-intro .narrow > p:not(.eyebrow) { max-width: 690px; margin: 24px 0 18px; color: #454545; font-size: 18px; }
.byline { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 12px; }
.guide-list { display: grid; gap: 0; }
.guide-card {
  display: grid;
  grid-template-columns: minmax(240px, 360px) 1fr;
  gap: 48px;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}
.guide-card:first-child { border-top: 1px solid var(--line); }
.guide-card__visual { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--soft); }
.guide-card__visual img { width: 100%; height: 100%; object-fit: cover; }
.guide-card__body { align-self: center; }
.guide-card h2 { margin: 0 0 12px; font-size: 27px; line-height: 1.25; }
.guide-card h2 a { text-decoration: none; }
.guide-card h2 a:hover { color: var(--accent-dark); }
.guide-card__body > p:not(.eyebrow) { max-width: 650px; margin: 0 0 18px; color: var(--muted); }
.guide-method { padding: 76px 0; border-top: 1px solid var(--line); background: var(--soft); }
.guide-method h2 { margin: 0 0 20px; font-family: Georgia, serif; font-size: 34px; font-weight: 500; line-height: 1.2; }
.guide-method > .narrow > p:not(.eyebrow) { color: #474747; }
.guide-method__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 30px 0; }
.guide-method__grid div { padding: 18px; border: 1px solid var(--line); background: #fff; }
.guide-method__grid strong, .guide-method__grid span { display: block; }
.guide-method__grid strong { margin-bottom: 8px; font-size: 14px; }
.guide-method__grid span { color: var(--muted); font-size: 13px; }
.report-promo { padding: 72px 0; color: #fff; background: var(--blue); }
.report-promo__inner { display: grid; grid-template-columns: 1fr 180px; gap: 60px; align-items: center; }
.report-promo .eyebrow { color: #b9ddff; }
.report-promo p:not(.eyebrow) { max-width: 700px; margin: 14px 0 0; color: #dbe9f5; }
.report-promo .button-link { border-color: #fff; color: #fff; }
.report-promo .button-link:hover { color: var(--blue); background: #fff; }

.article-shell { padding-bottom: 90px; }
.article-header { padding-top: 72px; padding-bottom: 46px; border-bottom: 1px solid var(--line); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 54px; color: var(--muted); font-size: 12px; }
.article-header h1 { font-size: 52px; }
.article-header > p:not(.eyebrow) { margin: 24px 0 20px; color: #454545; font-size: 18px; }
.article-body { padding-top: 50px; font-family: Georgia, "Nanum Myeongjo", serif; font-size: 18px; line-height: 1.82; }
.article-body .lead { margin: 0 0 50px; font-size: 22px; line-height: 1.72; }
.article-body h2 { margin: 62px 0 18px; font-family: Inter, Pretendard, sans-serif; font-size: 28px; line-height: 1.35; }
.article-body h3 { margin: 24px 0 10px; font-family: Inter, Pretendard, sans-serif; font-size: 18px; line-height: 1.4; }
.article-body p { margin: 0 0 22px; }
.article-body ul, .article-body ol { margin: 0 0 28px; padding-left: 26px; }
.article-body li { margin: 9px 0; }
.article-body code { padding: 2px 5px; background: #eee; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .83em; }
.article-body blockquote {
  margin: 34px 0;
  padding: 24px 26px;
  border-left: 4px solid var(--accent);
  background: var(--soft);
  font-size: 17px;
}
.article-figure { margin: 44px 0; border: 1px solid var(--line); }
.article-figure img { width: 100%; height: auto; background: #f1f2ee; }
.article-figure figcaption { padding: 13px 18px; border-top: 1px solid var(--line); color: var(--muted); font-family: Inter, sans-serif; font-size: 12px; }
.callout { margin: 34px 0; padding: 22px 24px; border: 1px solid #b6cabe; background: #eff6f2; }
.callout strong { display: block; margin-bottom: 7px; color: var(--green); font-family: Inter, sans-serif; }
.callout p { margin: 0; }
.steps { list-style: none; padding: 0 !important; counter-reset: step; }
.steps li { position: relative; min-height: 70px; padding: 0 0 24px 64px; border-bottom: 1px solid var(--line); counter-increment: step; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: 50%;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 800;
}
.steps strong, .steps span { display: block; }
.steps strong { font-family: Inter, sans-serif; font-size: 17px; }
.steps span { color: #444; }
.check-list { padding: 0 !important; list-style: none; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-family: Inter, sans-serif; font-weight: 900; }
.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 26px 0 34px; }
.two-column section { padding: 22px; border: 1px solid var(--line); }
.two-column ul { margin-bottom: 0; }
.formula { margin: 28px 0; padding: 22px; border: 2px solid var(--ink); font-family: Inter, sans-serif; font-size: 17px; font-weight: 750; text-align: center; }
.fine-print { padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-family: Inter, sans-serif; font-size: 13px; }
.article-body table { width: 100%; margin: 26px 0 34px; border-collapse: collapse; font-family: Inter, sans-serif; font-size: 14px; line-height: 1.55; }
.article-body th, .article-body td { padding: 13px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.article-body th { background: var(--soft); font-weight: 750; }
.sources { margin-top: 70px; padding-top: 34px; border-top: 3px solid var(--ink); }
.sources h2 { margin-top: 0; }
.sources ol { padding-left: 22px; }
.sources li { padding: 9px 0; }
.sources a { font-family: Inter, sans-serif; font-weight: 700; }
.sources span { display: block; color: var(--muted); font-family: Inter, sans-serif; font-size: 12px; }
.editorial-note { margin-top: 42px; padding: 20px 22px; border: 1px solid var(--line); background: var(--soft); font-family: Inter, sans-serif; font-size: 14px; }
.editorial-note strong { display: block; margin-bottom: 5px; }
.editorial-note p { margin: 0; }
.article-next { display: grid; gap: 10px; margin-top: 70px; padding-top: 30px; border-top: 1px solid var(--line); }
.article-next > span { color: var(--muted); font-size: 12px; font-weight: 750; }
.article-next a { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; font-weight: 750; text-decoration: none; }
.article-next a:hover { color: var(--accent-dark); }
.content-ad { width: 100%; min-height: 120px; margin: 48px 0; padding-top: 18px; border-top: 1px solid var(--line); font-family: Inter, sans-serif; }
.content-ad > span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 10px; text-align: right; }
.content-ad .adsbygoogle { width: 100%; min-height: 100px; }

.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 38px 0 54px; }
.metric { min-height: 160px; padding: 20px; border: 1px solid var(--line); font-family: Inter, sans-serif; }
.metric span, .metric small { display: block; }
.metric span { color: var(--muted); font-size: 12px; font-weight: 750; }
.metric strong { display: block; margin: 14px 0 7px; font-family: Georgia, serif; font-size: 36px; font-weight: 500; }
.metric small { color: var(--muted); font-size: 12px; }
.range-chart { margin: 34px 0 48px; padding: 42px 24px 24px; border: 1px solid var(--line); font-family: Inter, sans-serif; }
.range-line { position: relative; height: 8px; background: var(--ink); }
.range-line span { position: absolute; top: -8px; width: 2px; height: 24px; background: var(--accent); }
.range-labels { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 20px; color: var(--muted); font-size: 11px; text-align: center; }
.range-labels strong { color: var(--ink); font-size: 12px; }
.bar-list { margin: 28px 0 36px; font-family: Inter, sans-serif; }
.bar-list div { display: grid; grid-template-columns: 130px 1fr 70px; gap: 12px; align-items: center; margin: 12px 0; }
.bar-list span { font-size: 12px; }
.bar-list i { display: block; width: var(--bar); height: 12px; background: var(--blue); }
.bar-list strong { font-size: 12px; text-align: right; }

.site-footer { padding: 58px 0 20px; border-top: 1px solid var(--line); background: #f6f6f3; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 70px; }
.brand--footer { margin-bottom: 14px; }
.footer-grid p { max-width: 410px; margin: 0; color: var(--muted); font-size: 13px; }
.footer-grid nav { display: grid; align-content: start; gap: 9px; }
.footer-grid nav a { font-size: 13px; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 46px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }

@media (max-width: 980px) {
  .home-hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .home-hero h1 { font-size: 62px; }
  .home-hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); }
  .home-hero__stats div { display: block; padding-right: 12px; }
  .home-hero__stats span { display: block; margin-top: 4px; text-align: left; }
  .archive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 14px; }
  .method-band__inner { grid-template-columns: 1fr 1fr; }
  .method-band__inner .button-link { width: fit-content; }
}

@media (max-width: 720px) {
  .shell, .narrow { width: min(100% - 28px, 100%); }
  .header-inner { min-height: 60px; grid-template-columns: 1fr auto; gap: 12px; }
  .primary-nav { display: none; }
  .brand { font-size: 22px; }
  .home-hero { min-height: auto; }
  .home-hero__inner { gap: 28px; padding: 36px 0 24px; }
  .home-hero h1 { font-size: 45px; }
  .home-hero__copy > p:not(.eyebrow):not(.data-date) { margin: 18px 0; font-size: 17px; }
  .hero-search { grid-template-columns: 1fr 72px; }
  .hero-search input { height: 54px; padding: 0 12px; }
  .home-hero__stats { grid-template-columns: 1fr; }
  .home-hero__stats div { display: flex; padding: 13px 0; padding-right: 0; }
  .home-hero__stats span { margin: 0; text-align: right; }
  .archive-showcase, .guide-band, .method-band, .guide-list-section { padding: 58px 0; }
  .section-heading { align-items: start; }
  .section-heading h2, .method-band h2, .report-promo h2 { font-size: 30px; }
  .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .archive-card h3 { min-height: 41px; }
  .quick-guide-grid { grid-template-columns: 1fr; }
  .quick-guide-grid a, .quick-guide-grid a:first-child { min-height: 0; padding: 24px 4px; border-right: 0; border-left: 0; border-bottom: 1px solid #53534f; }
  .quick-guide-grid a:last-child { border-bottom: 0; }
  .quick-guide-grid h3 { margin: 26px 0 8px; }
  .method-band__inner, .report-promo__inner { grid-template-columns: 1fr; gap: 26px; }
  .page-intro { padding: 62px 0 48px; }
  .page-intro h1, .article-header h1 { font-size: 40px; }
  .guide-card { grid-template-columns: 1fr; gap: 22px; }
  .guide-card h2 { font-size: 23px; }
  .guide-method__grid { grid-template-columns: 1fr; }
  .article-header { padding-top: 42px; padding-bottom: 36px; }
  .breadcrumbs { margin-bottom: 36px; }
  .article-body { padding-top: 38px; font-size: 17px; }
  .article-body .lead { margin-bottom: 38px; font-size: 20px; }
  .article-body h2 { margin-top: 50px; font-size: 24px; }
  .two-column, .metric-grid { grid-template-columns: 1fr; }
  .article-body table { display: block; overflow-x: auto; white-space: normal; }
  .range-chart { padding: 34px 10px 18px; }
  .range-labels { font-size: 9px; }
  .bar-list div { grid-template-columns: 96px 1fr 56px; gap: 8px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px 20px; }
  .footer-grid > div { grid-column: 1 / -1; }
  .footer-bottom { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .archive-card__image img { transition: none; }
}
