/* Legal page body content — chrome is inline-styled like index.html */

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 24px);
}

.legal-page {
  max-width: min(1200px, 42rem);
  margin-inline: auto;
  padding-block: 2rem 4rem;
}

.legal-page h1 {
  font-family: Manrope, ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

.legal-page .legal-meta {
  margin-bottom: 2.5rem;
  color: #5F5C66;
}

.legal-page section {
  margin-bottom: 2rem;
}

.legal-page section h2 {
  font-family: Manrope, ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.375rem;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

.legal-page section p + p {
  margin-top: 1rem;
}

.legal-page ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-top: 0.75rem;
}

.legal-page a {
  color: #48237A;
}

.form-privacy {
  margin: 0 0 1rem;
}

/* --- Data collection cards (privacy) --- */

.data-collection-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.data-group-card {
  background: #ffffff;
  border: 1px solid rgba(96, 58, 161, 0.08);
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.data-group-card h3 {
  font-family: Manrope, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #603AA1;
  margin-top: 0;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.data-group-card h3::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #603AA1;
  display: inline-block;
}

.data-item-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.data-item {
  border-bottom: 1px solid #DDD8D1;
  padding-bottom: 0.75rem;
}

.data-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.data-label {
  font-weight: 600;
  color: #1B1A20;
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
}

.data-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.data-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.data-badge--required {
  background: color-mix(in srgb, #dc2626 8%, transparent);
  color: #dc2626;
}

.data-badge--optional {
  background: color-mix(in srgb, #5F5C66 8%, transparent);
  color: #5F5C66;
}

.data-badge--automatic {
  background: color-mix(in srgb, #603AA1 8%, transparent);
  color: #603AA1;
}

.data-scope {
  font-size: 0.75rem;
  font-weight: 500;
  color: #5F5C66;
  background: #f3f4f6;
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  white-space: nowrap;
}

.data-desc {
  font-size: 0.875rem;
  color: #5F5C66;
  margin-top: 0.375rem;
  line-height: 1.5;
}
