:root{
  --ink:#141a26;
  --muted:#6b7280;
  --line:#e5e7eb;
  --bg:#f4f6f9;
  --brand1:#1a4fd6;
  --brand2:#8a2be2;
  --brand3:#ff2d9b;
  --grad:linear-gradient(120deg,var(--brand1),var(--brand2) 55%,var(--brand3));
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  color:var(--ink);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
}

.layout{min-height:100%;display:grid;grid-template-columns:1.05fr 1fr}

/* ---- left brand panel ---- */
.brand{
  position:relative;
  background:linear-gradient(160deg,#071229,#0d1f45 55%,#12285c);
  color:#fff;
  display:flex;flex-direction:column;justify-content:space-between;
  padding:56px 56px 30px;
  overflow:hidden;
}
.brand::after{
  content:"";position:absolute;right:-140px;bottom:-180px;
  width:560px;height:560px;border-radius:50%;
  background:var(--grad);filter:blur(95px);opacity:.35;
}
.brand-inner{position:relative;z-index:1;max-width:440px}
.logo{display:inline-block;line-height:0}
.logo svg{height:38px;width:auto;display:block}
.brand h1{
  font-size:clamp(28px,3vw,40px);line-height:1.1;
  margin:44px 0 12px;font-weight:700;letter-spacing:-.02em;
}
.tagline{color:#c7d2e6;font-size:17px;line-height:1.5;margin:0 0 30px}
.points{list-style:none;padding:0;margin:0;display:grid;gap:15px}
.points li{position:relative;padding-left:30px;color:#dbe3f2;font-size:15px}
.points li::before{
  content:"";position:absolute;left:0;top:5px;width:15px;height:15px;
  border-radius:4px;background:var(--grad);
}
.brand-foot{position:relative;z-index:1;color:#7d8bab;font-size:12.5px;margin-top:40px}

/* ---- right form panel ---- */
.panel{display:flex;align-items:center;justify-content:center;padding:40px}
.panel-inner{width:100%;max-width:400px}
.panel h2{font-size:26px;margin:0 0 6px;font-weight:700;letter-spacing:-.01em}
.sub{color:var(--muted);margin:0 0 30px;font-size:14.5px}

label{display:block;font-size:13.5px;font-weight:600;margin:0 0 7px;color:#374151}
input[type=email],input[type=password]{
  width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:10px;
  font-size:15px;background:#fff;margin-bottom:18px;outline:none;
  transition:border-color .15s,box-shadow .15s;
}
input[type=email]:focus,input[type=password]:focus{
  border-color:var(--brand2);box-shadow:0 0 0 3px rgba(138,43,226,.12);
}

.row{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;font-size:13.5px}
.check{display:flex;align-items:center;gap:8px;font-weight:500;color:#4b5563;margin:0}
.link{color:#6d3bd6;text-decoration:none;font-weight:600}
.link:hover{text-decoration:underline}

.btn{
  width:100%;padding:13px;border:0;border-radius:10px;background:var(--grad);
  color:#fff;font-size:15px;font-weight:700;cursor:pointer;letter-spacing:.01em;
}
.btn:active{transform:translateY(1px)}

.legal{margin:28px 0 0;font-size:11.5px;color:#9aa3b2;line-height:1.5;text-align:center}

@media (max-width:860px){
  .layout{grid-template-columns:1fr}
  .brand{padding:38px 28px}
  .points{display:none}
  .brand h1{margin:26px 0 10px}
  .brand-foot{margin-top:24px}
  .panel{padding:32px 24px 56px}
}
