:root {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #173c30;
  background: #0f3b2f;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
  touch-action: manipulation;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid #bf1260;
  outline-offset: 4px;
}
.login-layout {
  width: min(1080px, calc(100% - 80px));
  margin: auto;
  padding: 62px 0 36px;
  display: grid;
  grid-template-columns: 1fr 440px;
  align-items: center;
  gap: 90px;
}
.login-brand {
  color: #fff;
  align-self: stretch;
  display: flex;
  flex-direction: column;
}
.login-logo {
  width: 170px;
  height: auto;
  filter: brightness(0) invert(1);
  display: block;
}
.login-brand-copy {
  margin: auto 0;
  padding: 48px 0;
}
.login-eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  color: #a7dcc5;
  display: flex;
  align-items: center;
  gap: 10px;
}
.login-eyebrow span {
  width: 6px;
  height: 6px;
  background: #ff2e8b;
  border-radius: 50%;
  flex-shrink: 0;
}
h1 {
  font-size: clamp(38px, 4.2vw, 56px);
  font-weight: 650;
  letter-spacing: -2px;
  line-height: 1.12;
  margin: 25px 0;
}
.brand-period {
  color: #a7dcc5;
}
.login-brand-copy > p:last-child {
  color: #c5e4d7;
  font-size: 16px;
  line-height: 1.8;
}
.login-brand-footer {
  color: #a7dcc5;
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
}
.login-card {
  background: #fff;
  padding: 40px 38px 30px;
  border-radius: 18px;
  box-shadow: 0 24px 60px #031b2026;
  border-top: 3px solid #a7dcc5;
}
.login-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 44px;
  background: #edf7f1;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}
.login-card-eyebrow {
  margin: 26px 0 8px;
  font-size: 10px;
  letter-spacing: 2px;
  color: #5c766a;
  font-weight: 650;
}
h2 {
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.8px;
  margin: 0 0 12px;
}
.login-intro {
  font-size: 14px;
  color: #5c7368;
  margin: 0 0 30px;
  line-height: 1.6;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 9px;
}
input {
  width: 100%;
  min-height: 50px;
  border: 1px solid #bccfc5;
  border-radius: 8px;
  color: #173c30;
  background: #fff;
  padding: 12px 14px;
  font-size: 16px;
}
input::placeholder {
  color: #6b8075;
  font-size: 14px;
}
#login-email {
  margin-bottom: 23px;
}
.password-control {
  position: relative;
}
.password-control input {
  padding-right: 80px;
}
.password-control button {
  position: absolute;
  top: 4px;
  right: 4px;
  min-height: 42px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  color: #345d4b;
  padding: 0 10px;
}
.password-control button:hover {
  background: #edf7f1;
}
.login-submit {
  width: 100%;
  min-height: 51px;
  margin-top: 25px;
  padding: 13px 17px;
  border: 0;
  border-radius: 8px;
  background: #0f3b2f;
  color: white;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.login-submit:hover {
  background: #174e3f;
}
.login-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}
.login-error {
  font-size: 13px;
  line-height: 1.5;
  padding: 11px 12px;
  border-radius: 7px;
  color: #8e183f;
  background: #fff1f6;
  border-left: 3px solid #ff2e8b;
  margin: 18px 0 0;
}
.login-status {
  color: #4b6859;
  font-size: 12px;
  min-height: 16px;
  margin: 9px 0 0;
}
.login-private {
  font-size: 11px;
  color: #5f786b;
  border-top: 1px solid #e3ece7;
  margin: 18px 0 0;
  padding-top: 20px;
  text-align: center;
}
.login-private span {
  color: #32765a;
  font-size: 8px;
  padding-right: 5px;
}
.login-footer {
  color: #a7dcc5;
  text-align: center;
  font-size: 11px;
  padding: 16px 20px 26px;
}
.login-footer span {
  padding: 0 9px;
  opacity: 0.5;
}
@media (max-width: 800px) {
  .login-layout {
    width: min(460px, calc(100% - 36px));
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 0 18px;
  }
  .login-brand {
    align-items: center;
    text-align: center;
  }
  .login-logo {
    width: 123px;
  }
  .login-brand-copy {
    margin: 0;
    padding: 16px 0 0;
  }
  .login-eyebrow {
    display: none;
  }
  h1 {
    font-size: 24px;
    letter-spacing: -0.6px;
    margin: 0;
  }
  h1 br {
    display: none;
  }
  h1 br::after {
    content: ' ';
  }
  .login-brand-copy > p:last-child,
  .login-brand-footer {
    display: none;
  }
  .login-card {
    padding: 28px 24px 24px;
  }
  .login-mark {
    display: none;
  }
  .login-card-eyebrow {
    margin-top: 0;
  }
  .login-intro {
    margin-bottom: 24px;
  }
  .login-footer {
    padding-bottom: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
  }
}
