/*
 * Newsletter signup. Loaded only when NEWSLETTER_SIGNUP_PUBLIC is true,
 * as a second stylesheet. Do not fold this into site-hub.css.
 *
 * Classes: nl-signup, nl-signup-title, nl-signup-lead, nl-signup-contents,
 * nl-signup-form, nl-check, nl-optional, nl-error, nl-hp.
 * Hooks: lanes/build/HOOKS.md.
 */
.nl-signup {
  box-sizing: border-box;
  width: 100%;
  max-width: 40rem;
  margin: 2rem 0 0;
  padding: 1.15rem 1.15rem 1rem;
  border: 1px solid var(--border, #e2e6ed);
  border-radius: 12px;
  background: var(--surface, #fff);
  color: var(--ink, #0b1324);
}
.nl-signup *,
.nl-signup *::before,
.nl-signup *::after {
  box-sizing: border-box;
}
.nl-signup-title {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 600;
  text-wrap: balance;
}
.nl-signup-lead,
.nl-signup-contents,
.nl-signup p {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  line-height: 1.45;
}
.nl-signup-contents {
  padding-left: 1.15rem;
}
.nl-signup-form label,
.nl-signup legend {
  display: block;
  margin: 0.55rem 0 0.25rem;
  font-weight: 600;
}
.nl-optional {
  font-weight: 500;
  color: var(--muted, #52607a);
}
.nl-signup-form input[type="email"],
.nl-signup-form input[type="text"] {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 2.75rem;
  margin: 0;
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--border, #e2e6ed);
  border-radius: 8px;
  background: var(--surface, #fff);
  color: inherit;
  font: inherit;
}
.nl-check {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin: 0.35rem 0;
  font-weight: 500;
}
.nl-check input {
  margin-top: 0.2rem;
  flex: 0 0 auto;
}
.nl-signup fieldset {
  margin: 0.4rem 0;
  padding: 0;
  border: 0;
}
.nl-signup-form button,
.nl-signup button {
  display: inline-block;
  margin-top: 0.75rem;
  min-height: 2.75rem;
  max-width: 100%;
  padding: 0.5rem 1rem;
  border: 0;
  border-radius: 8px;
  background: var(--accent, #1d4ed8);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.nl-error {
  margin: 0 0 0.6rem;
  color: var(--danger, #9f1239);
  font-weight: 600;
}
.nl-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 420px) {
  .nl-signup {
    margin-right: 0;
    margin-left: 0;
    padding: 1rem;
  }
}
