@import url('https://rsms.me/inter/inter.css');

:root {
  --bg: #0f0f12;
  --text: #fafafa;
  font-family: 'Inter', sans-serif;
  font-feature-settings: 'liga' 1, 'calt' 1, 'case' 1, 'zero' 1;
}

@supports (font-variation-settings: normal) {
  :root {
    font-family: 'InterVariable', sans-serif;
  }
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #fafafa;
    --text: #0a0a0a;
  }
}

body {
  margin: 0 auto;
  max-width: 28em;
  padding: 4rem 1.5rem 6rem;
  background-color: var(--bg);
  color: var(--text);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.4;
}

h1,
h2 {
  font-size: 1em;
  font-weight: 600;
  line-height: inherit;
  margin: 0;
}

h2 {
  margin-top: 2.8rem;
}

h3 {
  font-size: 1em;
  font-weight: 600;
  line-height: inherit;
  margin: 2.8rem 0 0;
}

p {
  margin: 0.7rem 0 0;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
}

h1 a {
  text-decoration: none;
}
