:root {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: #292d26;
  background: #f7f7f3;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #c95a13;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.auth-layout {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-story {
  padding: 46px 9%;
  background: #e9eddf;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.auth-logo {
  width: 210px;
  height: 80px;
  object-fit: contain;
  object-position: left;
}
.story-copy {
  margin: 48px 0;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 650;
}
.story-copy h1 {
  font-size: clamp(40px, 4.5vw, 72px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -3px;
  margin: 26px 0;
}
.story-copy > p:last-of-type {
  color: #606b55;
  line-height: 1.8;
  font-size: 15px;
}
.story-foot {
  font-size: 9px;
  letter-spacing: 1.5px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #59654c;
}
.story-foot span {
  letter-spacing: 0;
}
.story-network {
  height: 190px;
  position: relative;
  width: 100%;
  max-width: 430px;
  margin-top: 45px;
  background: radial-gradient(
    ellipse at center,
    transparent 48%,
    #cbd4bd 48.5%,
    transparent 49.5%
  );
}
.mini-display {
  position: absolute;
  border: 4px solid #53634a;
  border-radius: 5px;
  display: grid;
  place-content: center;
  font-family: Georgia, serif;
  width: 125px;
  height: 82px;
  background: #f4f1df;
  font-size: 24px;
  animation: float 7s ease-in-out infinite;
}
.one {
  left: 0;
  top: 12px;
  rotate: -8deg;
}
.two {
  right: 0;
  top: 0;
  rotate: 7deg;
  background: #e7b58b;
  animation-delay: -2s;
}
.three {
  right: 25px;
  bottom: 0;
  rotate: -4deg;
  background: #cad9d5;
  animation-delay: -4s;
}
.network-center {
  position: absolute;
  left: 43%;
  top: 38%;
  background: #2e3a26;
  color: #edeee6;
  border-radius: 15px;
  padding: 13px 19px;
  font-size: 28px;
}
.auth-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 65px 12%;
  position: relative;
}
.auth-card {
  width: 100%;
  max-width: 370px;
}
.auth-card > .eyebrow {
  color: #7b826f;
  margin: 0 0 18px;
}
.auth-card h2 {
  font-size: 38px;
  letter-spacing: -1.5px;
  font-weight: 500;
  margin: 0 0 14px;
}
.auth-card > p {
  font-size: 13px;
  color: #6d7465;
  line-height: 1.7;
  margin-bottom: 32px;
}
label {
  font-size: 12px;
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
}
input {
  width: 100%;
  height: 48px;
  border: 1px solid #d4d9cc;
  border-radius: 7px;
  background: #fff;
  padding: 12px 14px;
  font-size: 14px;
  color: #252c1e;
}
#email-field,
#password-field {
  margin: 24px 0;
}
.password-wrap {
  position: relative;
}
.password-wrap input {
  padding-right: 65px;
}
.show-password {
  position: absolute;
  right: 10px;
  top: 10px;
  height: 28px;
  border: 0;
  background: none;
  font-size: 10px;
  color: #647054;
}
.primary {
  background: #fa771f;
  color: #201a13;
  border: 0;
  border-radius: 7px;
  padding: 16px 18px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  margin-top: 30px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.primary:hover {
  background: #ff8c41;
  transform: translateY(-1px);
}
.primary:disabled {
  opacity: 0.6;
  cursor: wait;
}
.text-button {
  display: block;
  margin: 20px auto 0;
  border: 0;
  background: none;
  color: #5e6c4e;
  font-size: 12px;
  padding: 10px;
}
.text-button:hover {
  text-decoration: underline;
}
.access-note {
  border-top: 1px solid #dfe3d7;
  margin-top: 33px;
  padding-top: 22px;
  display: flex;
  gap: 13px;
  align-items: center;
  color: #76816a;
  font-size: 11px;
  line-height: 1.7;
}
.access-note p {
  margin: 0;
}
.lock {
  font-size: 19px;
  color: #89977b;
}
.panel-foot {
  position: absolute;
  bottom: 25px;
  font-size: 10px;
  color: #818975;
}
.small-brand {
  display: none;
}
#message:not(:empty) {
  padding: 13px 15px;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.6;
  background: #e7efdf;
  color: #385326;
  margin: 20px 0;
}
#message.error {
  background: #fbeae2;
  color: #8f3b22;
}
.fine {
  font-size: 11px;
  color: #6b7462;
  line-height: 1.7;
}
@keyframes float {
  50% {
    translate: 0 -8px;
  }
}
@media (max-width: 900px) {
  .auth-story {
    padding: 35px 8%;
  }
  .auth-panel {
    padding: 55px 10%;
  }
  .story-copy h1 {
    font-size: 43px;
    letter-spacing: -2px;
  }
  .story-network {
    scale: 0.85;
    transform-origin: left center;
  }
  .auth-card h2 {
    font-size: 32px;
  }
  .story-foot span {
    display: none;
  }
}
@media (max-width: 650px) {
  .auth-layout {
    display: block;
  }
  .auth-story {
    display: none;
  }
  .auth-panel {
    min-height: 100svh;
    padding: 50px 7% 80px;
  }
  .small-brand {
    display: block;
    font-weight: 750;
    letter-spacing: 2px;
    font-size: 17px;
    margin-bottom: 50px;
  }
  .auth-card {
    max-width: 390px;
  }
  .auth-card h2 {
    font-size: 36px;
  }
  .panel-foot {
    bottom: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
