* {
  margin: 0;
  padding: 0;
}

:root {
  --padding: 1.5rem;
  --max-width: 70rem;
  --page-top: 8rem;
  --page-top-mobile: 5rem;
  --main-offset: 10rem;
  --main-offset-mobile: 6rem;
  --color-black: #000;
  --color-white: #fff;
  --color-grey: #777;
  --color-light: #efefef;
  --color-text: var(--color-black);
  --color-text-grey: var(--color-grey);
  --color-background: var(--color-white);
  --font-family-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --ease-out: cubic-bezier(0.25, 1, 0.5, 1);
  --transition-image: transform 0.5s var(--ease-out), opacity 0.5s var(--ease-out);
  --caps-spacing: 0.05em;
  --caps-spacing-tight: 0.04em;
  --caps-spacing-loose: 0.02em;
}

html {
  font-family: var(--font-family-sans);
  color: var(--color-text);
  background: var(--color-background);
  scrollbar-gutter: stable;
}

img {
  width: 100%;
}

body {
  padding: var(--padding);
  max-width: var(--max-width);
  margin: 0 auto;
}

li {
  list-style: none;
}

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

button {
  font: inherit;
  background: none;
  border: 0;
  color: currentColor;
  cursor: pointer;
}

strong, b {
  font-weight: 600;
}

small {
  font-size: inherit;
  color: var(--color-text-grey);
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.caps {
  text-transform: uppercase;
  letter-spacing: var(--caps-spacing);
}

.caps-tight {
  text-transform: uppercase;
  letter-spacing: var(--caps-spacing-tight);
}

.caps-loose {
  text-transform: uppercase;
  letter-spacing: var(--caps-spacing-loose);
}

.text-none,
.text-none * {
  text-transform: none;
}

.main {
  padding-top: var(--main-offset);
}

@media screen and (max-width: 44.99em) {
  .main {
    padding-top: var(--main-offset-mobile);
  }
}

.prose {
  max-width: 36rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.prose-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.prose-center > * {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.social {
  display: flex;
  padding: 0;
}

.social a {
  padding: 0.1rem;
}

.text {
  line-height: 1.5em;
}

.text a {
  text-decoration: underline;
}

.text :first-child {
  margin-top: 0;
}

.text :last-child {
  margin-bottom: 0;
}

.text p,
.text ul,
.text ol {
  margin-bottom: 1.5rem;
}

.text ul,
.text ol {
  margin-left: 1rem;
}

.text ul > li {
  list-style: disc;
}

.text ol > li {
  list-style: decimal;
}

.text h1,
.h1 {
  font-size: 2rem;
  margin-bottom: 3rem;
  line-height: 1.25em;
}

.text h2,
.h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.text h3,
.h3 {
  font-weight: 600;
}

.text hr {
  margin: 6rem 0;
}

.text figure {
  margin: 3rem 0;
}

.text figcaption {
  padding-top: .75rem;
  color: var(--color-text-grey);
}
