.pricing-module {
  margin: 80px 0;
}

.pricing-module--filled {
  padding: 80px 0;
}

.pricing-top {
  text-align: center;
}

.pricing-top svg {
  display: inline-block;
}

.pricing-top__inner {
  max-width: 780px;
  margin: 0 auto;
}

.pricing-top__title {
  font-family: var(--font-plex-sans, var(--font-sans));
  font-size: 56px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: var(--tracking-tight-224, -2.24px);
  margin: 0 0 20px;
}

.pricing-top__title i {
  font-family: var(--font-plex-serif, var(--font-serif));
}

.pricing-top__description {
  font-size: 20px;
  color: var(--color-slate-500);
  font-style: normal;
  line-height: 1.5;
  margin: 0;
  letter-spacing: var(--tracking-tight-020, -0.2px);
  max-width: 500px;
  margin: 0 auto;
}

.pricing-button {
  color: var(--color-oc-green-700);
  text-align: center;
  font-family: var(--font-plex-sans, var(--font-sans));
  font-size: 17px;
  font-weight: 500;
  line-height: 1.17;
  letter-spacing: -0.17px;
  padding: 11px 19px;
  border: 1.5px solid var(--color-oc-green-700);
  border-radius: 12px;
  text-decoration: none;
  -webkit-transition: all 0.35s;
  transition: all 0.35s;
  display: inline-block;
}

.pricing-button:hover {
  background: var(--color-oc-green-600);
  border-color: var(--color-oc-green-600);
  color: var(--color-secondary);
}

.pricing-button--large {
  padding: 17px 30px;
  font-size: 19px;
  line-height: 1.05;
  border-radius: 16px;
}

.pricing-button--grey {
  color: var(--color-secondary);
  background: var(--color-slate-800);
  border-color: var(--color-slate-800);
}

.pricing-button--grey:hover {
  color: var(--color-slate-800);
  background: transparent;
  border-color: var(--color-slate-800);
}

