/* Legal Pages Styles */

.legal-content {
  padding: 120px 0 80px;
  min-height: calc(100vh - 200px);
}

.legal-header {
  text-align: center;
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 2px solid var(--border);
}

.legal-header h1 {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.last-update {
  color: var(--text-light);
  font-size: 0.9rem;
}

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

.legal-section h2 {
  font-size: 1.3rem;
  color: var(--secondary);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-light);
  display: inline-block;
}

.legal-section p {
  margin-bottom: 16px;
  line-height: 1.8;
  color: var(--text);
}

.legal-section ul {
  margin: 16px 0;
  padding-left: 24px;
}

.legal-section ul li {
  margin-bottom: 12px;
  line-height: 1.7;
  color: var(--text);
}

.legal-section ul li::marker {
  color: var(--primary);
}

.legal-section a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

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

.scope-table {
  overflow-x: auto;
  margin: 20px 0;
}

.scope-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.scope-table th,
.scope-table td {
  padding: 14px 16px;
  text-align: left;
  border: 1px solid var(--border);
}

.scope-table th {
  background: var(--primary-bg);
  font-weight: 600;
  color: var(--secondary);
}

.scope-table code {
  background: var(--primary-bg);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--primary-dark);
  word-break: break-all;
}

@media (max-width: 768px) {
  .legal-content { padding: 100px 0 60px; }
  .legal-header h1 { font-size: 2rem; }
  .legal-section h2 { font-size: 1.15rem; }
}
