@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/instrument-sans-latin.woff2') format('woff2-variations');
}

@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/instrument-serif-latin.woff2') format('woff2');
}

html {
  color-scheme: light;
}

body {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 20px 64px;
  background: #f4f5f7;
  color: #17191c;
  font-family: 'Instrument Sans', system-ui, sans-serif;
  line-height: 1.6;
}

.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
  color: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
}

.legal-brand img {
  width: 30px;
  height: 30px;
}

h1 {
  margin: 0 0 12px;
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 1.1;
}

h2 {
  margin: 36px 0 8px;
  font-size: 18px;
  line-height: 1.3;
}

p {
  color: #4f5660;
}

a {
  color: #a83b11;
  text-underline-offset: 3px;
}

.legal-footer {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid #dde1e6;
}

@media (prefers-color-scheme: dark) {
  html {
    color-scheme: dark;
  }

  body {
    background: #111315;
    color: #f2f4f6;
  }

  p {
    color: #b3bac3;
  }

  a {
    color: #f08851;
  }

  .legal-footer {
    border-color: #343941;
  }
}
