@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&family=Dokdo&family=DM+Mono:ital,wght@0,300;0,400;0,500;1,400&display=swap');

/* Global reset */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--color-bg);
  color: var(--color-text-primary);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
}

/* blockquote and figure both carry a browser-default `1em 40px`, which silently indents them
   40px and narrows them 80px inside an already-sized column. */
h1, h2, h3, h4, p, ul, ol, figure, blockquote {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.content {
  max-width: calc(var(--content-max-width) + 2 * var(--space-page-margin));
  margin: 0 auto;
  padding-left: var(--space-page-margin);
  padding-right: var(--space-page-margin);
}
