/* ==========================================================================
   Secondary pages (thank-you, privacy). Reuses the landing page's tokens and
   primitives; only the reading column and the ink-on-ivory button are new.
   ========================================================================== */

.page {
  background-color: var(--color-bg-ivory);
  background-image: url("../assets/images/texture-marble-840.webp");
  background-size: cover;
  background-position: center;
  color: var(--color-ink);
  padding-block: 48px 72px;
}

@media (min-width: 30em) {
  .page {
    background-image: url("../assets/images/texture-marble.webp");
  }
}

/* From 64em the header is sticky and pulled out of flow by its own height so
   the landing page's hero can sit under it. These pages have no hero, so they
   have to reserve that space themselves or the h1 hides behind the bar. */
@media (min-width: 64em) {
  .page {
    padding-top: 150px;
  }

  .page--centred {
    min-height: calc(70vh - 102px);
  }
}

.page--centred {
  display: grid;
  place-items: center;
  min-height: 60vh;
  text-align: center;
}

.page__inner {
  max-width: 46rem;
}

.page--centred .page__inner > * + * {
  margin-top: 1.25rem;
}

.page__actions {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

/* The outlined button is ivory-on-navy by default; these pages are ivory. */
.btn--ink {
  color: var(--color-deep-velvet-blue);
}

.btn--ink:hover,
.btn--ink:focus-visible {
  background-color: var(--color-deep-velvet-blue);
  color: var(--color-porcelain-ivory);
}

.btn--ink .btn__icon {
  filter: brightness(0) saturate(100%) invert(11%) sepia(38%) saturate(2276%)
    hue-rotate(180deg) brightness(96%) contrast(94%);
}

.btn--ink:hover .btn__icon,
.btn--ink:focus-visible .btn__icon {
  filter: none;
}

/* --- Long-form reading column --------------------------------------------- */

.prose {
  max-width: 46rem;
  margin-inline: auto;
  font-size: 1rem;
  line-height: 1.7;
}

.prose > * + * {
  margin-top: 1rem;
}

.prose h1 {
  font-family: var(--font-display);
  font-size: var(--fs-section-title);
  line-height: var(--lh-section-title);
}

.prose h2 {
  margin-top: 2.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.3;
}

.prose ul {
  padding-left: 1.25rem;
  list-style: disc;
}

.prose li + li {
  margin-top: 0.5rem;
}

.prose a {
  text-underline-offset: 2px;
}

.prose__updated {
  font-size: 0.875rem;
  opacity: 0.75;
}

/* Placeholders the business owner must complete before launch. */
.todo {
  padding: 0.125rem 0.375rem;
  border: 1px dashed currentcolor;
  border-radius: 3px;
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 500;
}
