main .bullet_list .item.with_text {
  max-width: 630px;
}

main .bullet_list .item {
  max-width: 690px;
}

.flex_gap_64,
.flex_gap_64_r {
  grid-template-columns: 1fr 1fr;
}

#home_section {
  position: relative;

  max-width: 1920px;
  margin-inline: auto;

  margin-bottom: 17%;
  min-height: 700px;
}

#home_section .overlay {
  width: 100vw;
  height: 700px;
  max-height: 700px;

  padding-top: 3.25rem;

  overflow: hidden;

  position: relative;
  left: 50%;
  transform: translateX(-50%);
  z-index: -100;
}

#home_section .overlay::before {
  content: "";
  height: 100%;
  width: 150%;
  background-color: var(--light-blue);
  transform: skewY(-2deg);

  position: absolute;
  bottom: -4rem;
  left: 0;
  z-index: -999;
}

#home_section .content {
  margin-inline: 7.375rem;
  width: calc(100% - (7.375rem * 2));
  max-width: 1920px;
  min-height: 680px;

  padding: 6.25rem 9.5rem 2rem 9.5rem;
  background-color: var(--purple);
  border-radius: 16px 16px 0 0;

  display: grid;
  align-items: center;
  grid-template-columns: 1.7fr 1fr;
  gap: 4.5rem;

  position: absolute;
  top: 1.375rem;
  z-index: 10;
}

#home_section .content::before {
  content: "";
  width: 100%;
  height: 50%;
  background-color: var(--purple);
  transform: skewY(-3deg);
  border-radius: 16px;

  position: absolute;
  bottom: -9%;
  left: 0;
  z-index: -999;
}

#home_section .content .info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.75rem;

  color: #fff;
  text-align: left;

  max-width: 810px;
}

#home_section .content .info h2 {
  font-size: 2.25rem;
  line-height: 2.875rem;
  letter-spacing: 0.36px;
  font-weight: 500;
  margin-bottom: 0;

  color: #fff;

  opacity: 0.75;
}

#home_section .content .info h1 {
  font-size: 3.9375rem;
  line-height: 4.375rem;
  color: #fff;

  margin-bottom: 0.5rem;
}

#home_section .content .info p {
  font-family: "freight-sans-pro", sans-serif;
  font-weight: 300;

  line-height: 1.75rem;

  opacity: 0.75;
}

#home_section .content .info .bullet_list {
  max-width: 700px;
}

#home_section .content .info .bullet_list .item span {
  color: var(--light-blue);
}

#home_section .content .info .bullet_list .item h2 {
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.5rem;
  opacity: 1;
  color: var(--light-blue);
}

#home_section .content .info .buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.75rem;
}

#home_section .content .info button.button {
  background-color: #fff;
  border: 2px solid #fff;

  color: var(--purple);
  width: 290px;
  padding-block: 8px;

  margin-top: calc(2.25rem - 1.75rem);

  transition: border 0.3s;
}

#home_section .content .info button.button.invert {
  background-color: transparent;
  color: #fff;
}

#home_section .content .info button.button a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.125rem;
}

#home_section .content .info button.button:hover {
  border: 2px solid #5b23b1;
  color: #5b23b1;
}

#home_section .content .header_img {
  display: flex;
  justify-content: center;
  align-items: center;
}

#home_section .content .header_img img {
  width: 100%;
  max-width: 592px;

  margin-inline: auto;
}

#payology_gateway_features {
  padding-block: 2rem 8rem;
}

#payology_gateway_features .content h2 {
  max-width: 610px;
}

#why_choose_payology_gateway {
  padding-block: 9rem 12rem;

  position: relative;
}

#why_choose_payology_gateway::before {
  content: "";
  width: 100%;
  height: 65%;
  background-color: var(--soft-blue);

  position: absolute;
  top: 0;
  left: 0;
  transform: skewY(2deg);

  z-index: -999;
}

#why_choose_payology_gateway::after {
  content: "";
  width: 100%;
  height: 65%;
  background-color: var(--soft-blue);

  position: absolute;
  bottom: 0;
  left: 0;
  transform: skewY(5deg);

  z-index: -999;
}

