:root {
  color-scheme: light;
  --ink: #14213d;
  --muted: #5d6678;
  --line: #dce3ea;
  --paper: #f7f8fa;
  --panel: #ffffff;
  --navy: #101827;
  --teal: #0f766e;
  --blue: #2563eb;
  --amber: #b45309;
  --green: #15803d;
  --shadow: 0 8px 18px rgba(20, 33, 61, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", "Segoe UI", sans-serif;
  line-height: 1.65;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 32px;
  border-bottom: 1px solid rgba(220, 227, 234, 0.82);
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--navy);
  color: white;
  font-weight: 800;
}

.brand strong,
.brand em {
  display: block;
  line-height: 1.15;
}

.brand em {
  color: var(--teal);
  font-style: normal;
  font-weight: 700;
}

.top-nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.top-nav a,
.site-footer nav a {
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.top-nav a:hover,
.site-footer nav a:hover {
  background: #eef7f5;
  color: var(--teal);
}

.hero,
.section-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: 34px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 46px 24px 38px;
  align-items: stretch;
}

.hero-copy {
  align-self: center;
}

.eyebrow {
  margin: 0;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

h1,
h2,
h3,
p {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

h1 {
  margin: 12px 0 0;
  font-size: clamp(2rem, 4vw, 3.65rem);
  line-height: 1.14;
  letter-spacing: 0;
  text-wrap: balance;
}

.lead {
  margin: 18px 0 0;
  max-width: 680px;
  color: var(--muted);
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 18px;
  background: white;
  color: var(--ink);
  font-weight: 700;
}

.button.primary {
  border-color: var(--navy);
  background: var(--navy);
  color: white;
}

.hero-feature,
.section-card,
.article-card,
.side-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.hero-feature {
  box-shadow: var(--shadow);
}

.hero-feature {
  overflow: hidden;
}

.hero-feature img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-feature span {
  display: inline-block;
  margin: 20px 22px 0;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.hero-feature h2 {
  margin: 8px 22px 0;
  font-size: clamp(1.22rem, 1.8vw, 1.62rem);
  line-height: 1.32;
}

.hero-feature p {
  margin: 12px 22px 22px;
  color: var(--muted);
  font-size: 15px;
}

.section-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 24px;
}

.section-wrap.alt {
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-heading.compact {
  margin-bottom: 16px;
}

.section-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
  line-height: 1.25;
  text-wrap: balance;
}

.section-heading p:not(.eyebrow) {
  margin: 10px 0 0;
  color: var(--muted);
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.section-card {
  overflow: hidden;
  min-height: 248px;
}

.section-card img,
.article-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--navy);
  object-fit: cover;
  object-position: center;
}

.section-card strong,
.section-card span {
  display: block;
  padding: 0 16px;
}

.section-card strong {
  margin-top: 15px;
  font-size: 18px;
}

.section-card span {
  margin-top: 7px;
  padding-bottom: 17px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

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

.article-card {
  overflow: hidden;
  min-height: 350px;
}

.article-card div {
  padding: 18px;
}

.article-card span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
}

.article-card h3 {
  margin: 8px 0 0;
  font-size: 1.02rem;
  line-height: 1.42;
}

.article-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.section-hero {
  align-items: center;
}

.section-hero h1 {
  font-size: clamp(1.9rem, 4vw, 3.1rem);
}

.section-hero p:not(.eyebrow) {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.1rem;
}

.section-hero img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.article {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 24px 58px;
}

.article-hero {
  display: block;
  padding: 10px 0 24px;
}

.crumb {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--teal);
  font-weight: 700;
  font-size: 14px;
}

.article-hero h1 {
  max-width: 760px;
  font-size: clamp(1.55rem, 2.7vw, 2.45rem);
  line-height: 1.26;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: start;
}

.article-body {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: clamp(22px, 3.2vw, 40px);
}

.article-body h2 {
  margin: 24px 0 10px;
  font-size: clamp(1.08rem, 1.45vw, 1.28rem);
  line-height: 1.36;
  text-wrap: balance;
}

