/* Footer Weekly form and shared form helpers for si-surfer-brand.
   Homepage Arrival scenes already style form.signup; this file covers the
   footer swap and honeypot/status states on every page. */

.sis-brevo-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sis-brevo-status {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.5;
}

.sis-brevo-status[data-state="ok"] {
  color: #2DD4BF;
}

.sis-brevo-status[data-state="error"] {
  color: #FCA5A5;
}

.sis-brevo-footer {
  max-width: 28rem;
}

.sis-brevo-footer-heading {
  margin: 0 0 8px;
  font-size: 1.25rem;
  line-height: 1.3;
  color: inherit;
}

.sis-brevo-footer-lead {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.5;
  color: inherit;
  opacity: 0.86;
}

.sis-brevo-footer .signup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.sis-brevo-footer .signup label {
  font-size: 14px;
  font-weight: 600;
}

.sis-brevo-footer .signup input[type="email"] {
  appearance: none;
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(241, 245, 249, 0.48);
  border-radius: 12px;
  background: rgba(11, 18, 32, 0.55);
  color: #F8FAFC;
  font-size: 16px;
}

.sis-brevo-footer .signup input[type="email"]:focus-visible {
  outline: 2px solid #2DD4BF;
  outline-offset: 2px;
  border-color: #2DD4BF;
}

.sis-brevo-footer .signup .btn,
.sis-brevo-footer button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 12rem;
  padding: 0 22px;
  background: #2DD4BF;
  color: #0B1220;
  font-weight: 600;
  font-size: 16px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.sis-brevo-footer .signup .btn:focus-visible,
.sis-brevo-footer button[type="submit"]:focus-visible {
  outline: 2px solid #F8FAFC;
  outline-offset: 3px;
}

.sis-brevo-footer .signup .btn:disabled,
.sis-brevo-footer button[type="submit"]:disabled {
  opacity: 0.7;
  cursor: wait;
}

.sis-brevo-footer .consent {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.5;
  max-width: 46ch;
}

.sis-brevo-footer .consent a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sis-brevo-confirmed {
  margin: 0 0 12px;
  padding: 12px 16px;
  border-radius: 8px;
  background: rgba(45, 212, 191, 0.16);
  color: inherit;
  font-size: 15px;
  line-height: 1.5;
}
