:root {
  --bg: #F7F7F3;
  --bg-alt: #F1F3F5;
  --surface: #FFFFFF;
  --text: #1F2937;
  --text-secondary: #6B7280;
  --text-muted: #9CA3AF;
  --accent: #4F5D75;
  --accent-hover: #3E4A5F;
  --accent-soft: #E9EEF5;
  --border: #E5E7EB;
  --highlight: #F8FAFC;
  --success-soft: #DDEEE4;
  --warning-soft: #F5ECDD;
  --shadow-sm: 0 8px 24px rgba(31, 41, 55, 0.04);
  --shadow-md: 0 14px 34px rgba(31, 41, 55, 0.07);
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --content-width: 720px;
  --page-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

a:hover {
  color: var(--accent-hover);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(var(--page-width), calc(100% - 32px));
  margin: 0 auto;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 247, 243, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.site-logo {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.site-nav .nav-cta {
  background: var(--accent);
  color: #fff;
}

.site-nav .nav-cta:hover {
  background: var(--accent-hover);
  color: #fff;
}

.section {
  padding: 104px 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section--tight {
  padding: 80px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero {
  padding: 120px 0 112px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 32px;
  align-items: center;
}

.hero__title {
  margin: 20px 0 0;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.hero__body {
  margin: 24px 0 0;
  max-width: 720px;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.hero__actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hero-card,
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.hero-card {
  padding: 28px;
}

.card {
  padding: 28px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.card--soft {
  background: var(--highlight);
}

.card-grid {
  display: grid;
  gap: 20px;
}

.card-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-label {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
}

.card-title {
  margin: 18px 0 0;
  font-size: 1.55rem;
  line-height: 1.25;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.card-text {
  margin: 14px 0 0;
  color: var(--text-secondary);
}

.section-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.section-body {
  margin: 14px 0 0;
  max-width: 760px;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 700;
  line-height: 1;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn--secondary {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}

.btn--secondary:hover {
  background: var(--highlight);
}

.text-link {
  font-weight: 700;
  color: var(--accent);
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.feature-list,
.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.stats-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.stat-card strong {
  display: block;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.stack {
  display: grid;
  gap: 18px;
}

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

.surface-note {
  padding: 18px 20px;
  background: var(--highlight);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}

.feature-list li,
.plain-list li {
  position: relative;
  padding-left: 18px;
  color: var(--text-secondary);
}

.feature-list li + li,
.plain-list li + li {
  margin-top: 12px;
}

.feature-list li::before,
.plain-list li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

.cta-panel {
  padding: 34px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow-sm);
}

.cta-panel--accent {
  background: var(--accent-soft);
}

.article-shell {
  padding: 56px 0 96px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.article-header {
  padding: 28px 0 40px;
  border-bottom: 1px solid var(--border);
}

.article-kicker {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
}

.article-title {
  margin: 16px 0 0;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.article-summary {
  margin: 18px 0 0;
  color: var(--text-secondary);
  font-size: 1.15rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.article-body {
  padding-top: 40px;
}

.article-body h2 {
  margin: 56px 0 18px;
  font-size: 2rem;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.article-body h3 {
  margin: 34px 0 14px;
  font-size: 1.45rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.article-body p,
.article-body li {
  color: var(--text-secondary);
}

.article-body p + p {
  margin-top: 16px;
}

.article-body ul,
.article-body ol {
  padding-left: 1.25rem;
}

.article-callout,
.article-summary-box,
.article-checklist,
.article-related,
.article-cta {
  margin-top: 32px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.article-summary-box {
  background: var(--highlight);
}

.article-callout--success {
  background: var(--success-soft);
}

.article-callout--warning {
  background: var(--warning-soft);
}

.article-related-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.faq-item h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-secondary);
}

.fade-up {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .hero__grid,
  .split,
  .stats-grid,
  .card-grid--4,
  .card-grid--3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 80px 0;
  }

  .hero {
    padding: 88px 0 80px;
  }

  .hero__grid,
  .split,
  .stats-grid,
  .card-grid--4,
  .card-grid--3,
  .card-grid--2,
  .article-related-grid {
    grid-template-columns: 1fr;
  }

  .site-header__inner {
    min-height: 64px;
  }

  .site-nav {
    gap: 4px;
  }

  .site-nav a {
    padding: 8px 10px;
    font-size: 0.88rem;
  }

  .card,
  .hero-card,
  .cta-panel {
    padding: 22px;
  }
}
