/* ==========================================================================
   EQUIDEM DESIGN SYSTEM - NEWSLETTER (components/newsletter.css)
   The mailing list is presented as an official civic bulletin: hairline
   surface, technical label and a transparency note on data processing.
   ========================================================================== */

.c-newsletter {
  max-width: var(--container-max-width);
  margin: var(--space-6) auto var(--space-12);
  padding: var(--space-6);
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border-subtle);
  border-top: 3px solid var(--color-primary);
  border-radius: var(--radius-lg);
  box-shadow: none;
  text-align: center;
}

.c-newsletter__title {
  color: var(--color-text-heading);
  /* Display face: keep the single 400 cut, never a synthetic bold. */
  font-weight: var(--font-weight-display);
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  margin-bottom: var(--space-2);
}

.c-newsletter__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  font-family: var(--font-subheader);
  font-size: 0.66rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-caps-wide);
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.c-newsletter__form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-2);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.c-newsletter__submit {
  background-color: var(--color-primary);
  border: 1px solid var(--color-primary);
  font-weight: var(--font-weight-bold);
}

.c-newsletter__submit:hover {
  background-color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
}

.c-newsletter__response {
  display: none;
  max-width: 500px;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
}

.c-newsletter__note {
  max-width: 620px;
  margin: var(--space-4) auto 0;
  font-size: var(--font-size-xs);
  line-height: 1.55;
  color: var(--color-text-muted);
}

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

