:root {
  color-scheme: light;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  color: #17233a;
  background: #f2f5fb;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

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

body {
  background:
    radial-gradient(circle at 12% 12%, rgb(23 63 198 / 12%), transparent 34rem),
    linear-gradient(145deg, #f7f9fd, #e9eef8);
}

button,
input {
  font: inherit;
}

.login-shell {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  padding: 24px;
  place-items: center;
}

.login-card {
  width: min(100%, 520px);
  overflow: hidden;
  background: #fff;
  border: 1px solid #d5ddec;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgb(20 42 80 / 18%);
}

.login-brand {
  padding: 28px 30px 26px;
  color: #fff;
  background: linear-gradient(135deg, #173fc6, #004e9e);
}

.login-brand img {
  display: block;
  width: min(285px, 100%);
  height: auto;
  margin-bottom: 20px;
}

.login-brand p,
.login-brand h1 {
  margin: 0;
}

.login-brand p {
  margin-bottom: 5px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  opacity: .84;
}

.login-brand h1 {
  font-size: clamp(1.65rem, 7vw, 2.15rem);
  line-height: 1.12;
}

.login-content {
  padding: 30px;
}

.login-kicker {
  margin: 0 0 7px;
  color: #173fc6;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.login-content h2 {
  margin: 0 0 8px;
  font-size: 1.45rem;
}

.login-intro {
  margin: 0 0 22px;
  color: #53617a;
  line-height: 1.5;
}

.login-error {
  margin: 0 0 18px;
  padding: 12px 14px;
  color: #8a1c2b;
  font-weight: 700;
  background: #fff1f3;
  border: 1px solid #e9a8b2;
  border-radius: 11px;
}

form {
  display: grid;
  gap: 9px;
}

label {
  font-weight: 760;
}

input {
  width: 100%;
  min-height: 50px;
  padding: 11px 13px;
  color: #17233a;
  background: #fff;
  border: 1px solid #b7c2d5;
  border-radius: 11px;
}

input:focus-visible {
  outline: 3px solid rgb(23 63 198 / 24%);
  border-color: #173fc6;
}

button {
  min-height: 50px;
  margin-top: 8px;
  padding: 12px 18px;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  background: #173fc6;
  border: 0;
  border-radius: 11px;
  box-shadow: 0 6px 16px rgb(23 63 198 / 24%);
}

button:hover {
  background: #004e9e;
}

button:focus-visible {
  outline: 3px solid rgb(23 63 198 / 28%);
  outline-offset: 3px;
}

.login-privacy {
  margin: 24px 0 0;
  padding-top: 18px;
  color: #5f6d84;
  font-size: .88rem;
  line-height: 1.55;
  border-top: 1px solid #e1e6ef;
}

@media (max-width: 520px) {
  .login-shell {
    padding: 12px;
  }

  .login-card {
    border-radius: 16px;
  }

  .login-brand,
  .login-content {
    padding: 24px 20px;
  }
}

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

