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

:root {
  color-scheme: light;
  --background: #fff;
  --text: #111;
  --muted: #667;
  --link: #0645ad;
  --link-visited: #551a8b;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

@supports (font-variation-settings: normal) {
  html {
    font-family: "Inter var", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  }
}

body {
  margin: 0;
}

main {
  max-width: 640px;
  margin: 0 auto;
  padding: 42px 20px 64px;
}

header {
  margin-bottom: 34px;
}

section {
  margin: 30px 0;
}

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

h1 {
  margin-bottom: 8px;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  margin-bottom: 8px;
  font-size: 1rem;
  font-weight: 700;
}

p {
  margin-bottom: 12px;
}

.lede {
  margin-top: 16px;
  margin-bottom: 8px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 12px;
}

a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:visited {
  color: var(--link-visited);
}

a:hover {
  text-decoration-thickness: 2px;
}

ul,
ol {
  padding-left: 1.25rem;
}

li {
  margin: 5px 0;
}

strong {
  font-weight: 700;
}

.note {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.875rem;
}

.muted {
  color: var(--muted);
}

@media (max-width: 520px) {
  html {
    font-size: 16px;
  }

  main {
    padding: 28px 16px 48px;
  }
}

@media print {
  main {
    max-width: none;
    padding: 0;
  }

  nav {
    gap: 0 8px;
  }

  a {
    color: #000;
  }
}
