/* /privacy (Stage 5.1, H69). The header band is the same block every inner
   page carries (see pages/about.css; docs/future.md lists the de-duplication). */

main {
  min-height: 75vh;
}

section {
  position: relative;

  & .bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    z-index: -1;
  }

  .wrapper {
    width: min(1200px, 90%);
    margin-inline: auto;
  }
}

#header {
  isolation: isolate;
  --min-header-height: 145px;
  min-height: var(--min-header-height);
  background-color: black;

  & .wrapper {
    padding-block-start: calc(var(--min-header-height) * 0.8);
    padding-block-end: 4em;
    text-align: center;
    text-transform: uppercase;

    & h1 {
      font-size: 4rem;
      color: white;
    }

    & nav {
      & ul {
        list-style: none;
        display: flex;
        flex-flow: row wrap;
        justify-content: center;
        align-items: center;
        gap: 0.3em;

        max-width: max-content;
        margin-inline: auto;

        & li {
          font-size: 1.2rem;
          font-weight: bold;
          color: #b8084b;

          &:not(:nth-child(1))::before {
            content: "-";
            color: white;
            margin-inline-end: 0.3em;
          }

          & a {
            text-decoration: none;
            color: white;

            &:hover {
              text-decoration: underline;
            }
          }
        }
      }
    }
  }
}

.page-heading {
  font-size: 1.4rem;
  text-transform: uppercase;
  font-weight: 600;
}

#privacy {
  padding-block: 4em;

  & .wrapper {
    width: min(820px, 90%);
  }

  & h2 {
    margin-block: 2em 0.75em;
    scroll-margin-top: 6rem;
  }

  & p,
  & li {
    line-height: 1.65;
    overflow-wrap: anywhere;
  }

  & p {
    margin-block-end: 0.9em;
  }

  & ul {
    margin-block-end: 1em;
    padding-inline-start: 1.4em;
  }

  & li {
    margin-block-end: 0.35em;
  }
}

.privacy-draft {
  padding: 1.25em 1.5em;
  border: 2px dashed #b8084b;
  border-radius: 8px;
  background-color: rgba(184, 8, 75, 0.06);

  & ul {
    margin-block-end: 0;
  }
}

.privacy-updated {
  opacity: 0.75;
}

@media screen and (width < 768px) {
  #header .wrapper h1 {
    font-size: 2.6rem;
  }
}
