/* 이용약관·개인정보 처리방침 등 공개 법률 고지 페이지 */
.legal-page {
  min-height: 100vh;
  margin: 0;
  background: #fafafa;
  color: #1f2937;
  font-family: "Pretendard", "Noto Sans KR", -apple-system, BlinkMacSystemFont,
    system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.65;
}

.legal-page-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  box-sizing: border-box;
}

.legal-page-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  color: #111827;
  text-decoration: none;
}

.legal-page-brand img {
  height: 28px;
  width: auto;
}

.legal-page-back {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 500;
  color: #2563eb;
  text-decoration: none;
}

.legal-page-back:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 20px 48px;
  box-sizing: border-box;
}

.legal-page-title {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.02em;
}

.legal-page-updated {
  margin: 0 0 28px;
  font-size: 12px;
  color: #6b7280;
}

.legal-page-content h2 {
  margin: 28px 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}

.legal-page-content h2:first-child {
  margin-top: 0;
}

.legal-page-content p {
  margin: 0 0 12px;
  color: #374151;
}

.legal-page-content ul,
.legal-page-content ol {
  margin: 0 0 12px;
  padding-left: 1.35em;
  color: #374151;
}

.legal-page-content li {
  margin-bottom: 6px;
}

.legal-page-content strong {
  font-weight: 600;
  color: #111827;
}

.legal-page-note {
  margin: 24px 0 0;
  padding: 12px 14px;
  font-size: 12px;
  color: #6b7280;
  background: #f3f4f6;
  border-radius: 6px;
  border-left: 3px solid #d1d5db;
}

.legal-page-cross {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
  font-size: 13px;
  font-weight: 500;
}

.legal-page-cross a {
  color: #2563eb;
  text-decoration: none;
}

.legal-page-cross a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}
