* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  place-items: center;
  background: #f7f6f9;
  color: #241d2d;
  font:
    16px/1.5 "DM Sans",
    system-ui,
    sans-serif;
  padding: 24px;
}
main {
  width: 100%;
  max-width: 432px;
  padding: 36px;
  background: #fff;
  border: 1px solid #e4dfe8;
  border-radius: 18px;
  box-shadow: 0 12px 40px #30233b09;
}
header {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #33253d;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -1.3px;
  margin-bottom: 34px;
}
h1 {
  font-size: 32px;
  margin: 0;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -1.5px;
}
.intro {
  margin: 8px 0 25px;
  color: #655e6c;
}
input,
button {
  width: 100%;
  font: inherit;
  border: 1px solid #c9c3d0;
  border-radius: 8px;
  background: white;
  color: inherit;
  padding: 11px 13px;
}
button {
  font-weight: 650;
  cursor: pointer;
}
button:hover {
  border-color: #7750a8;
}
form + form { margin-top: 10px; }
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.divider {
  display: flex;
  align-items: center;
  color: #776e80;
  font-size: 13px;
  gap: 12px;
  margin: 18px 0;
}
.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5e0e8;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 650;
  margin: 14px 0 5px;
}
small {
  display: block;
  color: #655e6c;
  margin-top: 4px;
}
.primary {
  background: #6333c8;
  color: white;
  border-color: #6333c8;
  margin-top: 20px;
}
a {
  color: #6034ac;
  font-weight: 600;
}
.forgot {
  font-size: 14px;
  display: inline-block;
  margin-top: 9px;
}
footer {
  border-top: 1px solid #e5e0e8;
  padding-top: 18px;
  margin-top: 24px;
  font-size: 14px;
}
#status:not(:empty) {
  font-size: 14px;
  padding: 10px 12px;
  background: #f3effa;
  border-radius: 8px;
}
:focus-visible {
  outline: 3px solid #8962cf;
  outline-offset: 2px;
}
@media (max-width: 480px) {
  body {
    padding: 14px;
  }
  main {
    padding: 25px;
  }
}
