:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0e1218;
  color: #f3f5f7;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 20% 10%, #26364f 0, transparent 40%),
    radial-gradient(circle at 85% 90%, #3d2532 0, transparent 38%),
    #0e1218;
}

.card {
  width: min(100%, 430px);
  padding: 34px;
  border: 1px solid #37404d;
  border-radius: 18px;
  background: rgba(18, 23, 31, 0.94);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

.eyebrow {
  margin: 0 0 10px;
  color: #74a7ff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 8vw, 3rem);
  line-height: 1;
}

.intro {
  color: #aeb7c5;
  line-height: 1.5;
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 26px 0 22px;
  padding: 4px;
  border-radius: 11px;
  background: #090c11;
}

.tabs button,
.submit {
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.tabs button {
  padding: 10px 8px;
  color: #9da8b7;
  background: transparent;
}

.tabs button.active {
  color: #fff;
  background: #283241;
}

form,
label {
  display: grid;
  gap: 8px;
}

form {
  gap: 16px;
}

label {
  color: #cfd5dd;
  font-size: 0.9rem;
  font-weight: 650;
}

input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #465161;
  border-radius: 8px;
  outline: none;
  color: #fff;
  background: #0b0f15;
  font: inherit;
}

input:focus {
  border-color: #74a7ff;
  box-shadow: 0 0 0 3px rgba(116, 167, 255, 0.16);
}

.error {
  min-height: 1.25em;
  margin: -2px 0 0;
  color: #ff8b95;
  font-size: 0.9rem;
}

.submit {
  min-height: 48px;
  color: #07101c;
  background: #74a7ff;
}

.submit:disabled {
  cursor: wait;
  opacity: 0.6;
}

@media (max-width: 520px) {
  body {
    padding: 14px;
  }

  .card {
    padding: 26px 20px;
  }
}
