.legal-page {
  background-color: #FDFAF5;
  color: #1A1D2E;
}

.legal-page .legal-header {
  background-color: #1A1D2E;
  color: #FDFAF5;
  padding: 52px 0 40px;
  text-align: center;
}

.legal-page .legal-header h1 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.legal-page .legal-header p {
  font-size: 0.95rem;
  color: #B5B2AA;
}

.legal-page .legal-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 24px;
}

.legal-page .legal-last-updated {
  font-size: 0.85rem;
  color: #6B645A;
  margin-bottom: 40px;
  text-align: center;
}

.legal-page .toc {
  background-color: #F3EFE8;
  border: 1px solid #E5DFD4;
  border-radius: 10px;
  padding: 28px 32px;
  margin-bottom: 48px;
}

.legal-page .toc h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: #1A1D2E;
}

.legal-page .toc ol {
  columns: 2;
  column-gap: 32px;
  list-style-position: inside;
  font-size: 0.92rem;
  line-height: 2;
}

.legal-page .toc ol li a {
  color: #C9674B;
  font-weight: 500;
}

.legal-page .toc ol li a:hover {
  text-decoration: underline;
}

.legal-page .legal-content h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: #1A1D2E;
  margin-top: 48px;
  margin-bottom: 16px;
  padding-top: 24px;
  border-top: 1px solid #E5DFD4;
}

.legal-page .legal-content h2:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.legal-page .legal-content p {
  font-size: 0.98rem;
  line-height: 1.85;
  color: #3A3833;
  margin-bottom: 16px;
}

.legal-page .legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-page .legal-content ul li {
  font-size: 0.98rem;
  line-height: 1.85;
  color: #3A3833;
  margin-bottom: 8px;
}

.legal-page .legal-content strong {
  color: #1A1D2E;
}

.legal-page .legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #C9674B;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 40px;
  transition: color 0.3s ease;
}

.legal-page .legal-back:hover {
  color: #A84E35;
}

.legal-page .legal-footer {
  text-align: center;
  padding: 32px 24px;
  border-top: 1px solid #E5DFD4;
  font-size: 0.85rem;
  color: #6B645A;
}

.legal-page .legal-footer a {
  color: #C9674B;
  font-weight: 500;
}

.legal-page .legal-footer a:hover {
  text-decoration: underline;
}

.legal-page section {
  background-color: transparent !important;
}

@media (max-width: 768px) {
  .legal-page .toc ol {
    columns: 1;
  }

  .legal-page .legal-header h1 {
    font-size: 1.7rem;
  }
}
