/* The start page (one form that takes an event's code or link), a download's page and the legal
   pages: a narrow column in the middle. */

.home {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 460px;
  margin: 12vh auto 0;
  padding: 24px 16px;
  text-align: center;

  & .logo img {
    width: auto;
    height: 44px;
  }
  & h1 {
    margin: 8px 0 0;
    font-size: 2rem;
  }
  & .lede {
    margin: 0 0 12px;
    color: var(--muted);
  }
  & .card {
    align-self: stretch;
    text-align: left;
  }
  /* text to read: the privacy page */
  /* the legal notice's address, on its lines */
  & .address {
    white-space: pre-line;
  }
  &.prose {
    max-width: 680px;
    margin-top: 6vh;
    text-align: left;
    align-items: stretch;

    & .logo {
      align-self: flex-start;
    }
    & h2 {
      margin: 18px 0 0;
      font-size: 1.125rem;
    }
    & :is(p, ul) {
      margin: 0;
    }
    & ul {
      display: flex;
      flex-direction: column;
      gap: 8px;
      padding-left: 20px;
    }
  }
  & .admin-link {
    margin-top: 16px;
    color: var(--muted);
    font-size: 0.9375rem;
  }
}
