html,
body {
  background: #fff;
}

.login-shell {
  width: calc(100% - 72px);
  min-height: 100vh;
  margin: 0 auto;
  background: #fff;
}

.login-panel {
  position: relative;
  min-height: 100vh;
  padding-top: 28px;
  padding-bottom: 26px;
  padding-right: clamp(42px, 5vw, 78px);
  padding-left: clamp(28px, 4vw, 64px);
}

.panel-header {
  position: absolute;
  top: 8.7px;
  right: 0;
  left: max(-13.6px, calc((80vw - 1128px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-left: 0;
}

.brand img {
  width: 25.6px;
  height: 25.6px;
}

.brand {
  gap: 8px;
  font: 700 14.4px/1 -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -0.035em;
}

.login-card header {
  margin-bottom: 28px;
  text-align: center;
}

.login-card {
  max-width: 400px;
}

.signup {
  margin-top: 18px;
  color: #676b72;
}

.signup a {
  color: #191a1d;
  font-weight: 750;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.login-card header > p {
  margin-bottom: 10px;
  font-size: 10px;
}

.login-card h1 {
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.provider {
  width: 48px;
  min-height: 48px;
  padding: 0;
  border-color: #e3e4e7;
  border-radius: 12px;
  box-shadow: 0 4px 14px #1d1d1f0a;
}

.provider-grid {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.provider svg {
  width: 21px;
  height: 21px;
}

.divider,
.password-label a,
.form-status {
  font-size: 11px;
}

form > label,
.password-label label,
.remember,
.signup {
  font-size: 12px;
}

input[type="email"],
input[type="password"],
input[type="text"],
.submit {
  font-size: 13px;
}

.story-panel {
  min-height: calc(100vh - 143px);
  margin: 95px 0 48px;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.story-panel > img {
  border-radius: 28px;
  object-position: center;
  clip-path: path("M 120 0 H 2000 V 2000 H 0 V 120 C 0 96 16 80 40 78 C 62 76 76 62 78 40 C 80 16 96 0 120 0 Z");
}

.back-button {
  top: 10px;
  left: 8px;
  width: 72px;
  height: 72px;
  transform: none;
  box-shadow: none;
}

.back-button:hover {
  transform: scale(1.03);
}

.back-button svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 820px) {
  .login-shell {
    width: 100%;
  }

  .login-panel {
    padding: 17.5px 16px 22px;
  }

  .panel-header {
    position: static;
    margin-left: 0;
  }

  .brand {
    gap: 10px;
    font-size: 18px;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

}

@media (max-width: 520px) {
  .login-card h1 {
    font-size: 24px;
  }
}
