@font-face {
  font-family: "Geist";
  src: url("/public/landing/geist-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("/public/landing/geist-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("/public/landing/geist-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
.login-page {
  font-family: Geist, system-ui, sans-serif;
}
.login-page :where(p, h1) {
  padding: 0;
  margin: 0;
  color: inherit;
  line-height: 1.5;
}
.login-page a {
  text-decoration: none;
}
.login-page .page {
  position: static;
  display: block;
  height: auto;
}
.login-page :is(.signin, .signout) {
  text-align: left;
}
.login-page :is(.signin, .signout) .card {
  width: 100%;
  margin: 0;
}
.login-page :is(.signin, .signout) .button {
  font-family: inherit;
  height: auto;
  min-height: 50px;
  gap: 12px;
}
.login-page :is(.signin, .signout) .button span {
  color: inherit;
  filter: none !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
}
.login-page :is(.signin, .signout) .error {
  margin-top: 20px;
}
.login-page :is(.signin, .signout) .error p {
  padding: 12px;
  color: #ffffff;
}
@font-face {
  font-family: "Allen Headline";
  src: url("/public/landing/allen-headline.woff2") format("woff2");
  font-display: swap;
}
.login-page {
  min-height: 100svh;
  padding: 42px 60px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(#101014cc, #101014cc),
    url("/public/landing/allen-black-supergraphic.png") center / cover,
    #101014;
  color: #f6f4f8;
}
.login-photo {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: -4%;
  background:
    linear-gradient(90deg, #101014f2 8%, #101014bf 65%),
    var(--login-photo) center / cover;
  opacity: var(--login-photo-opacity, 0.33);
  animation:
    login-background 12s ease-in-out infinite alternate,
    login-photo 360s linear infinite;
  animation-delay: 0s, calc((var(--login-photo-index) - 12) * 30s);
}
/* AF, AD, BC, BF, BV and CN in the fixed twelve-photo order. */
.login-photo:nth-child(3),
.login-photo:nth-child(4),
.login-photo:nth-child(8),
.login-photo:nth-child(9),
.login-photo:nth-child(11),
.login-photo:nth-child(12) {
  --login-photo-opacity: 0.6;
}
.login-header,
.login-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.login-header a,
.login-footer a {
  color: #d9d3e3;
  font-size: 13px;
}
.login-page a:hover {
  color: white;
  text-decoration: underline;
}
.login-page :focus-visible {
  outline: 3px solid #c4a0ff;
  outline-offset: 5px;
}
.login-content {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 60px;
  align-items: center;
  width: 100%;
  max-width: 1360px;
  margin: 74px auto;
}
.login-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #c1afd8;
  display: flex;
  align-items: center;
  gap: 10px;
}
.login-eyebrow > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #aa84ea;
  box-shadow: 0 0 18px #b78aed;
}
.login-story h1 {
  white-space: pre-line;
  text-wrap: balance;
  font-family: "Allen Headline", sans-serif;
  font-size: clamp(50px, 5.9vw, 85px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -2.4px;
  margin: 26px 0;
}
.login-description {
  white-space: pre-line;
  color: #bdb9c5;
  font-size: 17px;
  line-height: 1.7;
}
.login-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 48px;
}
.login-pills span {
  border: 1px solid #ffffff23;
  border-radius: 30px;
  padding: 7px 12px;
  font-size: 11px;
  color: #bbb3c9;
}
.login-page :is(.signin, .signout) .card {
  padding: 38px 34px 30px;
  border: 1px solid #ffffff26;
  border-radius: 20px;
  background: linear-gradient(140deg, #2b2533e8, #1b1a20f5);
  box-shadow: 0 24px 70px #0004;
}
.login-mark {
  display: flex;
  align-items: baseline;
  height: 66px;
  font-family: Geist, system-ui, sans-serif;
  font-size: 66px;
  line-height: 0.86;
  font-weight: 600;
  letter-spacing: -0.045em;
  color: #ffffff;
  margin: 0 0 34px;
}
.login-mark span {
  color: #a79ff0;
}
.login-page :is(.signin, .signout) .card h2 {
  font-size: 31px;
  font-weight: 500;
  letter-spacing: -0.7px;
  margin: 16px 0 12px;
}
.login-page :is(.signin, .signout) .card > p:not(.login-eyebrow) {
  color: #c1bbc9;
  font-size: 13px;
  line-height: 1.7;
}
.login-page :is(.signin, .signout) .card form {
  margin-top: 28px;
}
.login-page :is(.signin, .signout) .button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px;
  border: 1px solid #c3a0f0;
  border-radius: 8px;
  background: #b68cea;
  color: #21122f;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}
.login-page :is(.signin, .signout) .button:hover {
  background: #c9a5f8;
}
.login-footer {
  font-size: 10px;
  color: #bdb9c5;
  letter-spacing: 0.6px;
}
@keyframes login-background {
  from {
    transform: translate(-1%, 1%) scale(1);
  }
  to {
    transform: translate(1%, -1%) scale(1.04);
  }
}
@keyframes login-photo {
  /* Twelve 30-second slots with a 3-second crossfade at each boundary. */
  0%,
  7.5%,
  100% {
    opacity: var(--login-photo-opacity, 0.33);
  }
  8.333333%,
  99.166667% {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .login-photo {
    animation: none;
    opacity: 0;
  }
  .login-photo:first-child {
    opacity: var(--login-photo-opacity, 0.33);
  }
}
@media (max-width: 1100px) {
  .login-page {
    padding: 32px;
  }
  .login-content {
    gap: 30px;
    grid-template-columns: minmax(0, 1fr) 360px;
  }
  .login-story h1 {
    font-size: 57px;
  }
  .login-pills {
    gap: 7px;
  }
}

@media (max-width: 760px) {
  .login-page {
    padding: 24px;
  }
  .login-header img {
    width: 174px;
    height: auto;
  }
  .login-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    margin: 48px auto;
    max-width: 520px;
  }
  .login-story h1 {
    font-size: 48px;
  }
  .login-pills {
    margin-top: 24px;
  }
  .login-page :is(.signin, .signout) .card {
    padding: 30px 24px;
  }
  .login-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
