/*=============================================
=      Ostwal incentive platform extras       =
=============================================*/
/* The shared case study styles live in satyathi.css */
.oc-challenge {
  background: var(--sc-tint);
}

.oc-compare {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

.oc-compare__col {
  height: 100%;
  padding: 28px;
  border: 1px solid var(--sc-line);
  border-radius: 14px;
  background: #fff;
}

.oc-compare__col--after {
  border-color: var(--sc-brand-strong);
  background: linear-gradient(150deg, var(--sc-night), var(--sc-night-2));
  color: rgba(255, 255, 255, 0.88);
}

.oc-compare h3 {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 16px;
  color: var(--sc-ink);
  font-size: 19px;
  font-weight: 600;
}

.oc-compare h3 i {
  color: var(--sc-review);
}

.oc-compare__col--after h3 {
  color: #fff;
}

.oc-compare__col--after h3 i {
  color: #cdb8ff;
}

.oc-compare ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.oc-compare li {
  position: relative;
  padding: 7px 0 7px 26px;
  color: var(--sc-body);
  font-size: 16px;
  line-height: 1.5;
}

.oc-compare li::before {
  content: '\2715';
  position: absolute;
  top: 7px;
  left: 0;
  color: var(--sc-review);
  font-weight: 700;
}

.oc-compare__col--after li {
  color: rgba(255, 255, 255, 0.88);
}

.oc-compare__col--after li::before {
  content: '\2713';
  color: #7ee2b8;
}

.oc-compare__arrow {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 50%;
  background: var(--sc-brand);
  color: #fff;
  font-size: 20px;
  box-shadow: 0 10px 24px rgba(99, 64, 181, 0.3);
}

.oc-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: oc-step;
}

.oc-steps li {
  position: relative;
  padding: 24px 22px 24px 72px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  counter-increment: oc-step;
}

.oc-steps li::before {
  content: counter(oc-step, decimal-leading-zero);
  position: absolute;
  top: 22px;
  left: 22px;
  color: #cdb8ff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.oc-steps strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
}

.oc-steps span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.55;
}

.oc-learned {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.oc-learned div {
  padding: 22px;
  border-radius: 14px;
  background: #fff;
}

.oc-learned strong {
  display: block;
  margin-bottom: 6px;
  color: var(--sc-ink);
  font-size: 16px;
  font-weight: 600;
}

.oc-learned span {
  color: var(--sc-body);
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 991px) {
  .oc-steps,
  .oc-learned {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .oc-compare {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }

  .oc-compare__col {
    width: 100%;
  }

  .oc-compare__arrow {
    transform: rotate(90deg);
  }

  .oc-steps,
  .oc-learned {
    grid-template-columns: minmax(0, 1fr);
  }
}
