/* PolaPeak LLC — Legal Pages Stylesheet */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #333333;
  background: #FAFAFA;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.legal-header {
  background: #1A1A2E;
  padding: 32px 0;
  text-align: center;
  border-bottom: 3px solid #C9704A;
}

.legal-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.5px;
}

.legal-header .legal-meta {
  color: #AFA9B8;
  font-size: 0.9rem;
  margin-top: 8px;
}

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

.legal-content {
  padding: 48px 0 0;
}

.legal-toc {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  padding: 28px 32px;
  margin-bottom: 48px;
}

.legal-toc h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1A1A2E;
  margin-bottom: 16px;
}

.legal-toc ol {
  list-style: decimal;
  padding-left: 20px;
}

.legal-toc li {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.legal-toc a {
  color: #C9704A;
  text-decoration: none;
  transition: color 0.2s ease;
}

.legal-toc a:hover {
  color: #1A1A2E;
  text-decoration: underline;
}

.legal-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1A1A2E;
  margin: 44px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #E8E8E8;
  scroll-margin-top: 24px;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

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

.legal-content ul,
.legal-content ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 8px;
  color: #444444;
  font-size: 0.98rem;
  line-height: 1.75;
}

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

.legal-footer {
  text-align: center;
  padding: 40px 0 20px;
  border-top: 1px solid #E0E0E0;
  margin-top: 48px;
}

.legal-footer a {
  color: #C9704A;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.legal-footer a:hover {
  color: #1A1A2E;
  text-decoration: underline;
}

.legal-footer p {
  color: #888888;
  font-size: 0.82rem;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .legal-header h1 {
    font-size: 1.5rem;
  }
  .legal-content {
    padding: 32px 0 0;
  }
  .legal-content h2 {
    font-size: 1.2rem;
  }
  .legal-toc {
    padding: 20px;
  }
}
