:root {
  --bg-color: #ffffff;
  --bg-secondary-color: #f3f3f6;
  --color-primary: #14854F;
  --color-secondary: #4e00cc;
  --color-lightGrey: #edf1f7;
  --color-grey: #747681;
  --color-darkGrey: #3f4144;
  --color-error: #d43939;
  --color-success: #18cc00;
  --grid-maxWidth: 88rem;
  --grid-gutter: 2rem;
  --font-size: 1.6rem;
  --font-color: #333333;
  --font-family-sans: sans-serif;
  --system-ui: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --testimonial-thumb: 72px;
  font-size: 13px;
}

body {
  background-image: url(../assets/topology-light.svg);
  font-family: var(--system-ui);
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

h1 {
  font-size: 6rem;
}

h2 {
  margin-top: 4rem;
}

.headshot {
  border: 1px solid #ffffff;
  border-radius: 1rem;
}

.testimonial {
  background-color: var(--bg-color);
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .1);
  padding: 2rem;
}

.testimonial figure {
  border-top: 1px solid var(--color-grey);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  font-size: 1.2rem;
}

.testimonial figure img {
  min-width: var(--testimonial-thumb);
  min-height: var(--testimonial-thumb);
  width: var(--testimonial-thumb);
  height: var(--testimonial-thumb);
  border-radius: 1rem;
  margin-left: 0;
  margin-right: 1rem;
  flex-grow: 0;
}

.testimonial figure figcaption {
  flex-grow: 1;
}

.testimonial figure strong {
  display: block;
}

.testimonial a {
  color: var(--color-grey);
}

a.subscribe {
  display: block;
  font-weight: bold;
  color: white;
  padding: 1rem;
  margin: 1rem;
  border-radius: 1rem;
  font-size: 2rem;
  text-align: center;
  background-color: var(--color-success);
}

.sales-box {
  background-color: var(--color-lightGrey);
  position: sticky;
  top: 1rem;
  border-radius: 1rem;
  overflow: hidden;
}

.sales-box p {
  margin: 1rem;
  color: #000000;
}

ul.checklist {
  list-style: url(https://icongr.am/feather/check-circle.svg?size=18&color=00d100);
}

@media (prefers-color-scheme: dark) {
  :root {
    --font-color: #f0f0f0;
    /*--bg-color: #201e26;*/
    --bg-color: #222435;
    --bg-secondary-color: #f3f3f6;
    --color-primary: #14854F;
    --color-error: #d43939;
    --color-success: #28bd14;
  }

  body {
    background-image: url(../assets/topology.svg);
    font-family: var(--system-ui);
  }

  .testimonial {
    box-shadow: 0 4px 20px rgba(255, 255, 255, .1);
  }
}

@media screen and (max-width: 600px) {
  h1 {
    font-size: 3.5rem;
  }

  .sales-box {
    background-color: var(--color-lightGrey);
    position: fixed;
    bottom: 10px;
    left: 1rem;
    right: 1rem;
    border-radius: 1rem;
    height: 6rem;
    display: flex;
    font-size: 1rem;
  }

  .sales-box img {
    display: none;
  }

  .sales-box p {
    margin: 1rem;
    color: #000000;
  }

  a.subscribe {
    display: block;
    font-weight: bold;
    color: white;
    padding: 1rem;
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 900px) {
  .host img {
    width: 64px;
    height: 64px;
    max-width: 64px;
  }

  .testimonial figure {
    display: flex;
    flex-direction: row;
  }

  .testimonial figure img {
    width: 64px;
    height: 64px;
    max-width: 64px;
  }
}
