.auth-page {
  padding-top: 148px;
  padding-bottom: 84px;
}

.auth-shell {
  max-width: 680px;
  margin: 0 auto;
  padding: 0;
}

.auth-subscription {
  display: grid;
  max-width: 960px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(42px, 8vw, 100px);
  align-items: start;
}

.auth-intro {
  padding: 0 0 26px;
  border-bottom: 1px solid var(--color-line);
}
.auth-kicker {
  display: block;
  margin-bottom: 20px;
  color: var(--color-brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.auth-intro h1 { margin-bottom: 18px; }
.auth-intro p { max-width: 38ch; margin: 0; color: var(--color-muted); font-size: 17px; }
.auth-form {
  display: grid;
  gap: 10px;
  width: min(100%, 460px);
  padding-top: 26px;
}
.auth-subscription .auth-form {
  grid-column: 1;
  grid-row: 1;
  padding-top: 0;
}
.auth-subscription .auth-intro {
  grid-column: 2;
  grid-row: 1;
  padding: 0 0 0 32px;
  border-bottom: 0;
  border-left: 1px solid var(--color-line);
}
.auth-form label { margin-top: 14px; color: var(--color-muted); font-size: 13px; font-weight: 800; }
.auth-fields-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.auth-fields-row label { display: block; }
.auth-form input {
  width: 100%;
  min-height: 46px;
  padding: 8px 0;
  border: 0;
  border-bottom: 2px solid #cbd4ca;
  border-radius: 0;
  background: transparent;
  color: var(--color-ink);
  font: inherit;
}
.auth-form input:focus { border-color: var(--color-brand); }
.auth-button {
  display: inline-flex;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding: 9px 15px;
  border: 1px solid var(--color-brand);
  border-radius: var(--radius-sm);
  background: var(--color-brand);
  color: #fff;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}
.auth-button:hover { background: var(--color-brand-dark); transform: translateY(-1px); }
.auth-button-link { justify-content: center; }
.auth-link { width: fit-content; margin-top: 10px; color: var(--color-brand-dark); font-weight: 700; }
.auth-form small { margin-top: 8px; color: var(--color-muted); font-size: 13px; line-height: 1.5; }
.auth-alert, .auth-success {
  padding: 11px 13px;
  border-left: 4px solid;
  border-radius: 3px;
  font-size: 14px;
}
.auth-alert { border-color: #a6382f; background: #fbe9e7; color: #762820; }
.auth-success { border-color: var(--color-brand); background: var(--color-brand-soft); color: var(--color-brand-dark); }

@media (max-width: 700px) {
  .auth-page { padding-top: 122px; }
  .auth-subscription { display: block; }
  .auth-subscription .auth-intro {
    padding: 0 0 26px;
    border-bottom: 1px solid var(--color-line);
    border-left: 0;
  }
  .auth-subscription .auth-form { padding-top: 26px; }
  .auth-form { width: 100%; }
  .auth-fields-row { grid-template-columns: 1fr; gap: 0; }
}
