:root { color-scheme:dark; --bg:#111820; --bg-deep:#0e151b; --panel:#161d24; --field:#1b232b; --border:#3b444c; --text:#f5f3f0; --muted:#999fa5; --copper:#e3823c; }
* { box-sizing:border-box; }
html,body { min-height:100%; }
body { margin:0; overflow-x:hidden; background:var(--bg); color:var(--text); font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.login-shell { min-height:100vh; display:grid; grid-template-columns:minmax(0,52fr) minmax(560px,48fr); background:var(--bg); }
.product-intro { min-height:100vh; position:relative; isolation:isolate; overflow:hidden; display:flex; flex-direction:column; justify-content:center; padding:54px 60px 54px clamp(130px,10vw,160px); background:#171e26; }
.product-logo { display:block; width:min(580px,100%); height:154px; margin:0 0 24px -45px; object-fit:cover; object-position:center; transform:translateY(6px); }
.brand-divider,.card-divider { height:1px; background:var(--copper); opacity:.72; }
.brand-divider { width:min(490px,100%); margin-left:0; margin-bottom:24px; transform:translateY(6px); }
.product-intro h1 { margin:0 0 0 10px; font-size:clamp(46px,3.8vw,58px); line-height:1.08; letter-spacing:-.04em; font-weight:760; transform:translateY(6px) scaleX(.94); transform-origin:left center; }
.product-intro h1 span { color:var(--copper); }
.capabilities { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; width:min(570px,90%); margin-top:36px; transform:translateY(6px); }
.capabilities div { display:grid; justify-items:center; gap:11px; min-width:0; color:var(--copper); }
.capabilities svg { width:36px; height:36px; stroke-width:1.6; }
.capabilities strong { color:var(--text); font-size:11px; line-height:1; font-weight:650; letter-spacing:.09em; text-transform:uppercase; }
.login-panel { min-height:100vh; display:grid; place-items:center; padding:40px; background:var(--bg-deep); }
.login-card { width:min(100%,430px); padding:38px 38px 36px; background:rgba(22,29,36,.94); border:1px solid var(--copper); border-radius:16px; box-shadow:0 18px 46px rgba(0,0,0,.25); transform:translateX(-40px); }
.eyebrow { margin:0 0 12px; color:var(--copper); font-size:11px; line-height:1; font-weight:700; letter-spacing:.12em; }
.login-card h2 { margin:0; font-size:32px; line-height:1.1; letter-spacing:-.035em; font-weight:720; }
.card-divider { margin:24px 0 26px; }
.error { display:none; margin:-24px 0 28px; padding:12px 14px; color:#ffd8d4; background:#672e2a; border:1px solid #94504a; border-radius:8px; font-size:14px; }
.error.visible { display:block; }
form { display:grid; }
label { margin:0 0 8px; font-size:13px; font-weight:700; }
.input-shell { position:relative; margin-bottom:20px; }
.input-shell > svg { position:absolute; z-index:1; left:16px; top:50%; width:21px; height:21px; color:#e5e7e8; transform:translateY(-50%); stroke-width:1.7; pointer-events:none; }
input { width:100%; min-height:52px; padding:0 46px; color:var(--text); background:var(--field); border:1px solid var(--border); border-radius:7px; font:inherit; font-size:14px; outline:none; transition:border-color .15s,box-shadow .15s,background .15s; }
input::placeholder { color:#8d9298; opacity:1; }
input:hover { border-color:#56616a; }
input:focus { border-color:var(--copper); background:#1d2730; box-shadow:0 0 0 3px rgba(227,130,60,.14); }
.password-toggle { position:absolute; top:50%; right:8px; width:40px; height:40px; display:grid; place-items:center; padding:0; transform:translateY(-50%); color:#eef0f1; background:transparent; border:0; border-radius:7px; cursor:pointer; }
.password-toggle:hover { background:#252e36; }
.password-toggle:focus-visible { outline:2px solid var(--copper); outline-offset:1px; }
.password-toggle svg { width:21px; height:21px; stroke-width:1.8; }
.submit-button { min-height:52px; margin-top:6px; color:#18110d; background:var(--copper); border:1px solid #ef9a59; border-radius:7px; font:inherit; font-size:16px; font-weight:800; cursor:pointer; transition:filter .15s,transform .15s; }
.submit-button:hover { filter:brightness(1.08); }
.submit-button:active { transform:translateY(1px); }
.submit-button:focus-visible { outline:3px solid rgba(227,130,60,.35); outline-offset:3px; }
@media (max-width:1100px) {
  .login-shell { grid-template-columns:1fr; }
  .product-intro { min-height:auto; padding:58px 42px 62px; border-bottom:1px solid rgba(227,130,60,.8); }
  .product-logo { width:min(600px,90%); margin-left:0; margin-bottom:42px; transform:none; }
  .brand-divider { margin-bottom:38px; }
  .brand-divider,.product-intro h1,.capabilities { transform:none; }
  .product-intro h1 { margin-left:0; }
  .capabilities { width:min(650px,100%); }
  .login-panel { min-height:auto; padding:64px 34px 82px; }
  .login-card { transform:none; }
}
@media (max-width:640px) {
  .product-intro { padding:36px 22px 44px; }
  .product-logo { width:100%; height:auto; margin-bottom:30px; object-fit:contain; }
  .brand-divider { width:100%; margin-left:0; margin-bottom:30px; }
  .product-intro h1 { font-size:clamp(42px,12vw,56px); }
  .capabilities { grid-template-columns:repeat(2,1fr); gap:28px 18px; margin-top:38px; }
  .login-panel { padding:30px 14px 48px; }
  .login-card { padding:34px 22px 32px; border-radius:14px; }
  .eyebrow { font-size:13px; }
  .login-card h2 { font-size:34px; }
  .card-divider { margin:30px 0 36px; }
  input { min-height:52px; font-size:14px; }
  .input-shell { margin-bottom:28px; }
  .submit-button { min-height:52px; }
}
