.auth-page {
  background: #faf8f5;
  min-height: 100vh;
}
.auth-header .bar {
  height: 72px;
  justify-content: space-between;
  gap: 16px;
}
.auth-back, .auth-switch a {
  color: #50344f;
  font-weight: 700;
  text-underline-offset: 4px;
}
.auth-back { font-size: 14px; }
.auth-main {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  padding: 0;
  width: min(calc(100% - 48px), 1120px);
  margin: clamp(28px, 6vw, 76px) auto 28px;
  min-height: 530px;
  background: #fff;
  border: 1px solid #e9dfdf;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 55px #4626460c;
}
.auth-story {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(32px, 5vw, 60px);
  background: #ffad72;
}
.auth-story-copy { position: relative; z-index: 1; max-width: 31rem; }
.auth-kicker {
  margin: 0 0 20px;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.auth-story h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(2.5rem, 5.1vw, 4.35rem);
  letter-spacing: -.06em;
  line-height: 1.02;
  text-wrap: balance;
}
.auth-story-description {
  max-width: 30ch;
  color: #503143;
  margin: 19px 0 0;
  font-size: 1.05rem;
  line-height: 1.55;
}
.auth-art {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: 48%;
  object-fit: cover;
  object-position: center 58%;
  mask-image: linear-gradient(to bottom, transparent, black 28%);
  pointer-events: none;
}
.auth-panel {
  display: grid;
  align-items: center;
  padding: clamp(28px, 5vw, 60px);
}
.auth-panel-inner { width: min(100%, 390px); margin: auto; }
.auth-panel h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -.045em;
  line-height: 1.12;
}
.auth-intro { margin: 14px 0 26px; color: #5e5060; line-height: 1.6; }
.auth-continue {
  min-height: 52px;
  width: 100%;
  font-size: 1rem;
  text-decoration: none;
}
.auth-note { color: #665768; font-size: .9rem; line-height: 1.55; margin: 12px 0 0; }
.auth-switch {
  margin: 24px 0 0;
  padding-top: 19px;
  border-top: 1px solid #ece5e6;
  line-height: 1.55;
}
.auth-footer { width: min(calc(100% - 48px), 1120px); padding: 0 0 28px; font-size: 15px; }
@media (max-width: 760px) {
  .auth-main { grid-template-columns: 1fr; min-height: auto; }
  .auth-story { padding: 28px; }
  .auth-story-copy { max-width: min(85%, 370px); }
  .auth-story h1 { font-size: clamp(2rem, 7vw, 3rem); }
  .auth-art { inset: auto 0 0 auto; width: 52%; height: 100%; opacity: .65; mask-image: linear-gradient(to right, transparent, black); }
  .auth-panel-inner { margin: 0; }
}
@media (max-width: 420px) {
  .auth-main, .auth-footer { width: calc(100% - 28px); }
  .auth-story { padding: 24px; }
  .auth-header .bar { height: 60px; padding-top: 0; flex-wrap: nowrap; }
}

#market-auth { display: grid; gap: 13px; }
#market-auth label { display: grid; gap: 6px; font-weight: 650; }
#market-auth input {
  min-width: 0; width: 100%; min-height: 46px; padding: 10px 12px;
  border: 1px solid #d8cbd5; border-radius: 9px; color: #342338; background: #fff;
}
#market-auth .auth-note { margin: 0; }
