#comparison {
  background-image: url('../../images/how-it-works/comparison-bg.png');
  background-image: image-set(url('../../images/how-it-works/comparison-bg.png') 1x,
    url('../../images/how-it-works/comparison-bg@2x.png') 2x);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 65px;
  padding-bottom: 55px;
  overflow: hidden;
}

#comparison .inner {
  padding: 48px 0 0 0;
}

#comparison .title {
  font-size: 64px;
  line-height: 1em;
  margin-bottom: 13px;
}

#comparison .title span {
  font-size: 62px;
}

#comparison p {
  font-size: 22.5px;
  line-height: 26px;
  max-width: 840px;
  margin: 0 auto;
}

#comparison .grid-cont {
  overflow: hidden;
  overflow-x: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

#comparison .grid-cont::-webkit-scrollbar {
  display: none;
}

#comparison .grid-wrapper {
  overflow: hidden;
  overflow-x: visible;
  padding: 15px 15px;
  margin: 17px -15px 0 -15px;
  position: relative;
}

#comparison .grid-wrapper::-webkit-scrollbar {
  display: none;
}


#comparison .grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr;
  align-items: stretch;
  box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
  width: 730px;
  margin: 0 auto;
}

#comparison .grid>* {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  position: relative;
}

#comparison .grid>*:nth-child(1),
#comparison .grid>*:nth-child(2),
#comparison .grid>*:nth-child(3) {
  height: 63px;
}

#comparison .grid>*:nth-child(2) img {
  position: relative;
  z-index: 4;
  top: -5px;
  background-color: #000;
}

#comparison .grid>*:nth-child(2)::before {
  content: '';
  position: absolute;
  background-color: #000;
  height: 1000px;
  left: 0;
  right: 0;
  top: -15px;
  box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

#comparison .grid p {
  width: 100%;
}

#comparison .spacer,
#comparison .text {
  background: #fff;
}

#comparison .text {
  border-top: 1px solid #c8c8c8;
  justify-content: start;
  padding-left: 21px;
  font-size: 14px;
  color: #000;
}

#comparison .x,
#comparison .check {
  border-top: 1px solid #fff;
}

#comparison .grid>*:nth-last-child(-n + 2) {
  border-bottom: 1px solid #fff;
}

#comparison .image,
#comparison .image img,
#comparison .check {
  position: relative;
  z-index: 2;
}

#comparison .check img {
  height: 25px;
  position: relative;
  z-index: 2;
}

#comparison .x img {
  height: 15px;
}

#comparison .cc,
#comparison .x {
  background-color: var(--middle-gray);
}

#comparison .cc {
  font-size: 14px;
  padding-top: 5px;
}

@media screen and (max-width: 567px) {
  #comparison {
    margin-top: 49px;
    padding-bottom: 62px;
  }

  #comparison .inner {
    padding: 24px 0 0 0;
  }

  #comparison .title {
    font-size: 35px;
    line-height: 38px;
  }

  #comparison p {
    font-size: 18px;
    line-height: 23px;
  }

  #comparison .grid {
    grid-template-columns: 170px 85px 85px;
  }

  #comparison .grid .image img {
    width: 74px;
    height: auto;
  }

  #comparison .grid p {
    text-align: center;
  }

  #comparison .grid-wrapper {
    margin-top: 35px;
    padding: 15px 15px 25px 15px;
  }

  #comparison .grid {
    width: auto;
  }

  #comparison .text {
    font-size: 13px;
    line-height: 19px;
    padding: 9px 8px 9px 15px;
  }

  #comparison .grid>* {
    height: unset;
  }
}