/* 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: 1px solid var(--border);
}

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

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

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

.legal-section h2 {
  font-size: 1.35rem;
  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 */
.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(--background-alt);
  font-weight: 600;
  color: var(--secondary);
}

.scope-table td {
  background: var(--background);
}

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

/* Responsive */
@media (max-width: 768px) {
  .legal-content {
    padding: 100px 0 60px;
  }

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

  .legal-section h2 {
    font-size: 1.2rem;
  }

  .scope-table {
    font-size: 0.85rem;
  }

  .scope-table th,
  .scope-table td {
    padding: 10px 12px;
  }
}
