/* Shared by the homepage signup and /newsletter. */

.newsletter-section {
  background: var(--white);
  border-top: 1px solid var(--border);
}

.newsletter-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 48px;
  align-items: start;
}

.newsletter-copy p {
  font-size: 16px;
  color: var(--body);
  line-height: 1.6;
  max-width: 460px;
  margin: 0;
}

.newsletter-sign {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}

.nl-page {
  padding: 112px 24px 72px;
  background: linear-gradient(180deg, var(--white) 0%, var(--subtle) 100%);
}

.nl-wrap {
  max-width: 560px;
  margin: 0 auto;
}

.nl-page h1 {
  font-size: 42px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 16px;
}

.nl-lede {
  font-size: 18px;
  color: var(--body);
  line-height: 1.65;
  margin: 0 0 18px;
}

.nl-sign {
  margin: 0 0 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
}

.nl-card {
  background: var(--subtle);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
}

.nl-page .nl-card {
  background: var(--white);
}

.nl-field {
  margin-bottom: 12px;
}

.nl-label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.nl-optional {
  font-weight: 500;
  color: var(--light);
}

.nl-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.4;
}

.nl-input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.15);
}

.nl-submit {
  width: 100%;
  margin-top: 4px;
}

.nl-submit:disabled {
  opacity: 0.7;
  cursor: progress;
}

.nl-submit:disabled:hover {
  transform: none;
  box-shadow: none;
}

.nl-status {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
}

.nl-status:empty {
  display: none;
}

.nl-status.is-success {
  color: var(--green);
}

.nl-status.is-error {
  color: #B91C1C;
}

.nl-download {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.5;
}

.nl-download a {
  color: var(--teal-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nl-download a:focus {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.nl-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .newsletter-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .nl-page {
    padding-top: 96px;
  }

  .nl-page h1 {
    font-size: 32px;
  }

  .nl-lede {
    font-size: 16px;
  }
}
