.login-layout {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: #fff;
}
.login-story {
  background: #edf3ff;
  position: relative;
  padding: 42px 10%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}
.login-wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #17365e;
  font-weight: 750;
  letter-spacing: -0.04em;
  font-size: 1.6rem;
  text-decoration: none;
}
.login-brand-mark {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  background: #2457d6;
  color: #fff;
  border-radius: 12px 12px 12px 3px;
  font-size: 1.8rem;
  font-weight: 750;
  line-height: 1;
  font-family: system-ui;
}
.login-story-content {
  margin-top: auto;
  margin-bottom: auto;
  padding: 60px 0 140px;
  position: relative;
  z-index: 1;
}
.login-kicker {
  color: #375c92;
  font-size: 1.05rem;
  margin-bottom: 20px;
}
.login-story h1 {
  font-size: clamp(2.8rem, 4.7vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
  color: #17365e;
  max-width: 600px;
  margin-bottom: 26px;
}
.login-story-content > p:last-child {
  color: #456183;
  font-size: 1.08rem;
  line-height: 1.65;
}
.login-story-foot {
  color: #5e7491;
  font-size: 0.82rem;
}
.login-receipt {
  position: absolute;
  right: -15px;
  bottom: 75px;
  width: 260px;
  height: 210px;
  transform: rotate(-9deg);
  border: 1px solid #d7e4f8;
  box-shadow: 0 15px 45px #123c6920;
  background: #fff;
  padding: 25px 27px;
  clip-path: polygon(
    0 0,
    100% 0,
    100% 95%,
    95% 100%,
    90% 95%,
    85% 100%,
    80% 95%,
    75% 100%,
    70% 95%,
    65% 100%,
    60% 95%,
    55% 100%,
    50% 95%,
    45% 100%,
    40% 95%,
    35% 100%,
    30% 95%,
    25% 100%,
    20% 95%,
    15% 100%,
    10% 95%,
    5% 100%,
    0 95%
  );
}
.login-receipt-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: #637c96;
}
.login-receipt strong {
  display: block;
  font-size: 1.7rem;
  letter-spacing: -0.04em;
  margin-top: 14px;
}
.login-receipt-line {
  height: 6px;
  border-radius: 3px;
  background: #eaf0f8;
  width: 140px;
  margin-top: 18px;
}
.login-receipt-line.short {
  width: 85px;
  margin-top: 8px;
}
.login-receipt-seal {
  position: absolute;
  right: 25px;
  bottom: 43px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e8f5ef;
  color: #18755b;
  font-size: 1.6rem;
  width: 44px;
  height: 44px;
}
.login-access {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 45px;
  position: relative;
}
.login-form-wrap {
  width: min(100%, 390px);
}
.login-form-wrap h2 {
  font-size: 2rem;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}
.login-form-wrap > p {
  margin-bottom: 34px;
}
.login-form-wrap form {
  display: grid;
  gap: 22px;
}
.login-password {
  position: relative;
  display: block;
}
.login-password input {
  padding-right: 56px;
  height: 50px;
}
.login-password button {
  position: absolute;
  right: 2px;
  top: 3px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #708297;
  border-radius: 7px;
}
.login-form-wrap input {
  min-height: 50px;
}
.login-submit {
  width: 100%;
  min-height: 50px;
  margin-top: 2px;
}
.login-help {
  margin-top: 26px;
  font-size: 0.84rem;
  color: #6d7d8e;
  line-height: 1.7;
}
.login-footer {
  position: absolute;
  bottom: 25px;
  color: #788797;
  font-size: 0.75rem;
}
.login-mobile-brand {
  display: none;
}
.login-form-wrap .form-error {
  margin: 0;
}
@media (max-width: 900px) {
  .login-story {
    padding: 35px 8%;
  }
  .login-story h1 {
    font-size: 3.6rem;
  }
  .login-receipt {
    width: 220px;
    right: -30px;
  }
  .login-access {
    padding: 40px 28px;
  }
}
@media (max-width: 650px) {
  .login-layout {
    display: block;
    min-height: 100dvh;
  }
  .login-story {
    display: none;
  }
  .login-access {
    min-height: 100dvh;
    justify-content: flex-start;
    align-items: stretch;
    padding: 40px 24px 90px;
    background: #f9fbff;
  }
  .login-form-wrap {
    margin: 0 auto;
  }
  .login-mobile-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 66px;
    font-size: 1.4rem;
    letter-spacing: -0.04em;
  }
  .login-mobile-brand .login-brand-mark {
    width: 36px;
    height: 36px;
    font-size: 1.6rem;
  }
  .login-form-wrap h2 {
    font-size: 1.9rem;
  }
  .login-footer {
    left: 24px;
    right: 24px;
    text-align: center;
  }
  .login-form-wrap > p {
    margin-bottom: 28px;
  }
  .login-form-wrap form {
    gap: 23px;
  }
  .login-help {
    margin-top: 28px;
  }
}
