.auth-page {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(540px, 1.1fr);
  background: var(--sd-white);
}

.auth-aside {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(32px, 5vw, 64px);
  background: var(--sd-navy-950);
  color: var(--sd-white);
}

.auth-aside::before,
.auth-aside::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.auth-aside::before {
  width: 340px;
  height: 340px;
  top: -150px;
  right: -100px;
  border: 72px solid rgba(34, 197, 94, .12);
}

.auth-aside::after {
  width: 230px;
  height: 230px;
  bottom: -110px;
  left: -90px;
  background: rgba(34, 197, 94, .08);
}

.auth-brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  color: var(--sd-white);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
}

.auth-brand__mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--sd-green-500);
  color: var(--sd-navy-950);
  font-size: 15px;
}

.auth-pitch { position: relative; z-index: 1; max-width: 480px; }
.auth-pitch__eyebrow { margin: 0 0 12px; color: #7aefa2; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.auth-pitch h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.13; letter-spacing: -.04em; }
.auth-pitch p { max-width: 440px; margin: 18px 0 0; color: #cbd5e1; font-size: 15px; }

.auth-benefits { position: relative; z-index: 1; display: grid; gap: 10px; margin: 30px 0 0; padding: 0; list-style: none; }
.auth-benefits li { display: flex; align-items: center; gap: 10px; color: #e2e8f0; font-size: 13px; }
.auth-benefits li::before { content: '✓'; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: rgba(34, 197, 94, .16); color: #7aefa2; font-weight: 600; }
.auth-aside__footer { position: relative; z-index: 1; color: #94a3b8; font-size: 11px; }

.auth-main {
  display: grid;
  place-items: center;
  padding: 42px clamp(24px, 7vw, 90px);
  background: var(--sd-white);
}

.auth-card { width: min(100%, 460px); }
.auth-mobile-brand { display: none; }
.auth-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 26px; color: var(--sd-slate-500); font-size: 12px; text-decoration: none; }
.auth-back:hover { color: var(--sd-navy-950); }
.auth-header { margin-bottom: 26px; }
.auth-header h1 { margin: 0; font-size: clamp(26px, 4vw, 34px); line-height: 1.2; letter-spacing: -.03em; }
.auth-header p { margin: 9px 0 0; color: var(--sd-slate-500); }

.auth-form { display: grid; gap: 17px; }
.auth-field { display: grid; gap: 7px; }
.auth-field__row { display: flex; justify-content: space-between; gap: 12px; }
.auth-field__forgot { display: flex; justify-content: flex-end; margin-top: 2px; }
.auth-label { color: var(--sd-slate-700); font-size: 12px; font-weight: 600; }
.auth-link { color: var(--sd-green-600); font-size: 12px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; }
.auth-link:hover { text-decoration: underline; }
.auth-link:focus-visible { outline: 2px solid var(--sd-green-500); outline-offset: 2px; border-radius: 4px; }

.auth-input-wrap { position: relative; }
.auth-input {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid var(--sd-slate-300);
  border-radius: var(--sd-radius-md);
  background: var(--sd-white);
  color: var(--sd-navy-950);
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.auth-input::placeholder { color: #98a2b3; }
.auth-input:hover { border-color: #98a2b3; }
.auth-input:focus { border-color: var(--sd-green-500); box-shadow: var(--sd-focus); }
.auth-input[aria-invalid='true'] { border-color: var(--sd-red-600); }
.auth-input-wrap .auth-input { padding-right: 70px; }
.auth-password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  translate: 0 -50%;
  width: auto;
  min-width: 52px;
  height: 32px;
  padding: 0 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--sd-slate-600);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.auth-password-toggle:hover { background: var(--sd-slate-100); color: var(--sd-navy-950); }
.auth-help, .auth-error { margin: 0; font-size: 12px; line-height: 1.4; }
.auth-help { color: var(--sd-slate-500); }
.auth-error { color: var(--sd-red-600); }

.auth-slug {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 9px 12px;
  border-radius: var(--sd-radius-md);
  background: var(--sd-slate-100);
  color: var(--sd-slate-500);
  font-size: 12px;
  overflow-wrap: anywhere;
}
.auth-slug strong { color: var(--sd-navy-950); }

.auth-password-rules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  color: var(--sd-slate-600);
  font-size: 12px;
  font-weight: 500;
}
.auth-password-rules li::before { content: '○'; margin-right: 6px; color: var(--sd-slate-400); }
.auth-password-rules li.is-valid { color: var(--sd-green-700); font-weight: 600; }
.auth-password-rules li.is-valid::before { content: '✓'; color: var(--sd-green-600); font-weight: 700; }

.auth-submit { width: 100%; min-height: 46px; margin-top: 3px; }
.auth-terms { margin: 0; color: var(--sd-slate-500); font-size: 10px; text-align: center; }
.auth-switch { margin: 24px 0 0; color: var(--sd-slate-500); font-size: 12px; text-align: center; }

.auth-alert { margin-bottom: 18px; padding: 12px 14px; border-radius: var(--sd-radius-md); font-size: 12px; }
.auth-alert--error { border: 1px solid #fecdca; background: var(--sd-red-50); color: #b42318; }
.auth-alert--success { border: 1px solid #abefc6; background: var(--sd-green-50); color: #16713b; }

.auth-success-icon { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 50%; background: var(--sd-green-50); color: var(--sd-green-600); font-size: 24px; font-weight: 600; }

@media (max-width: 900px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .auth-main { align-items: start; padding: 26px 20px 44px; }
  .auth-card { max-width: 520px; }
  .auth-mobile-brand { display: inline-flex; margin-bottom: 42px; color: var(--sd-navy-950); }
}

@media (max-width: 480px) {
  .auth-main { padding-inline: 18px; }
  .auth-mobile-brand { margin-bottom: 34px; }
  .auth-header { margin-bottom: 22px; }
  .auth-password-rules { grid-template-columns: 1fr; }
}
