:root {
  --bg-a: #07162f;
  --bg-b: #083f52;
  --bg-c: #0f6070;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.88);
  --field-bg: rgba(255, 255, 255, 0.14);
  --field-border: rgba(255, 255, 255, 0.28);
  --shadow: rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg-a);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background-color: #082844;
}

.hero-content {
  width: min(900px, calc(100% - 2rem));
  padding: 2rem;
  text-align: center;
}

.rocket {
  width: clamp(3.25rem, 7vw, 4.7rem);
  height: auto;
  margin-bottom: 1.25rem;
  color: #fff;
  filter: drop-shadow(0 0.75rem 1.4rem var(--shadow));
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 5.9rem);
  line-height: 0.95;
  font-weight: 800;
  text-wrap: balance;
  text-shadow: 0 0.9rem 1.8rem rgba(0, 0, 0, 0.2);
}

.tagline {
  width: min(760px, 100%);
  margin: 1.6rem auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.33rem);
  line-height: 1.6;
  text-wrap: balance;
}

.signup-form {
  width: min(560px, 100%);
  margin: 2.25rem auto 0;
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.signup-form input,
.signup-form button {
  min-height: 3.25rem;
  border-radius: 999px;
  font: inherit;
}

.signup-form input {
  flex: 1 1 auto;
  min-width: 0;
  border: 1px solid var(--field-border);
  padding: 0 1.15rem;
  color: var(--text);
  background: var(--field-bg);
  outline: none;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.12) inset;
}

.signup-form input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.signup-form input:focus-visible {
  border-color: rgba(255, 255, 255, 0.86);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.15);
}

.signup-form button {
  flex: 0 0 auto;
  border: 0;
  padding: 0 1.45rem;
  color: #062037;
  background: #fff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.signup-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 1.2rem 2.3rem rgba(0, 0, 0, 0.28);
}

.signup-form button:active {
  transform: translateY(0);
}

.form-message {
  min-height: 1.4rem;
  margin: 0.9rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.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: 620px) {
  .hero-content {
    padding: 1.25rem;
  }

  .signup-form {
    flex-direction: column;
  }

  .signup-form button,
  .signup-form input {
    width: 100%;
  }
}
