:root {
  --ink: #17201c;
  --muted: #707873;
  --paper: #f4f1e9;
  --panel: #fffdf8;
  --accent: #e6623b;
  --green: #087f67;
  --nav: #14231f;
}

* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh; color: var(--ink); background: var(--paper);
  font-family: "Microsoft YaHei UI", "PingFang SC", system-ui, sans-serif;
}
button, input { font: inherit; }
.login-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(420px, 1.08fr) minmax(460px, .92fr); }
.login-story {
  position: relative; min-height: 100vh; padding: 42px clamp(40px, 6vw, 88px);
  display: flex; flex-direction: column; overflow: hidden; color: #f8f4e9; background:
    radial-gradient(circle at 82% 15%, rgba(230,98,59,.3), transparent 25%),
    radial-gradient(circle at 8% 88%, rgba(8,127,103,.36), transparent 28%),
    var(--nav);
}
.login-story::after {
  content: ""; position: absolute; width: 410px; height: 410px; right: -175px; bottom: -160px;
  border: 1px solid rgba(255,255,255,.1); border-radius: 50%; box-shadow: 0 0 0 54px rgba(255,255,255,.025), 0 0 0 108px rgba(255,255,255,.018);
}
.login-brand, .mobile-brand { display: flex; align-items: center; gap: 13px; }
.brand-mark {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 9px;
  color: var(--nav); background: var(--accent); font-size: 23px; font-weight: 900;
}
.login-brand strong { display: block; font-size: 20px; letter-spacing: .14em; }
.login-brand small { display: block; margin-top: 2px; color: #8ea099; font-size: 9px; letter-spacing: .12em; }
.story-content { position: relative; z-index: 1; margin: auto 0; max-width: 650px; }
.eyebrow { margin: 0; color: var(--accent); font-size: 10px; font-weight: 900; letter-spacing: .2em; }
.story-content h1 { margin: 18px 0 24px; font-size: clamp(42px, 5.2vw, 72px); line-height: 1.12; letter-spacing: -.055em; }
.story-copy { max-width: 570px; color: #aebdb7; font-size: 14px; line-height: 1.9; }
.feature-row { margin-top: 42px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.12); }
.feature-row div { padding: 18px 18px 0 0; }
.feature-row b, .feature-row span { display: block; }
.feature-row b { font-size: 13px; }.feature-row span { margin-top: 5px; color: #81948c; font-size: 10px; }
.story-foot { position: relative; z-index: 1; margin: 0; color: #61746d; font-size: 9px; letter-spacing: .18em; }
.login-panel {
  min-height: 100vh; padding: 36px; display: grid; place-items: center;
  background: radial-gradient(circle at 82% 12%, rgba(230,98,59,.12), transparent 28%), var(--paper);
}
.login-card { width: min(420px, 100%); padding: 48px; border: 1px solid #dedbd2; border-radius: 14px; background: rgba(255,253,248,.94); box-shadow: 0 24px 60px rgba(38,46,42,.1); }
.mobile-brand { display: none; }
.login-card h2 { margin: 10px 0 10px; font-size: 29px; letter-spacing: -.03em; }
.form-copy { margin: 0 0 30px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.login-card label { display: grid; gap: 8px; margin-bottom: 18px; color: #4d5651; font-size: 10px; font-weight: 700; }
.login-card input {
  width: 100%; height: 48px; padding: 0 14px; border: 1px solid #d7d6cf; border-radius: 8px;
  outline: none; color: var(--ink); background: #fff; font-size: 13px; transition: border-color .18s, box-shadow .18s;
}
.login-card input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(8,127,103,.1); }
.password-field { position: relative; }
.password-field input { padding-right: 62px; }
.password-field button { position: absolute; right: 11px; top: 50%; transform: translateY(-50%); padding: 5px; border: 0; color: var(--green); background: transparent; font-size: 10px; }
.login-submit {
  width: 100%; height: 50px; margin-top: 5px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between;
  border: 0; border-radius: 8px; color: #fff; background: var(--nav); font-size: 12px; font-weight: 800; cursor: pointer; transition: transform .18s, background .18s;
}
.login-submit:hover { transform: translateY(-1px); background: var(--green); }
.login-submit b { color: var(--accent); font-size: 18px; }
.login-error { margin: -10px 0 20px; padding: 11px 13px; border-left: 3px solid #bd3f37; border-radius: 5px; color: #8f302b; background: #f6e3df; font-size: 10px; }
.security-note { margin-top: 20px; display: flex; align-items: center; justify-content: center; gap: 7px; color: #8a918d; font-size: 9px; }
.security-note i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(8,127,103,.1); }

@media (max-width: 900px) {
  .login-shell { grid-template-columns: 1fr; }
  .login-story { display: none; }
  .login-panel { padding: 22px; }
  .login-card { padding: 36px 28px; }
  .mobile-brand { display: flex; margin-bottom: 38px; }
  .mobile-brand strong { font-size: 20px; letter-spacing: .12em; }
}
