:root {
  font-family: "Inter", system-ui, sans-serif;
  color: #f5f5ff;
  background: #111020;
  color-scheme: dark;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  padding: 24px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 18% 10%, #312453, transparent 50%),
    radial-gradient(ellipse at 90% 90%, #202747, transparent 52%),
    #111020;
}

.card {
  width: min(100%, 440px);
  padding: clamp(24px, 7vw, 44px);
  border: 1px solid #41405c;
  border-radius: 28px;
  background: linear-gradient(150deg, #22213a, #18182b);
  box-shadow: 0 24px 72px #09081599;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 34px;
  font-weight: 700;
  letter-spacing: .04em;
}

.mark {
  width: 23px;
  height: 23px;
  border-radius: 8px 8px 8px 3px;
  background: linear-gradient(135deg, #e0caff, #a684fb);
}

h1 {
  margin: 0;
  font-size: clamp(1.9rem, 6vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.intro { margin: 12px 0 0; color: #c6c3db; line-height: 1.55; }
form { margin-top: 28px; }
label { display: block; margin: 0 0 8px; font-size: .92rem; font-weight: 650; }

input, button {
  width: 100%;
  min-height: 50px;
  border-radius: 12px;
  font: inherit;
}

input {
  margin-bottom: 19px;
  padding: 10px 14px;
  border: 1px solid #565471;
  background: #131324;
  color: inherit;
}

button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 5px;
  padding: 10px 16px;
  border: 0;
  background: #c4aaff;
  color: #1f123a;
  font-weight: 750;
  cursor: pointer;
}

button:hover { background: #dccbff; }
:focus-visible { outline: 3px solid #d7bbff; outline-offset: 3px; }

.error {
  margin: 20px 0 0;
  padding: 10px 13px;
  border: 1px solid #926079;
  border-radius: 10px;
  background: #482941;
  color: #ffd4e6;
}

.welcome { text-align: center; }
.welcome .brand { justify-content: center; }

.check {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border: 1px solid #8267b6;
  border-radius: 22px;
  background: #382957;
  color: #e2cdff;
  font-size: 28px;
}
