:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #071119;
  color: #effbfd;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(115deg, rgba(31, 190, 164, .07), transparent 42%),
    radial-gradient(circle at 92% 12%, rgba(88, 120, 255, .14), transparent 29%),
    #071119;
}

.login-shell {
  position: relative;
  display: grid;
  min-height: 100vh;
  padding: 32px 22px;
  place-items: center;
  isolation: isolate;
}

.login-shell::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: .18;
  background-image: linear-gradient(rgba(120, 178, 195, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(120, 178, 195, .09) 1px, transparent 1px);
  background-size: 38px 38px;
  content: "";
  mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 84%, transparent);
}

.login-orb {
  position: absolute;
  z-index: -1;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .22;
  pointer-events: none;
}

.login-orb-one { top: 3%; left: 8%; background: #19d4a5; }
.login-orb-two { right: 6%; bottom: 3%; background: #4b6fff; }

.login-card {
  width: min(100%, 470px);
  padding: clamp(28px, 6vw, 46px);
  border: 1px solid rgba(106, 195, 209, .25);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(16, 38, 50, .96), rgba(7, 21, 31, .96));
  box-shadow: 0 28px 85px rgba(0, 0, 0, .48), inset 0 1px 0 rgba(255, 255, 255, .045);
}

.brand-lockup { display: flex; align-items: center; gap: 13px; }
.brand-mark {
  display: grid;
  width: 47px;
  height: 47px;
  border-radius: 13px;
  place-items: center;
  background: linear-gradient(140deg, #6df0b5, #1abf91);
  color: #06221e;
  box-shadow: 0 8px 23px rgba(32, 221, 159, .25);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: -.5px;
}

.eyebrow, .section-kicker {
  margin: 0;
  color: #72c2d4;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
}

h1 { margin: 2px 0 0; font-size: 20px; letter-spacing: -.045em; }
.login-copy { margin-top: 46px; }
.login-copy h2 { margin: 7px 0 9px; font-size: clamp(25px, 6vw, 31px); letter-spacing: -.055em; }
.login-copy p:last-child { max-width: 340px; margin: 0; color: #9bb3be; font-size: 14px; line-height: 1.55; }

.login-form { display: grid; gap: 10px; margin-top: 31px; }
.login-form label { color: #cde4e9; font-size: 13px; font-weight: 700; }
.password-field { position: relative; }
.password-field input {
  width: 100%;
  height: 52px;
  padding: 0 47px 0 15px;
  border: 1px solid #295365;
  border-radius: 12px;
  outline: none;
  background: rgba(4, 17, 25, .72);
  color: #f2fbfd;
  font: inherit;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.password-field input:focus { border-color: #52d7b0; box-shadow: 0 0 0 4px rgba(81, 215, 176, .12); }
.password-field input:disabled { opacity: .55; }
.password-field span { position: absolute; top: 50%; right: 16px; color: #65d6bc; transform: translateY(-50%); }

.login-form button {
  display: flex;
  height: 52px;
  margin-top: 8px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(105deg, #74ebb8, #24c994);
  color: #05231d;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  box-shadow: 0 11px 27px rgba(28, 202, 145, .2);
  transition: transform .15s ease, filter .15s ease;
}
.login-form button:hover:not(:disabled) { filter: brightness(1.06); transform: translateY(-1px); }
.login-form button:disabled { cursor: wait; filter: saturate(.5); opacity: .66; }

.login-notice { min-height: 20px; margin: 2px 0 0; color: #96adb7; font-size: 12px; line-height: 1.35; }
.login-notice.is-error { color: #ff9a9a; }
.login-notice.is-success { color: #71e9b5; }

.login-footer {
  display: flex;
  gap: 8px;
  margin-top: 32px;
  padding-top: 19px;
  border-top: 1px solid rgba(121, 177, 192, .16);
  align-items: center;
  color: #7894a0;
  font-size: 11px;
}
.lock-dot { width: 7px; height: 7px; border-radius: 50%; background: #54d7b0; box-shadow: 0 0 0 4px rgba(84, 215, 176, .1); }

@media (max-width: 460px) {
  .login-shell { padding: 16px; }
  .login-card { border-radius: 20px; }
  .login-copy { margin-top: 35px; }
}
