/* Sign-in: form on the left, a moving wall of example videos on the right. */
body.auth {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: var(--bg);
}
.auth-form {
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  padding: 28px 32px;
}
.auth-form > .wordmark {
  justify-self: start;
}
.auth-card {
  display: grid;
  align-content: center;
  gap: 14px;
  width: min(380px, 100%);
}
.auth-card[hidden] {
  display: none;
}
.auth-title {
  margin: 0;
  font: 500 30px/36px var(--sans);
  letter-spacing: -0.025em;
}
.auth-sub {
  margin: -6px 0 10px;
  color: var(--ink-3);
}
.auth-sub strong {
  color: var(--ink);
  font-weight: 500;
}
.btn-tall {
  height: 46px;
  font-size: 15px;
}
.providers {
  display: grid;
  gap: 10px;
}
.or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 6px 0 2px;
  font-size: 13px;
  color: var(--ink-3);
}
.or::before,
.or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line-2);
}
#email-form {
  display: grid;
  gap: 10px;
}
.field-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}
.field {
  height: 46px;
  font-size: 15px;
}
.auth-switch {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--ink-3);
}
.link-btn {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.link-btn:disabled {
  color: var(--ink-3);
  text-decoration: none;
  cursor: default;
}
.back-link {
  justify-self: start;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink-3);
  font-size: 14px;
  cursor: pointer;
}
.back-link:hover {
  color: var(--ink);
}
#code-form {
  display: grid;
  gap: 14px;
}
.code {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.code input {
  width: 100%;
  height: 56px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--bg);
  text-align: center;
  font: 500 24px/1 var(--sans);
  font-variant-numeric: tabular-nums;
}
.code input:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(12, 12, 13, 0.08);
}
.dev-note {
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff7e0;
  border: 1px solid #f1dfa5;
  font-size: 13px;
  line-height: 20px;
  color: #5c4708;
}
.dev-note code {
  font: 600 14px var(--sans);
  letter-spacing: 2px;
}
.dev-note a {
  color: inherit;
}
.auth-legal {
  margin: 0;
  font-size: 12px;
  line-height: 18px;
  color: var(--ink-3);
}
.auth-legal a {
  color: var(--ink-2);
  text-underline-offset: 2px;
}
.auth-legal a:hover {
  color: var(--ink);
}
.auth-foot {
  margin: 0;
  font-size: 12px;
  color: var(--ink-3);
}

/* showcase */
.auth-show {
  position: relative;
  overflow: hidden;
  margin: 12px;
  border-radius: 28px;
  background: #0a0a0b;
}
.show-cols {
  position: absolute;
  inset: -40px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  transform: rotate(-6deg) scale(1.08);
}
.show-col {
  display: grid;
  gap: 16px;
}
.show-col:nth-child(2) {
  margin-top: -120px;
}
.show-col .poster {
  border-radius: 20px;
}
.auth-show::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 11, 0) 45%, rgba(10, 10, 11, 0.92) 85%);
}
.show-copy {
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: 36px;
  z-index: 1;
  color: #fff;
}
.show-kicker {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
}
.show-title {
  margin: 0;
  max-width: 26rem;
  font: 500 26px/32px var(--sans);
  letter-spacing: -0.02em;
}
@media (max-width: 900px) {
  body.auth {
    grid-template-columns: 1fr;
  }
  .auth-show {
    display: none;
  }
  .auth-form {
    padding: 20px 16px;
  }
}
