/* Memori Legal & Support Styling */
.legal-page {
  padding: 60px 0 100px;
}

.legal-header {
  text-align: center;
  margin-bottom: 60px;
}

.legal-title {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 12px;
}

.legal-meta {
  color: var(--text-dim);
  font-size: 14px;
}

.legal-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 50px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 100px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 18px;
  padding: 24px;
}

.legal-toc-title {
  font-size: 14px;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.legal-toc-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.legal-toc-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
  display: block;
  line-height: 1.4;
}

.legal-toc-links a:hover {
  color: var(--cyan-light);
  transform: translateX(4px);
}

.legal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 44px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-section p {
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.legal-section ul {
  margin: 14px 0 18px 24px;
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.7;
}

.legal-section li {
  margin-bottom: 8px;
}

.legal-highlight-box {
  background: rgba(6, 182, 212, 0.08);
  border-left: 4px solid var(--cyan-light);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 20px 0;
}

.legal-highlight-box h3 {
  font-size: 16px;
  color: var(--cyan-light);
  font-weight: 700;
  margin-bottom: 6px;
}

.legal-highlight-box p {
  font-size: 14px;
  color: #e2e8f0;
  margin-bottom: 0;
}

.faq-card {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 16px;
}

.faq-q {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.faq-a {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .legal-container {
    grid-template-columns: 1fr;
  }
  .legal-toc {
    display: none;
  }
  .legal-content {
    padding: 24px;
  }
}
