/* ============================================
   POLICY PAGE — Reset & Base
============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1A202C;
  background: #FFFFFF;
  line-height: 1.75;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

/* ============================================
   HEADER
============================================ */
.policy-header {
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
  position: sticky;
  top: 0;
  z-index: 50;
}

.policy-header__inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.policy-header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #0F172A;
}
.policy-header__logo-icon {
  width: 28px; height: 28px;
  background: #2563EB;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 14px;
}
.policy-header__logo-text {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* Tab navigation */
.policy-tabs {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.policy-tabs a {
  padding: 8px 14px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: #64748B;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.policy-tabs a:hover {
  background: #F1F5F9;
  color: #0F172A;
}
.policy-tabs a.active {
  background: #EEF2FF;
  color: #2563EB;
}

/* ============================================
   POLICY CONTAINER
============================================ */
.policy-container {
  max-width: 880px;
  margin: 0 auto;
  padding: 56px 24px 120px;
}

.policy-section {
  scroll-margin-top: 80px;
}
.policy-section + .policy-section {
  margin-top: 96px;
  padding-top: 56px;
  border-top: 1px solid #E2E8F0;
}

/* Section heading */
.policy-section__doc-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
  color: #0F172A;
  margin-bottom: 8px;
}
.policy-section__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #94A3B8;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.policy-section__meta strong {
  color: #475569;
  font-weight: 600;
}

/* Lead paragraph */
.policy-lead {
  font-size: 14px;
  line-height: 1.85;
  color: #475569;
  background: #F8FAFC;
  padding: 18px 22px;
  border-radius: 10px;
  border-left: 3px solid #2563EB;
  margin-bottom: 40px;
}

/* Chapters & articles */
.policy-chapter {
  font-size: 18px;
  font-weight: 700;
  color: #0F172A;
  margin: 48px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #0F172A;
}
.policy-chapter:first-of-type { margin-top: 0; }

.policy-article {
  margin: 32px 0 16px;
}
.policy-article__title {
  font-size: 16px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 12px;
}

.policy-article p,
.policy-article ol,
.policy-article ul {
  margin-bottom: 12px;
}

.policy-article ol,
.policy-article ul {
  padding-left: 22px;
}
.policy-article li { margin-bottom: 6px; color: #1E293B; }

.policy-article ul.policy-list--circle { list-style: '○ '; padding-left: 16px; }
.policy-article ul.policy-list--bullet { list-style: '· '; padding-left: 16px; }

/* Sub items (numbered list inside article) */
.policy-numbered {
  list-style: none;
  padding-left: 0;
  counter-reset: policy-num;
}
.policy-numbered > li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  counter-increment: policy-num;
}
.policy-numbered > li::before {
  content: '①②③④⑤⑥⑦⑧⑨⑩⑪⑫⑬⑭⑮' / "";
  display: none;
}
.policy-numbered--circ > li::before {
  display: inline;
  position: absolute;
  left: 0;
  font-weight: 600;
  color: #2563EB;
}
.policy-numbered--circ > li:nth-child(1)::before  { content: '①'; }
.policy-numbered--circ > li:nth-child(2)::before  { content: '②'; }
.policy-numbered--circ > li:nth-child(3)::before  { content: '③'; }
.policy-numbered--circ > li:nth-child(4)::before  { content: '④'; }
.policy-numbered--circ > li:nth-child(5)::before  { content: '⑤'; }
.policy-numbered--circ > li:nth-child(6)::before  { content: '⑥'; }
.policy-numbered--circ > li:nth-child(7)::before  { content: '⑦'; }
.policy-numbered--circ > li:nth-child(8)::before  { content: '⑧'; }
.policy-numbered--circ > li:nth-child(9)::before  { content: '⑨'; }
.policy-numbered--circ > li:nth-child(10)::before { content: '⑩'; }

/* Tables */
.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 20px;
  font-size: 14px;
  border-top: 2px solid #0F172A;
  border-bottom: 1px solid #CBD5E1;
}
.policy-table th,
.policy-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #E2E8F0;
}
.policy-table th {
  background: #F8FAFC;
  font-weight: 700;
  color: #0F172A;
  font-size: 13px;
  white-space: nowrap;
}
.policy-table td { color: #334155; }

/* Notes */
.policy-note {
  font-size: 13px;
  color: #64748B;
  background: #FFFBEB;
  border-left: 3px solid #F59E0B;
  padding: 12px 16px;
  border-radius: 6px;
  margin: 12px 0;
}

/* Bujik (부칙) */
.policy-bujik {
  margin-top: 56px;
  padding: 24px;
  background: #F8FAFC;
  border-radius: 10px;
}
.policy-bujik h3 {
  font-size: 15px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 8px;
}
.policy-bujik p { font-size: 14px; color: #475569; }

/* Contact box */
.policy-contact {
  background: #EEF2FF;
  border-radius: 10px;
  padding: 18px 22px;
  margin: 16px 0;
}
.policy-contact dl {
  display: grid;
  grid-template-columns: 100px 1fr;
  row-gap: 6px;
  font-size: 14px;
}
.policy-contact dt { font-weight: 600; color: #475569; }
.policy-contact dd { color: #0F172A; font-weight: 500; }

/* ============================================
   FOOTER
============================================ */
.policy-footer {
  background: #F8FAFC;
  padding: 32px 0;
  text-align: center;
  border-top: 1px solid #E2E8F0;
}
.policy-footer p {
  font-size: 12px;
  color: #94A3B8;
  margin-bottom: 4px;
}
.policy-footer a {
  color: #64748B;
  text-decoration: none;
  font-size: 12px;
}
.policy-footer a:hover { color: #2563EB; }

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 640px) {
  body { font-size: 14px; }

  .policy-header__inner {
    padding: 12px 18px;
    gap: 12px;
  }
  .policy-tabs a { padding: 6px 10px; font-size: 13px; }

  .policy-container { padding: 36px 18px 80px; }

  .policy-section + .policy-section {
    margin-top: 64px;
    padding-top: 36px;
  }

  .policy-section__doc-title { font-size: 23px; }
  .policy-chapter { font-size: 16px; }
  .policy-article__title { font-size: 15px; }

  .policy-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }

  .policy-contact dl {
    grid-template-columns: 80px 1fr;
    font-size: 13px;
  }
}
