@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap");
:root {
  --blue: #0019ff;
  --green: #00e86b;
  --navy: #071537;
  --border: #bdcbe2;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f7f8fb;
  color: var(
    --navy
  );
  font-family:
    Montserrat,
    Arial,
    sans-serif;
}
.frame {
  width: min(
    100%
  );
  margin: auto;
  min-height: 100vh;
  background: #fff;
  box-shadow: 0
    12px
    45px
    rgba(
      0,
      20,
      55,
      0.08
    );
}
.topbar {
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0
    clamp(
      26px,
      4.2vw,
      72px
    );
  border-bottom: 1px
    solid
    #e3e8f0;
  background: #fff;
}
.back {
  color: var(
    --blue
  );
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.back
  span {
  font-size: 30px;
  line-height: 1;
}
.layout {
  display: grid;
  grid-template-columns: 58.6% 41.4%;
  min-height: calc(
    100vh -
      94px
  );
}
.visual {
  position: relative;
  isolation: isolate;
  min-height: 760px;
  padding: clamp(
    34px,
    5vw,
    75px
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: #051c42;
  color: #fff;
}
.visual:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(
      90deg,
      rgba(
          0,
          21,
          55,
          0.9
        )
        0%,
      rgba(
          0,
          21,
          55,
          0.52
        )
        39%,
      rgba(
          0,
          21,
          55,
          0.04
        )
        100%
    ),
    linear-gradient(
      0deg,
      rgba(
          0,
          21,
          55,
          0.98
        )
        0%,
      rgba(
          0,
          21,
          55,
          0.25
        )
        42%,
      transparent
        75%
    ),
    url("../img/login_background.jpg");
  background-size: cover;
  background-position: center
    center;
}
.welcome {
  margin-bottom: auto;
  padding-top: clamp(
    120px,
    17vh,
    270px
  );
  max-width: 600px;
}
.welcome
  h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(
    37px,
    3.9vw,
    63px
  );
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.1;
}
.accent {
  display: block;
  background: var(
    --green
  );
  width: 103px;
  height: 9px;
  border-radius: 4px;
  margin: 30px
    0
    24px;
}
.welcome
  p {
  font-size: clamp(
    14px,
    1.4vw,
    20px
  );
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
  color: #fff;
}
.usps {
  display: grid;
  grid-template-columns: repeat(
    3,
    1fr
  );
  margin-top: 55px;
  gap: 0;
  align-items: start;
}
.usp {
  text-align: center;
  min-height: 102px;
  padding: 0
    16px;
  color: #fff;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 11px;
}
.usp
  + .usp {
  border-left: 1px
    solid
    rgba(
      255,
      255,
      255,
      0.72
    );
}
.usp
  svg {
  width: 42px;
  height: 42px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.usp
  span {
  font-weight: 700;
  font-size: clamp(
    11px,
    1.15vw,
    15px
  );
  line-height: 1.4;
}
.login {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  padding: clamp(
      36px,
      4.6vw,
      74px
    )
    clamp(
      30px,
      4.3vw,
      72px
    )
    105px;
  background: #fff;
}
.login:after {
  content: "";
  position: absolute;
  z-index: 0;
  bottom: -108px;
  right: -85px;
  width: 130%;
  height: 240px;
  background: #dceaff;
  border-radius: 52%
    48%
    0
    0 /
    58%
    85%
    0
    0;
  transform: rotate(
    -10deg
  );
}
.login-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  margin: 0
    auto;
}
.logo {
  display: block;
  width: 100px;
  height: auto;
  margin: 0
    0
    20px;
}
.login
  h2 {
  font-size: clamp(
    34px,
    3.6vw,
    54px
  );
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 900;
  margin: 0
    0
    22px;
}
.intro {
  font-size: clamp(
    13px,
    1.2vw,
    17px
  );
  font-weight: 600;
  line-height: 1.65;
  margin: 0
    0
    33px;
}
.fields {
  display: grid;
  gap: 13px;
}
.field {
  height: 60px;
  border: 1.5px
    solid
    var(
      --border
    );
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0
    23px;
  background: #fff;
  color: #071537;
  font-size: 17px;
  font-weight: 500;
}
.field
  .dots {
  font-size: 22px;
  letter-spacing: 1px;
  color: #000;
  line-height: 1;
}

.field
  input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 16px;
  color: #0f1b3d;
}

.field
  input::placeholder {
  color: #0f1b3d;
  opacity: 1;
}

.login-button {
  width: 100%;
  height: 67px;
  border: 0;
  border-radius: 40px;
  background: var(
    --green
  );
  color: #041321;
  font:
    800
      23px
      Montserrat,
    Arial,
    sans-serif;
  margin-top: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  cursor: default;
}
.login-button
  span {
  font-size: 32px;
  font-weight: 500;
  line-height: 1;
}
@media (max-width: 1000px) {
  .layout {
    grid-template-columns: 52% 48%;
  }
  .visual {
    padding: 35px;
    min-height: 690px;
  }
  .login {
    padding: 50px
      30px
      110px;
  }
  .usps {
    gap: 4px;
  }
  .usp {
    padding: 0
      8px;
  }
  .welcome {
    padding-top: 130px;
  }
}
@media (max-width: 760px) {
  .topbar {
    height: 66px;
    padding: 0
      22px;
  }
  .back {
    font-size: 13px;
  }
  .back
    span {
    font-size: 22px;
  }
  .layout {
    display: flex;
    flex-direction: column;
  }
  .visual {
    min-height: 530px;
    padding: 30px
      25px
      27px;
  }
  .visual:before {
    background-position: 58%
      center;
  }
  .welcome {
    padding-top: 90px;
  }
  .welcome
    h1 {
    font-size: 40px;
  }
  .welcome
    p {
    font-size: 13px;
  }
  .accent {
    height: 6px;
    margin: 20px
      0;
  }
  .usps {
    margin-top: 45px;
  }
  .usp
    svg {
    width: 30px;
    height: 30px;
  }
  .usp
    span {
    font-size: 10px;
  }
  .login {
    padding: 45px
      25px
      105px;
  }
  .login
    h2 {
    font-size: 39px;
  }
  .intro {
    font-size: 14px;
  }
  .logo {
    width: 86px;
  }
  .field {
    height: 56px;
    font-size: 14px;
  }
  .login-button {
    height: 60px;
    font-size: 19px;
    margin-top: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}

.separator {
  display: flex;
  align-items: center;
  gap: 17px;
  font-weight: 700;
  font-size: 18px;
  margin: 22px
    0
    18px;
}
.separator:before,
.separator:after {
  content: "";
  height: 1px;
  background: var(
    --line
  );
  flex: 1;
}

.mitid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: auto;
  background: #0750f9;
  color: #fff;
  border: 0;
  border-radius: 11px;
  padding: 16px
    24px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  min-height: 64px;
}
.mitid:hover {
  background: #003ed0;
}
.mitid-mark {
  font-weight: 900;
  font-size: 23px;
  letter-spacing: -1px;
}
.mitid-divider {
  height: 25px;
  width: 1px;
  background: #ffffff99;
}