#why_choose_payology_gateway .content h2 {
  max-width: 620px;
}
#why_choose_payology_gateway .bg_one_plate::before {
  height: 108%;
  top: 48.5%;
}

#comparison {
  padding-block: 20rem calc(7rem + (16.25rem - 4.25rem));
}

#comparison .comparison_table {
  padding: 0 1.875rem 2.5rem 1.875rem;
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 0px 20px 18px #00000034;
  margin-inline: 1.125rem;

  position: relative;
}

#comparison .comparison_table::before {
  content: "";
  width: 100%;
  height: 50%;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0px 0px 18px #00000034;

  position: absolute;
  top: -8%;
  left: 0;
  transform: skewY(-3deg);

  z-index: -9;
}

#comparison .comparison_table h2 {
  padding: 1rem 3rem;
  background-color: var(--purple);
  width: 100%;
  height: 50%;
  max-width: 780px;
  border-radius: 12px;

  text-align: left;
  color: #efefef;
  font-size: 3rem;
  line-height: 3rem;
  font-family: "museo-sans", sans-serif;
  font-weight: 700;

  position: absolute;
  left: 4rem;
  top: -8rem;
  z-index: -10;
}

#comparison .comparison_table h2::before {
  content: "";
  background-color: var(--purple);
  width: 100%;
  height: 100%;
  border-radius: 12px;

  position: absolute;
  top: -10.5%;
  left: 0;
  transform: skewY(4deg);

  z-index: -11;
}

#comparison .comparison_table table {
  border-collapse: collapse;

  width: 100%;
}

#comparison .comparison_table thead tr th {
  border-bottom: 2px solid #4621746a;
  padding: 1rem 3rem;

  font-size: 1.75rem;
  line-height: 1.5rem;
  color: var(--purple);
  font-family: "museo-sans", sans-serif;
  font-weight: 500;
  text-align: center;
}

#comparison .comparison_table thead tr th img.non_mobile {
  width: 162px;
}
#comparison .comparison_table thead tr th img.only_mobile {
  margin-inline: auto;
}

#comparison .comparison_table thead tr th:nth-child(2),
#comparison .comparison_table thead tr th:nth-child(3) {
  border-left: 1px solid var(--purple);
}

#comparison .comparison_table tbody tr td img {
  width: 1.625rem;
}

#comparison .comparison_table tbody tr td {
  border-bottom: 2px solid #4621746a;
  padding: 1rem;
}

#comparison .comparison_table tbody tr td:nth-child(3) {
  border-left: 1px solid var(--purple);
}

#comparison .comparison_table tbody tr td:nth-child(1) {
  border-right: 1px solid var(--purple);
  text-align: left;
  padding-left: 2rem;

  color: var(--deep-purple);
  font-size: 1.125rem;
  font-family: "freight-sans-pro", sans-serif;
  font-weight: 500;
}

@media only screen and (min-width: 2000px) {
  #home_section {
    margin-bottom: 5%;
  }

  #payology_gateway_features {
    padding-top: 13rem;
  }
}

@media only screen and (max-width: 1700px) {
  #home_section  {
    margin-bottom: 10%;
  }

  #home_section .content {
    margin-inline: 1.125rem;
    width: calc(100% - 1.125rem * 2);
    padding-inline: 4rem;
  }

  #payology_gateway_features {
    padding-top: 10rem;
  }
}

@media only screen and (max-width: 1440px) {
  #home_section .content .info .buttons {
    gap: 1rem;
  }

  #home_section .content .info .buttons .button {
    width: 250px;
  }

  #payology_gateway_features {
    padding-top: 15rem;
  }
}

@media only screen and (max-width: 1240px) {
  .flex_gap_64 .only_mobile,
  .flex_gap_64_r .only_mobile,
  .flex_gap_64 .on_mobile,
  .flex_gap_64_r .on_mobile {
    display: block;
    width: 100%;
    max-width: 560px;
    z-index: 1;
  }

  .flex_gap_64,
  .flex_gap_64_r {
    grid-template-columns: 1fr;
  }

  #home_section .content {
    margin-inline: 0;
    width: calc(100%);
    border-radius: 0;
    padding-inline: 1.125rem;
  }

  #home_section .content::before {
    border-radius: 0;
  }

  #home_section .content .info h1 {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }

  #home_section .content .info h2 {
    font-size: 1.5rem;
    line-height: 1.75rem;
  }

  #payology_gateway_features {
    padding-top: 7.5rem;
  }

  #payology_gateway_features .content h2 {
    max-width: none;
  }
}

