.legal-shell {
  max-width: 980px;
}

.legal-document {
  margin: 0 auto;
  padding: 3rem 0 5rem;
  max-width: 820px;
  font-family: var(--portal-body-font, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
}

.legal-document h1,
.legal-document h2,
.legal-document .portal-eyebrow {
  font-family: var(--portal-display-font, 'Bricolage Grotesque', Inter, ui-sans-serif, system-ui, sans-serif);
  font-optical-sizing: auto;
}

.legal-document__intro {
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.legal-document h1 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 0.96;
}

.legal-effective {
  opacity: 0.68;
  font-size: 0.9rem;
}

.legal-section {
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-section h2 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
}

.legal-section p {
  margin: 0.75rem 0 0;
  line-height: 1.7;
}

.legal-section a,
.portal-consent-row a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.portal-consents {
  display: grid;
  gap: 0.8rem;
  margin: 0.25rem 0;
}

.portal-consent-row {
  align-items: flex-start;
}

.portal-consent-row input {
  margin-top: 0.2rem;
}

.portal-consent-note {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  opacity: 0.72;
}

.portal-marketing-card form {
  margin-top: 1rem;
}
