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

body {
  font-family: -apple-system, "Helvetica Neue", "Segoe UI", sans-serif;
  line-height: 1.5;
  background-color: #fff;
  color: #606c71;
}

a {
  color: #ff3824;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.block {
  background-color: #fff;
  color: rgb(104, 104, 113);
  position: relative;
}

.block-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.nav-block {
  background-color: #252525;
  border-bottom: 1px solid #353535;
}

.nav-links {
  list-style-type: none;
  text-align: right;
}

.nav-links li {
  display: inline-block;
  margin-left: 1.5rem;
}

.nav-links li:first-child {
  margin-left: 0;
}

.nav-link {
  color: rgba(255, 255, 255, 0.35);
  display: inline-block;
  font-size: 0.875rem;
  line-height: 3;
}

.nav-link:hover {
  color: #fff;
  text-decoration: none;
}

.header-block {
  background-color: #252525;
  padding-top: 9rem;
  padding-bottom: 7rem;
}

.product-name {
  color: rgb(212, 212, 222);
  font-family: "DIN Condensed", "Segoe UI", sans-serif;
  font-size: 4.5rem;
  line-height: 1.25;
  text-align: center;
}

.lead {
  color: rgb(160, 160, 174);
  font-size: 1rem;
  font-weight: 200;
  line-height: 1.375;
  margin: 0 auto 6rem auto;
  text-align: center;
  max-width: 580px;
}

.header-block .lead {
  color: rgb(110, 110, 119);
  font-size: 1.5rem;
  margin-bottom: 0;
}

.block-title {
  font-size: 1.5rem;
  font-weight: 200;
  margin-bottom: 0.75rem;
  text-align: center;
}

.hero-block {
  background-color: #353535;
  text-align: center;
}

.hero {
  width: 460px;
  position: relative;
  top: -5rem;
}

.download-block {
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
  margin-top: -18rem;
  padding: 3rem 0;
  text-align: center;
}

.app-store-btn {
  width: 135px;
  height: 40px;
}

.graph {
  display: inline-block;
  margin-left: 6%;
  margin-right: 6%;
  margin-bottom: 3rem;
  width: 10%;
}

.graph:first-of-type {
  margin-left: 0;
}

.graph:nth-of-type(5) {
  margin-right: 0;
}

.graph-title {
  font-weight: 200;
  font-size: 0.875rem;
  line-height: 1.2;
}

.graph-label {
  position: absolute;
  left: 10px;
  font-size: 0.6875rem;
  border-top: 1px solid #54c7fc;
  padding: 2px 8px 0 0;
  color: #54c7fc;
}

.graph-legend {
  color: rgb(160, 160, 174);
  font-size: 0.6875rem;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
}

.graph .before {
  display: inline-block;
  margin-right: 2px;
  width: 6px;
  position: relative;
}

.graph .after {
  display: inline-block;
  width: 6px;
  position: relative;
}

.graph-requests .before,
.graph-requests .after {
  background-color: #ff3824;
}

.graph-requests .graph-label {
  border-color: #ff3824;
  color: #ff3824;
}

.graph-size .before,
.graph-size .after {
  background-color: #54c7fc;
}

.graph-size .graph-label {
  color: #54c7fc;
  border-color: #54c7fc;
}

.graph-requests-a .before {
  height: 262px;
}

.graph-requests-a .after {
  height: 73px;
}

.graph-requests-b .before {
  height: 327px;
}

.graph-requests-b .after {
  height: 102px;
}

.graph-requests-c .before {
  height: 420px;
}

.graph-requests-c .after {
  height: 192px;
}

.graph-requests-d .before {
  height: 326px;
}

.graph-requests-d .after {
  height: 197px;
}

.graph-requests-e .before {
  height: 263px;
}

.graph-requests-e .after {
  height: 176px;
}

.graph-size-a .before {
  height: 262px;
}

.graph-size-a .after {
  height: 103px;
}

.graph-size-b .before {
  height: 227px;
}

.graph-size-b .after {
  height: 100px;
}

.graph-size-c .before {
  height: 420px;
}

.graph-size-c .after {
  height: 241px;
}

.graph-size-d .before {
  height: 276px;
}

.graph-size-d .after {
  height: 215px;
}

.graph-size-e .before {
  height: 153px;
}

.graph-size-e .after {
  height: 117px;
}

.author-block {
  text-align: center;
}

.author-info {
  display: inline-block;
  margin: 0 110px;
}

.author-info:first-of-type {
  margin-left: 0;
}

.author-info:last-of-type {
  margin-right: 0;
}

.avatar {
  border-radius: 50%;
  width: 220px;
  height: 220px;
  margin-bottom: 1rem;
}

.author-name {
  font-weight: 200;
  font-size: 1rem;
  line-height: 1.5;
}

.author-link {
  font-weight: 200;
}

.footer-block {
  background-color: #252525;
  text-align: center;
}

.footer-block .block-content {
  padding: 12rem 0;
}

.credits {
  font-size: 0.875rem;
  line-height: 4;
  padding: 0 20px;
  position: absolute;
  bottom: 0;
  text-align: left;
  width: 100%;
}

.credits a {
  color: inherit;
}

.footer-block .nav-links {
  position: absolute;
  bottom: 0;
  right: 20px;
}

.footer-block .nav-link {
  color: inherit;
  line-height: 4;
}

.spaced {
  margin-bottom: 6rem;
}

.bordered .block-content {
  padding-bottom: 6rem;
}

.bordered .block-content::after {
  content: '';
  background: #eee;
  width: 100%;
  height: 1px;
  position: absolute;
  bottom: 0;
  left: 0;
}

@media screen and (min-width: 64em) {

}

@media screen and (min-width: 42em) and (max-width: 64em) {
  .bordered .block-content::after {
    width: 45%;
    left: 50%;
    margin-left: -22.5%;
  }

  .graph {
    margin-left: 5.85%;
    margin-right: 5.85%;
  }

  .author-info {
    margin: 0 90px;
  }
}

@media screen and (max-width: 42em) {
  .nav-links {
    text-align: center;
  }

  .header-block .lead {
    font-size: 1.3125rem;
  }

  .block-title {
    font-size: 1.3125rem;
    line-height: 1.3;
  }

  .hero {
    width: 100%;
  }

  .spaced {
    margin-bottom: 4rem;
  }

  .bordered .block-content {
    padding-bottom: 4rem;
  }

  .bordered .block-content::after {
    width: 20%;
    left: 50%;
    margin-left: -10%;
  }

  .lead {
    margin-bottom: 4rem;
  }

  .graph {
    margin-left: 1.75%;
    margin-right: 1.75%;
    margin-bottom: 3rem;
    width: 30%;
    text-align: center;
  }

  .graph:nth-of-type(4) {
    margin-right: 0;
  }

  .graph-requests-b,
  .graph-requests-e,
  .graph-size-b,
  .graph-size-e {
    display: none;
  }

  .author-info {
    margin: 0;
  }

  .author-info:first-of-type {
    margin-bottom: 4rem;
  }

  .credits {
    text-align: center;
  }

  .footer-block .nav-links {
    display: none;
  }
}
