/* Maintenance Plans section (services page) */
.ted-plans {
  background-color: #f4f6f6;
  padding: 110px 0;
}

.ted-plans .container {
  padding-left: 20px;
  padding-right: 20px;
}

.ted-plans-intro {
  max-width: 760px;
  margin: 0 auto 50px;
  text-align: center;
}

.ted-plans-intro h2 {
  margin-top: 10px;
}

.ted-plans-bonus {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  background-color: #00d4d91f;
  color: var(--heading-white-section);
  font-size: 16px;
  line-height: 24px;
}

.ted-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.ted-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 40px 32px;
  border: 1px solid #e2e6e6;
  border-radius: 16px;
  background-color: #fff;
}

.ted-plan--featured {
  border-color: var(--primary-color);
  background-color: var(--secondary-color);
  color: var(--body-dark-section);
}

.ted-plan-badge {
  position: absolute;
  top: -14px;
  left: 32px;
  padding: 2px 14px;
  border-radius: 999px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 24px;
  text-transform: uppercase;
}

.ted-plan h3 {
  margin: 0 0 6px;
  font-family: Lexend Deca, sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 36px;
}

.ted-plan--featured h3 {
  color: var(--heading-dark-section);
}

.ted-plan-visits {
  color: #00a5a9;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ted-plan-tagline {
  margin: 14px 0 0;
  font-size: 17px;
  line-height: 27px;
}

.ted-plan-best {
  margin: 18px 0 0;
  padding-top: 18px;
  border-top: 1px solid #e2e6e6;
  font-size: 15px;
  line-height: 24px;
}

.ted-plan--featured .ted-plan-best {
  border-top-color: #ffffff26;
}

.ted-plan-best strong,
.ted-plan-list-title {
  color: var(--heading-white-section);
}

.ted-plan--featured .ted-plan-best strong,
.ted-plan--featured .ted-plan-list-title {
  color: var(--heading-dark-section);
}

.ted-plan-list-title {
  margin: 22px 0 10px;
  font-size: 15px;
  font-weight: 700;
}

.ted-plan-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 16px;
  line-height: 25px;
}

.ted-plan-list li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 30px;
}

.ted-plan-list li::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--primary-color) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23161515' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.ted-plan-perk {
  margin: 14px 0 26px;
  padding: 12px 14px;
  border-radius: 10px;
  background-color: #00d4d91f;
  font-size: 15px;
  line-height: 23px;
}

.ted-plan-perk strong {
  color: var(--heading-white-section);
}

.ted-plan--featured .ted-plan-perk strong {
  color: var(--heading-dark-section);
}

.ted-plan-cta {
  margin-top: auto;
}

.ted-plan-cta .button {
  display: inline-block;
}

.ted-plan--featured .ted-plan-visits {
  color: var(--primary-color);
}

.ted-plan--featured .button-text-block {
  background-color: var(--primary-color);
}

.ted-plan--featured .button .color-white {
  color: var(--secondary-color);
}

.ted-plan-quote {
  margin-top: 10px;
  font-size: 14px;
  line-height: 22px;
  opacity: .8;
}

/* Comparison chart */
.ted-compare {
  margin-top: 70px;
}

.ted-compare h3,
.ted-addons h3 {
  margin: 0 0 20px;
  text-align: center;
  font-family: Lexend Deca, sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 38px;
}

.ted-compare-scroll {
  overflow-x: auto;
  border: 1px solid #e2e6e6;
  border-radius: 16px;
  background-color: #fff;
}

.ted-compare table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 24px;
}

.ted-compare th,
.ted-compare td {
  padding: 14px 18px;
  border-bottom: 1px solid #eef1f1;
  text-align: center;
}

.ted-compare th:first-child,
.ted-compare td:first-child {
  text-align: left;
}

.ted-compare thead th {
  color: var(--heading-white-section);
  font-family: Lexend Deca, sans-serif;
  font-weight: 400;
}

.ted-compare thead th.ted-col-featured {
  background-color: var(--secondary-color);
  color: var(--heading-dark-section);
}

.ted-compare td.ted-col-featured {
  background-color: #00d4d90f;
}

.ted-compare tbody tr:last-child td {
  border-bottom: 0;
}

.ted-yes {
  color: #00a5a9;
  font-weight: 700;
}

.ted-no {
  color: #b5bcbc;
}

/* Add-ons and terms */
.ted-addons {
  margin-top: 70px;
}

.ted-addons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.ted-addon {
  padding: 28px 30px;
  border: 1px solid #e2e6e6;
  border-radius: 16px;
  background-color: #fff;
}

.ted-addon h4 {
  margin: 0 0 8px;
  color: var(--heading-white-section);
  font-family: Lexend Deca, sans-serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 29px;
}

.ted-addon p {
  margin: 0;
  font-size: 16px;
  line-height: 26px;
}

.ted-addon a {
  color: #00a5a9;
}

.ted-terms {
  max-width: 820px;
  margin: 50px auto 0;
  text-align: center;
  font-size: 15px;
  line-height: 25px;
}

@media screen and (max-width: 991px) {
  .ted-plans {
    padding: 80px 0;
  }

  .ted-plans-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
    gap: 34px;
  }
}

@media screen and (max-width: 767px) {
  .ted-plans {
    padding: 60px 0;
  }

  .ted-plan {
    padding: 36px 22px 28px;
  }

  .ted-addons-grid {
    grid-template-columns: 1fr;
  }

  /* The cards already show the differences; a 4-column chart is too cramped on phones */
  .ted-compare {
    display: none;
  }

  .ted-compare h3,
  .ted-addons h3 {
    font-size: 25px;
    line-height: 32px;
  }
}
