:root {
  --bg: #0b1120;
  --surface: #111b33;
  --card: #16223d;
  --border: #263554;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.14);
  --emerald: #10b981;
  --emerald-soft: rgba(16, 185, 129, 0.14);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Pretendard', 'Noto Sans KR', sans-serif;
  background: radial-gradient(circle at top center, #162447 0%, var(--bg) 52%);
  color: var(--text);
  line-height: 1.8;
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(11, 17, 32, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
}

.brand-link img {
  height: 26px;
  width: auto;
}

.header-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  font-size: 0.9rem;
  font-weight: 600;
}

.header-nav a {
  color: #cbd5e1;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--accent);
  text-decoration: none;
}

.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0284c7, #2563eb);
  color: #fff !important;
  font-size: 0.84rem;
  font-weight: 700;
}

.cta-pill:hover {
  opacity: 0.92;
  text-decoration: none;
}

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 36px 20px 64px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.hero-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 34px 30px;
  margin-bottom: 28px;
}

.badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(56, 189, 248, 0.3);
  margin-bottom: 14px;
}

.badge-emerald {
  background: var(--emerald-soft);
  color: var(--emerald);
  border-color: rgba(16, 185, 129, 0.3);
}

.hero-box h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.35;
  color: #fff;
  margin-bottom: 12px;
}

.hero-lead {
  color: #cbd5e1;
  font-size: 1rem;
  max-width: 760px;
}

.meta-line {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.article-body {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 34px 30px;
}

.article-body h2 {
  font-size: 1.32rem;
  color: #fff;
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body h3 {
  font-size: 1.06rem;
  color: var(--accent);
  margin: 20px 0 8px;
}

.article-body p {
  color: #dbe4f0;
  margin-bottom: 14px;
  font-size: 0.97rem;
}

.article-body ul,
.article-body ol {
  margin: 10px 0 18px 20px;
  color: #dbe4f0;
}

.article-body li {
  margin-bottom: 8px;
  font-size: 0.96rem;
}

.callout {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-left: 4px solid var(--emerald);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 20px 0;
}

.callout-info {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.28);
  border-left-color: var(--accent);
}

.callout strong {
  display: block;
  color: #fff;
  margin-bottom: 6px;
}

.table-wrap {
  overflow-x: auto;
  margin: 18px 0 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th,
td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}

th {
  background: rgba(15, 23, 42, 0.75);
  color: #fff;
  font-weight: 700;
}

td {
  color: #cbd5e1;
}

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

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.guide-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  transition: border-color 0.2s, transform 0.2s;
  text-decoration: none !important;
}

.guide-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.guide-card h3 {
  color: #fff;
  font-size: 1.06rem;
  margin: 8px 0 10px;
  line-height: 1.4;
}

.guide-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 14px;
}

.guide-card .read-more {
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
}

.cta-banner {
  margin-top: 28px;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.18), rgba(16, 185, 129, 0.14));
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 20px;
  padding: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cta-banner h2 {
  border: none;
  margin: 0 0 6px;
  padding: 0;
  font-size: 1.18rem;
  color: #fff;
}

.cta-banner p {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.92rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0284c7, #2563eb);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none !important;
}

.btn-primary:hover {
  opacity: 0.92;
}

.related-box {
  margin-top: 32px;
}

.related-box h2 {
  font-size: 1.18rem;
  color: #fff;
  margin-bottom: 12px;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #080d1a;
  padding: 32px 20px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

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

.footer-links a {
  color: #94a3b8;
}

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

@media (max-width: 640px) {
  .hero-box,
  .article-body {
    padding: 24px 18px;
  }
}
