:root {
  --bg-color: #050810;
  --surface: rgba(15, 23, 42, 0.72);
  --surface-hover: rgba(23, 35, 62, 0.9);
  --surface-solid: #0b1120;
  --border: rgba(148, 163, 184, 0.16);
  --border-strong: rgba(59, 130, 246, 0.45);
  --accent-blue: #3b82f6;
  --accent-blue-soft: rgba(59, 130, 246, 0.14);
  --accent-emerald: #10b981;
  --accent-emerald-soft: rgba(16, 185, 129, 0.12);
  --accent-purple: #8b5cf6;
  --accent-amber: #f59e0b;
  --text-primary: #f8fafc;
  --text-body: #cbd5e1;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: 'Noto Sans KR', 'Gothic A1', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
  word-break: keep-all;
}

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

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(95px);
  opacity: 0.15;
}

.orb-1 {
  width: 480px;
  height: 480px;
  background: var(--accent-blue);
  top: -150px;
  right: -120px;
}

.orb-2 {
  width: 420px;
  height: 420px;
  background: var(--accent-purple);
  bottom: -140px;
  left: -120px;
}

.hub-shell,
.article-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 auto;
  padding: 28px 24px 44px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.hub-shell {
  max-width: 980px;
}

.article-shell {
  max-width: 820px;
}

/* Header & Navigation */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.3px;
}

.brand-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px;
}

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

.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.contact-pill {
  font-size: 12.5px;
  color: var(--text-secondary);
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s, color 0.2s;
}

.contact-pill:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--text-body);
}

/* Section Headers */
.section-block {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.section-eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  color: #93c5fd;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.section-title {
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 720px;
}

.section-more {
  font-size: 13px;
  font-weight: 600;
  color: #93c5fd;
  white-space: nowrap;
}

.section-more:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Cards & Grids */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

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

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

a.info-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  background: var(--surface-hover);
}

.card-tag {
  font-size: 11.5px;
  font-weight: 600;
  color: #93c5fd;
}

.card-tag.emerald {
  color: #6ee7b7;
}

.card-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-primary);
}

.card-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.card-footer-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: #93c5fd;
  padding-top: 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

/* Article Typography */
.article-header {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-secondary);
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  background: var(--accent-blue-soft);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.28);
}

.article-title {
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.7px;
  line-height: 1.3;
  color: var(--text-primary);
}

.article-lead {
  font-size: 15.5px;
  color: var(--text-body);
  line-height: 1.75;
}

.prose {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.prose section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.prose h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text-primary);
  padding-top: 6px;
}

.prose h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text-primary);
}

.prose p {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--text-body);
}

.prose a.inline-link {
  color: #93c5fd;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.checklist {
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checklist li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-body);
}

.checklist li::before {
  content: '•';
  position: absolute;
  left: 4px;
  color: var(--accent-emerald);
  font-weight: 800;
}

.callout {
  background: var(--accent-blue-soft);
  border: 1px solid rgba(59, 130, 246, 0.32);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.callout.emerald {
  background: var(--accent-emerald-soft);
  border-color: rgba(16, 185, 129, 0.32);
}

.callout-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.callout p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-body);
}

/* FAQ & Key-Value Info */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-q {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.faq-a {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.cta-box {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(139, 92, 246, 0.12));
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cta-box h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.cta-box p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  transition: opacity 0.2s, transform 0.2s, border-color 0.2s;
}

.btn-primary {
  background: #2563eb;
  color: #ffffff;
}

.btn-primary:hover {
  background: #3b82f6;
}

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

.btn-secondary:hover {
  border-color: var(--border-strong);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: var(--text-muted);
}

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

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

@media (max-width: 820px) {
  .card-grid,
  .card-grid-3 {
    grid-template-columns: 1fr;
  }

  .hub-shell,
  .article-shell {
    padding: 22px 18px 36px;
    gap: 32px;
  }
}
