.portal {
  box-sizing: border-box;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  padding: 22px;
  background: radial-gradient(ellipse at 12% 85%, #0b8a9559, transparent 55%),
              radial-gradient(ellipse at 95% 0%, #1462df66, transparent 65%), #061638;
  color: #102442;
}

.portal-card {
  width: min(100%, 440px);
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 65px #03133766;
}

.portal-brand {
  padding: 26px 32px 0;
}

.portal-brand img {
  display: block;
  width: min(180px, 100%);
  height: 48px;
  object-fit: cover;
}

.portal-content {
  padding: 20px 32px 34px;
}

.portal h1 {
  margin: 0 0 22px;
  font-size: clamp(26px, 5vw, 34px);
  letter-spacing: -.045em;
  line-height: 1.12;
}

.portal form {
  display: grid;
  gap: 10px;
}

.portal label {
  font-size: 15px;
  font-weight: 650;
}

.portal input,
.portal button {
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid #c7d8ea;
  border-radius: 10px;
  font: inherit;
}

.portal input {
  background: #f6fbff;
  color: #102442;
}

.portal button {
  margin-top: 6px;
  border-color: transparent;
  background: linear-gradient(110deg, #1053bd, #087681);
  color: #fff;
  cursor: pointer;
  font-weight: 650;
}

.portal button:hover {
  filter: brightness(1.08);
}

.portal :focus-visible {
  outline: 3px solid #0e84a2;
  outline-offset: 3px;
}

.portal .error {
  margin: 0;
  color: #98322b;
  font-size: 14px;
}
