:root {
  color: #25233b;
  background: #f6f4ff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 10% 0%, rgba(102, 80, 214, 0.14), transparent 34rem),
    linear-gradient(180deg, #fbfaff 0%, #f4f1ff 100%);
}

a {
  color: #4c38c8;
}

.site-header,
.legal-shell,
.site-footer {
  width: min(920px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 16px;
}

.brand {
  color: #25233b;
  text-decoration: none;
}

.brand strong,
.brand span {
  display: block;
}

.brand strong {
  font-size: 1.15rem;
}

.brand span {
  margin-top: 2px;
  color: #6f6b82;
  font-size: 0.82rem;
}

.language-links {
  display: flex;
  gap: 8px;
}

.language-links a {
  min-width: 42px;
  padding: 8px 11px;
  border: 1px solid #d8d1ff;
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
}

html[data-language="en"] .language-links a[data-language-link="en"],
html[data-language="es"] .language-links a[data-language-link="es"] {
  color: #fff;
  background: #5542d9;
  border-color: #5542d9;
}

.legal-shell {
  padding: 18px 0 48px;
}

.document-card {
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid rgba(85, 66, 217, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(45, 35, 108, 0.12);
}

.eyebrow {
  margin-bottom: 10px;
  color: #5542d9;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0;
  color: #24213a;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.04;
}

.lede {
  max-width: 720px;
  margin: 18px 0 0;
  color: #625e74;
  font-size: 1.06rem;
  line-height: 1.7;
}

.effective {
  margin: 12px 0 32px;
  color: #7a768b;
  font-size: 0.9rem;
}

.legal-section {
  padding: 22px 0;
  border-top: 1px solid #ebe7f8;
}

.legal-section h2 {
  margin: 0 0 10px;
  color: #2a2740;
  font-size: 1.14rem;
}

.legal-section p,
.legal-section li {
  color: #555166;
  line-height: 1.72;
}

.legal-section p {
  margin: 0 0 10px;
}

.required-clause,
.program-box,
.consent-box {
  padding: 18px;
  border-radius: 16px;
  background: #f1effc;
}

.program-box {
  display: grid;
  gap: 8px;
  margin: 28px 0;
}

.program-box strong {
  font-size: 1.06rem;
}

.program-box span {
  color: #615d72;
  line-height: 1.55;
}

.optin-grid {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-weight: 750;
}

.field input {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid #cfc8ed;
  border-radius: 12px;
  color: #25233b;
  background: #fff;
  font: inherit;
}

.field small {
  color: #706c80;
}

.consent-box {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  background: #f8f7fd;
  border: 1px solid #dfdaf3;
}

.consent-box input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
}

.consent-box label {
  color: #4e4a60;
  line-height: 1.62;
}

.submit-button {
  justify-self: start;
  min-width: 210px;
  padding: 14px 20px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: #5542d9;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.submit-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: #514c65;
  font-weight: 650;
}

.form-status[data-state="success"] {
  color: #1c6b50;
}

.form-status[data-state="error"] {
  color: #a52b37;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 28px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 34px;
  color: #6d697c;
  font-size: 0.9rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

[data-language="es"] {
  display: none;
}

html[data-language="es"] [data-language="en"] {
  display: none;
}

html[data-language="es"] [data-language="es"] {
  display: revert;
}

html[data-language="en"] [data-language="es"] {
  display: none;
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
  }

  .document-card {
    border-radius: 20px;
  }

  .submit-button {
    width: 100%;
  }
}
