
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:var(--font);color:var(--ink);-webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;line-height:1.6;letter-spacing:-.005em;word-break:keep-all}
a{color:inherit;text-decoration:none}

.login{min-height:100vh;display:grid;grid-template-columns:minmax(0,46fr) minmax(0,54fr)}

/* 좌: 브랜드 패널 */
.brandside{background:var(--surface);border-right:1px solid rgba(17,24,39,.08);padding:56px;
  display:flex;flex-direction:column;justify-content:space-between;min-height:100vh}
.bs-top{display:flex;align-items:center;gap:12px}
.mark{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:11px;
  background:var(--primary);color:#fff;font-weight:600;font-size:13px;letter-spacing:.02em;flex:none}
.wm{font-size:15px;font-weight:600;color:var(--ink)}
.bs-mid{margin:auto 0}
.bs-eyebrow{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:600;color:var(--primary);margin-bottom:16px}
.bs-eyebrow .dot{width:6px;height:6px;border-radius:50%;background:var(--primary)}
.bs-h{font-size:31px;font-weight:600;line-height:1.36;letter-spacing:-.022em;color:var(--ink);max-width:430px}
.bs-feats{list-style:none;margin-top:34px;display:flex;flex-direction:column;gap:16px}
.bs-feats li{display:flex;align-items:center;gap:13px;font-size:14px;color:var(--ink-2);font-weight:500}
.fi{flex:none;width:34px;height:34px;border-radius:10px;background:var(--tint);color:var(--primary);
  display:flex;align-items:center;justify-content:center}
.fi svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.bs-foot{font-size:12px;color:var(--muted-2)}

/* 우: 폼 패널 */
.formside{background:var(--paper);display:flex;align-items:center;justify-content:center;padding:48px 36px;min-height:100vh}
.form{width:100%;max-width:382px}
.form-brand{display:none;align-items:center;gap:11px;margin-bottom:30px}
.f-h{font-size:25px;font-weight:600;letter-spacing:-.022em;color:var(--ink)}
.f-sub{font-size:13.5px;color:var(--muted);margin-top:8px;margin-bottom:32px}
.frow{margin-bottom:18px}
.frow label{display:block;font-size:12.5px;color:var(--ink);font-weight:500;margin-bottom:8px}
.f-input{width:100%;border:1px solid var(--line-2);border-radius:12px;padding:13px 15px;
  font-family:var(--font);font-size:15px;color:var(--ink);background:var(--paper);
  transition:border-color .15s,box-shadow .15s}
.f-input::placeholder{color:var(--muted-2)}
.f-input:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 4px rgba(0,113,227,.12)}
.f-opts{display:flex;align-items:center;justify-content:space-between;margin:-2px 0 18px}
.f-opts .pui-check{font-size:12.5px;color:var(--muted)}
.f-opts a{font-size:12.5px;color:var(--primary);font-weight:500;cursor:pointer}
.f-opts a:hover{text-decoration:underline}
.f-btn{width:100%;border:none;border-radius:12px;padding:14px;font-family:var(--font);font-size:15px;font-weight:600;
  background:var(--primary);color:#fff;cursor:pointer;transition:background .15s;margin-top:6px}
.f-btn:hover{background:var(--primary-ink)}
.f-btn:disabled{opacity:.55;cursor:default}
.signup{margin-top:18px;font-size:12.5px;color:var(--muted);text-align:center}
.signup a{color:var(--primary);font-weight:500;cursor:pointer}
.signup a:hover{text-decoration:underline}
.foot{margin-top:26px;font-size:11.5px;color:var(--muted-2);text-align:center}
.foot-links{margin-top:10px;display:flex;justify-content:center;align-items:center;gap:12px;font-size:11.5px}
.foot-links a{color:var(--muted-2);cursor:pointer}
.foot-links a:hover{color:var(--ink)}
.foot-links .dot{width:3px;height:3px;border-radius:50%;background:var(--line-2)}

/* 회원가입 모달 내부 레이아웃 */
.reg-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.reg-sec{font-size:12px;font-weight:700;color:var(--muted-2);letter-spacing:.03em;text-transform:uppercase;
  margin:6px 0 14px;padding-bottom:9px;border-bottom:1px solid var(--line)}
.reg-sec:not(:first-child){margin-top:26px}
.cat-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px 14px;margin-top:9px}
.cat-grid .pui-check{font-weight:400;color:var(--muted)}

@media (max-width:880px){
  .login{grid-template-columns:1fr}
  .brandside{display:none}
  .formside{padding:56px 22px 40px;align-items:flex-start}
  .form-brand{display:flex}
}
@media (max-width:576px){
  .reg-row,.cat-grid{grid-template-columns:1fr}
}
