:root {
  color-scheme: light dark;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-synthesis: none;
  background: #fbfbf8;
  color: #171714;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #fbfbf8;
}

body {
  min-height: 100svh;
  margin: 0;
  background: #fbfbf8;
  color: #171714;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

main {
  width: min(100%, 784px);
  padding: 3rem 3.25rem;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 4rem;
  font-size: clamp(2rem, 5vw, 2.125rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h2 {
  margin-bottom: 1.125rem;
  font-size: 1.1875rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

p {
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.45;
}

a {
  color: inherit;
  text-decoration-color: rgb(23 23 20 / 45%);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.1875rem;
}

a:hover {
  text-decoration-color: currentColor;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 0.25rem;
}

@media (max-width: 32rem) {
  main {
    padding: 1.875rem 1.625rem;
  }

  h1 {
    margin-bottom: 3.25rem;
    font-size: 1.875rem;
  }
}

@media (prefers-color-scheme: dark) {
  :root,
  html,
  body {
    background: #151512;
    color: #f1f1eb;
  }

  a {
    text-decoration-color: rgb(241 241 235 / 45%);
  }
}
