:root {
  --velvet: #831b84;
  --dark-velvet: #561257;
  --blue-dark: #150027;
  --magenta: #e331d0;
  --white: #fff;
  --grey-20: #e6e4e8;
  --grey-60: #69666e;
  --font: "Suisse Intl", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-family: var(--font);
  color: #000;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--blue-dark);
}

.login-shell {
  display: grid;
  min-height: 100svh;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
}

.login-intro {
  position: relative;
  isolation: isolate;
  display: flex;
  overflow: hidden;
  justify-content: center;
  flex-direction: column;
  padding: clamp(48px, 8vw, 130px);
  color: var(--white);
}

.ribbons {
  position: absolute;
  z-index: -1;
  inset: -30% -25% -20% 20%;
  opacity: 0.72;
  background: repeating-radial-gradient(
    ellipse at 65% 48%,
    transparent 0 20px,
    rgb(227 49 208 / 85%) 22px 26px,
    transparent 29px 48px,
    rgb(131 27 132 / 75%) 51px 58px,
    transparent 62px 80px
  );
  filter: blur(2px);
  transform: rotate(-12deg) scaleX(1.4);
}

.login-intro::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, var(--blue-dark) 20%, rgb(21 0 39 / 73%));
  content: "";
}

.eyebrow,
.kicker {
  margin: 0 0 20px;
  color: var(--magenta);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 30px;
  font-size: clamp(52px, 6vw, 94px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.login-intro > p:last-child {
  max-width: 600px;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.4;
}

.login-panel {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 38px;
  padding: clamp(38px, 6vw, 90px);
  background: var(--white);
}

.bank-logo {
  width: min(100%, 390px);
  height: auto;
}

h2 {
  margin-bottom: 13px;
  font-size: clamp(40px, 4vw, 64px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hint {
  color: var(--grey-60);
  line-height: 1.5;
}

form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

label {
  font-size: 13px;
  font-weight: 650;
}

input {
  height: 58px;
  padding: 0 16px;
  border: 1px solid #aaa5ae;
  border-radius: 0;
  font: inherit;
  font-size: 18px;
}

input:focus-visible,
button:focus-visible {
  outline: 3px solid var(--magenta);
  outline-offset: 3px;
}

button {
  min-height: 58px;
  margin-top: 6px;
  padding: 14px 20px;
  border: 0;
  background: var(--velvet);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-weight: 650;
}

button:hover {
  background: var(--dark-velvet);
}

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

.status {
  min-height: 22px;
  margin: 4px 0 0;
  color: #9c0020;
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 800px) {
  .login-shell {
    grid-template-columns: 1fr;
  }

  .login-intro {
    min-height: 48svh;
    padding: 65px 24px;
  }

  .login-panel {
    padding: 55px 24px 70px;
  }

  .bank-logo {
    width: min(100%, 330px);
  }
}
