:root {
  --bg: #031129;
  --panel: rgba(7, 20, 46, 0.78);
  --panel-border: rgba(162, 196, 236, 0.2);
  --text: #edf4ff;
  --muted: #bfd0e9;
  --accent: #81bfff;
  --accent-strong: #9fd1ff;
  --danger: #ffb3b3;
  --success: #bceecb;
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

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

body {
  background:
    radial-gradient(circle at 12% 18%, rgba(93, 159, 255, 0.22), transparent 34%),
    radial-gradient(circle at 88% 20%, rgba(44, 100, 196, 0.28), transparent 30%),
    linear-gradient(180deg, #06152f 0%, #031129 52%, #020b19 100%);
  color: var(--text);
  font-family: "Manrope", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.04), transparent 28%),
    linear-gradient(300deg, rgba(129, 191, 255, 0.08), transparent 25%);
}

.page-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

.hero-card {
  width: min(720px, 100%);
  padding: clamp(1.8rem, 4vw, 3rem);
  border: 1px solid var(--panel-border);
  border-radius: 28px;
  background: var(--panel);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--accent);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 800;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.intro {
  margin: 1rem 0 0;
  max-width: 56ch;
  color: var(--muted);
  line-height: 1.7;
}

.signup-form {
  margin-top: 2rem;
  display: grid;
  gap: 1.2rem;
}

.field {
  display: grid;
  gap: 0.5rem;
}

.field label {
  font-size: 0.95rem;
  font-weight: 700;
}

.field input,
.field select {
  width: 100%;
  border: 1px solid rgba(170, 202, 240, 0.24);
  border-radius: 16px;
  background: rgba(8, 21, 46, 0.92);
  color: var(--text);
  padding: 0.98rem 1rem;
  font: inherit;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.field input::placeholder {
  color: rgba(191, 208, 233, 0.72);
}

.field input:focus,
.field select:focus {
  border-color: rgba(129, 191, 255, 0.8);
  box-shadow: 0 0 0 4px rgba(129, 191, 255, 0.16);
}

.field.is-invalid input,
.field.is-invalid select {
  border-color: rgba(255, 179, 179, 0.88);
  box-shadow: 0 0 0 4px rgba(255, 179, 179, 0.12);
}

.hint {
  margin: 0;
  color: rgba(191, 208, 233, 0.76);
  font-size: 0.85rem;
}

.field.is-invalid .hint {
  color: var(--danger);
}

.status {
  min-height: 1.4rem;
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.status.is-error {
  color: var(--danger);
}

.status.is-success {
  color: var(--success);
}

.submit-button {
  justify-self: start;
  border: 0;
  border-radius: 999px;
  padding: 0.96rem 1.5rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #031129;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(81, 140, 214, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.submit-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

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

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 640px) {
  .page-shell {
    padding: 1rem;
  }

  .hero-card {
    border-radius: 22px;
    padding: 1.35rem;
  }

  .submit-button {
    width: 100%;
    justify-self: stretch;
  }
}
