
:root {
  color-scheme: light;
  --canvas: #f4efe6;
  --paper: #fffdf8;
  --ink: #1f1a17;
  --muted: #6a625c;
  --line: #ddd3c3;
  --accent: #d4a63d;
  --accent-strong: #8f5a10;
  --accent-soft: rgba(212, 166, 61, 0.16);
  --policy-soft: rgba(36, 87, 62, 0.1);
  --policy-ink: #24573e;
  --panel: #f8f1e2;
  --shadow: 0 20px 50px rgba(52, 35, 14, 0.09);
  --radius: 22px;
  --content-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(212, 166, 61, 0.16), transparent 34%),
    linear-gradient(180deg, #f7f0e2 0%, #f4efe6 100%);
  color: var(--ink);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

img {
  max-width: 100%;
}

.shell {
  width: min(var(--content-width), calc(100vw - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(255, 253, 248, 0.88);
  border-bottom: 1px solid rgba(141, 121, 88, 0.14);
}

.site-header__inner,
.site-footer__inner {
  width: min(var(--content-width), calc(100vw - 32px));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.brand__title {
  font-size: 1.02rem;
  font-weight: 800;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav a {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(141, 121, 88, 0.14);
  background: rgba(255, 253, 248, 0.8);
  font-size: 0.93rem;
  font-weight: 700;
}

.hero {
  padding: 44px 0 24px;
}

.hero__card {
  background: linear-gradient(145deg, rgba(255, 253, 248, 0.95), rgba(248, 241, 226, 0.96));
  border: 1px solid rgba(141, 121, 88, 0.14);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  padding: 36px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.article-header h1 {
  margin: 14px 0 14px;
  font-size: clamp(2rem, 3.6vw, 3.3rem);
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.hero p,
.article-header p {
  max-width: 70ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.meta-pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(31, 26, 23, 0.05);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.evidence-panel {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(141, 121, 88, 0.16);
  background: rgba(255, 253, 248, 0.82);
}

.evidence-panel p {
  margin-top: 12px;
  color: #3f352f;
  font-size: 0.96rem;
}

.evidence-panel p:last-child {
  margin-bottom: 0;
}

.evidence-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.evidence-pill--editorial-checklist {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.evidence-pill--policy {
  background: var(--policy-soft);
  color: var(--policy-ink);
}

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  padding-bottom: 60px;
}

.content,
.sidebar {
  min-width: 0;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.panel,
.article-body section,
.sidebar-card,
.card-list a,
.table-wrap,
.source-list,
.faq-list details {
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid rgba(141, 121, 88, 0.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.article-body section,
.sidebar-card,
.source-list,
.faq-list details {
  padding: 24px;
}

.article-body h2,
.sidebar-card h2,
.source-list h2,
.faq-list h2 {
  margin: 0 0 14px;
  font-size: 1.3rem;
  line-height: 1.3;
}

.article-body p,
.sidebar-card p,
.source-list p,
.faq-list p {
  margin: 0 0 14px;
  color: #312925;
}

.article-body p:last-child,
.sidebar-card p:last-child,
.source-list p:last-child,
.faq-list p:last-child {
  margin-bottom: 0;
}

.article-body ul,
.source-list ul {
  margin: 0;
  padding-left: 20px;
}

.article-body li,
.source-list li {
  margin-bottom: 10px;
}

.article-body li:last-child,
.source-list li:last-child {
  margin-bottom: 0;
}

.table-wrap {
  overflow-x: auto;
  padding: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 580px;
}

th,
td {
  padding: 15px 16px;
  border-bottom: 1px solid rgba(141, 121, 88, 0.12);
  text-align: left;
  vertical-align: top;
}

thead th {
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

tbody tr:last-child td {
  border-bottom: none;
}

.card-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.card-list--single {
  grid-template-columns: 1fr;
}

.card-list a {
  display: block;
  padding: 20px;
}

.card-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.card-list span {
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.breadcrumbs span {
  opacity: 0.6;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-list details summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list details p {
  margin-top: 12px;
}

.source-list ul {
  list-style: square;
}

.site-footer {
  border-top: 1px solid rgba(141, 121, 88, 0.14);
  background: rgba(255, 253, 248, 0.9);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  padding: 20px 0 34px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 920px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .hero__card {
    padding: 28px;
  }
}

@media (max-width: 640px) {
  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding-top: 28px;
  }

  .hero__card,
  .article-body section,
  .sidebar-card,
  .source-list,
  .faq-list details {
    padding: 20px;
  }
}
