* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  background: #e5e8e2;
  color: #202820;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
}
main {
  width: min(414px, 100%);
  min-height: min(820px, 100dvh);
  padding: 48px 32px 36px;
  background: #f7f7f2;
  border-radius: 24px;
}
.brand {
  font-size: 21px;
  font-weight: 600;
}
.brand span {
  font-size: 11px;
  font-weight: 400;
  color: #838c7e;
  margin-left: 8px;
}
.wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 64px;
  height: 64px;
  background: #e1ecd9;
  border-radius: 22px;
  margin: 62px 0 30px;
  transform: rotate(-7deg);
}
.wave i {
  width: 4px;
  height: 14px;
  border-radius: 4px;
  background: #386944;
}
.wave i:nth-child(2n) {
  height: 25px;
}
.wave i:nth-child(3) {
  height: 36px;
}
h1 {
  font-size: 38px;
  letter-spacing: -1.5px;
  line-height: 1.3;
  margin: 0 0 18px;
}
p,
small {
  color: #7a8179;
  font-size: 14px;
  line-height: 1.9;
}
form {
  margin: 32px 0 24px;
}
label {
  display: block;
  font-size: 12px;
  color: #687464;
  margin-bottom: 8px;
}
input,
button {
  font: inherit;
  width: 100%;
  border-radius: 10px;
  padding: 14px;
  border: 1px solid #d9dfd4;
}
input {
  font-size: 18px;
  background: white;
  outline-color: #386944;
}
button {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  background: #254d35;
  border: 0;
  color: white;
  font-size: 16px;
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
}
small {
  font-size: 11px;
}
#error {
  min-height: 24px;
  color: #b1463e;
  font-size: 12px;
  margin-top: 10px;
}
@media (max-width: 440px) {
  body {
    background: #f7f7f2;
  }
  main {
    border-radius: 0;
  }
}

@media (display-mode: standalone), (display-mode: fullscreen) {
  body {
    background: #f7f7f2;
  }
  main {
    min-height: 100dvh;
    border-radius: 0;
    padding-top: calc(40px + env(safe-area-inset-top, 0px));
    padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  }
}
