:root {
  --night: #091018;
  --ink: #f4f7f8;
  --muted: rgba(232, 240, 244, 0.72);
  --line: rgba(255, 255, 255, 0.28);
  --teal: #2ee0c6;
  --teal-deep: #083042;
  --danger: #ffb4a8;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Outfit", sans-serif;
  background: var(--night);
}

.sky {
  min-height: 100%;
  display: flex;
  justify-content: center;
  padding: 2.25rem 1.1rem 2.75rem;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 42% at 50% 118%, rgba(231, 177, 90, 0.28), transparent 58%),
    radial-gradient(ellipse 36% 28% at 78% 8%, rgba(148, 178, 214, 0.16), transparent 72%),
    linear-gradient(#10192a, #091018 46%, #14110e);
}

.sky::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1.2px 1.2px at 14% 22%, rgba(255, 255, 255, 0.75) 50%, transparent 52%),
    radial-gradient(1px 1px at 27% 12%, rgba(255, 255, 255, 0.45) 50%, transparent 52%),
    radial-gradient(1.2px 1.2px at 63% 18%, rgba(255, 255, 255, 0.6) 50%, transparent 52%),
    radial-gradient(1px 1px at 81% 28%, rgba(255, 255, 255, 0.4) 50%, transparent 52%),
    radial-gradient(1px 1px at 48% 8%, rgba(255, 255, 255, 0.35) 50%, transparent 52%),
    radial-gradient(1.4px 1.4px at 88% 12%, rgba(255, 255, 255, 0.7) 50%, transparent 52%);
}

.sky::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16vh;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(231, 177, 90, 0.85), transparent);
  pointer-events: none;
}

.stage {
  position: relative;
  z-index: 1;
  width: min(100%, 23.5rem);
  margin: auto;
}

h1,
.lede {
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  line-height: 1.45;
  text-align: center;
}

h1 {
  margin: 0 0 1.15rem;
}

.screen {
  position: relative;
  width: 100%;
  border-radius: 1.7rem;
  overflow: hidden;
  background: #0a1d2d;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.48);
}

.screen img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent);
  mask-image: linear-gradient(to bottom, #000 82%, transparent);
}

.art {
  aspect-ratio: 472 / 585;
}

.sheet {
  position: relative;
  padding: 0 1.15rem 1.05rem;
}

.lede,
.fine,
.success p {
  color: var(--muted);
  line-height: 1.45;
}

.lede {
  margin: 0 0 1.6rem;
  color: #fff;
}

.field {
  display: block;
  margin-bottom: 0.35rem;
  color: rgba(244, 247, 248, 0.78);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

input[type="email"] {
  width: 100%;
  margin-bottom: 0.8rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(4, 16, 28, 0.35);
  color: #fff;
  font: inherit;
  font-size: 1rem;
}

input[type="email"]::placeholder {
  color: rgba(232, 240, 244, 0.45);
}

input[type="email"]:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  border-color: transparent;
}

.check {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.9rem;
  font-size: 0.95rem;
  cursor: pointer;
}

.check input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--teal);
}

button {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.2rem;
  background: var(--teal);
  color: var(--teal-deep);
  font-family: "Montserrat", sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}

button:hover {
  background: #49ebda;
}

button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.status {
  min-height: 1.15rem;
  margin: 0.55rem 0 0;
  color: var(--danger);
  font-size: 0.88rem;
  text-align: center;
}

.success h2 {
  margin: 0 0 0.35rem;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: center;
}

.success p {
  margin: 0;
  text-align: center;
}

.fine {
  margin: 0.85rem 0 0;
  font-size: 0.75rem;
  text-align: center;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 420px) {
  .sheet {
    padding: 0 0.95rem 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
  }
}
