:root { color-scheme: light; font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif; color: #172033; background: #eef3fb; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
.signup-legal-footer { padding: 18px 24px 26px; text-align: center; font-size: 12px; color: #64748b; }
.signup-legal-footer a { color: inherit; text-decoration: none; }
.signup-legal-footer a:hover { color: #2563eb; text-decoration: underline; }
body { margin: 0; min-width: 0; min-height: 100vh; overflow-x: hidden; background: radial-gradient(circle at 8% 0, #dce8ff, transparent 32%), #eef3fb; }
.signup-shell { min-height: 100vh; display: grid; place-items: center; padding: 32px; }
.signup-layout { display: grid; grid-template-columns: minmax(0,480px) minmax(0,660px); width: min(1140px,calc(100vw - 64px)); min-height: 760px; overflow: hidden; border: 1px solid #dbe4f0; border-radius: 28px; background: #fff; box-shadow: 0 28px 80px rgba(15,23,42,.14); }
.signup-aside { position: relative; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 54px 48px; color: #fff; background: linear-gradient(145deg,#0f2f69,#1554b8 58%,#2874ea); }
.signup-aside::before, .signup-aside::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.08); }
.signup-aside::before { width: 340px; height: 340px; right: -150px; top: -130px; }
.signup-aside::after { width: 420px; height: 420px; left: -210px; bottom: -260px; }
.signup-aside > * { position: relative; z-index: 1; }
.aside-pill { display: inline-flex; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 7px 13px; background: rgba(255,255,255,.1); font-size: 12px; }
.signup-aside h2 { margin: 30px 0 0; font-size: 32px; line-height: 1.4; letter-spacing: -.02em; }
.aside-features { display: grid; gap: 16px; margin-top: 42px; }
.aside-features div { display: grid; gap: 7px; padding: 18px; border: 1px solid rgba(255,255,255,.15); border-radius: 18px; background: rgba(255,255,255,.1); }
.aside-features strong { font-size: 15px; }
.aside-features span, .signup-aside small { color: #dbeafe; font-size: 13px; line-height: 1.65; }
.signup-card { padding: 42px 52px 48px; background: #fff; }
.signup-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.signup-brand-lockup { display: flex; align-items: center; gap: 13px; min-width: 0; }
.signup-header img { width: 150px; height: auto; }
.signup-header span { border-left: 1px solid #d8e0eb; padding-left: 13px; color: #64748b; font-size: 13px; }
.signup-header .auth-switch { flex: none; color: #64748b; font-size: 13px; white-space: nowrap; }
.signup-header .auth-switch a { margin-left: 5px; font-weight: 700; text-decoration: none; }
.signup-header .auth-switch a:hover { text-decoration: underline; }
.stepper { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 28px; }
.stepper span { border-radius: 10px; padding: 9px 10px; color: #64748b; background: #f1f5f9; font-size: 12px; text-align: center; }
body[data-step="account"] .stepper [data-step="account"], body[data-step="verify"] .stepper [data-step="verify"], body[data-step="finish"] .stepper [data-step="finish"] { color: #1d4ed8; background: #dbeafe; font-weight: 700; }
.brand { color: #2563eb; font-size: 12px; font-weight: 800; letter-spacing: .2em; }
h1 { margin: 10px 0 6px; font-size: 30px; letter-spacing: -.02em; }
h2 { margin-top: 0; }
.muted { color: #64748b; font-size: 13px; line-height: 1.7; }
.status-box { margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; background: #f8fafc; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 22px; }
label { display: grid; gap: 7px; color: #334155; font-size: 13px; font-weight: 600; }
label small { color: #94a3b8; font-size: 11px; font-weight: 400; line-height: 1.5; }
label:nth-of-type(2), label:nth-of-type(3), .consent, form > button, .error, .email-verification { grid-column: 1 / -1; }
input, select { width: 100%; height: 43px; border: 1px solid #cbd5e1; border-radius: 10px; padding: 0 12px; color: #172033; font: inherit; background: #fff; }
input:focus, select:focus { outline: 3px solid rgba(37,99,235,.13); border-color: #2563eb; }
input:read-only { color: #64748b; background: #f8fafc; }
.email-verification { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 12px; padding: 14px; border: 1px solid #dbe4f0; border-radius: 14px; background: #f8fafc; }
.email-verification .muted { grid-column: 1 / -1; }
.consent { display: flex; grid-template-columns: auto 1fr; align-items: start; font-weight: 400; line-height: 1.6; }
.consent input { flex: none; width: 18px; height: 18px; margin-top: 2px; }
a { color: #1d5ed3; }
button, .button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; border: 0; border-radius: 11px; padding: 0 20px; color: #fff; background: #2563eb; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; }
button:hover, .button:hover { background: #1d4ed8; }
button:disabled { opacity: .55; cursor: wait; }
.error { padding: 11px 12px; border: 1px solid #fecdd3; border-radius: 10px; color: #b42336; background: #fff1f2; font-size: 13px; }
#signup-success { margin-top: 70px; text-align: center; }
#signup-success p { color: #64748b; line-height: 1.8; }
.success-mark { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 20px; border-radius: 50%; color: #fff; background: #16a34a; font-size: 30px; font-weight: 800; }
#signup-success .button { margin-top: 12px; min-width: 180px; }

@media (max-width: 900px) {
  .signup-shell { padding: 24px; }
  .signup-layout { grid-template-columns: minmax(0,1fr); width: min(660px,calc(100vw - 48px)); min-height: calc(100vh - 48px); }
  .signup-aside { display: none; }
}

@media (max-width: 600px) {
  .signup-shell { display: block; padding: 12px; }
  .signup-layout { width: 100%; min-height: calc(100vh - 24px); border-radius: 18px; }
  .signup-card { padding: 26px 20px 30px; }
  .signup-header { flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
  .signup-header img { width: min(150px,55vw); }
  .signup-header span { font-size: 12px; }
  .signup-header .auth-switch { width: 100%; white-space: normal; }
  .stepper { gap: 5px; }
  .stepper span { padding: 8px 5px; font-size: 11px; }
  h1 { font-size: 25px; }
  form, .email-verification { grid-template-columns: minmax(0,1fr); }
  .email-verification .muted { grid-column: auto; }
  #signup-success { margin-top: 36px; }
}
