:root {
  color: #2b2926;
  background: #f4f1ea;
  font-family: "Public Sans", system-ui, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

a {
  color: #2e4a6b;
}

.legal-shell {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 72px;
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #dcd7cc;
}

.legal-brand {
  color: #2b2926;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.legal-header nav {
  display: flex;
  gap: 16px;
  font-size: 0.875rem;
}

main {
  padding-top: 48px;
}

h1,
h2 {
  font-family: "Libre Franklin", "Public Sans", system-ui, sans-serif;
  letter-spacing: -0.025em;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(2.1rem, 7vw, 3.5rem);
  line-height: 1;
}

h2 {
  margin: 40px 0 12px;
  font-size: 1.2rem;
}

p,
li {
  color: #56524b;
  font-size: 1rem;
  line-height: 1.7;
}

ul {
  padding-left: 22px;
}

.legal-date {
  margin: 0 0 36px;
  color: #8b857a;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.legal-callout {
  margin: 32px 0;
  padding: 20px;
  border: 1px solid #dcd7cc;
  background: #fbfaf7;
}

.legal-footer {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid #dcd7cc;
  color: #8b857a;
  font-size: 0.8rem;
}

@media (max-width: 560px) {
  .legal-header {
    align-items: flex-start;
    flex-direction: column;
  }

  main {
    padding-top: 36px;
  }
}
