@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/dm-sans-latin-var.woff2") format("woff2");
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/space-grotesk-latin-var.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-latin-400.woff2") format("woff2");
}

:root {
  color: #182234;
  font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  background: #f8fbfd;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body,
h1,
h2,
p {
  margin: 0;
}

a {
  color: inherit;
}

#site-header-root,
.legal-footer {
  width: 100%;
  max-width: 1680px;
  margin-inline: auto;
}

.legal-eyebrow,
.legal-updated,
.legal-footer {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.legal-page {
  width: min(100% - 40px, 820px);
  margin: 0 auto;
  padding: 112px 0 130px;
}

.legal-eyebrow {
  color: #335fae;
}

.legal-page h1 {
  margin-top: 32px;
  font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(58px, 8vw, 92px);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.legal-updated {
  margin-top: 30px;
  color: rgb(24 34 52 / 58%);
}

.legal-page section {
  padding-top: 34px;
  margin-top: 34px;
  border-top: 1px solid rgb(24 34 52 / 12%);
}

.legal-page h2 {
  font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 25px;
  font-weight: 550;
  letter-spacing: -0.03em;
}

.legal-page section p {
  margin-top: 16px;
  color: rgb(24 34 52 / 74%);
  font-size: 17px;
  line-height: 1.65;
}

.legal-page section a {
  color: #335fae;
  text-underline-offset: 3px;
}

.legal-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 48px;
  color: rgb(242 246 250 / 62%);
  line-height: 1.6;
  background: #182234;
}

@media (max-width: 700px) {
  .legal-page {
    padding: 80px 0 90px;
  }

  .legal-page h1 {
    font-size: 56px;
  }

  .legal-footer {
    flex-direction: column;
    padding: 30px 20px;
    font-size: 9px;
  }
}

/* See the small-screen block in styles.css — same reasoning, same breakpoint. */
@media (max-width: 640px) {
  .legal-footer {
    font-size: 11px;
  }

  .legal-footer a {
    display: inline-block;
    padding-block: 5px;
  }

  /* Links inside list items — the 404 page's route list, and any inline link
     in the legal prose — inherit the paragraph line-height and land short. */
  .legal-page li a {
    display: inline-block;
    padding-block: 4px;
  }
}
