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

:root {
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --bg: #FFFFFF;
  --surface: #F8FAFC;
  --border: #E2E8F0;
  --text: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
}

html, body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-size: 20px; font-weight: 800; color: var(--primary);
  display: flex; align-items: center; gap: 8px;
}
.logo-emoji { font-size: 24px; }
.nav { display: flex; gap: 28px; }
.nav a {
  font-size: 14px; color: var(--text-secondary); font-weight: 500;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
  color: #fff;
  padding: 100px 24px 80px;
  text-align: center;
}
.hero-inner { max-width: 800px; margin: 0 auto; }
.hero h1 {
  font-size: 48px; font-weight: 900;
  line-height: 1.2; margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero p {
  font-size: 18px; opacity: 0.95;
  margin-bottom: 36px; line-height: 1.6;
}
.hero-buttons {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 10px;
  font-size: 15px; font-weight: 700;
  transition: transform 0.15s ease;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary { background: #fff; color: var(--primary); }
.btn-secondary {
  background: rgba(255,255,255,0.15); color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}

/* Sections */
.section { padding: 80px 24px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-title {
  font-size: 32px; font-weight: 800;
  text-align: center; margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.section-desc {
  text-align: center; color: var(--text-secondary);
  font-size: 16px; margin-bottom: 56px;
  max-width: 600px; margin-left: auto; margin-right: auto;
}

/* Feature cards */
.features {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.feature-card {
  background: var(--surface);
  border-radius: 16px; padding: 32px 24px;
  border: 1px solid var(--border);
  text-align: center;
}
.feature-icon { font-size: 40px; margin-bottom: 16px; }
.feature-title {
  font-size: 18px; font-weight: 700;
  margin-bottom: 10px;
}
.feature-desc {
  font-size: 14px; color: var(--text-secondary);
  line-height: 1.7;
}

/* CTA */
.cta {
  background: var(--surface);
  text-align: center;
  padding: 80px 24px;
}
.cta h2 { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.cta p { color: var(--text-secondary); margin-bottom: 28px; }

/* Doc page */
.doc-page {
  max-width: 820px; margin: 0 auto;
  padding: 60px 24px 80px;
}
.doc-page h1 {
  font-size: 32px; font-weight: 800;
  margin-bottom: 12px; letter-spacing: -0.01em;
}
.doc-meta {
  color: var(--text-muted); font-size: 13px;
  margin-bottom: 40px;
  padding-bottom: 24px; border-bottom: 1px solid var(--border);
}
.doc-page h2 {
  font-size: 20px; font-weight: 700;
  margin: 40px 0 16px;
  color: var(--text);
}
.doc-page h3 {
  font-size: 16px; font-weight: 700;
  margin: 28px 0 12px;
}
.doc-page p {
  font-size: 15px; color: var(--text-secondary);
  margin-bottom: 16px;
}
.doc-page ul, .doc-page ol {
  margin: 0 0 20px 24px; color: var(--text-secondary);
}
.doc-page li { margin-bottom: 8px; font-size: 15px; }
.doc-page table {
  width: 100%; border-collapse: collapse;
  margin: 20px 0; font-size: 14px;
}
.doc-page th, .doc-page td {
  border: 1px solid var(--border);
  padding: 12px; text-align: left;
}
.doc-page th { background: var(--surface); font-weight: 700; }

/* Company info table */
.company-table {
  background: var(--surface);
  border-radius: 12px; padding: 28px 24px;
  border: 1px solid var(--border);
}
.company-row {
  display: flex; padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.company-row:last-child { border-bottom: none; }
.company-label {
  flex: 0 0 140px; font-weight: 600;
  color: var(--text); font-size: 14px;
}
.company-value {
  flex: 1; color: var(--text-secondary); font-size: 14px;
}

/* Footer */
.site-footer {
  background: #0F172A;
  color: #94A3B8;
  padding: 48px 24px 32px;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
}
.footer-top {
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 32px; margin-bottom: 32px;
}
.footer-brand { color: #fff; font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.footer-tagline { font-size: 13px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: #CBD5E1; font-size: 13px; }
.footer-bottom {
  border-top: 1px solid #1E293B;
  padding-top: 24px; font-size: 12px;
  line-height: 1.8;
}
.footer-bottom strong { color: #CBD5E1; }

@media (max-width: 640px) {
  .hero { padding: 70px 20px 60px; }
  .hero h1 { font-size: 34px; }
  .hero p { font-size: 16px; }
  .section { padding: 60px 20px; }
  .section-title { font-size: 26px; }
  .nav { display: none; }
  .company-row { flex-direction: column; gap: 4px; }
  .company-label { flex: none; }
}
