.download-cta {
  position: relative;
  margin: 75px 0;
  padding: 0 $half-gutter;

  @include sm {
    margin: 50px 0;
    padding: 0;
  }

  &__wrapper {
    max-width: $max-width;
    margin: auto;
    padding: 0 $half-gutter;

    @include sm {
      padding: 0;
    }
  }

  &__boxes {
    display: flex;
    margin: 0 calc(100% / 12 + #{$half-gutter});

    .download-cta--invert & {
      flex-direction: row-reverse;
    }

    @include mdx {
      margin: 0;
    }

    @include sm {
      display: block;
    }
  }

  &__box {
    background: $primary-color;
    color: $white;
    width: 50%;

    @include sm {
      width: 100%;
    }

    .download-cta--light-blue & {
      background: $background-blue;
      color: $primary-color;
    }
  }

  &__box-cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 65px;
    text-align: center;
    margin-bottom: 80px;

    @include sm {
      margin-bottom: 0;
      padding: 20px 24px;
    }
  }

  &__box-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 80px;
    padding: 80px 53px;
    font-size: 2.1rem;

    @include sm {
      margin-top: 0;
      padding: 47px 47px 32px;
      font-size: 1.8rem;

      h2 {
        font-size: 2.1rem;
        line-height: 2.9rem;
      }
    }

    h1, h2, h3, h4 {
      color: $white;
      margin: 1.6rem 0;

      .download-cta--light-blue & {
        color: $primary-color;
      }
    }

    > *:first-child {
      margin-top: 0;
    }

    > *:last-child {
      margin-bottom: 0;
    }

    ul {
      li {
        position: relative;
        padding-left: 41px;
        margin-bottom: 16px;

        @include sm {
          padding-left: 34px;
        }

        &:last-child {
          margin-bottom: 0;
        }

        &::before {
          content: '';
          display: block;
          position: absolute;
          left: 0;
          top: 4px;
          width: 25px;
          height: 18px;
          background: url("../assets/img/svg/ico_check_w.svg") no-repeat center;
          background-size: 25px;

          .download-cta--light-blue & {
            background: url("../assets/img/svg/ico_check.svg") no-repeat center;
            background-size: 25px;
          }
        }
      }
    }
  }

  &__subtitle {
    font-size: 2.1rem;
    margin: 20px 0;
  }

  &__title {
    margin: 20px 0;
    color: $white;
  }

  &__cta {
    margin: 20px 0;

    .std-button {
      padding: 0 24px;

      &::before {
        content: '';
        display: inline;
        width: 18px;
        height: 18px;
        background: url("../assets/img/svg/ico_download_w.svg") no-repeat center;
        margin-right: 10px;
      }
    }
  }
}
