/* The signed-out pages: their forms, the showcase beside them and the glimpses floating on it. */

.auth__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.auth__submit.ui-button {
  width: 100%;
}
.auth__label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.auth__aside-link {
  color: var(--brand-foreground);
  font-size: var(--ui-text-xs);
  text-decoration: none;
  text-underline-offset: 4px;
}
.auth__aside-link:hover {
  text-decoration: underline;
}

.showcase {
  --showcase-ink: oklch(0.26 0.04 187);
  display: none;
  position: relative;
  padding: 1rem;
}
@media (width >= 64rem) {
  .showcase {
    display: block;
  }
}

.showcase__frame {
  position: absolute;
  inset: 1rem;
}
.showcase__panel {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 2.5rem;
}

.showcase__slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--brand-tint);
  opacity: 0;
  transition: opacity 1s var(--ui-ease);
}
.showcase__slide[data-current] {
  opacity: 1;
}

.showcase__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: transform 8s var(--ui-ease);
}
[data-current] > .showcase__image {
  transform: scale(1);
}

.showcase__tint {
  position: absolute;
  inset: 0;
  background: color-mix(in oklab, var(--showcase-ink) 20%, transparent);
  mix-blend-mode: multiply;
}
.showcase__shade {
  position: absolute;
  inset: auto 0 0;
  height: 50%;
  background: linear-gradient(to top, color-mix(in oklab, var(--showcase-ink) 60%, transparent), transparent);
}

.showcase__stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem;
  transform: translateY(0.75rem) scale(0.98);
  transition: transform 1s var(--ui-ease);
}
[data-current] > .showcase__stage {
  transform: none;
}

.showcase__caption {
  position: absolute;
  inset: auto auto 1.5rem 1.5rem;
  max-width: 24rem;
}
.showcase__facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1rem;
}
.showcase__fact {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.showcase__arrow.ui-button {
  position: absolute;
  z-index: 1;
}
.showcase__arrow--previous.ui-button {
  inset: 2rem auto auto 2rem;
}
.showcase__arrow--next.ui-button {
  inset: auto 2rem 2rem auto;
}

.glimpse {
  width: 20rem;
}
.glimpse [data-slot="card-footer"] {
  justify-content: space-between;
}
.glimpse__figures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.glimpse__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.glimpse__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.glimpse__list.mono .glimpse__row {
  justify-content: flex-start;
}
