:root {
  --text: #000000;
  --bg: #ffffff;
  --bg-alt: #f7f7f7;
  --max-width: 720px;
  --hero-max: 1440px;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Assistant", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

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

a {
  color: inherit;
}

.site-header {
  display: flex;
  justify-content: center;
  padding: 28px 20px 24px;
}

.brand img {
  width: 160px;
  height: auto;
}

.hero {
  margin: 0 auto;
  max-width: var(--hero-max);
  padding: 0 0 48px;
}

.hero img {
  width: 100%;
}

.content {
  padding: 24px 20px 64px;
}

.content--gray {
  background: var(--bg-alt);
  padding-top: 64px;
  padding-bottom: 64px;
  margin-bottom: 32px;
}

.text {
  max-width: var(--max-width);
  margin: 0 auto;
}

.text p,
.text ul {
  margin: 0 0 1.25em;
}

.text ul {
  padding-left: 1.25em;
}

.text li {
  margin-bottom: 0.75em;
}

.text h2 {
  font-size: 28px;
  line-height: 1.25;
  font-weight: 700;
  margin: 2em 0 0.75em;
}

.text h2 strong {
  font-weight: 700;
}

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

.figure {
  margin: 32px auto;
  max-width: 840px;
  text-align: center;
}

.figure--spaced {
  margin-bottom: 80px;
}

.figure picture,
.figure img {
  margin: 0 auto;
}

@media (min-width: 768px) {
  body {
    font-size: 18px;
  }

  .text h2 {
    font-size: 36px;
  }

  .site-header {
    padding: 40px 20px 32px;
  }

  .brand img {
    width: 200px;
  }

  .content {
    padding: 32px 20px 80px;
  }

  .content--gray {
    padding-top: 96px;
    padding-bottom: 96px;
  }
}
