/* Newsletter section */
.newsletter {
  padding-top: 0;
  padding-bottom: 0;
  background-color: var(--bg-color);
  border-top: none;
}

.newsletter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 56px 48px;
}

.newsletter-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  max-width: 368px;
}

.newsletter-title {
  font-size: 40px;
  font-weight: 500;
  line-height: 40px;
  letter-spacing: -1.2px;
  color: var(--text-main);
  margin: 0;
}

.newsletter-subtitle {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.08px;
  color: #657080;
  margin: 0;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: max-content;
  max-width: 100%;
}

.newsletter-input-row {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.newsletter-input {
  width: 100%;
  height: 40px;
  padding: 0 16px;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.084px;
  color: var(--text-main);
}

.newsletter-input::placeholder {
  color: #6D6D6D;
}

.newsletter-input:focus {
  outline: none;
  border-color: #0A0A0A;
}

.newsletter-submit {
  width: 100%;
  height: 40px;
  padding: 0 14px;
  background-color: var(--text-main);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.084px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.newsletter-submit:hover {
  background-color: #1a1a1a;
}

.newsletter-disclaimer {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.084px;
  color: #657080;
  margin: 0;
  white-space: nowrap;
}

@media (max-width: 960px) {
  .newsletter-row {
    padding: 56px 32px;
  }
}

@media (max-width: 760px) {
  .newsletter-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 48px 24px;
  }

  .newsletter-form {
    width: 100%;
  }

  .newsletter-disclaimer {
    white-space: normal;
  }

  .newsletter-copy {
    max-width: none;
  }

  .newsletter-title {
    font-size: var(--section-title-phone);
    line-height: var(--section-title-phone-lh);
    letter-spacing: -0.02em;
  }
}

/* Honeypot field: kept off-screen so only bots fill it */
.newsletter-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.newsletter-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.newsletter-disclaimer.is-success {
  color: var(--text-main);
}

.newsletter-disclaimer.is-error {
  color: #D92D20;
}

/* iOS Safari zooms the page when a field under 16px is focused */
@media (max-width: 760px) {
  .newsletter-input {
    font-size: 16px;
  }
}
