.newsletter {
  background-color: var(--navy);
  color: var(--white);
}

.newsletter__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-xl);
  max-width: 600px;
}

.newsletter__heading {
  color: var(--white);
  font-size: var(--text-2xl);
}

.newsletter__subheading {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.newsletter__form {
  display: flex;
  gap: var(--space-sm);
  width: 100%;
  flex-direction: column;
}

@media (min-width: 480px) {
  .newsletter__form {
    flex-direction: row;
  }
}

.newsletter__input {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.newsletter__input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter__input:focus {
  border-color: var(--white);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.newsletter__btn {
  flex-shrink: 0;
}

.newsletter__success {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  font-weight: var(--weight-medium);
  width: 100%;
}
