:root {
  color-scheme: dark;
  --ink: #edf3ff;
  --muted: #99a9c2;
  --blue: #75a9ff;
  --line: rgba(166, 190, 230, .15);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: #0b1220;
  background-image: radial-gradient(ellipse at 50% 34%, rgba(34, 73, 132, .26), transparent 48%),
    linear-gradient(135deg, rgba(19, 34, 57, .28), transparent 55%);
}

.page-shell {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  padding: 34px 24px 25px;
}

.brand { display: flex; align-items: center; gap: 11px; align-self: flex-start; }
.brand-mark {
  display: flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid rgba(117, 169, 255, .4);
  border-radius: 10px;
  background: rgba(54, 105, 184, .13);
  transform: rotate(-7deg);
}
.brand-mark span { width: 4px; height: 8px; border-radius: 5px; background: #8db8ff; }
.brand-mark span + span { height: 11px; background: #c1d8ff; }
.brand-name { font-size: 16px; font-weight: 650; letter-spacing: -.04em; }
.brand-name span { color: #8eb7ff; }

.login-card {
  width: min(100%, 440px);
  margin: auto 0;
  padding: 48px 46px 42px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(20, 32, 52, .94), rgba(14, 23, 39, .96));
  box-shadow: 0 30px 90px rgba(0, 0, 0, .28), inset 0 1px rgba(255, 255, 255, .035);
}

.eyebrow { display: flex; align-items: center; gap: 9px; color: #8ea4c5; font-size: 10px; font-weight: 700; letter-spacing: .17em; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #72a8ff; box-shadow: 0 0 13px rgba(114, 168, 255, .7); }
h1 { margin: 27px 0 13px; font-size: clamp(34px, 8vw, 45px); line-height: 1.11; letter-spacing: -.055em; font-weight: 580; }
h1 span { color: #83afff; }
.intro { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.login-actions { margin-top: 35px; }
.button {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: transform .16s ease, background-color .16s ease, border-color .16s ease;
  cursor: pointer;
}
.button:hover { transform: translateY(-1px); }
.button:focus-visible { outline: 3px solid rgba(133, 181, 255, .75); outline-offset: 3px; }
.button-primary { color: #0b1525; background: #8db8ff; }
.button-primary:hover { background: #a4c7ff; }
.button-arrow { font-size: 20px; font-weight: 400; }
.button-secondary { justify-content: center; color: var(--ink); border-color: var(--line); background: rgba(255, 255, 255, .025); }
.button-secondary:hover { border-color: rgba(141, 184, 255, .45); background: rgba(104, 153, 229, .09); }
.button:disabled { opacity: .65; cursor: wait; transform: none; }
.privacy-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 17px 0 0; color: #8394af; font-size: 11px; }
.lock-icon { color: #85aeef; font-size: 9px; }
.session-status { margin-top: 24px; color: #f1c77d; font-size: 13px; line-height: 1.55; }
.session-actions { margin-top: 29px; }
.signed-in { margin: 0 0 18px; color: #a6d5bd; font-size: 14px; }
.page-footer { display: flex; width: min(100%, 440px); justify-content: space-between; gap: 12px; color: #61738e; font-size: 9px; font-weight: 650; letter-spacing: .13em; }

@media (max-width: 520px) {
  .page-shell { padding: 24px 18px 20px; }
  .login-card { padding: 38px 27px 32px; border-radius: 17px; }
  .page-footer { font-size: 8px; letter-spacing: .09em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}