/* The newsletter form (templates/boletin/_signup.html). Kit tokens only.
   band: the home page section. A tinted full-bleed panel; on a wide screen the promise sits on the
   left and the form, on its own white card, on the right. inline: a quiet card at the end of a
   guide or tool, the two fields side by side from 40rem. page: /boletin/, the form under the list
   of what the reader gets. Fields 52px, the button 52px, the consent line 15px. */

.boletin { display: grid; gap: 20px; margin: 40px 0; }
.boletin__title { margin: 0; font-family: var(--font-display); font-weight: var(--font-weight-display); font-size: 26px; line-height: 1.2; color: var(--color-ink); text-wrap: balance; }
.boletin__lead { margin: 8px 0 0; font-size: 17px; line-height: 1.55; color: var(--color-ink); }
.boletin__promises { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.boletin__promises li { position: relative; padding-left: 30px; font-size: 17px; line-height: 1.5; }
.boletin__promises li::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 18px; height: 18px; border-radius: 50%; background: var(--color-brand); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 100 20 10 10 0 000-20zm-1.2 14.2L4.6 10l1.4-1.4 2.8 2.8 5.2-5.2 1.4 1.4-6.6 6.6z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 100 20 10 10 0 000-20zm-1.2 14.2L4.6 10l1.4-1.4 2.8 2.8 5.2-5.2 1.4 1.4-6.6 6.6z'/%3E%3C/svg%3E") center / contain no-repeat; }
.boletin__cadence { margin: 14px 0 0; font-size: 15px; color: var(--color-muted); }

.boletin__form { display: grid; gap: 14px; align-content: start; }
.boletin__field { display: grid; gap: 6px; font-size: 15px; font-weight: 600; color: var(--color-ink); }
.boletin__field input, .boletin__field select { width: 100%; min-height: 52px; padding: 10px 14px; border: 1px solid var(--color-line-strong); border-radius: 14px; background: var(--color-card); font-size: 18px; font-weight: 400; color: var(--color-ink); }
.boletin__field input[aria-invalid="true"] { border-color: var(--color-bad); }
.boletin__error { margin: 0; font-size: 15px; font-weight: 600; color: var(--color-bad); }
.boletin__submit { min-height: 52px; justify-content: center; font-size: 17px; }
.boletin__consent { margin: 0; font-size: 15px; line-height: 1.5; color: var(--color-muted); }

.boletin--band { padding: 28px 20px; border-radius: 24px; background: var(--color-brand-50); }
.boletin--band .boletin__form { padding: 20px; border-radius: 18px; background: var(--color-card); box-shadow: 0 1px 2px rgb(0 0 0 / 0.06); }
@media (min-width: 64rem) {
  .boletin--band { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 48px; align-items: center; padding: 44px 48px; }
  .boletin--band .boletin__title { font-size: 32px; }
}

.boletin--inline { padding: 22px 22px 24px; border: 1px solid var(--color-line); border-top: 4px solid var(--color-brand); border-radius: 18px; background: var(--color-card); }
.boletin--inline .boletin__title { font-size: 22px; }
@media (min-width: 40rem) {
  .boletin--inline .boletin__form { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); column-gap: 12px; }
  .boletin--inline .boletin__error, .boletin--inline .pk-turnstile, .boletin--inline .boletin__submit, .boletin--inline .boletin__consent { grid-column: 1 / -1; }
  .boletin--inline .boletin__submit { justify-self: start; padding-inline: 28px; }
}

.boletin--page { max-width: 640px; margin-top: 8px; }
