:root {
  font-family: system-ui, sans-serif;
  color: #14223b;
  background: #f5f7fb;
  font-size: 16px;
}
body {
  margin: 0;
}
main {
  max-width: 620px;
  margin: 48px auto;
  background: white;
  border: 1px solid #e0e4ef;
  border-radius: 16px;
  padding: 40px;
}
.logo {
  width: 155px;
  height: auto;
}
h1 {
  font-size: 30px;
  letter-spacing: -0.8px;
  margin-top: 30px;
}
p {
  line-height: 1.6;
  color: #40506b;
}
a {
  color: #140099;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 30px 0;
}
legend {
  font-weight: 650;
  font-size: 18px;
}
label {
  display: block;
  margin: 20px 0 8px;
}
input[type="password"] {
  display: block;
  box-sizing: border-box;
  width: 100%;
  padding: 13px;
  border: 1px solid #aab6ca;
  border-radius: 7px;
  margin-top: 8px;
  font: inherit;
}
input:focus {
  outline: 3px solid #c9c3f5;
}
.scope {
  display: flex;
  gap: 10px;
  line-height: 1.5;
}
.scope input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}
.notice {
  background: #f4f2ff;
  border-left: 3px solid #19009d;
  padding: 14px 18px;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
button,
.button {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 7px;
  border: 1px solid #17009f;
  background: #17009f;
  color: white;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}
.secondary {
  color: #17009f;
  background: white;
}
footer {
  margin-top: 35px;
  font-size: 14px;
  color: #63728a;
}
footer a {
  color: inherit;
}
@media (max-width: 660px) {
  main {
    margin: 0;
    padding: 25px 20px;
    border-radius: 0;
    border: 0;
    min-height: 100vh;
    box-sizing: border-box;
  }
}
