:root {
  color-scheme: dark;
  --black: #000;
  --white: #f7f8fb;
  --muted: #9ba2ae;
  --line: #343943;
  --blue: #3189ff;
  --red: #ff4a52;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--black);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 10%, rgb(23 91 181 / 10%), transparent 31rem),
    var(--black);
  color: var(--white);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

button,
input {
  font: inherit;
}

.launch-shell {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: clamp(1.5rem, 4vw, 3.5rem) 1.25rem;
}

.launch-card {
  width: min(100%, 74rem);
  min-width: 0;
  overflow: hidden;
  text-align: center;
}

.rocket {
  display: block;
  width: min(100%, 57rem);
  height: clamp(15rem, 42vw, 31rem);
  margin: -2rem auto -6.8rem;
  object-fit: cover;
  object-position: center 19%;
  pointer-events: none;
  user-select: none;
  filter: saturate(0.94) contrast(1.04);
  -webkit-mask-image: linear-gradient(to bottom, #000 57%, transparent 94%);
  mask-image: linear-gradient(to bottom, #000 57%, transparent 94%);
}

.launch-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: #dfe3e9;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(1rem, 2.25vw, 1.75rem);
  letter-spacing: -0.045em;
}

h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2.45rem, 8vw, 7.6rem);
  font-style: italic;
  font-weight: 950;
  letter-spacing: -0.085em;
  line-height: 0.86;
  text-transform: uppercase;
}

h1 span {
  color: var(--white);
}

h1 em {
  color: var(--blue);
  font-style: inherit;
}

.intro {
  max-width: 35rem;
  margin: clamp(1.35rem, 3vw, 2rem) auto 1.4rem;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  line-height: 1.6;
}

.signup {
  width: min(100%, 34rem);
  margin: 0 auto;
}

.signup-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
}

input,
button {
  min-height: 3.35rem;
  border-radius: 0.55rem;
}

input {
  width: 100%;
  border: 1px solid var(--line);
  outline: none;
  background: #0b0c0f;
  color: var(--white);
  padding: 0 1rem;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

input::placeholder {
  color: #747b86;
}

input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgb(49 137 255 / 18%);
}

button {
  border: 1px solid #fff;
  background: var(--white);
  color: #050505;
  padding: 0 1.35rem;
  font-weight: 760;
  cursor: pointer;
  transition:
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

button:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: translateY(-1px);
}

button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.form-note,
.form-status {
  margin: 0.7rem 0 0;
  color: #686f79;
  font-size: 0.78rem;
}

.form-status {
  min-height: 1.2rem;
  color: var(--white);
}

.form-status[data-state="error"] {
  color: #ff7a80;
}

.trap,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 600px) {
  .launch-shell {
    padding-inline: 1rem;
  }

  .rocket {
    width: 42rem;
    max-width: none;
    height: 22rem;
    margin: -2rem 0 -5.6rem 50%;
    transform: translateX(-50%);
  }

  h1 {
    letter-spacing: -0.07em;
  }

  .signup-row {
    grid-template-columns: 1fr;
  }

  button {
    width: 100%;
  }
}

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