:root {
  --paper: #f4f1ea;
  --panel: #fffdf9;
  --ink: #201e1a;
  --ink-2: #565047;
  --muted: #8b8376;
  --line: #e2dbcd;
  --accent: #9c3d2e;
  --accent-2: #b8563f;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; font-family: var(--sans); background: var(--paper); color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
.login { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); min-height: 100vh; }

.pitch {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  padding: 34px 46px 30px; color: #f2ece0;
  background:
    radial-gradient(700px 420px at 88% 8%, rgba(184, 86, 63, .34), transparent 62%),
    radial-gradient(560px 400px at 0% 100%, rgba(47, 93, 124, .28), transparent 60%),
    linear-gradient(155deg, #1c1a17 0%, #26221d 52%, #1a1815 100%);
}
.pitch::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background:
    repeating-linear-gradient(0deg, transparent 0 47px, rgba(240, 230, 210, .045) 47px 48px),
    repeating-linear-gradient(90deg, transparent 0 47px, rgba(240, 230, 210, .045) 47px 48px);
  mask-image: radial-gradient(120% 100% at 30% 20%, #000 30%, transparent 80%);
}
.pitch-brand { display: flex; align-items: center; gap: 10px; font-size: 14px; letter-spacing: 2px; position: relative; }
.pitch-brand .mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(145deg, #b5533d, #7d2c20); font-family: var(--serif); font-size: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}
.pitch-main { margin: auto 0; padding: 40px 0; position: relative; max-width: 560px; }
.kicker { font-size: 10px; letter-spacing: 4px; color: rgba(240, 230, 210, .5); }
.pitch h1 {
  margin: 18px 0 18px; font-family: var(--serif); font-weight: 700;
  font-size: clamp(32px, 3.6vw, 46px); line-height: 1.4; letter-spacing: 1px;
}
.pitch h1 em { font-style: normal; color: #d98a6c; }
.pitch p { margin: 0; font-size: 13.5px; line-height: 2; color: rgba(240, 232, 218, .72); max-width: 500px; }
.pitch-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; position: relative; }
.pitch-list li { display: flex; gap: 14px; align-items: baseline; font-size: 12px; color: rgba(240, 232, 218, .72); }
.pitch-list b {
  font-family: var(--serif); font-size: 11px; color: #c98a6b; letter-spacing: 1px;
  border-bottom: 1px solid rgba(201, 138, 107, .4); padding-bottom: 2px;
}
.pitch-foot { margin-top: 28px; font-size: 10px; letter-spacing: .6px; color: rgba(240, 232, 218, .38); position: relative; }

.auth { display: grid; place-items: center; padding: 40px 28px; background: var(--paper); }
.auth-card { width: min(400px, 100%); }
.tabs { display: inline-flex; gap: 3px; background: #eae4d8; border: 1px solid var(--line); border-radius: 10px; padding: 3px; margin-bottom: 26px; }
.tab {
  border: 0; background: transparent; color: var(--ink-2); font-size: 12.5px;
  padding: 6px 18px; border-radius: 7px; letter-spacing: 1px;
}
.tab.active { background: var(--panel); color: var(--accent); font-weight: 600; box-shadow: 0 1px 4px rgba(60, 45, 30, .08); }
.auth-card h2 { margin: 0 0 6px; font-family: var(--serif); font-size: 26px; letter-spacing: 1px; }
.auth-card .sub { margin: 0 0 24px; font-size: 12px; color: var(--muted); }
.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-size: 11.5px; color: var(--ink-2); margin-bottom: 6px; letter-spacing: .5px; }
.field input {
  width: 100%; border: 1px solid var(--line); background: var(--panel); border-radius: 10px;
  padding: 11px 13px; font-size: 13.5px; outline: 0; transition: .16s;
}
.field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(156, 61, 46, .08); }
.error { min-height: 18px; margin: 4px 0 10px; font-size: 11.5px; color: var(--accent); }
.submit {
  width: 100%; border: 0; border-radius: 11px; padding: 12px; cursor: pointer;
  background: linear-gradient(180deg, #ab4835, #8f3427); color: #fff8f1;
  font-size: 14px; font-weight: 600; letter-spacing: 2px;
  box-shadow: 0 8px 20px rgba(140, 52, 38, .22); transition: .16s;
}
.submit:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(140, 52, 38, .3); }
.submit:disabled { opacity: .55; transform: none; cursor: wait; }
.fine { margin: 18px 0 0; font-size: 10px; line-height: 1.8; color: #a49c8e; }
.hidden { display: none !important; }

@media (max-width: 880px) {
  .login { grid-template-columns: 1fr; }
  .pitch { padding: 26px 24px 30px; }
  .pitch-main { padding: 26px 0 22px; }
  .pitch h1 { font-size: 30px; }
  .pitch-list { display: none; }
  .pitch-foot { margin-top: 16px; }
  .auth { padding: 30px 20px 46px; }
}
.pitch-brand .mark { position: relative; overflow: hidden; }
.pitch-brand .mark::after {
  content: ""; position: absolute; right: 4px; bottom: 4px; width: 7px; height: 7px;
  border-right: 1.4px solid rgba(244, 214, 164, .85);
  border-bottom: 1.4px solid rgba(244, 214, 164, .85);
}
