:root {
  --red: #f54b4b;
  --red-dark: #df3232;
  --navy: #171d3a;
  --ink: #20252d;
  --muted: #68707d;
  --soft: #fff7f7;
  --line: #ffd4d4;
  --max: 1120px;
  --radius: 8px;
  --shadow: 0 18px 44px rgba(23, 29, 58, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.72;
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p, h1, h2, h3 { margin-top: 0; }
.skip-link {
  position: fixed;
  left: 14px;
  top: 14px;
  z-index: 50;
  transform: translateY(-130%);
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
}
.skip-link:focus { transform: translateY(0); }
.wrap {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #f3eeee;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
}
.nav {
  width: min(var(--max), calc(100% - 36px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 950;
  color: var(--navy);
}
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--red);
  color: #fff;
  font-weight: 950;
}
.nav-links {
  display: flex;
  gap: 22px;
  color: #3d4552;
  font-size: 14px;
  font-weight: 850;
}
.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: var(--radius);
  font-weight: 950;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 14px 26px rgba(245, 75, 75, .22);
}
.btn-dark { background: var(--navy); color: #fff; }
.blog-hero, .article-hero {
  background: var(--navy);
  color: #fff;
}
.blog-hero .wrap {
  padding: 72px 0;
}
.blog-hero h1, .article-hero h1 {
  max-width: 820px;
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.1;
  word-break: keep-all;
}
.blog-hero p, .article-hero p {
  max-width: 700px;
  color: rgba(255,255,255,.86);
  font-size: 18px;
  font-weight: 700;
  word-break: keep-all;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.eyebrow, .kicker {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  margin-bottom: 12px;
  padding: 0 10px;
  border-radius: var(--radius);
  background: rgba(245,75,75,.16);
  color: #ffd6d6;
  font-size: 13px;
  font-weight: 950;
}
.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.hero-keywords {
  max-width: 980px;
  margin-top: 28px;
}
.keyword-chip {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(245,75,75,.26);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
}
.hero-keywords .keyword-chip {
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.1);
  color: #fff;
}
.keyword-chip:hover, .keyword-chip:focus-visible, .keyword-chip.is-current {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
  outline: none;
}
.index-intro {
  padding: 48px 0 8px;
}
.index-intro h2 {
  max-width: 920px;
  margin-bottom: 12px;
  color: var(--navy);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.16;
  word-break: keep-all;
}
.index-intro p:not(.kicker) {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 700;
}
.post-list {
  padding: 48px 0 70px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.post-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 24px rgba(23,29,58,.06);
}
.post-card:hover { border-color: var(--red); }
.post-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  background: #fff7f7;
}
.post-card span, .related-card span {
  color: var(--red-dark);
  font-size: 13px;
  font-weight: 950;
}
.post-card h2 {
  margin-bottom: 0;
  font-size: 22px;
  line-height: 1.28;
}
.post-card p, .related-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 650;
}
.post-card-action {
  width: max-content;
  margin-top: 4px;
  padding: 9px 12px;
  border-radius: var(--radius);
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
}
.extra-posts {
  padding-bottom: 70px;
}
.compact-list {
  padding: 0;
}
.article-hero {
  padding: 48px 0;
}
.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  gap: 34px;
  align-items: center;
  padding-left: max(18px, calc((100vw - var(--max)) / 2));
  padding-right: max(18px, calc((100vw - var(--max)) / 2));
}
.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255,255,255,.7);
  font-size: 13px;
  font-weight: 800;
}
.hero-image {
  margin: 0;
}
.hero-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  background: #fff7f7;
}
.hero-image figcaption {
  margin-top: 10px;
  color: rgba(255,255,255,.7);
  font-size: 13px;
}
.article-layout {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 42px;
  padding: 52px 0 70px;
}
.sidebar {
  display: grid;
  gap: 14px;
  align-content: start;
}
.side-box {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}
.side-box strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
}
.side-box p {
  margin-bottom: 10px;
  color: #4c5563;
}
.text-link {
  color: var(--red-dark);
  font-weight: 950;
}
.article-body {
  min-width: 0;
}
.lead {
  font-size: 20px;
  color: #323947;
  font-weight: 750;
}
.expert-note {
  margin: 28px 0 8px;
  padding: 22px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--red);
  border-radius: var(--radius);
  background: #fffafa;
  box-shadow: 0 10px 26px rgba(23,29,58,.05);
}
.expert-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 21px;
}
.expert-note p {
  margin-bottom: 12px;
}
.expert-note ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
  color: #303746;
  font-weight: 800;
}
.article-body section {
  margin-top: 38px;
}
.article-body h2 {
  margin-bottom: 14px;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.2;
  word-break: keep-all;
}
.article-body p {
  color: #394150;
  font-size: 17px;
}
.deep-guide {
  padding: 24px;
  border: 1px solid #ffd0d0;
  border-radius: var(--radius);
  background: #fffafa;
}
.comparison-table {
  width: 100%;
  margin-top: 16px;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  font-size: 15px;
}
.comparison-table th,
.comparison-table td {
  padding: 13px 12px;
  border: 1px solid #f1dada;
  text-align: left;
  vertical-align: top;
}
.comparison-table th {
  background: var(--navy);
  color: #fff;
  font-weight: 900;
}
.content-figure {
  margin: 26px 0 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 26px rgba(23,29,58,.06);
}
.content-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: calc(var(--radius) - 2px);
}
.content-figure figcaption {
  margin-top: 10px;
  padding: 0 4px 2px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  word-break: keep-all;
}
.checklist {
  display: grid;
  gap: 9px;
  padding-left: 20px;
  color: #333b48;
  font-size: 17px;
  font-weight: 760;
}
.cta-panel {
  margin: 38px 0 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
}
.cta-panel p { margin-bottom: 0; color: rgba(255,255,255,.78); }
.faq-block {
  display: grid;
  gap: 10px;
}
details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
summary {
  padding: 15px 16px;
  cursor: pointer;
  color: var(--navy);
  font-weight: 950;
}
details p {
  padding: 0 16px 16px;
}
.related {
  padding-bottom: 70px;
}
.keyword-directory {
  padding-bottom: 48px;
}
.keyword-directory .section-head p {
  max-width: 560px;
}
.section-head {
  margin-bottom: 18px;
}
.section-head .kicker {
  color: var(--red-dark);
  background: var(--soft);
}
.section-head h2 {
  margin-bottom: 0;
  font-size: 34px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.related-card {
  display: grid;
  gap: 7px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.related-card strong {
  font-size: 19px;
  line-height: 1.28;
}
footer {
  border-top: 1px solid #f1e6e6;
  background: #fff7f7;
  color: #4c5563;
}
.footer-grid {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
}
.footer-grid p { margin-bottom: 0; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--red-dark);
  font-weight: 950;
}
@media (max-width: 920px) {
  .nav-links { display: none; }
  .article-hero, .article-layout, .footer-grid {
    grid-template-columns: 1fr;
  }
  .article-hero {
    display: grid;
  }
  .post-list, .related-grid {
    grid-template-columns: 1fr 1fr;
  }
  .sidebar {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .nav { width: min(var(--max), calc(100% - 28px)); }
  .brand span:last-child { display: none; }
  .btn-dark { min-width: 46px; padding: 0 10px; }
  .blog-hero .wrap { padding: 46px 0; }
  .article-hero {
    padding: 32px 14px;
  }
  .article-layout, .wrap {
    width: min(var(--max), calc(100% - 28px));
  }
  .post-list, .related-grid, .sidebar {
    grid-template-columns: 1fr;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .keyword-chip {
    font-size: 13px;
  }
  .cta-panel {
    display: grid;
  }
  .cta-panel .btn { width: 100%; }
}
