/* ============================================================
   Email notify form — Walnut brand styling
   ============================================================ */
.humanu-subscribe {
  width: 100%;
  max-width: 540px;
  margin-inline: auto;
}
.humanu-subscribe__row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}
.humanu-subscribe input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--wal-font-body, "Source Sans 3", system-ui, sans-serif);
  font-size: 1rem;
  color: var(--wal-ink, #2A1F16);
  background: var(--wal-surface, #FCF8F1);
  border: 1px solid var(--wal-border-strong, #D2C2A9);
  border-radius: var(--wal-radius-pill, 999px);
  padding: 0.85rem 1.25rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.humanu-subscribe input[type="email"]::placeholder { color: var(--wal-muted, #6F6151); }
.humanu-subscribe input[type="email"]:focus {
  outline: none;
  border-color: var(--wal-walnut, #8B5E3C);
  box-shadow: 0 0 0 3px rgba(139, 94, 60, 0.18);
}
.humanu-subscribe button[type="submit"] {
  flex: 0 0 auto;
  font-family: var(--wal-font-body, "Source Sans 3", system-ui, sans-serif);
  font-weight: 500;
  font-size: 0.98rem;
  color: #fff;
  background: var(--wal-walnut, #8B5E3C);
  border: 1px solid transparent;
  border-radius: var(--wal-radius-pill, 999px);
  padding: 0.85rem 1.6rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s ease, opacity 0.18s ease;
}
.humanu-subscribe button[type="submit"]:hover { background: var(--wal-walnut-dark, #6E4A2F); }
.humanu-subscribe button[type="submit"][disabled] { opacity: 0.6; cursor: default; }

.humanu-subscribe__note {
  margin: 0.85rem 0 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--wal-muted, #6F6151);
}
.humanu-subscribe__msg {
  margin: 0.85rem 0 0;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 500;
}
.humanu-subscribe__msg.is-ok { color: var(--wal-success, #5E7050); }
.humanu-subscribe__msg.is-error { color: var(--wal-error, #A4543E); }

/* Honeypot — hidden from humans, catches bots */
.humanu-subscribe__hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); overflow: hidden;
}

@media (max-width: 480px) {
  .humanu-subscribe__row { flex-direction: column; }
  .humanu-subscribe button[type="submit"] { width: 100%; }
}
