/* ============================================
   LEGAL PAGES
   ============================================ */

.legal-page .hero {
  padding: 48px 0 28px;
}

.legal-page {
  background: #f7f8fb;
}

.legal-page .page {
  background: transparent;
}

.legal-page main .container {
  max-width: 980px;
}

.legal-page main {
  padding-bottom: 64px;
}

.legal-page .hero-title {
  font-size: 2.05rem;
  line-height: 1.2;
  color: #2e3136;
  font-weight: 700;
}

.legal-page .hero-description {
  color: #4a4f57;
  font-size: 1.05rem;
  line-height: 1.6;
}

.legal-page .features-section {
  padding: 32px 0;
  background: transparent;
}

.legal-page .section-title {
  font-size: 1.35rem;
  color: #2f3237;
  font-weight: 700;
  margin: 0 0 8px;
}

.legal-page .section-header {
  margin-bottom: 10px;
}

.legal-page .legal-content {
  background: white;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-md, 0 10px 15px -3px rgba(0,0,0,0.08));
  padding: 22px 24px;
  margin-top: 4px;
}

.legal-page .legal-content p,
.legal-page .legal-content ul {
  line-height: 1.7;
  color: #4a4f57;
  font-size: 1.02rem;
}

.legal-page .legal-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.legal-page .legal-content li {
  margin-bottom: 12px;
  color: #4a4f57;
  position: relative;
  padding-left: 14px;
}

.legal-page .legal-content li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #6b7078;
}

.legal-page .legal-content a {
  color: #1f3a8a;
  font-weight: 600;
}

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

.legal-block-header {
  margin-bottom: 12px;
}

.legal-block-tag,
.legal-page .legal-block-tag {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #4c515a;
  font-weight: 700;
  margin-bottom: 8px;
}

.legal-block-title,
.legal-page .legal-block-title {
  font-size: 1.5rem;
  font-weight: 750;
  color: #22252b;
  margin: 0;
  line-height: 1.32;
}

.legal-page h1,
.legal-page h2,
.legal-page h3,
.legal-page h4,
.legal-page h5,
.legal-page h6 {
  color: #2f3237;
}

.legal-page [data-animate] {
  opacity: 0;
  transform: translateY(30px);
}

.legal-page .footer-column h4 {
  color: white;
}

@media (max-width: 768px) {
  .legal-page .container {
    max-width: 100%;
  }
  
  .legal-page .legal-content {
    padding: 18px 18px;
  }
  
  .legal-page .hero {
    padding: 40px 0 22px;
  }
  
  .legal-page .hero-title {
    font-size: 1.9rem;
  }
}

.legal-toc {
  background: #f8f9fb;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-lg);
  padding: 20px 20px 16px;
  margin-top: 12px;
}

.legal-toc .toc-title {
  margin: 0 0 10px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
}

.legal-toc ol {
  margin: 0;
  padding-left: 20px;
  display: block;
  line-height: 1.6;
  color: var(--text-primary);
}

.legal-callout {
  background: #f4f5f6;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-left: 4px solid #b4b8bf;
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  margin: 16px 0 8px;
  color: #3f444c;
}

.legal-section h3 {
  margin-top: 8px;
}
