: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; }
.btn-ghost {
  border: 1px solid rgba(255,255,255,.42);
  background: rgba(255,255,255,.08);
  color: #fff;
}
.btn:hover,
.btn:focus-visible,
.post-card-action:hover,
.post-card-action:focus-visible {
  transform: translateY(-2px);
}
.btn:focus-visible,
.post-card-guide:focus-visible,
.post-card-action:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.blog-hero, .article-hero {
  background: var(--navy);
  color: #fff;
}
.blog-hero .wrap {
  padding: 72px 0;
}
.blog-hero .blog-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(290px, .75fr);
  gap: 42px;
  align-items: center;
}
.blog-hero-copy {
  min-width: 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;
}
.hero-check-card {
  display: grid;
  gap: 22px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  box-shadow: 0 22px 50px rgba(5,9,28,.24);
}
.hub-hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: #080f29;
  object-fit: contain;
}
.promo-token {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.promo-token span {
  color: rgba(255,255,255,.68);
  font-size: 13px;
  font-weight: 850;
}
.promo-token strong {
  color: #fff;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1;
  letter-spacing: .04em;
}
.blog-hero .hero-check-title {
  margin-bottom: 12px;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
}
.hero-check-card ul {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}
.hero-check-card li {
  position: relative;
  padding-left: 22px;
  color: rgba(255,255,255,.88);
  font-size: 15px;
  font-weight: 750;
}
.hero-check-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ff8a8a;
  font-weight: 950;
}
.hero-check-card small {
  color: rgba(255,255,255,.62);
  font-size: 12px;
  font-weight: 700;
}
.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;
}
.blog-hero-grid .hero-keywords {
  grid-column: 1 / -1;
  max-width: none;
  margin-top: 0;
}
.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: flex;
  flex-direction: column;
  gap: 16px;
  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,
.post-card:focus-within {
  border-color: var(--red);
  box-shadow: 0 16px 34px rgba(23,29,58,.1);
}
.post-card-guide {
  flex: 1;
  display: grid;
  align-content: start;
  gap: 12px;
  border-radius: var(--radius);
}
.post-card-guide:focus-visible {
  outline-color: var(--red);
}
.post-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  background: #fff7f7;
}
.post-card img.serp-hook-image,
.hero-image img.serp-hook-image {
  background: #080f29;
  object-fit: contain;
}
.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-guide:hover h2 {
  color: var(--red-dark);
}
.post-card p, .related-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 650;
}
.post-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}
.post-card-action {
  width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 9px 14px;
  border-radius: var(--radius);
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 950;
  transition: transform .18s ease, background .18s ease;
}
.post-card-action:hover {
  background: var(--red-dark);
}
.post-card-action:focus-visible {
  outline-color: var(--red);
}
.extra-posts {
  padding-bottom: 70px;
}
.compact-list {
  padding: 0;
}
.content-cluster {
  padding: 34px 0 18px;
}
.content-cluster + .content-cluster {
  border-top: 1px solid var(--line);
}
.cluster-list {
  padding: 20px 0 34px;
}
.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%;
  height: auto;
  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-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 18px 0;
  color: rgba(255,255,255,.76);
  font-size: 13px;
  font-weight: 800;
}
.article-meta span,
.article-meta a {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
}
.article-meta a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.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;
}
.article-disclosure {
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid #dce2ef;
  border-radius: var(--radius);
  background: #f8fafc;
  color: #465064 !important;
  font-size: 14px !important;
}
.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;
}
.guide-label {
  width: max-content;
  margin-bottom: 10px;
  padding: 6px 9px;
  border-radius: 999px;
  background: #ffe7e7;
  color: var(--red-dark) !important;
  font-size: 13px !important;
  font-weight: 950;
}
.guide-source {
  margin-top: 10px;
  padding: 12px 14px;
  border-left: 4px solid var(--red);
  background: #fff;
  font-size: 15px !important;
}
.guide-source a {
  color: #b42318;
  font-weight: 900;
}
.final-guide {
  border-color: #dce2ef;
  background: #f8fafc;
}
.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;
  }
  .blog-hero .blog-hero-grid {
    grid-template-columns: 1fr;
  }
  .blog-hero-grid .hero-keywords {
    grid-column: auto;
  }
  .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; }
  .blog-hero .blog-hero-grid {
    gap: 28px;
  }
  .blog-hero h1 {
    font-size: clamp(34px, 11vw, 44px);
  }
  .blog-hero p {
    font-size: 16px;
  }
  .hero-check-card {
    padding: 20px;
  }
  .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%; }
}
