.newsletter-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.newsletter-popup.active {
  display: flex;
}

.newsletter-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 25, 20, 0.72);
  backdrop-filter: blur(4px);
}

.newsletter-modal {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  padding: 52px 42px;
  background: #f2efe5;
  color: #242a22;
  text-align: center;
  box-shadow: 0 20px 70px rgba(0,0,0,.3);
  animation: newsletterFade .35s ease;
}

.newsletter-close {
  position: absolute;
  top: 14px;
  right: 18px;
  border: none;
  background: none;
  color: #242a22;
  font-size: 30px;
  cursor: pointer;
}

.newsletter-eyebrow {
  color: #641564;
  font-size: 10px;
  letter-spacing: 3px;
  font-weight: bold;
  margin-bottom: 16px;
}

.newsletter-modal h2 {
  font-family: Georgia, serif;
  font-size: 38px;
  font-weight: normal;
  margin: 0 0 18px;
}

.newsletter-description {
  color: #77796d;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 28px;
}

#newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#newsletter-form input {
  width: 100%;
  box-sizing: border-box;
  padding: 15px;
  border: 1px solid rgba(36,42,34,.25);
  background: #e8e4d7;
  color: #242a22;
  font: inherit;
}

#newsletter-form button {
  padding: 15px;
  border: none;
  background: #66745a;
  color: #f2efe5;
  font: inherit;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background .2s ease;
}

#newsletter-form button:hover {
  background: #242a22;
}

.newsletter-small {
  margin-top: 20px;
  color: #77796d;
  font-size: 11px;
}

@keyframes newsletterFade {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 500px) {
  .newsletter-modal {
    padding: 48px 25px;
  }

  .newsletter-modal h2 {
    font-size: 32px;
  }
}