:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #242b3b;
  background: #f6f7f9;
  color-scheme: light dark;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
}
main {
  width: min(100%, 420px);
  padding: 36px;
  background: #fff;
  border: 1px solid #e3e6ec;
  border-radius: 18px;
  box-shadow: 0 14px 50px #16253b09;
}
.mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: #285ee9;
  border-radius: 12px;
  color: white;
  font-size: 30px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 1.5px;
  margin: 28px 0 8px;
  color: #737c8e;
}
h1 {
  font-size: 40px;
  letter-spacing: -1.7px;
  margin: 0;
}
.intro {
  font-size: 16px;
  line-height: 1.5;
  color: #737c8e;
  margin: 14px 0 28px;
}
label {
  font-size: 14px;
  font-weight: 600;
  display: block;
  margin-bottom: 9px;
}
input,
button {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border-radius: 8px;
}
input {
  border: 1px solid #d2d9e5;
  background: #f6f7f9;
  color: inherit;
}
input:focus {
  outline: 3px solid #a9c0ff;
  outline-offset: 2px;
}
button {
  margin-top: 14px;
  background: #285ee9;
  color: white;
  border: 0;
  font-weight: 600;
  cursor: pointer;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.note {
  font-size: 13px;
  line-height: 1.5;
  color: #737c8e;
  margin: 22px 0 0;
}
#error {
  font-size: 14px;
  color: #bd3434;
  line-height: 1.5;
  margin-bottom: 0;
}
@media (prefers-color-scheme: dark) {
  :root {
    color: #e1e6f0;
    background: #15181f;
  }
  main {
    background: #1e232d;
    border-color: #303744;
  }
  input {
    background: #15181f;
    border-color: #414b5e;
  }
  .intro,
  .note,
  .eyebrow {
    color: #a0aabe;
  }
  #error {
    color: #ff9696;
  }
}
