:root {
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #172033;
  background: #f4f6fb;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 15% 15%, #dce8ff 0, transparent 35%),
    linear-gradient(135deg, #f8faff, #eef1fa);
}

button,
input,
select {
  font: inherit;
}

.shell {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 32px;
}

.brand {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  max-width: 760px;
  margin-bottom: 32px;
}

.brand-mark {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(145deg, #225ed8, #7139ca);
  font-size: 34px;
  font-weight: 800;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: 8px;
  font-size: 2rem;
}

.eyebrow {
  margin-bottom: 6px;
  color: #225ed8;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lead,
.muted,
footer {
  color: #5d6678;
  line-height: 1.6;
}

.card {
  width: min(560px, 100%);
  padding: 34px;
  border: 1px solid #dde2ee;
  border-radius: 24px;
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 22px 60px rgb(32 47 79 / 12%);
}

.test-banner {
  margin: -10px -10px 28px;
  padding: 12px 14px;
  border: 1px solid #c9d8fa;
  border-radius: 12px;
  color: #204d9d;
  background: #edf4ff;
  font-size: 0.9rem;
}

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

label {
  margin-top: 8px;
  font-size: 0.93rem;
  font-weight: 700;
}

.hint {
  color: #70798a;
  font-weight: 500;
}

input,
select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #bdc5d5;
  border-radius: 11px;
  color: #172033;
  background: #fff;
}

input:focus,
select:focus,
button:focus-visible {
  outline: 3px solid rgb(34 94 216 / 24%);
  outline-offset: 2px;
  border-color: #225ed8;
}

.password-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

button {
  min-height: 48px;
  margin-top: 12px;
  padding: 0 18px;
  border: 0;
  border-radius: 11px;
  cursor: pointer;
  font-weight: 800;
}

button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.primary {
  color: #fff;
  background: #225ed8;
}

.primary:hover:not(:disabled) {
  background: #184bad;
}

.secondary {
  color: #225ed8;
  background: #edf3ff;
}

.compact {
  min-height: 48px;
  margin: 0;
}

.status {
  min-height: 24px;
  margin: 18px 0 0;
  color: #275d3e;
}

.status.error {
  color: #a12532;
}

.hidden {
  display: none;
}

footer {
  max-width: 560px;
  padding: 22px 4px;
  font-size: 0.85rem;
}

@media (max-width: 620px) {
  .shell {
    padding-top: 32px;
  }

  .brand {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 24px;
    border-radius: 18px;
  }
}
