.login-page {
  min-height: 100vh;
  background: var(--paper);
}

.login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
}

.login-panel {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(35px, 6vw, 82px);
  overflow: hidden;
  background: var(--deep);
  color: white;
}

.login-panel::before {
  content: "";
  width: 620px;
  height: 620px;
  position: absolute;
  right: -300px;
  top: -240px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(255,255,255,.025), 0 0 0 180px rgba(255,255,255,.016);
}

.login-brand { position: relative; color: white; }
.login-brand .brand-mark { background: var(--lime); color: var(--deep); }
.login-brand .brand-word span { color: var(--lime); }
.login-copy { position: relative; max-width: 680px; padding: 80px 0; }
.login-copy h1 { max-width: 720px; margin: 0 0 27px; font-size: clamp(48px, 5.5vw, 78px); font-weight: 560; line-height: .98; letter-spacing: -.06em; }
.login-copy > p:not(.section-label) { max-width: 600px; color: #bcd0c9; font-size: 15px; }
.login-feature { display: flex; align-items: center; gap: 12px; margin-top: 17px; color: #d9e6e2; font-size: 12px; font-weight: 650; }
.login-feature i { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--deep); font-size: 10px; font-style: normal; }
.login-footer { position: relative; margin: 0; color: #718b82; font-size: 9px; font-weight: 750; letter-spacing: .12em; }

.login-form-wrap { display: grid; place-items: center; padding: 40px; }
.login-form { width: min(480px, 100%); padding: clamp(30px, 5vw, 52px); border: 1px solid var(--line); border-radius: 13px; background: white; box-shadow: var(--shadow); }
.login-kicker { color: var(--green); font-size: 9px; font-weight: 850; letter-spacing: .16em; }
.login-form h2 { margin: 13px 0 8px; font-size: 39px; }
.login-form > p { margin-bottom: 29px; font-size: 12px; }
.login-form label { display: block; margin: 18px 0 8px; font-size: 11px; font-weight: 750; }
.login-form input { width: 100%; height: 52px; padding: 0 15px; border: 1px solid var(--line); border-radius: 7px; outline: none; background: var(--paper); color: var(--ink); font-size: 13px; }
.login-form input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(22,117,93,.10); }
.password-field { position: relative; }
.password-field input { padding-right: 62px; }
.password-field button { position: absolute; right: 9px; top: 8px; height: 36px; padding: 0 9px; border: 0; background: transparent; color: var(--green); font-size: 10px; font-weight: 800; cursor: pointer; }
.login-submit { width: 100%; margin-top: 25px; border: 0; cursor: pointer; }
.login-form > small { display: block; margin-top: 14px; color: #81918b; text-align: center; font-size: 9px; }
.login-error { padding: 12px 14px; border-left: 3px solid #cc553e; border-radius: 5px; background: #fff0ec; color: #a53e2b; font-size: 11px; font-weight: 650; }
.client-logout { position: fixed; right: 22px; bottom: 78px; z-index: 61; padding: 11px 15px; border-radius: 30px; background: var(--deep); color: white; box-shadow: var(--shadow); font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.client-logout:hover { background: var(--green); }

@media (max-width: 850px) {
  .login-shell { grid-template-columns: 1fr; }
  .login-panel { min-height: auto; padding: 35px 28px 55px; }
  .login-copy { padding: 65px 0 35px; }
  .login-copy h1 { font-size: clamp(46px, 10vw, 68px); }
  .login-footer { display: none; }
  .login-form-wrap { padding: 45px 20px; }
}

@media (max-width: 520px) {
  .login-panel { padding: 28px 20px 48px; }
  .login-copy { padding-top: 55px; }
  .login-copy h1 { font-size: 45px; }
  .login-form-wrap { padding: 28px 14px; }
  .login-form { padding: 30px 20px; }
  .login-form h2 { font-size: 33px; }
}
