:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  background: #efefed;
}

button,
input {
  font: inherit;
}

.hero {
  position: relative;
  width: 100vw;
  height: 100svh;
  overflow: hidden;
  background: #efefed;
}

.hero__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
}

.waitlist-form {
  position: fixed;
  z-index: 2;
  top: max(21px, env(safe-area-inset-top));
  right: max(24px, env(safe-area-inset-right));
  display: grid;
  grid-template-columns: 1fr 28px;
  width: 210px;
  height: 34px;
  padding: 2px 3px 2px 4px;
  overflow: hidden;
  border: 1px solid #000;
  border-radius: 999px;
  background: rgb(255 255 255 / 32%);
  box-shadow:
    inset 0 0 0 1px rgb(0 0 0 / 4%),
    0 4px 18px rgb(0 0 0 / 5%);
  backdrop-filter: blur(14px) saturate(115%);
  -webkit-backdrop-filter: blur(14px) saturate(115%);
  transition:
    background-color 180ms ease,
    border-color 180ms ease;
}

.waitlist-form:focus-within {
  border-color: #000;
  background: rgb(255 255 255 / 44%);
}

.waitlist-form input {
  min-width: 0;
  width: 100%;
  padding: 0 9px;
  border: 0;
  outline: 0;
  color: #111;
  background: transparent;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.waitlist-form input::placeholder {
  color: rgb(0 0 0 / 58%);
  opacity: 1;
}

.waitlist-form:focus-within input::placeholder {
  color: rgb(0 0 0 / 42%);
}

.waitlist-form button {
  display: grid;
  width: 28px;
  height: 28px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #111;
  background: transparent;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.72;
  transform: scale(1);
  transition:
    opacity 160ms ease,
    transform 180ms ease,
    color 160ms ease;
}

.waitlist-form button:disabled {
  color: rgb(0 0 0 / 26%);
  cursor: default;
  opacity: 0.42;
  transform: scale(0.82);
}

.waitlist-form[aria-busy="true"] button {
  animation: submit-pulse 900ms ease-in-out infinite alternate;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@keyframes submit-pulse {
  to {
    opacity: 0.18;
  }
}

.waitlist-form:focus-within {
  outline: none;
}

.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;
}

@media (max-width: 600px) {
  .waitlist-form {
    top: max(18px, env(safe-area-inset-top));
    right: max(16px, env(safe-area-inset-right));
    width: 190px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