.article-body p {
  margin: 12px 0 0;
  color: #273044;
  font-size: 1rem;
  text-wrap: pretty;
}

.article-opening {
  max-width: 760px;
  margin-top: 0 !important;
  color: #1f2937 !important;
  font-size: 1.08rem !important;
  line-height: 1.82;
}

.article-answer {
  max-width: 760px;
  margin-top: 20px !important;
  border: 1px solid #b7ded5;
  border-radius: 8px;
  padding: 15px 17px;
  background: #f2faf8;
  color: #1f2937 !important;
}

.article-answer p {
  margin: 0;
  color: #1f2937;
  font-size: 1.02rem;
  line-height: 1.7;
}

.article-answer strong {
  display: inline-block;
  margin-right: 8px;
  color: var(--teal);
  font-size: 1rem;
  font-weight: 800;
}

.article-figure {
  max-width: 760px;
  margin: 22px 0 0;
}

.article-figure img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  aspect-ratio: 16 / 7;
  background: #f8fafc;
  object-fit: cover;
  object-position: center;
}

.prose-flow {
  margin-top: 30px;
}

.body-block + .body-block {
  margin-top: 28px;
}

.body-kicker {
  margin: 0 0 12px !important;
  color: #0f766e !important;
  font-size: 1.12rem !important;
  font-weight: 800;
  line-height: 1.42;
}

.body-block p:not(.body-kicker) {
  max-width: 760px;
  font-size: 1.02rem;
  line-height: 1.78;
}

.checklist {
  max-width: 760px;
  margin-top: 30px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.checklist h2 {
  margin: 0;
  color: #1f2937;
  font-size: 1.02rem;
}

.checklist ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 24px;
}

.checklist li::before {
  position: absolute;
  left: 0;
  color: var(--teal);
  content: "·";
  font-size: 28px;
  line-height: 18px;
}

.article-note {
  max-width: 760px;
  margin-top: 22px !important;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  color: #6b7280 !important;
  font-size: 0.86rem !important;
  line-height: 1.6;
}

.ad-slot {
  display: block;
  width: 100%;
  min-height: 96px;
  margin: 24px auto;
  border: 1px solid #e1e7ee;
  border-radius: 8px;
  background: #f9fafb;
  padding: 10px;
}

.ad-slot span {
  display: block;
  margin-bottom: 6px;
  color: #8992a1;
  font-size: 11px;
  font-weight: 700;
}

.ad-slot .adsbygoogle {
  display: block;
  min-height: 72px;
}

.section-wrap + .ad-slot,
.section-hero + .section-wrap + .ad-slot {
  max-width: 1180px;
  width: calc(100% - 48px);
}

.ad-slot--article_after_intro,
.ad-slot--article_bottom {
  max-width: 760px;
  margin-left: 0;
}

.article-side .ad-slot {
  min-height: 250px;
  margin: 0;
}

.article-side {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
}

.side-box {
  padding: 18px;
  box-shadow: none;
}

.side-box h2 {
  margin: 4px 0 12px;
  font-size: 1.15rem;
}

.side-box a {
  display: block;
  border-top: 1px solid var(--line);
  padding: 12px 0;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.35;
}

.side-box p:not(.eyebrow) {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.empty,
.not-found {
  max-width: 680px;
  margin: 0 auto;
  padding: 96px 24px;
  text-align: center;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1fr);
  gap: 28px;
  padding: 36px 32px 44px;
  border-top: 1px solid var(--line);
  background: #f4f1ec;
}

.site-footer p {
  max-width: 520px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 980px) {
  .hero,
  .section-hero,
  .article-hero,
  .article-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

  .article-side {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 18px;
  }

  .top-nav {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }

  .top-nav a {
    white-space: nowrap;
  }

  .hero,
  .section-hero,
  .section-wrap,
  .article {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .article-body {
    padding: 22px 18px;
  }

  .article-hero {
    padding-top: 6px;
  }

  .article-hero h1 {
    font-size: clamp(1.45rem, 8vw, 2rem);
  }

  .article-card {
    min-height: 0;
  }
}