.pricing-table__inner {
  border-top: 1px dashed var(--Slate-300, #cbd5e1);
}

.pricing-table__compare-plans {
  display: none;
}

.pricing-table table {
  table-layout: fixed;
  width: 100%;
}

.pricing-table thead {
  position: sticky;
  top: 66px;
  z-index: 10;
  background: var(--color-secondary);
  box-shadow: 0 1px 0 var(--color-slate-200);
}

.pricing-table thead th {
  background: var(--color-secondary);
  transition: padding 0.4s ease;
}

.pricing-table thead tr:first-child th:not(:first-child) {
  position: relative;
  padding-bottom: 60px;
}

.pricing-table thead tr:first-child th:not(:first-child) .pricing-table__plan-cta {
  position: absolute;
  bottom: 16px;
  left: 20px;
  right: 0;
  text-align: center;
}

.pricing-table thead tr:first-child th:not(:first-child) .pricing-button {
  margin: 0 auto;
  white-space: nowrap;
}

/* Compact sticky header styles */
.pricing-table thead .pricing-table__plan-name--compare,
.pricing-table thead .pricing-table__plan-form label {
  transition: font-size 0.4s ease, padding 0.4s ease, margin 0.4s ease;
}

.pricing-table thead .pricing-table__plan-description {
  transition: opacity 0.3s ease, max-height 0.4s ease;
  max-height: 100px;
  overflow: hidden;
}

.pricing-table thead.is-stuck th {
  padding-top: 12px;
  padding-bottom: 12px;
}

.pricing-table thead.is-stuck tr:first-child th:not(:first-child) {
  padding-bottom: 56px;
}

.pricing-table thead.is-stuck tr:first-child th:not(:first-child) .pricing-table__plan-cta {
  bottom: 12px;
}

.pricing-table thead.is-stuck .pricing-table__plan-description {
  opacity: 0;
  max-height: 0;
  margin: 0;
}

.pricing-table thead.is-stuck .pricing-table__plan-name {
  margin-bottom: 4px;
}

.pricing-table thead.is-stuck .pricing-table__plan-price {
  margin-bottom: 8px;
}

.pricing-table thead.is-stuck .pricing-table__plan-name--compare {
  font-size: 18px;
  padding-bottom: 10px;
  margin-bottom: 12px;
}

.pricing-table thead.is-stuck .pricing-table__plan-form label {
  font-size: 14px;
  margin-bottom: 8px;
}

.pricing-table th {
  padding: 35px 0 16px 20px;
  font-weight: normal;
  text-align: left;
  vertical-align: top;
}

.pricing-table th:first-child {
  width: 24%;
  padding-left: 0;
}

.pricing-table th:not(:first-child) {
  width: 15.2%;
}

.pricing-table tbody tr:last-child th,
.pricing-table tbody tr:last-child td {
  border: none;
}

.pricing-table tbody th {
  padding-top: 16px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.33;
  border-bottom: 1px solid #f1f5f9;
}

.pricing-table td {
  padding: 13px 0 13px 20px;
  vertical-align: top;
  border-bottom: 1px solid #f1f5f9;
}

.pricing-table td:first-child {
  padding-left: 0;
  width: 24%;
}

.pricing-table td[colspan="6"] {
  border: none;
}

.pricing-table td:not(:first-child) {
  width: 15.2%;
}

.pricing-table__heading {
  text-align: center;
  color: var(--color-slate-400);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.88px;
  font-weight: 500;
  position: relative;
  z-index: 2;
  background: var(--color-secondary);
  margin: 0;
}

.pricing-table__heading:after {
  position: absolute;
  top: -16px;
  height: 4px;
  background: var(--color-secondary);
  left: 0;
  right: 0;
  content: "";
}

.pricing-table__heading:before {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  border-bottom: 1px dashed var(--Slate-300, #cbd5e1);
  content: "";
}

.pricing-table__heading span {
  display: inline-block;
  background: var(--color-secondary);
  position: relative;
  padding: 0 10px;
}

.pricing-table__plan-name {
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.2px;
  margin: 0 0 8px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.pricing-table__plan-name--compare {
  font-size: 26px;
  font-weight: 400;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-slate-200);
  margin-bottom: 20px;
}

.pricing-table__plan-label {
  display: inline-block;
  font-family: "IBM Plex Sans";
  font-size: 12px;
  font-weight: 500;
  line-height: 1.33;
  background: #f59623;
  border-radius: 5px;
  padding: 2px 4px;
  margin-left: 8px;
  color: #fff;
}

.pricing-table__plan-description {
  color: #334155;
  font-size: 14px;
  line-height: 1.28;
  margin: 0 0 30px;
}

.pricing-table__plan-description b {
  font-weight: 600;
}

.pricing-table__plan-description--compare {
  color: #64748b;
  max-width: 94%;
  position: relative;
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.pricing-table__plan-description--compare:after {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  content: "";
  height: 1px;
  background: -webkit-gradient(linear, left top, right top, from(var(--color-stroke-subtitle-dark)), to(rgba(0, 37, 112, 0)));
  background: linear-gradient(90deg, var(--color-stroke-subtitle-dark) 0%, rgba(0, 37, 112, 0) 100%);
}

.pricing-table__plan-price {
  font-family: "IBM Plex Sans";
  font-size: 31px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.64px;
  margin-bottom: 6px;
}

.pricing-table__plan-price-discount {
  display: block;
  color: #f59623;
  font-weight: 600;
  font-size: 13px;
  padding-top: 4px;
  white-space: nowrap;
}

.pricing-table__plan-price--custom {
  font-family: "IBM Plex Sans";
  font-size: 17px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.3px;
  white-space: nowrap;
  margin-bottom: 40px;
  padding-top: 12px;
}

.pricing-table__plan-form label {
  cursor: pointer;
  position: relative;
  font-size: 16px;
  line-height: 1.25;
  padding-left: 24px;
  color: #334155;
  margin-bottom: 12px;
  display: block;
}

.pricing-table__plan-form label:before {
  position: absolute;
  top: 2px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  left: 0;
  content: "";
  border-radius: 66.667px;
  border: 1px solid var(--Slate-300, #cbd5e1);
  background: var(--color-secondary);
  width: 16px;
  height: 16px;
}

.pricing-table__plan-form label:after {
  opacity: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  content: "";
  background: #fff;
  top: 7px;
  left: 5px;
  position: absolute;
}

.pricing-table__plan-form input {
  display: none;
}

.pricing-table__plan-form input:checked+label {
  font-weight: 600;
}

.pricing-table__plan-form input:checked+label:before {
  border-color: var(--color-slate-800);
  background: var(--color-slate-800);
}

.pricing-table__plan-form input:checked+label:after {
  opacity: 1;
}

.pricing-table__plan-period {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.16px;
}

.pricing-table__plan-price-old {
  font-size: 19px;
  font-weight: 400;
  color: var(--color-slate-400);
  text-decoration: line-through;
  margin-right: 6px;
}

.pricing-table__plan-price-old.is-hidden {
  display: none;
}

.pricing-table__addon-price {
  display: block;
  font-size: 13px;
  color: var(--color-slate-700);
}

.pricing-table__price-sub {
  display: block;
  font-size: 12px;
  color: var(--color-slate-400);
  margin-top: 2px;
}

/* Hide mobile-only feature note on desktop */
.pricing-table__feature-note {
  display: none;
}


.pricing-table__plan-note {
  color: var(--color-slate-400);
  font-size: 12px;
  line-height: 1.33;
  letter-spacing: 0.12px;
  margin-bottom: 30px;
}

.pricing-table__plan-save {
  display: inline-block;
  color: #f59623;
  font-weight: 600;
  margin-left: 4px;
}

.pricing-cta {
  background: var(--color-slate-100);
  text-align: center;
}

.pricing-cta__inner {
  max-width: 760px;
  margin: 0 auto;
}

.pricing-cta__title {
  font-family: var(--font-plex-sans, var(--font-sans));
  font-size: 56px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: var(--tracking-tight-224, -2.24px);
  margin: 0 0 20px;
}

.pricing-cta__description {
  color: #334155;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.2px;
  margin: 0 0 26px;
}

.pricing-nonprofit {
  margin-top: 40px;
}

.pricing-nonprofit__inner {
  background: var(--color-slate-100);
  border-radius: 20px;
  padding: 40px 48px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 32px;
}

.pricing-nonprofit__content {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.pricing-nonprofit__title {
  font-family: var(--font-plex-sans, var(--font-sans));
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.48px;
  margin: 0 0 8px;
}

.pricing-nonprofit__description {
  color: var(--color-slate-500);
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}

@media screen and (max-width: 767px) {
  .pricing-module {
    margin: 40px 0;
  }

  .pricing-top {
    text-align: left;
  }

  .pricing-top.pricing-module {
    margin-bottom: 0;
  }

  .pricing-top__title {
    font-size: 40px;
  }

  /* Make discount text wrap under Pay annually only */
  .pricing-table__plan-price-discount {
    white-space: normal;
    display: block;
    max-width: 120px;
  }

  .pricing-top__inner {
    margin: 0;
  }

  .pricing-top__description {
    font-size: 18px;
    padding-left: 0;
    margin-left: 0;
    margin-bottom: 24px;
    max-width: none;
  }

  .pricing-trial-block {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    margin-bottom: 16px !important;
  }

  .pricing-table {
    border: none;
  }

  .pricing-table thead {
    position: static;
    box-shadow: none;
  }

  .pricing-table__heading:after {
    top: -3px;
  }

  .pricing-table td[colspan="6"] {
    width: calc(100% + 48px);
    padding: 0 24px;
    margin: 0 -24px;
    border: none;
  }

  .pricing-table__compare-plans {
    display: block;
    padding: 80px 0 0;
  }

  .pricing-table__compare-plans-title {
    font-family: "IBM Plex Sans";
    font-size: 36px;
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -1.44px;
    margin-bottom: 36px;
  }

  .pricing-table__compare-plans-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-bottom: 12px;
  }

  .pricing-table__compare-plans-list b {
    width: 20%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    display: block;
    font-size: 12px;
    text-align: center;
  }

  /* Sticky clone for mobile */
  .pricing-table__compare-plans-list--sticky {
    position: fixed;
    top: 54px;
    left: 0;
    right: 0;
    background: var(--color-secondary);
    padding: 12px 24px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 15;
    display: none;
  }

  .pricing-table__compare-plans-list--sticky.is-visible {
    display: flex;
  }

  .pricing-table__compare-plans-list--sticky b {
    width: 20%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    display: block;
    font-size: 12px;
    text-align: center;
    font-weight: 600;
  }

  .pricing-table tbody tr {
    margin: 0 -24px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 0 24px;
    position: relative;
  }

  .pricing-table tbody tr:after {
    position: absolute;
    bottom: 0;
    left: 24px;
    right: 24px;
    height: 1px;
    content: "";
    background: var(--color-slate-100);
  }

  .pricing-table tbody th:first-child {
    width: 100%;
    padding: 24px 0 10px;
    border: none;
    display: block;
    flex-direction: unset;
  }

  .pricing-table td:not(:first-child) {
    width: 20%;
    padding: 0 0 12px;
    border: none;
    font-size: 14px;
    text-align: center;
  }

  .pricing-table.pricing-module {
    margin-top: 0;
  }

  .pricing-table thead {
    position: static;
    box-shadow: none;
  }

  .pricing-table table,
  .pricing-table thead,
  .pricing-table tbody,
  .pricing-table tr,
  .pricing-table th,
  .pricing-table td {
    display: block;
  }

  .pricing-table th:first-child {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
    padding: 16px 24px 20px;
    border: 1px solid var(--color-slate-100);
  }

  .pricing-table thead tr {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 -24px;
  }

  .pricing-table thead tr th:not(:first-child) {
    width: 50%;
    padding: 24px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-right: 1px solid var(--color-slate-100);
    border-bottom: 1px solid var(--color-slate-100);
  }

  .pricing-table thead tr th:not(:first-child) .pricing-button {
    background: var(--color-oc-green-600);
    border-color: var(--color-oc-green-600);
    color: var(--color-secondary);
  }

  .pricing-table thead tr th:not(:first-child) .pricing-button:hover {
    background: var(--color-oc-green-600);
    border-color: var(--color-oc-green-600);
    color: var(--color-secondary);
  }

  .pricing-table thead tr:first-child th:not(:first-child) .pricing-table__plan-cta {
    left: 24px;
    right: 24px;
  }

  .pricing-table thead tr th:last-child {
    width: 100%;
    border-right: none;
    padding: 24px;
  }

  .pricing-table thead tr th:last-child .pricing-table__plan-description {
    margin-bottom: 8px;
  }

  .pricing-table thead tr th:nth-child(2n+1) {
    border-right: none;
  }

  .pricing-table__plan-name--compare {
    display: none;
  }

  .pricing-table__plan-form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding-bottom: 8px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .pricing-table__plan-form label {
    width: 50%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin-bottom: 0;
  }

  .pricing-table__plan-price--custom {
    color: var(--color-primary);
    font-size: 24px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.5px;
    margin-bottom: 30px;
  }

  .pricing-table__plan-price--custom br {
    display: none;
  }

  .pricing-table__plan-description--compare {
    max-width: 100%;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .pricing-table__plan-description--compare:after {
    display: none;
  }

  .pricing-cta {
    text-align: left;
  }

  .pricing-cta__title {
    font-size: 36px;
  }

  .pricing-cta__description {
    font-size: 16px;
  }

  .pricing-nonprofit__inner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
    gap: 24px;
  }

  .pricing-nonprofit__title {
    font-size: 20px;
  }

  .pricing-nonprofit__description {
    font-size: 15px;
  }

  /* Fix alignment - make Save % on its own line */
  .pricing-table__plan-save {
    display: block;
    margin-left: 0;
    margin-top: 2px;
  }

  /* Smaller prices to fit 360px screens */
  .pricing-table__plan-price {
    font-size: 26px;
  }

  .pricing-table__plan-price-old {
    font-size: 16px;
  }

  .pricing-table thead tr th:not(:first-child) {
    padding: 16px;
  }

  /* Hide the note in the td on mobile, show the one in the th instead */
  .pricing-table__price-sub--desktop {
    display: none;
  }

  .pricing-table__feature-note {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: var(--color-slate-400);
    margin-top: 4px;
  }
}