:root {
  color-scheme: light;
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  color: #172a32;
  background: #f4f2ea;
  font-synthesis: none;
  --canvas: #f4f2ea;
  --paper: #fbfaf6;
  --ink: #172a32;
  --muted: #667477;
  --line: #d8ddd7;
  --deep: #102b36;
  --coral: #df7655;
  --coral-dark: #b95239;
  --green: #527b68;
  --danger: #9b352b;
  --danger-soft: #fff1ed;
  --success: #235b41;
  --success-soft: #edf5ef;
}

* { box-sizing: border-box; }
body { min-width: 320px; min-height: 100dvh; margin: 0; background: var(--canvas); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid rgba(223, 118, 85, .36); outline-offset: 3px; }
.register-shell { display: flex; flex-direction: column; width: min(1120px, calc(100% - 64px)); min-height: 100dvh; margin: 0 auto; }
.brand { display: inline-flex; align-items: center; gap: 11px; align-self: flex-start; margin-top: 25px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(16, 43, 54, .13); border-radius: 12px 12px 12px 4px; color: #f9f8f2; background: var(--deep); font-size: 18px; font-weight: 800; }
.brand-copy strong, .brand-copy small { display: block; }
.brand-copy strong { font-size: 13px; letter-spacing: -.2px; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.register-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, 460px); align-items: center; gap: clamp(48px, 9vw, 120px); flex: 1; padding: 50px 0 58px; }
.register-intro { max-width: 480px; padding: 8px 0; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 22px; color: #526469; font-size: 10px; font-weight: 750; letter-spacing: .04em; }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(223, 118, 85, .12); }
h1 { margin: 0; color: var(--deep); font-size: clamp(42px, 5.4vw, 63px); font-weight: 740; line-height: 1.2; letter-spacing: -2.8px; }
h1 em { color: var(--coral-dark); font-style: normal; }
.intro-copy { max-width: 410px; margin: 22px 0 0; color: #596a6e; font-size: 13px; line-height: 1.9; }
.trust-note { display: flex; align-items: flex-start; gap: 12px; max-width: 385px; margin-top: 35px; padding-top: 20px; border-top: 1px solid #cfd7d2; }
.trust-symbol { display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 auto; border-radius: 50%; color: #315a59; background: #e0ebe4; font-size: 13px; font-weight: 800; }
.trust-note p { margin: 0; }
.trust-note strong, .trust-note small { display: block; }
.trust-note strong { color: var(--deep); font-size: 11px; }
.trust-note small { max-width: 320px; margin-top: 5px; color: #718083; font-size: 10px; line-height: 1.65; }
.form-card { padding: clamp(25px, 4vw, 36px); border: 1px solid #d8ddd7; border-radius: 8px; background: var(--paper); box-shadow: 0 24px 70px rgba(16, 43, 54, .08); }
.form-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.form-kicker { margin: 0 0 7px; color: var(--coral-dark); font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.form-heading h2 { margin: 0; color: var(--deep); font-size: 20px; letter-spacing: -.5px; }
.step-mark { display: inline-flex; gap: 4px; padding-bottom: 3px; }
.step-mark i { width: 14px; height: 3px; border-radius: 99px; background: #d6ddd7; }
.step-mark i:first-child { width: 25px; background: var(--coral); }
.field { display: block; margin-top: 17px; }
.field > span:first-child { display: block; margin-bottom: 7px; color: #43555a; font-size: 10px; font-weight: 750; }
.field input { display: block; width: 100%; min-width: 0; min-height: 43px; padding: 0 12px; border: 1px solid #cbd3ce; border-radius: 5px; color: var(--ink); background: #fffefa; font-size: 12px; transition: border-color .16s ease, box-shadow .16s ease; }
.field input::placeholder { color: #9aa4a1; }
.field input:focus { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(223, 118, 85, .09); outline: none; }
.field-hint { display: block; margin-top: 6px; color: #7a8787; font-size: 9px; line-height: 1.5; }
.input-action-row { display: grid; grid-template-columns: minmax(0, 1fr) 116px; gap: 8px; }
.input-action-row > input { width: 100%; }
.send-code { min-height: 43px; padding: 0 9px; border: 1px solid #bacbc0; border-radius: 5px; color: #315a49; background: #edf3ed; font-size: 10px; font-weight: 750; cursor: pointer; transition: background .16s ease, border-color .16s ease; }
.send-code:hover:not(:disabled) { border-color: #9eb7a6; background: #e4eee5; }
.send-code:disabled { color: #89948d; background: #f0f1ec; cursor: not-allowed; }
.form-feedback { margin: 17px 0 0; padding: 10px 11px; border: 1px solid #e7bdb3; border-radius: 5px; color: var(--danger); background: var(--danger-soft); font-size: 10px; line-height: 1.6; }
.form-feedback.success { border-color: #c8ddce; color: var(--success); background: var(--success-soft); }
.form-feedback[hidden] { display: none; }
.submit-button { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 46px; margin-top: 21px; padding: 0 15px; border: 1px solid var(--coral); border-radius: 5px; color: #fffaf5; background: var(--coral); font-size: 11px; font-weight: 800; cursor: pointer; transition: transform .16s ease, background .16s ease, border-color .16s ease; }
.submit-button:hover:not(:disabled) { transform: translateY(-1px); border-color: var(--coral-dark); background: var(--coral-dark); }
.submit-button:disabled { opacity: .58; cursor: wait; }
.login-prompt { margin: 19px 0 0; color: #788482; font-size: 10px; text-align: center; }
.login-prompt a { margin-left: 4px; color: var(--coral-dark); font-weight: 800; text-decoration: none; }
.login-prompt a:hover { text-decoration: underline; text-underline-offset: 3px; }
.page-footer { display: flex; align-items: center; justify-content: space-between; min-height: 58px; border-top: 1px solid #d6dad3; color: #818a88; font-size: 9px; }
.page-footer a { color: #526166; font-weight: 750; text-decoration: none; }

@media (max-width: 760px) {
  .register-shell { width: min(520px, calc(100% - 36px)); }
  .brand { margin-top: 17px; }
  .register-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 38px 0 36px; }
  .register-intro { padding: 0; }
  .eyebrow { margin-bottom: 14px; font-size: 9px; }
  h1 { font-size: clamp(36px, 10vw, 47px); letter-spacing: -1.8px; }
  .intro-copy { margin-top: 12px; font-size: 11px; line-height: 1.75; }
  .trust-note { display: none; }
  .form-card { padding: 23px 19px; }
  .form-heading { margin-bottom: 19px; }
  .field { margin-top: 15px; }
  .page-footer { min-height: 48px; }
}

@media (max-width: 360px) {
  .register-shell { width: calc(100% - 28px); }
  .input-action-row { grid-template-columns: minmax(0, 1fr) 102px; gap: 6px; }
  .send-code { padding-inline: 5px; font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
