@font-face {
  font-family: "Source Sans";
  src: url("fonts/source-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

.legal-page {
  min-height: 100vh;
  background: #fff;
  color: #333;
  font-family: "Source Sans", system-ui, sans-serif;
}

.legal-shell {
  width: min(62.5rem, 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.legal-page a { color: #225e8b; }
.legal-page a:hover { text-decoration-thickness: 0.12em; }

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-top: clamp(0.75rem, 2vw, 1.5rem);
  font-weight: 600;
}

.legal-heading { padding-block: 0.85rem 1.25rem; }

.legal-heading h1 {
  font: 700 clamp(1.95rem, 4.5vw, 2.25rem)/1.18 "Source Sans", system-ui, sans-serif;
  text-align: center;
  text-wrap: balance;
}

.legal-copy {
  font-size: clamp(1.0625rem, 1.8vw, 1.3125rem);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.legal-copy > section + section { margin-top: 1.85rem; }
.legal-copy p + p { margin-top: 0.75rem; }

.legal-copy h2 {
  margin-bottom: 0.65rem;
  color: #333;
  font: 600 clamp(1.4rem, 2.65vw, 1.875rem)/1.18 "Source Sans", system-ui, sans-serif;
  letter-spacing: 0;
  text-wrap: wrap;
}

.legal-copy code {
  padding: 0.06em 0.18em;
  border-radius: 0.16rem;
  background: #ecf0f2;
  font-size: 0.88em;
}

.legal-footer { padding-block: 2.1rem 2rem; text-align: center; }

.legal-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 1.25rem;
}

.legal-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: clamp(1rem, 1.65vw, 1.3125rem);
  text-decoration: none;
}

.legal-footer a:hover, .legal-footer [aria-current="page"] { text-decoration: underline; }
.legal-preference { color: #225e8b; font-size: 1rem; }

.legal-page .privacy-panel { margin-top: 1.5rem; }
.legal-page .privacy-inner { max-width: 62.5rem; }
