/* ============================================================
   DTC Nest — Signup page (two-column layout)
   Reuses global tokens + .auth-field / .pw-* / .btn from styles.css
   ============================================================ */
.authpage {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}

/* ---- Value / brand panel ---- */
.authpage__aside {
  position: relative;
  padding: 48px 56px;
  display: flex; flex-direction: column; gap: 44px;
  border-right: 1px solid var(--border);
  background:
    radial-gradient(900px 500px at 0% 0%, rgba(139,92,255,.22), transparent 60%),
    radial-gradient(700px 500px at 20% 100%, rgba(65,198,255,.16), transparent 60%);
}
.authpage__aside .brand__wordmark { height: 28px; }
.authpage__pitch { margin-top: auto; margin-bottom: auto; max-width: 460px; }
.authpage__pitch h1 {
  font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; line-height: 1.1;
  letter-spacing: -1.2px;
}
.authpage__pitch > p { color: var(--text-dim); font-size: 16px; margin-top: 16px; line-height: 1.6; }

.authpage__benefits { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-direction: column; gap: 20px; }
.authpage__benefits li { display: flex; gap: 14px; align-items: flex-start; }
.authpage__bicon {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px;
  display: grid; place-items: center; font-size: 19px;
  background: var(--grad-soft); border: 1px solid var(--border);
}
.authpage__benefits b { display: block; font-size: 15px; margin-bottom: 2px; }
.authpage__benefits span { color: var(--text-dim); font-size: 13.5px; line-height: 1.5; }

.authpage__quote { margin: 40px 0 0; }
.authpage__quote blockquote { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text); }
.authpage__quote figcaption { margin-top: 14px; display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-dim); }
.authpage__avatar {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-size: 12px; font-weight: 700; color: #fff; background: var(--grad);
}

/* ---- Form panel ---- */
.authpage__main { display: grid; place-items: center; padding: 48px 24px; }
.authpage__card { width: 100%; max-width: 400px; }
.authpage__mobilebrand { display: none; align-items: center; gap: 9px; margin-bottom: 26px; }
.authpage__mobilebrand .brand__wordmark { height: 26px; }
.authpage__card h2 { font-size: 27px; font-weight: 800; letter-spacing: -.6px; }
.authpage__sub { color: var(--text-dim); font-size: 14.5px; margin: 8px 0 24px; }
.authpage__switch { text-align: center; font-size: 13.5px; color: var(--text-dim); margin: 22px 0 0; }
.authpage__switch a { color: var(--cyan); text-decoration: none; }
.authpage__switch a:hover { text-decoration: underline; }

/* ---- SSO ---- */
.sso-row { display: flex; gap: 10px; }
.sso-btn { flex: 1; justify-content: center; }
.sso-btn[data-sso="GitHub"] { flex: 0 0 52px; }
.sso-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--text-mute); font-size: 12px; }
.sso-divider::before, .sso-divider::after { content: ""; height: 1px; background: var(--border); flex: 1; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .authpage { grid-template-columns: 1fr; }
  .authpage__aside { display: none; }
  .authpage__mobilebrand { display: flex; }
  .authpage__main { min-height: 100vh; align-items: flex-start; padding-top: 44px; }
}
