:root {
  color-scheme: light;
  --ink: #141922;
  --muted: #657181;
  --blue: #315ff4;
  --violet: #7454e7;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(120, 180, 255, .52), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(213, 167, 255, .45), transparent 28%),
    radial-gradient(circle at 55% 88%, rgba(126, 224, 199, .28), transparent 32%),
    linear-gradient(145deg, #eef4fb, #f8f7fc 52%, #edf4f2);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button, input { font: inherit; }

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

.orb {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(2px);
}

.orb-one { width: 330px; height: 330px; top: -100px; left: -110px; background: rgba(65, 117, 255, .2); }
.orb-two { width: 380px; height: 380px; right: -130px; bottom: -120px; background: rgba(138, 80, 229, .16); }

.login-card {
  width: min(100%, 480px);
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .52));
  box-shadow: 0 34px 90px rgba(38, 47, 72, .17), inset 0 1px 0 rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(28px) saturate(135%);
  backdrop-filter: blur(28px) saturate(135%);
}

.login-card header { display: flex; align-items: center; gap: 12px; }
.login-card header strong, .login-card header small { display: block; }
.login-card header strong { font-size: 14px; }
.login-card header small { margin-top: 2px; color: var(--muted); font-size: 11px; }
.login-brand { display: flex; align-items: center; gap: 12px; }
.login-brand strong, .login-brand small { display: block; }
.login-brand strong { font-size: 14px; }
.login-brand small { margin-top: 2px; color: var(--muted); font-size: 11px; }

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 15px;
  color: white;
  background: linear-gradient(145deg, #4977ff, #663de5);
  box-shadow: 0 10px 24px rgba(61, 74, 213, .28), inset 0 1px 0 rgba(255, 255, 255, .45);
  font-size: 12px;
  font-weight: 850;
}
.login-mark { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 15px; color: white; background: linear-gradient(145deg, #4977ff, #663de5); box-shadow: 0 10px 24px rgba(61, 74, 213, .28); font-size: 12px; font-weight: 850; }

.login-copy { margin: 58px 0 28px; }
.privacy-label { display: inline-flex; align-items: center; gap: 8px; color: #596678; font-size: 10px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.privacy-label i { width: 7px; height: 7px; border-radius: 50%; background: #2ab480; box-shadow: 0 0 0 5px rgba(42, 180, 128, .12); }
.login-kicker { color: #596678; font-size: 10px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.login-copy h1 { margin: 20px 0 12px; font-size: clamp(38px, 8vw, 58px); line-height: .96; letter-spacing: -.065em; }
.login-copy p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.login-error { margin: 0 0 18px; padding: 12px 14px; border: 1px solid rgba(192, 73, 51, .15); border-radius: 14px; color: #9f3f2c; background: rgba(255, 225, 217, .62); font-size: 12px; }

form { display: grid; gap: 16px; }
label { display: grid; gap: 7px; }
label span { color: #5c6877; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
input {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  border: 1px solid rgba(65, 77, 95, .11);
  border-radius: 15px;
  outline: 0;
  color: var(--ink);
  background: rgba(248, 250, 253, .76);
  box-shadow: inset 0 1px 2px rgba(22, 28, 38, .03);
}
input:focus { border-color: rgba(49, 95, 244, .58); box-shadow: 0 0 0 4px rgba(49, 95, 244, .1); }

button {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  padding: 0 18px;
  border: 0;
  border-radius: 16px;
  color: white;
  background: linear-gradient(115deg, var(--blue), var(--violet));
  box-shadow: 0 14px 30px rgba(76, 77, 214, .25);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}
button:hover { filter: brightness(1.04); transform: translateY(-1px); }
button:focus-visible, input:focus-visible { outline: 3px solid rgba(49, 95, 244, .28); outline-offset: 3px; }
.secondary-button { color: #536071; border: 1px solid rgba(61,73,91,.13); background: rgba(255,255,255,.62); box-shadow: none; }
.login-security { margin: 22px 0 0; color: #7b8592; font-size: 10px; line-height: 1.5; text-align: center; }

.login-card footer { margin-top: 26px; color: #7b8592; font-size: 10px; text-align: center; }
.login-card footer span { color: #2ab480; }

@media (max-width: 520px) {
  .login-shell { padding: 14px; }
  .login-card { padding: 21px; border-radius: 25px; }
  .login-copy { margin-top: 44px; }
}
