/* The launch-day email form on the static pages. Builds on compare.css (.button, colours).
   The home page and speech length page carry the same rules in site/style.css. */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.waitlist {
  max-width: 30em;
}

.waitlist-row {
  display: flex;
  gap: 10px;
}

.waitlist input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
}

.waitlist input[type="email"]::placeholder {
  color: var(--grey);
}

.waitlist input[type="email"]:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.waitlist .button {
  border: 0;
  cursor: pointer;
}

.waitlist .button:disabled {
  opacity: 0.6;
  cursor: default;
}

.waitlist-note {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-2, #3a3a3a);
}

.waitlist-done {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.5;
  color: var(--ink);
}

.waitlist-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

@media (max-width: 600px) {
  .waitlist-row {
    flex-direction: column;
  }

  .waitlist .button {
    width: 100%;
  }
}