@media only screen and (max-width: 1020px) {
  #home_section .non_mobile,
  #home_section .overlay {
    display: none;
  }

  #home_section .overlay::before {
    background-color: transparent;
  }

  #home_section .content {
    width: 100%;
    max-height: 100%;

    margin-inline: auto;
    border-radius: 0;

    position: static;

    padding: 1.125rem 2rem 0 2rem;
    grid-template-columns: 1fr;

    gap: 1.75rem;
  }
  #home_section .content::before {
    border-radius: 0;

    transform: skewY(-10deg);
  }

  #home_section .content .info {
    gap: 1.125rem;
    max-width: none;
  }

  #home_section .content .info h1 {
    font-size: 4rem;
    line-height: 4.375rem;
  }

  #home_section .content .info h2 {
    font-size: 2.25rem;
    line-height: 2.875rem;
  }

  #home_section .content .info .buttons .button {
    padding-block: 0.875rem;
  }

  #home_section .content .header_img {
    grid-row: 1;
  }

  #payology_gateway_features {
    padding-bottom: 7.5rem;
  }

  #why_choose_payology_gateway {
    padding-block: 7.5rem 6rem;
  }

  #why_choose_payology_gateway::before {
    transform: skewY(7deg);
  }
  #why_choose_payology_gateway::after {
    transform: skewY(-7deg);
  }

  #comparison {
    padding-bottom: 8rem;
  }

  #comparison .comparison_table h2 {
    left: 0.75rem;
    width: calc(100% - (0.75rem * 2));

    font-size: 1.75rem;
    line-height: 2.25rem;
    letter-spacing: -0.54px;
  }

  #comparison .comparison_table thead tr th {
    padding: 1rem 0.375rem;
  }
}

@media only screen and (max-width: 800px) {
  .bg_two_plates {
    width: calc(100% - 1.125rem);
  }

  .bg_one_plate::before {
    height: 100%;
    top: 50%;
    transform: translateY(-50%) translateX(-50%) skewY(-8deg);
  }

  .bullet_list .item.with_text div span {
    font-size: 1.125rem;
    line-height: 1.5rem;
  }

  #home_section .content {
    padding: 1.125rem;
  }

  #home_section .content .info h1 {
    font-size: 2.25rem;
    line-height: 2.875rem;
    letter-spacing: -0.72px;
  }

  #home_section .content .info h2 {
    font-size: 1.125rem;
    line-height: 2.5rem;
  }

  #home_section .content .info p {
    font-family: "museo-sans", sans-serif;
  }

  #payology_gateway_features .content h2 {
    letter-spacing: -0.54px;
  }

  #comparison .comparison_table {
    padding-inline: 0.375rem;
  }
  #comparison .comparison_table h2 {
    padding-inline: 1.75rem 1.125rem;
  }

  #comparison .comparison_table thead tr th {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  #comparison .comparison_table tbody tr td:nth-child(1) {
    padding-left: 0;
    padding-right: 0.375rem;
  }

  #comparison .comparison_table tbody tr:nth-last-child(1) td {
    border-bottom: none;
  }
}

@media only screen and (max-width: 460px) {
  #payology_gateway_features h2 {
    font-size: 1.75rem;
    line-height: 2.25rem;
  }

  #comparison {
    padding-top: 16rem;
  }

  #comparison .comparison_table h2 {
    top: -6.5rem;
  }

  #comparison .comparison_table h2::before {
    top: -6%;
  }

  #comparison .comparison_table::before {
    transform: skewY(-6deg);
    top: -4%;
  }
}

@media only screen and (max-width: 390px) {
  #comparison .comparison_table h2 {
    font-size: 1.25rem;
  }
}
