/* Join the Inner Circle: section-level hooks on top of the ported design CSS.

   misfit/css/home.css draws .signup and the .email-form row exactly as the
   approved design does, and .email-form input / .email-form button already
   catch the platform block's own field and button. The platform subscribe block
   nests them one level deeper than the design's hand-rolled form did, so these
   rules pass the design's row down to its wrappers. */

.signup {
  background-color: var(--mm-signup-bg, var(--mm-ink, #17142f));
}

.signup .email-form .block-subscription {
  flex: 1;
}

.signup .email-form .block-subscription__inline-form {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.signup .email-form .field,
.signup .email-form .field__inner {
  flex: 1;
  width: 100%;
}

/* The platform block prints its own validation and success messages. The design
   shows that line as .form-note, so match it. */
.signup .email-form .field__info {
  margin: 10px 0 0;
  color: var(--mm-mint, #add8ca);
  font-size: calc(0.85rem * var(--mm-fs-body, 1));
  text-align: left;
}

@media (max-width: 580px) {
  .signup .email-form .block-subscription__inline-form {
    flex-direction: column;
  }
}

/* Email field: label and typed text sit on the left, in a readable ink tone
   instead of the pale cream that disappeared against the field. */
.signup .email-form .field__inner { position: relative; }
.signup .email-form .field__input {
  text-align: left;
  color: var(--mm-ink, #17142f);}
.signup .email-form .field__label {
  left: 16px;
  right: 16px;
  width: auto;
  text-align: left;
  color: rgba(23, 20, 47, 0.72);
  font-weight: 500;}
.signup .email-form .field__input:focus + .field__label,
.signup .email-form .field__input:not(:placeholder-shown) + .field__label {
  color: rgba(23, 20, 47, 0.6);}

/* Password-manager extensions (LastPass) inject an icon into email fields.
   It is not part of the design, so keep it out of the newsletter forms. */
.signup [data-lastpass-icon-root],
.flyout [data-lastpass-icon-root],
footer [data-lastpass-icon-root],
[data-lastpass-icon-root] { display: none !important; }
