
: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 40%);
  color: var(--text-main);
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans KR", system-ui, sans-serif;
}

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

/* Header */
.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: 12px 0;
}

.logo {
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 18px;
  color: var(--primary);
}

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

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  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: 640px) {
  .nav {
    display: none;
  }
}

/* Hero */
.hero {
  padding: 40px 0 24px;
}

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

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

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

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

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 10px 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);
}

.hero-btn:hover {
  filter: brightness(1.05);
}

/* Sections */
.section {
  padding: 24px 0 16px;
}

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

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

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

.section-note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
}

.two-column {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.two-column > * {
  flex: 1 1 260px;
}

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

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

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

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

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

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

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

.loading-cell {
  text-align: center;
  color: var(--text-muted);
}

/* Lists & Boxes */
.checklist {
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

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

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

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

.box {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  background: radial-gradient(circle at top left, rgba(30, 64, 175, 0.5), rgba(15, 23, 42, 0.9));
  font-size: 14px;
}

.box h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 15px;
}

.box.warning {
  border-color: rgba(248, 113, 113, 0.7);
  background: radial-gradient(circle at top left, rgba(185, 28, 28, 0.6), rgba(15, 23, 42, 0.98));
}

/* FAQ */
.faq-list {
  margin-top: 8px;
}

.faq-list 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-list summary {
  cursor: pointer;
  font-weight: 500;
  list-style: none;
}

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

.faq-list p {
  margin: 6px 0 0;
  color: var(--text-muted);
  line-height: 1.6;
}

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

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

/* Small screens */
@media (max-width: 480px) {
  .hero {
    padding-top: 28px;
  }
  .section {
    padding: 20px 0 10px;
  }
  .table-wrapper {
    overflow-x: auto;
  }
}
