.ld-section {
  padding-block: clamp(64px, 7.3vw, 108px);
}

.ld-section h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(36px, 3.8vw, 56px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.032em;
  text-wrap: balance;
}

.ld-intro p,
.ld-pricing-intro p {
  margin: 19px 0 0;
  max-width: 38ch;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.ld-features {
  background: #f3f6f2;
}

.ld-features-layout {
  display: grid;
  grid-template-columns: minmax(0, .83fr) minmax(0, 1.8fr);
  gap: clamp(44px, 6.5vw, 92px);
}

.ld-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px clamp(26px, 4vw, 64px);
}

.ld-feature {
  border-top: 1px solid #c9d6cd;
  padding-top: 21px;
}

.ld-feature svg {
  display: block;
  height: 24px;
  width: 24px;
  margin-bottom: 14px;
  fill: none;
  stroke: var(--brand);
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ld-feature .ld-knobs {
  fill: #f3f6f2;
}

.ld-feature h3,
.ld-steps h3,
.ld-plan h3 {
  margin: 0;
  color: inherit;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -.027em;
  line-height: 1.3;
}

.ld-feature p,
.ld-steps p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
}

.ld-setup {
  background: #143d35;
  color: #fff;
}

.ld-setup h2 {
  color: #fff;
}

.ld-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 28px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.ld-steps li {
  position: relative;
}

.ld-steps li:not(:last-child)::before {
  position: absolute;
  top: 18px;
  left: 45px;
  right: -18px;
  height: 1px;
  background: #4c6e61;
  content: "";
}

.ld-step-index {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid #82a795;
  border-radius: 50%;
  color: #d3ead6;
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.ld-steps p {
  max-width: 30ch;
  color: #c8dace;
}

.ld-pricing-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 35px;
}

.ld-pricing-intro p {
  margin: 0;
}

.ld-plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 222px), 1fr));
  gap: 16px;
}

.ld-plan {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 20px;
  padding: clamp(18px, 1.8vw, 27px);
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
  overflow-wrap: anywhere;
}

@supports (grid-template-rows: subgrid) {
  .ld-plan {
    display: grid;
    grid-row: span 4;
    grid-template-rows: subgrid;
  }
}

.ld-plan-featured {
  border: 1.5px solid var(--brand);
  background: #f3f8f2;
}

.ld-plan-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5px;
}

.ld-plan-tag {
  color: #1c624e;
  font-size: 12px;
  font-weight: 650;
}

.ld-plan-price {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.05em;
}

.ld-plan-description {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.ld-plan-limits {
  display: grid;
  align-content: start;
  flex: 1;
  gap: 10px;
  margin: 0;
  padding: 17px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.ld-plan-limits li {
  position: relative;
  padding-left: 19px;
}

.ld-plan-limits li::before {
  position: absolute;
  left: 1px;
  top: .35em;
  width: 5px;
  height: 9px;
  border: solid var(--brand);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
  content: "";
}

.ld-plan-limits .ld-limit-off::before {
  top: .68em;
  width: 8px;
  height: 1px;
  border: 0;
  background: var(--muted);
  transform: none;
}

.ld-plan-limits strong {
  color: var(--ink);
  font-weight: 600;
}

.ld-plan .lp-button {
  align-self: end;
  width: 100%;
  justify-content: center;
  text-align: center;
}

.ld-empty-plans {
  color: var(--muted);
}

.ld-footer {
  border-top: 1px solid var(--line);
  background: #f3f6f2;
}

.ld-footer-inner,
.ld-footer nav,
.ld-brand {
  display: flex;
  align-items: center;
}

.ld-footer-inner {
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 32px;
  padding-block: 32px;
}

.ld-footer nav {
  flex-wrap: wrap;
  gap: 4px 24px;
}

.ld-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.ld-brand {
  gap: 9px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.05em;
}

.ld-footer nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 550;
}

.ld-footer nav a:hover {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 920px) {
  .ld-features-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .ld-intro p {
    max-width: 54ch;
  }
}

@media (min-width: 560px) and (max-width: 980px) {
  .ld-plan-grid:has(> .ld-plan:nth-child(4)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .ld-steps {
    grid-template-columns: 1fr;
    row-gap: 22px;
    margin-top: 28px;
  }

  .ld-steps li {
    padding-left: 52px;
  }

  .ld-step-index {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
  }

  .ld-steps li:not(:last-child)::before {
    top: 43px;
    bottom: -16px;
    left: 18px;
    right: auto;
    width: 1px;
    height: auto;
  }

  .ld-steps p {
    max-width: 50ch;
    margin-top: 4px;
  }

  .ld-pricing-intro {
    display: block;
  }

  .ld-pricing-intro p {
    max-width: 50ch;
    margin-top: 15px;
  }
}

@media (max-width: 500px) {
  .ld-feature-list {
    grid-template-columns: 1fr;
    gap: 19px;
  }

  .ld-feature {
    display: grid;
    grid-template-columns: 24px 1fr;
    column-gap: 16px;
    padding-top: 17px;
  }

  .ld-feature svg {
    grid-row: span 2;
    margin: 0;
  }

  .ld-feature p {
    margin-top: 4px;
  }
}
