* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

header, footer {
  background: #fbfbfb;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav ul {
  display: flex;
  align-items: center;
  text-align: center;
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 55px;
}

nav ul li {
  flex: 0 0 auto;
  margin: 0 20px;
}

nav ul li.active {
  box-shadow: inset 0 -2px 0 #3796fd;
}

nav, article {
  max-width: 1100px;
  min-width: 320px;
}

nav {
  margin: 0 auto;
}

article {
  margin: 70px auto 50px auto;
}

h1, h2, h3, h4 {
  display: block;
}

h2 {
  margin-top: 5px;
}

h4 {
  margin-bottom: 15px;
}

.text section:not(:last-child) {
  margin-bottom: 30px;
}

.text p, .text ul {
  margin-top: 10px;
}

.text ul li {
  margin-top: 10px;
}

.side-by-side {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.side-by-side.align-tops {
  align-items: flex-start;
}

.side-by-side .image {
  flex: 0 1 auto;
}

.side-by-side .image img {
  max-width: 100%;
}

.side-by-side .text {
  flex: 0 0 340px;
}

.side-by-side .testimonials {
  flex: 0 1 500px;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.side-by-side .testimonials div {
  margin: 0.5em 2em;
  font-weight: 300;
  font-style: italic;
}

.side-by-side .testimonials div:first-of-type {
  margin-top: 0;
}

blockquote {
  background: #494e53;
  text-align: center;
  margin: 0;
  -margin: 50px 0;
  padding: 30px 0;
}

blockquote article {
  margin: 0 auto;
}

.cta {
  width: 300px;
}

.download-button, .buy-button {
  display: block;
  margin-top: 13px;
  border-radius: 99px;
  text-decoration: none;
  text-align: center;
  line-height: 40px;
  width: 300px;
}

.download-button {
  border: 1px solid #3796fd;
  line-height: 38px;
  color: #3796fd;
}

.buy-button {
  background: #69aa1d ;
  color: white;
  font-weight: bold;
}

.download-button i.fa {
  margin-right: 10px;
}

.testimonials i.fa {
  font-size: 14px;
  color: #f6079d;
}

.guarantee {
  margin-top: 10px;
  font-size: 12px;
  text-align: center;
}

h1, h2, h3, blockquote p, .text, .testimonials {
  margin-left: 10px;
  margin-right: 10px;
}

footer {
  padding: 30px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

footer p {
  margin: 5px;
  font-size: 14px;
  text-align: center;
}

/* Download */

article.download {
  text-align: center;
}

article.download .cta {
  margin: 30px auto 70px auto;
}

article.download .download-link {
  display: block;
  margin: 15px;
}

@media (min-width: 761px) {
  nav .buy-link {
    display: block;
    line-height: 30px;
    padding: 0 30px;
    border-radius: 99px;
    text-align: center;

     background: #69aa1d ;
     color: white;
     font-weight: bold;
  }

  nav .download-link {
    display: block;
    line-height: 30px;
    padding: 0 30px;
    border-radius: 99px;
    text-align: center;
    background: #3796fd;
    color: white;
  }
}

/* FAQ */

.faq #faq-head, .faq #faq-body {
  margin-top: 40px;
}

.faq ol, .faq ul {
  margin: 20px;
}

.faq #faq-head li {
  margin-bottom: 10px;
}

.faq .faq-body-entry {
  margin-bottom: 30px;
}

/* EULA */

.eula {
  padding: 10px;
}

.eula h1 {
  margin-bottom: 30px;
}

.eula h4 {
  margin-top: 30px;
}

.eula p {
  margin-top: 10px;
}

@media (max-width: 760px) {
  nav {
    flex-direction: column;
  }

  nav ul {
    width: 100%;
    line-height: 30px;
    justify-content: space-around;
  }

  .side-by-side {
    flex-direction: column;
    margin-top: 20px;
  }

  .side-by-side.align-tops {
    align-items: center;
  }

  .side-by-side .image {
    order: -1;
  }

  .side-by-side .text {
    flex-basis: auto;
  }

  .side-by-side .testimonials {
    margin-top: 20px;
    flex-basis: auto;
    order: 1;
  }

  h1, h2, h3, blockquote p, .text, .testimonials {
    margin-left: 3.33%;
    margin-right: 3.33%;
  }

  .cta {
    margin-left: auto;
    margin-right: auto;
  }
}
