:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  background: #edf4ef;
  color: #182a21;
}

* { box-sizing: border-box; }

body {
  min-width: 300px;
  min-height: 100vh;
  margin: 0;
  padding: clamp(1rem, 5vw, 3rem);
  display: grid;
  place-items: center;
}

.entrance {
  width: min(100%, 54rem);
  min-height: 25rem;
  display: grid;
  grid-template-columns: 42% 1fr;
  overflow: hidden;
  border: 1px solid #d8e5dc;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 1rem 3rem #264f3420;
}

.identity {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 3rem;
  background: linear-gradient(145deg, #172c23, #245139);
  color: #f7fff8;
  padding: clamp(1.4rem, 5vw, 2.9rem);
}

.brand {
  width: max-content;
  color: inherit;
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: 850;
  letter-spacing: -.05em;
}

.brand span {
  display: inline-block;
  margin-inline-start: .14rem;
  padding: .08rem .4rem .14rem;
  border-radius: .36rem;
  background: #228348;
  color: #fff;
  font-style: italic;
  transform: skew(-6deg);
}

.identity-copy p {
  margin: 0 0 .4rem;
  color: #b5ed9e;
  font-weight: 700;
}

.identity-copy strong {
  display: block;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.14;
  letter-spacing: -.045em;
}

.auth-card {
  align-self: center;
  padding: clamp(1.4rem, 5vw, 2.9rem);
}

h1 {
  margin: 0 0 1.45rem;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.13;
  letter-spacing: -.05em;
}

form { display: grid; gap: .45rem; }

label { color: #24382c; font-size: .9rem; font-weight: 720; }

input, button { width: 100%; min-height: 2.8rem; padding: .58rem .72rem; border-radius: .52rem; font: inherit; }

input {
  margin-bottom: .45rem;
  border: 1px solid #bdcfc2;
  background: #fff;
  color: #182a21;
}

button {
  margin-top: .4rem;
  border: 1px solid transparent;
  background: #166540;
  color: #fff;
  font-weight: 750;
  cursor: pointer;
}

button:hover { background: #105232; }
:focus-visible { outline: .15rem solid #188356; outline-offset: .13rem; }
.form-error, .errorlist { color: #8e322d; background: #faeeed; padding: .65rem .8rem; border-radius: .46rem; font-size: .9rem; }
.form-error { margin: 0 0 .85rem; }
.errorlist { margin: 0 0 .35rem; padding-left: 1.7rem; }
.field-help { font-size: .85rem; color: #53645a; margin: -.35rem 0 .6rem; }
.secondary { color: #166540; font-size: .9rem; padding-top: .3rem; }

@media (max-width: 580px) {
  .entrance { grid-template-columns: 1fr; }
  .identity { gap: 1.25rem; }
  .identity-copy strong { font-size: 1.6rem; }
}
