/* The landing page "/" and the 404 page. */

.home__head {
  text-align: center;
  animation: rise-in 0.4s ease both;
}

.home__brand {
  font-size: clamp(2.8rem, 15vw, 3.6rem);
  margin-bottom: 0.5rem;
}

.home__tag {
  text-wrap: balance;
  color: var(--mist);
  font-size: 1.05rem;
  font-weight: 500;
}

.home__join {
  border-top: 0.3em solid var(--honey);
  padding: 1.2rem 1.1rem 1.1rem;
}

.home__title {
  font-size: 1.7rem;
  margin-bottom: 0.8rem;
}

.home__row {
  display: flex;
  gap: 0.6rem;
  align-items: stretch;
}

.home__code {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 3.6rem;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.3rem 0 0.3rem 0.32em;
}

.home__code::selection {
  background: var(--honey);
  color: var(--ink);
}

.home__code::placeholder {
  color: var(--ink-4);
  font-weight: 400;
}

.home__go {
  flex: none;
  min-height: 3.6rem;
  font-size: 1.2rem;
  padding: 0.6em 1.1em;
}

.home__status:not(:empty) {
  margin-top: 0.8rem;
}

.home__status .note {
  animation: pop-in 0.2s ease both;
}

.home__more {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 0.3rem;
}

/* A big choice: icon, title and hint, an arrow on the right. */
.choice {
  justify-content: flex-start;
  gap: 0.9rem;
  min-height: 4.6rem;
  padding: 0.8rem 1rem;
  text-align: left;
}

.choice__icon {
  flex: none;
  width: 2rem;
  height: 2rem;
  color: var(--honey);
}

.choice__text {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.choice__title {
  font-size: 1.15rem;
}

.choice__hint {
  font-family: var(--text);
  font-size: 0.86rem;
  font-weight: 400;
  color: var(--mist);
  line-height: 1.3;
}

.choice__arrow {
  flex: none;
  width: 1.3rem;
  height: 1.3rem;
  color: var(--mist);
}

.choice--soft {
  --face: var(--ink-2);
}

.home__foot {
  margin-top: 1.4rem;
  text-align: center;
}

/* ---- 404 */
.lost {
  text-align: center;
  align-items: center;
}

.lost__code {
  font-family: var(--display);
  font-size: 5.5rem;
  line-height: 1;
  color: var(--ink-4);
  animation: pop-in 0.35s ease both;
}

.lost__title {
  font-size: 1.8rem;
}

.lost .btn {
  margin-top: 0.6rem;
  min-width: 15rem;
}
