:root {
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
  color: #172e49;
  background: #f4f7fb;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
main {
  width: min(100%, 520px);
  padding: 40px;
  background: white;
  border: 1px solid #e0e7f0;
  border-radius: 24px;
  box-shadow: 0 12px 48px #1836530a;
}
.brand {
  font-size: 19px;
  font-weight: 750;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.brand span {
  font-size: 10px;
  letter-spacing: 1px;
  background: #eaf2ff;
  color: #275fba;
  padding: 6px 9px;
  border-radius: 6px;
}
h1 {
  font-size: 36px;
  letter-spacing: -1px;
  line-height: 1.15;
  margin: 32px 0 18px;
}
p {
  color: #52677f;
  font-size: 15px;
  line-height: 1.6;
}
form {
  margin-top: 26px;
}
label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
}
input,
button {
  width: 100%;
  font: inherit;
  border-radius: 10px;
  padding: 13px 16px;
}
input {
  border: 1px solid #b8c7d8;
}
input:focus {
  outline: 3px solid #c4dbff;
  border-color: #316bcc;
}
button {
  margin-top: 14px;
  background: #2865c7;
  color: white;
  border: 0;
  font-weight: 650;
  cursor: pointer;
}
button:disabled {
  opacity: 0.6;
}
button:focus-visible {
  outline: 3px solid #99bfff;
  outline-offset: 3px;
}
aside {
  border-top: 1px solid #e4ebf3;
  padding-top: 20px;
  margin-top: 24px;
}
aside b {
  font-size: 13px;
}
aside p {
  font-size: 13px;
  margin-bottom: 0;
}
#error {
  color: #b12638;
  font-size: 14px;
  min-height: 0;
}
#error:empty {
  display: none;
}
@media (max-width: 540px) {
  main {
    padding: 26px;
  }
  h1 {
    font-size: 30px;
  }
  body {
    padding: 16px;
  }
}
