
:root {
  --bg: #020617;
  --bg-alt: #020617;
  --card: #020617;
  --primary: #38bdf8;
  --primary-soft: rgba(56, 189, 248, 0.16);
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --border-soft: #1f2937;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  background: radial-gradient(circle at top left, #0f172a, #020617 45%);
  color: var(--text-main);
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans KR", system-ui, sans-serif;
}

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

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  background: linear-gradient(to right, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.85));
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.logo a {
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 18px;
  color: var(--primary);
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 14px;
  font-size: 14px;
}

.nav a {
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.2s ease;
}

.nav a:hover {
  color: #e5e7eb;
}

.nav a:hover::after {
  width: 100%;
}

@media (max-width: 720px) {
  .nav {
    display: none;
  }
}

.hero {
  padding: 32px 0 24px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero h1 {
  font-size: clamp(24px, 4vw, 32px);
  margin-bottom: 8px;
}

.hero p {
  margin: 4px 0;
  color: var(--text-muted);
  line-height: 1.8;
}

.hero-note {
  margin-top: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(248, 250, 252, 0.03);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fbbf24;
  font-size: 13px;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), #6366f1);
  color: #020617;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.35);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: var(--text-main);
  font-size: 13px;
}

.section {
  padding: 24px 0 10px;
}

.section.alt {
  background: radial-gradient(circle at top right, rgba(15, 23, 42, 0.9), #020617 60%);
}

.section h2 {
  font-size: 20px;
  margin-bottom: 8px;
}

.section-intro {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.card {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  background: rgba(15, 23, 42, 0.9);
  font-size: 14px;
}

.card h3 {
  margin-top: 0;
  font-size: 15px;
  margin-bottom: 6px;
}

.card p {
  margin: 4px 0;
  color: var(--text-muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: var(--text-muted);
}

.table-wrapper {
  margin-top: 12px;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  overflow: hidden;
  background: rgba(15, 23, 42, 0.9);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.table th,
.table td {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(30, 64, 175, 0.35);
  vertical-align: top;
}

.table thead {
  background: rgba(15, 23, 42, 0.95);
}

.table th {
  text-align: left;
  font-weight: 600;
  color: #cbd5f5;
}

.table tbody tr:nth-child(even) {
  background: rgba(15, 23, 42, 0.7);
}

.table tbody tr:hover {
  background: rgba(30, 64, 175, 0.45);
}

.list {
  margin: 0;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 14px;
}

.list li {
  margin-bottom: 6px;
}

.breadcrumb {
  padding: 10px 0 4px;
  font-size: 12px;
  color: var(--text-muted);
}

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

.article {
  padding: 8px 0 18px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
}

.article h1 {
  font-size: 22px;
  color: var(--text-main);
}

.article h2 {
  margin-top: 18px;
  margin-bottom: 6px;
  font-size: 17px;
  color: var(--text-main);
}

.article h3 {
  margin-top: 14px;
  margin-bottom: 6px;
  font-size: 15px;
  color: var(--text-main);
}

.article p {
  margin: 6px 0;
}

.article ul {
  padding-left: 18px;
}

.article li {
  margin-bottom: 4px;
}

.faq details {
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  background: rgba(15, 23, 42, 0.92);
  padding: 8px 10px;
  font-size: 13px;
  margin-bottom: 8px;
}

.faq summary {
  cursor: pointer;
  font-weight: 500;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq p {
  margin: 6px 0 0;
}

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  padding: 10px 0 14px;
  margin-top: 14px;
  background: rgba(15, 23, 42, 0.96);
}

.footer-inner {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

.related-links {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed rgba(148, 163, 184, 0.35);
  font-size: 13px;
}

.related-links a {
  margin-right: 12px;
}
