* {
  box-sizing: border-box;
}

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

body {
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #020305;
  color: #fff;
}

button,
input {
  font: inherit;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgb(0 0 0 / 72%), rgb(0 0 0 / 38%), rgb(0 0 0 / 8%)),
    image-set(
      url("./assets/manifold-bg.webp") type("image/webp"),
      url("./assets/manifold-bg.png") type("image/png")
    )
    center / cover no-repeat,
    #020305;
}

.scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 48% 54%, transparent 0 34%, rgb(0 0 0 / 28%) 72%),
    linear-gradient(0deg, rgb(0 0 0 / 15%), rgb(0 0 0 / 4%));
}

.content {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 2.5rem clamp(1.5rem, 5vw, 6rem);
}

.brand-card,
.signup-card {
  border: 1px solid rgb(255 255 255 / 15%);
  background: rgb(255 255 255 / 5%);
  box-shadow: 0 24px 80px rgb(0 0 0 / 45%);
  backdrop-filter: blur(18px);
}

.brand-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  padding: 1rem;
}

.brand-card img {
  display: block;
  width: auto;
  height: clamp(8rem, 12vw, 11rem);
  filter: brightness(1.5) contrast(1.1);
  user-select: none;
}

.signup-wrap {
  position: absolute;
  left: clamp(1.5rem, 6vw, 7.5rem);
  right: 1.5rem;
  bottom: 2.5rem;
}

.signup-card {
  max-width: 34.5rem;
  border-radius: 1rem;
  padding: clamp(2rem, 3vw, 2.5rem);
}

.eyebrow {
  margin: 0;
  color: rgb(255 255 255 / 62%);
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1 {
  margin: 0.85rem 0 0;
  color: #fff;
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: 0;
}

.lede {
  margin: 1.45rem 0 0;
  color: rgb(255 255 255 / 76%);
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  line-height: 1.7;
}

.notify-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 2rem;
}

.notify-form input,
.notify-form button {
  min-height: 2.9rem;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 0.5rem;
  color: #fff;
  background: rgb(255 255 255 / 7%);
  outline: none;
  backdrop-filter: blur(12px);
}

.notify-form input {
  min-width: 0;
  flex: 1 1 auto;
  padding: 0.75rem 1rem;
}

.notify-form input::placeholder {
  color: rgb(255 255 255 / 42%);
}

.notify-form input:focus {
  border-color: rgb(255 255 255 / 42%);
  background: rgb(255 255 255 / 11%);
}

.notify-form button {
  flex: 0 0 auto;
  padding: 0.75rem 1.35rem;
  font-weight: 650;
  cursor: pointer;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    opacity 160ms ease;
}

.notify-form button:hover,
.notify-form button:focus-visible {
  border-color: rgb(255 255 255 / 32%);
  background: rgb(255 255 255 / 18%);
}

.notify-form button:disabled {
  cursor: default;
  opacity: 0.65;
}

.form-message {
  min-height: 1.25rem;
  margin: 1rem 0 0;
  color: rgb(255 255 255 / 78%);
  font-size: 0.9rem;
}

.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: 720px) {
  .content {
    display: flex;
    min-height: 100svh;
    flex-direction: column;
    gap: 2rem;
    padding: 1.25rem;
  }

  .brand-card {
    align-self: flex-start;
    padding: 0.85rem;
  }

  .brand-card img {
    height: 6.5rem;
  }

  .signup-wrap {
    position: relative;
    inset: auto;
    margin-top: auto;
  }

  .signup-card {
    padding: 1.5rem;
  }

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

  .notify-form button {
    width: 100%;
  }
}
