/* Signed out there is nothing to switch, search or reach, so there is no
   header: the dark ground, the mark, and one cream card to write into. */

.auth {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 72px var(--tiles-gutter) 64px;
  background: var(--ground);
  color: var(--on-ground);
  font-family: var(--font-display);
}

.auth__mark {
  width: 60px;
  height: 60px;
  margin-bottom: 30px;
  border-radius: 15px;
}

.auth__card {
  width: 100%;
  max-width: 420px;
  padding: 40px 38px 34px;
  border-radius: var(--radius-sheet);
  background: var(--card);
  color: var(--ink);
}

.auth__card--wide {
  max-width: 480px;
}

.auth__title {
  font: 700 36px/1.05 var(--font-display);
  letter-spacing: -0.035em;
  color: var(--ink);
  text-wrap: pretty;
}

.auth__lede {
  margin: 10px 0 30px;
  font: 400 18px/1.4 var(--font-display);
  color: var(--ink-lede);
  text-wrap: pretty;
}

.auth__aside {
  margin-top: 18px;
  text-align: right;
}

.auth__foot {
  max-width: 420px;
  margin-top: 30px;
  font: 500 16px/1.5 var(--font-display);
  color: var(--on-ground-muted);
  text-align: center;

  & a {
    color: var(--on-ground);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--accent);
    text-underline-offset: 3px;

    &:hover {
      color: var(--on-ground);
      text-decoration-color: var(--on-ground);
    }
  }

  & p + p {
    margin-top: 6px;
  }
}

.text-link {
  color: var(--ink-lede);
  font: 500 15px/1 var(--font-display);
  text-decoration: underline;
  text-decoration-color: var(--hairline);
  text-underline-offset: 3px;

  &:hover {
    color: var(--ink);
    text-decoration-color: var(--accent);
  }
}

@media (width <= 640px) {
  .auth {
    padding: 40px 20px 44px;
  }

  .auth__card {
    padding: 30px 24px 28px;
    border-radius: var(--radius-tile);
  }

  .auth__title {
    font-size: 30px;
  }
}
