@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=Syne:wght@600;700&display=swap');

:root {
  --bg: #07100e;
  --panel: rgba(11, 25, 21, .94);
  --ink: #edf7f2;
  --muted: #8ca39a;
  --line: rgba(152, 190, 173, .18);
  --acid: #b9ff48;
  --red: #ff6b6b;
  --display: "Syne", sans-serif;
  --mono: "IBM Plex Mono", monospace;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(circle at 15% 20%, #153127 0, transparent 32%), linear-gradient(135deg, #07100e, #091713 60%, #07100e);
  font-family: var(--mono);
}
.grid {
  position: fixed;
  inset: 0;
  opacity: .11;
  pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(135deg, #000, transparent 82%);
}
.login-shell {
  position: relative;
  width: min(1120px, calc(100% - 40px));
  min-height: 100vh;
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr);
  align-items: center;
  gap: clamp(48px, 8vw, 120px);
  padding: 60px 0;
}
.identity { max-width: 690px; }
.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 58px;
  color: var(--bg);
  background: var(--acid);
  font: 700 22px var(--display);
  clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%);
}
.eyebrow, .panel-index {
  color: var(--acid);
  font-size: 10px;
  letter-spacing: .22em;
}
h1 {
  margin: 18px 0 26px;
  font: 700 clamp(44px, 6vw, 76px)/.98 var(--display);
  letter-spacing: -.055em;
}
.description {
  max-width: 590px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
.security-note {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 42px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .04em;
}
.security-note span { color: var(--acid); }
.login-panel {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: clamp(30px, 5vw, 48px);
  box-shadow: 0 30px 100px rgba(0, 0, 0, .38);
}
h2 {
  margin: 18px 0 10px;
  font: 600 34px var(--display);
  letter-spacing: -.035em;
}
.login-panel > p:not(.error) {
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}
form { display: grid; }
label {
  margin: 17px 0 8px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  padding: 14px 15px;
  color: var(--ink);
  background: #08130f;
  font: 500 13px var(--mono);
  transition: border-color .18s, box-shadow .18s;
}
input:focus { border-color: var(--acid); box-shadow: 0 0 0 3px rgba(185, 255, 72, .08); }
button {
  display: flex;
  justify-content: space-between;
  margin-top: 28px;
  border: 1px solid var(--acid);
  padding: 15px 17px;
  color: var(--bg);
  background: var(--acid);
  font: 600 11px var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .18s, opacity .18s;
}
button:hover:not(:disabled) { transform: translateY(-2px); }
button:disabled { opacity: .5; cursor: wait; }
button.busy span:last-child { animation: pulse 1s ease-in-out infinite; }
.error {
  margin: 18px 0 0;
  border-left: 2px solid var(--red);
  padding-left: 12px;
  color: var(--red);
  font-size: 11px;
  line-height: 1.5;
}
@keyframes pulse { 50% { opacity: .2; } }
@media (max-width: 820px) {
  .login-shell { grid-template-columns: 1fr; gap: 55px; align-content: center; }
  .brand-mark { margin-bottom: 35px; }
  .identity { padding-top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
