@font-face {
  font-family: Switzer;
  src: url("./assets/switzer-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Switzer;
  src: url("./assets/switzer-medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Fragment Mono";
  src: url("./assets/fragment-mono.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
:root {
  color-scheme: dark;
  font-family: Switzer, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  background: #000;
  color: #fff;
}
body {
  margin: 0;
  min-width: 280px;
  min-height: 100svh;
  overflow-x: hidden;
}
#stars {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.masthead {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  height: 58px;
}
.masthead .masthead-link {
  padding: 4px 10px;
  color: inherit;
  font-size: 14px;
  text-decoration: none;
  opacity: 0.85;
}
.masthead .masthead-link:hover,
.masthead .masthead-link:focus-visible {
  opacity: 1;
}
.masthead a {
  display: inline-flex;
  border-radius: 4px;
}
.masthead-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.masthead .masthead-cta {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 4px 14px;
  opacity: 1;
}
.masthead img {
  width: auto;
  height: 26px;
  object-fit: contain;
}
main {
  position: relative;
  z-index: 2;
  min-height: calc(100svh - 58px);
  padding: 42px 20px 330px;
}
.intro {
  max-width: 540px;
  text-align: center;
  margin: 0 auto;
  animation: arrive 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.launch-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 12px;
  border-radius: 30px;
  background: linear-gradient(100deg, #191919, #222, #191919);
  color: #c6c6c6;
  font-family: "Fragment Mono", monospace;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 16px;
}
h1 {
  margin: 16px 0 10px;
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -0.055em;
  font-weight: 500;
}
.description {
  margin: 0 auto;
  color: #949494;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.045em;
  max-width: 390px;
}
form {
  width: 280px;
  max-width: 100%;
  height: 50px;
  margin: 20px auto 0;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(17, 17, 17, 0.88);
  border: 1px solid #181818;
  border-radius: 14px;
  padding: 4px;
  box-shadow: 0 0 0 3px #ffffff02;
}
input[type="email"] {
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0 12px;
  font:
    400 14px Switzer,
    Arial,
    sans-serif;
  height: 40px;
  border-radius: 9px;
}
input::placeholder {
  color: #7c7c7c;
  opacity: 1;
}
button {
  height: 40px;
  min-width: 94px;
  flex-shrink: 0;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: #050505;
  font:
    500 16px Switzer,
    Arial,
    sans-serif;
  cursor: pointer;
  transition:
    box-shadow 0.2s,
    background 0.2s,
    transform 0.2s;
}
button:hover {
  background: #ececec;
  box-shadow: 0 0 16px #ffffff38;
}
button:active {
  transform: scale(0.97);
}
button:disabled {
  cursor: wait;
  background: #d4d4d4;
}
/* No underlines on links or buttons. */
a {
  text-decoration: none;
}
a:focus-visible,
input:focus-visible,
button:focus-visible {
  outline: 2px solid #b6daff;
  outline-offset: 3px;
}
.early-access {
  margin: 20px 0 0;
  color: #d0d0d0;
  font-size: 13px;
  letter-spacing: -0.025em;
  line-height: 22px;
}
#form-status {
  font-size: 13px;
  line-height: 1.4;
  margin: 12px auto 0;
  max-width: 340px;
  color: #d0d0d0;
}
#form-status:empty {
  display: none;
}
#form-status[data-state="error"] {
  color: #ffb9ad;
}
.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
/* The horizon light: a WebGL canvas along the bottom of the screen (see sky.js). */
#light {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 55svh;
  z-index: 1;
  pointer-events: none;
}
.no-script {
  font-size: 13px;
  color: #aaa;
}
@keyframes arrive {
  from {
    opacity: 0;
    translate: 0 50px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@media (min-width: 1000px) {
  .masthead {
    padding: 22px 36px;
    height: 74px;
  }
  .masthead img {
    width: 90px;
    height: 30px;
  }
  main {
    padding-top: 52px;
  }
  h1 {
    font-size: 56px;
  }
  .description {
    font-size: 17px;
    max-width: 410px;
  }
}
@media (max-width: 480px) {
  main {
    padding: 50px 20px 260px;
  }
  h1 {
    font-size: 40px;
  }
  .description {
    font-size: 15px;
    line-height: 1.3;
    max-width: 320px;
  }
  .desktop-break {
    display: none;
  }
}
@media (max-height: 650px) {
  main {
    padding-top: 22px;
    padding-bottom: 170px;
  }
  .early-access {
    margin-top: 14px;
  }
}

/* Join button: spinner while saving, a check when saved, a small shake when it fails. */
button[data-state="busy"]::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 8px;
  vertical-align: -1px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: join-spin 0.7s linear infinite;
}
button[data-state="done"] {
  background: #d9fbe9;
  color: #05301c;
}
button[data-state="done"]::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 10px;
  margin-right: 8px;
  vertical-align: 1px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  rotate: 45deg;
  animation: join-check 320ms cubic-bezier(0.23, 1, 0.32, 1) both;
}
button[data-state="error"] {
  animation: join-shake 360ms cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}
@keyframes join-spin {
  to {
    rotate: 360deg;
  }
}
@keyframes join-check {
  from {
    scale: 0;
    opacity: 0;
  }
}
@keyframes join-shake {
  20%,
  60% {
    translate: -4px 0;
  }
  40%,
  80% {
    translate: 4px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .intro,
  button,
  button::before,
  button::after {
    animation: none !important;
    transition: none !important;
  }
}
