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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans KR', 'Noto Sans JP', sans-serif;
  color: #1a1a1a;
  background: #fafafa;
  line-height: 1.7;
  font-size: 16px;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 10;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  color: #6CA0DC;
  text-decoration: none;
}

.logo:hover {
  color: #5A8BBF;
}

.lang-nav {
  display: flex;
  gap: 4px;
}

.lang-nav a {
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  color: #666;
  transition: all 0.15s;
}

.lang-nav a:hover {
  background: #EBF3FA;
  color: #6CA0DC;
}

.lang-nav a.active {
  background: #6CA0DC;
  color: #fff;
}

/* Document nav */
.doc-nav {
  display: flex;
  gap: 8px;
  margin: 32px 0 24px;
}

.doc-nav a {
  padding: 8px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: #555;
  background: #fff;
  border: 1px solid #e0e0e0;
  transition: all 0.15s;
}

.doc-nav a:hover {
  border-color: #6CA0DC;
  color: #6CA0DC;
}

.doc-nav a.active {
  background: #EBF3FA;
  border-color: #6CA0DC;
  color: #6CA0DC;
}

/* Article */
article {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 40px;
  border: 1px solid #e5e5e5;
}

article h1 {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
  line-height: 1.3;
}

article .effective-date {
  font-size: 14px;
  color: #888;
  margin-bottom: 32px;
}

article h2 {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-top: 40px;
  margin-bottom: 16px;
  padding-top: 24px;
  border-top: 1px solid #f0f0f0;
}

article h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

article h3 {
  font-size: 17px;
  font-weight: 600;
  color: #444;
  margin-top: 24px;
  margin-bottom: 12px;
}

article p {
  margin-bottom: 12px;
  color: #333;
}

article ul, article ol {
  margin-bottom: 12px;
  padding-left: 24px;
}

article li {
  margin-bottom: 6px;
  color: #333;
}

article li ul {
  margin-top: 6px;
  margin-bottom: 0;
}

article table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}

article th {
  background: #F0F6FB;
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  color: #444;
  border: 1px solid #e5e5e5;
}

article td {
  padding: 10px 14px;
  border: 1px solid #e5e5e5;
  color: #555;
}

article .info-block {
  background: #f8f8f8;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 16px 0;
}

article .info-block p {
  margin-bottom: 4px;
}

article .transfer-block {
  border-left: 3px solid #e0e0e0;
  padding-left: 20px;
  margin: 16px 0;
}

article .transfer-block + .transfer-block {
  margin-top: 20px;
}

/* Business info */
.business-info {
  background: #f8f8f8;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 24px;
}

.business-info ul {
  list-style: none;
  padding-left: 0;
}

.business-info li {
  font-size: 14px;
  color: #555;
  margin-bottom: 4px;
}

/* Footer */
footer {
  border-top: 1px solid #e5e5e5;
  padding: 24px 0;
  margin-top: 20px;
}

footer .container {
  text-align: center;
}

footer p {
  font-size: 13px;
  color: #999;
  margin-bottom: 4px;
}

footer a {
  color: #6CA0DC;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 640px) {
  article {
    padding: 24px 20px;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  article h1 {
    font-size: 24px;
  }

  article h2 {
    font-size: 18px;
  }

  .doc-nav {
    margin: 20px 0 16px;
  }

  .doc-nav a {
    padding: 6px 14px;
    font-size: 13px;
  }

  header .container {
    height: 52px;
  }

  .logo {
    font-size: 18px;
  }

  .lang-nav a {
    padding: 5px 8px;
    font-size: 12px;
  }

  article table {
    font-size: 13px;
  }

  article th, article td {
    padding: 8px 10px;
  }
}
