* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #000;
  color: #fff;
  font-family: "Inter Display", Alexandria, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.auth-photo {
  position: fixed;
  inset: 0 auto 0 0;
  width: 76%;
  background:
    linear-gradient(to top, #000 0%, transparent 42%),
    url("/assets/nexel/cta-panel.webp") center/cover no-repeat;
  opacity: 0.65;
  mask-image: linear-gradient(
    to right,
    #000 0%,
    #000 45%,
    rgba(0, 0, 0, 0.85) 60%,
    transparent 100%
  );
}
.auth-layout {
  position: relative;
  display: flex;
  min-height: 100dvh;
}
.brand-side {
  width: 58%;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.wordmark {
  width: 164px;
  height: auto;
}
.brand-statement {
  margin-bottom: 12px;
  max-width: 480px;
}
.hairline {
  height: 1px;
  background: #ffffff55;
  width: 100%;
  max-width: 420px;
  margin-bottom: 28px;
}
h2 {
  font-size: 84px;
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 800;
  margin: 0 0 22px;
}
h1 {
  font-size: 44px;
  letter-spacing: -0.04em;
  line-height: 1.05;
  font-weight: 800;
  margin: 14px 0;
}
h1 span,
h2 span {
  color: #e41e26;
}
.brand-statement p {
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: #ededed;
  margin: 0;
}
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 40px 56px 24px;
}
.form-wrap {
  width: 100%;
  max-width: 360px;
  margin: auto;
}
.dot-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin: 0;
}
.dot-label:before {
  content: "";
  width: 8px;
  height: 8px;
  background: #e41e26;
  border-radius: 50%;
}
.intro {
  font-size: 15px;
  letter-spacing: -0.02em;
  color: #e6e6e6;
  margin: 0;
}
form {
  margin-top: 36px;
}
label {
  display: block;
  font-size: 12px;
  margin-bottom: 8px;
}
input {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #666;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 16px;
  padding: 16px 3px 17px;
  margin: 0 0 28px;
  outline-offset: 4px;
}
input::placeholder {
  color: #a3a3a3;
}
input:focus-visible,
button:focus-visible {
  outline: 2px solid #e41e26;
}
button {
  width: 100%;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #000;
  padding: 17px;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  margin-top: 5px;
  transition: background 0.15s;
}
button:hover {
  background: #e6e6e6;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.restriction {
  font-size: 11px;
  line-height: 1.8;
  color: #a8a8a8;
  margin-top: 32px;
}
footer {
  font-size: 11px;
  color: #b0b0b0;
  text-align: center;
  padding-top: 30px;
}
#error {
  border: 1px solid #e41e26;
  padding: 12px;
  font-size: 13px;
  line-height: 1.5;
  margin-top: 24px;
  color: #fff;
}
[hidden] {
  display: none !important;
}
@media (min-width: 1700px) {
  .brand-side {
    padding: 60px;
  }
  .wordmark {
    width: 190px;
  }
  .form-wrap {
    max-width: 410px;
  }
  h2 {
    font-size: 96px;
  }
  h1 {
    font-size: 48px;
  }
}
@media (max-width: 1000px) {
  .auth-layout {
    flex-direction: column;
  }
  .auth-photo {
    width: 100%;
    height: 420px;
    mask-image: linear-gradient(
      to bottom,
      #000,
      rgba(0, 0, 0, 0.5) 60%,
      transparent
    );
  }
  .brand-side {
    width: 100%;
    padding: 28px;
  }
  .wordmark {
    width: 135px;
  }
  .brand-statement {
    display: none;
  }
  main {
    padding: 35px 28px 24px;
    min-height: calc(100dvh - 90px);
  }
  .form-wrap {
    padding: 32px 0;
  }
  h1 {
    font-size: 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
