.auth-page {
  background: var(--white);
}
.auth-layout {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
}
.auth-brand {
  background: var(--dark);
  color: #f8f9f5;
  padding: 45px clamp(30px, 5vw, 85px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 50px;
}
.auth-brand .brand {
  color: #f8f9f5;
}
.auth-brand .brand img {
  width: 40px;
  height: 40px;
}
.auth-pitch {
  max-width: 440px;
}
.auth-pitch h2 {
  font-size: clamp(32px, 3.4vw, 46px);
  line-height: 1.2;
  font-weight: 500;
}
.auth-pitch .eyebrow {
  color: var(--lime);
}
.auth-pitch p:not(.eyebrow) {
  font-size: 15px;
  color: #c2d0c7;
  margin-top: 25px;
}
.auth-pitch ul {
  list-style: none;
  margin: 35px 0 0;
  padding: 0;
}
.auth-pitch li {
  font-size: 13px;
  color: #c2d0c7;
  border-top: 1px solid #385045;
  padding: 14px 0;
}
.auth-pitch li::before {
  content: "↳";
  color: var(--lime);
  margin-right: 10px;
}
.auth-back {
  color: #c2d0c7;
  font-size: 12px;
  text-decoration: none;
}
.auth-back:hover {
  color: var(--lime);
}
.auth-form-side {
  padding: 55px 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.auth-form-container {
  width: 100%;
  max-width: 450px;
}
.auth-form-container > .eyebrow {
  margin-bottom: 17px;
}
.auth-form-container h1 {
  font-size: 36px;
  font-weight: 600;
}
.auth-subtitle {
  font-size: 14px;
  margin-top: 13px;
  margin-bottom: 28px;
}
.form-group {
  margin-bottom: 20px;
  min-width: 0;
}
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 7px;
}
.optional {
  font-weight: 400;
  color: var(--muted);
}
.form-group input {
  border: 1px solid #becbc0;
  border-radius: 5px;
  min-height: 49px;
  width: 100%;
  background: #fff;
  padding: 11px 13px;
  color: var(--ink);
  font-size: 14px;
}
.form-group input::placeholder {
  color: #637267;
  font-size: 12px;
}
.form-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.form-pair .form-group {
  margin-bottom: 7px;
}
.field-help {
  font-size: 11px;
  margin: 0 0 20px;
}
.privacy-note {
  font-size: 11px;
  line-height: 1.8;
  margin: 22px 0;
}
.privacy-note a,
.auth-link a {
  color: var(--green);
}
.auth-submit {
  width: 100%;
  justify-content: space-between;
  min-height: 50px;
}
.auth-link {
  text-align: center;
  font-size: 13px;
  margin-top: 22px;
}
.auth-legal {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 25px;
  align-items: center;
}
.auth-legal a,
.auth-legal .text-button {
  font-size: 11px;
  color: var(--muted);
  text-decoration: none;
  min-height: 30px;
  display: flex;
  align-items: center;
}
.auth-legal a:hover,
.auth-legal .text-button:hover {
  text-decoration: underline;
  color: var(--green);
}
.form-message {
  padding: 12px 15px;
  margin: 18px 0;
  border-radius: 5px;
  font-size: 13px;
  line-height: 1.65;
}
.form-error {
  background: #fff2ee;
  color: #943d27;
  border: 1px solid #efd0c7;
}
.form-success {
  background: var(--mint);
  color: #195735;
  border: 1px solid #c9dec5;
}
.label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
}
.label-row label {
  margin: 0;
}
.label-row .text-button {
  font-size: 11px;
  color: var(--green);
}
.auth-dialog .form-group {
  margin-top: 22px;
}
.auth-dialog .field-help {
  margin: 15px 0 0;
}
.auth-dialog > p {
  font-size: 13px;
}
@media (min-width: 1800px) {
  .auth-layout {
    grid-template-columns: 1fr 1fr;
  }
  .auth-brand {
    padding-inline: clamp(80px, 10vw, 220px);
  }
}
@media (max-width: 900px) {
  .auth-layout {
    grid-template-columns: 1fr;
  }
  .auth-brand {
    padding: 22px 30px;
    gap: 0;
    flex-direction: row;
    align-items: center;
  }
  .auth-pitch {
    display: none;
  }
  .auth-brand .brand {
    font-size: 23px;
  }
  .auth-brand .brand img {
    width: 34px;
    height: 34px;
  }
  .auth-back {
    font-size: 11px;
  }
  .auth-form-side {
    padding: 40px 30px 60px;
    align-items: start;
  }
  .auth-form-container {
    max-width: 460px;
  }
  .auth-form-container h1 {
    font-size: 34px;
  }
}
@media (max-width: 600px) {
  .auth-brand {
    padding: 20px;
  }
  .auth-back {
    font-size: 10px;
    max-width: 90px;
    text-align: right;
    line-height: 1.6;
  }
  .auth-form-side {
    padding: 32px 20px 45px;
  }
  .auth-form-container h1 {
    font-size: 31px;
  }
  .auth-form-container > .eyebrow {
    font-size: 9px;
  }
  .auth-subtitle {
    font-size: 13px;
  }
  .form-pair {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .form-pair .form-group {
    margin-bottom: 5px;
  }
  .field-help {
    margin-top: 8px;
  }
  .auth-legal {
    gap: 24px;
    margin-top: 25px;
  }
  .form-group input {
    font-size: 16px;
    min-height: 50px;
  }
  .privacy-note {
    font-size: 11px;
  }
  .auth-link {
    font-size: 12px;
  }
}
