/* The quieter pages: the thank you page, the mentions legales, and the 404.
   All three use the sticky footer shell, so a short page still pins its
   footer to the bottom of the window. */

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto }

/* the thank you page and the 404 centre one short message */
.centred {
  display: flex;
  align-items: center;
  padding: 96px 0;
}
.centred h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 40px;
  line-height: 1.18;
  letter-spacing: -.022em;
  max-width: 620px;
}
.lede {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-secondary);
  max-width: 520px;
}
.back { margin-top: 36px }

/* these pages sit directly above the footer, with no long body to push it down */
.site-foot { margin-top: 0 }

/* the legal page: one column, set at a comfortable measure */
.legal { padding-top: 64px; padding-bottom: 96px }
.legal-doc + .legal-doc { margin-top: 96px }
.legal h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 36px;
  line-height: 1.18;
  letter-spacing: -.022em;
  max-width: 720px;
}
.legal h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -.012em;
  margin-top: 48px;
  max-width: 720px;
}
.legal h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.4;
  margin-top: 32px;
  max-width: 720px;
}
.legal h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
  margin: 26px 0 0;
  max-width: 720px;
}
.legal p, .legal li {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-secondary);
  max-width: 68ch;
  text-wrap: pretty;
}
.legal p { margin-top: 14px }
.legal h2 + p, .legal h3 + p, .legal h4 + p { margin-top: 10px }
.legal .legal-intro { margin-top: 18px; font-size: 17px }
.legal a { border-bottom: 1px solid var(--line); transition: border-color .2s var(--ease) }
.legal a:hover { border-color: var(--ink) }

/* the identity block: a term and its value on one row at desktop */
.facts { margin-top: 18px; max-width: 68ch }
.facts div {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 8px 24px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.facts div:last-child { border-bottom: 1px solid var(--line) }
.facts dt { font-size: 14px; font-weight: 500; color: var(--ink) }
.facts dd { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-secondary) }

.legal ul { margin-top: 12px; max-width: 68ch }
.legal li { padding: 6px 0 6px 18px; position: relative }
.legal li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 6px;
  height: 1px;
  background: var(--ink-tertiary);
}

.updated { margin-top: 48px; font-size: 13px; color: var(--ink-tertiary) }

@media (max-width: 900px) {
  .centred h1 { font-size: 28px }
  .centred { padding: 56px 0 }
  .legal { padding: 40px 0 64px }
  .legal h1 { font-size: 27px }
  .legal h2 { font-size: 19px; margin-top: 40px }
  .legal-doc + .legal-doc { margin-top: 72px }
  .facts div { grid-template-columns: 1fr; gap: 2px; padding: 12px 0 }
}
