/* "Join the waitlist" on the Labs home page and /prose: the email and its button are one field, the same
   as on the join screen it leads to (voice-model frontend/src/styles.css .access-email). Its own file, so
   the careers pages do not load it. Designed in Paper, "Slashy Labs - Echo playground", page "Prose
   waitlist and sign in", "D. Field by the logo". */
.join {
  display: flex; align-items: center;
  width: 100%; max-width: 420px; padding: 5px;
  border-radius: 12px; background: #fff;
}
/* No focus ring, on purpose: the caret shows it, as in the join screen's own fields. */
.join input {
  flex: 1; min-width: 0; padding: 8px 9px;
  border: 0; outline: none; background: none; appearance: none;
  font: 400 15px/22px var(--sans); color: var(--ink);
}
.join input::placeholder { color: #706d79; opacity: 1; }
.join button {
  flex-shrink: 0; padding: 9px 14px; border: 0; border-radius: 8px; cursor: pointer;
  background: var(--accent); color: #fff;
  font: 500 14px/20px var(--sans); white-space: nowrap;
  transition: background-color 150ms ease;
}
.join button:hover { background: #3a4cb3; }
.join button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* The home page: on the centre line, like the logo above the painting, with the same space to the painting
   and to the text. A line of text has 8px of its own above its capitals, so its padding is 8px less. */
picture + .join { margin-top: 32px; }
.join + .prose { padding-top: 24px; }

/* "Join the waitlist" is the page's one blue button, so Sign in steps back. */
.nav .nav-signin--quiet, .nav .nav-signin--quiet:hover { background: #e9e9ee; color: var(--ink); font: 500 14px/20px var(--sans); }
.nav .nav-signin--quiet:hover { background: #dfdfe6; }

@media (max-width: 640px) { picture + .join { margin-top: 24px; } .join + .prose { padding-top: 16px; } }
/* An iPhone zooms the page into a field with smaller text. */
@media (pointer: coarse) { .join input { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { .join button { transition: none; } }
