.pricing-section {
  overflow: hidden;
}

.pricing-categories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.price-category {
  height: 100%;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(31, 31, 31, .05);
}

.price-category-head {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 20px;
  margin-bottom: 24px;
  border-radius: 20px;
  background: var(--ink);
  color: #fff;
}

.price-category-number {
  display: grid;
  width: 52px;
  height: 52px;
  margin: 0;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: #3f3100;
  font-size: .82rem;
  font-weight: 900;
}

.price-category h3,
.price-category h4 {
  margin: 0;
}

.price-category h3 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.price-category-head h3 + p {
  color: inherit;
  opacity: .78;
}

.price-category-intensive {
  border-color: var(--yellow);
  background: linear-gradient(135deg, #fff, #fff9df);
}

.price-category-intensive .price-category-number {
  background: var(--ink);
  color: #fff;
}

.price-category-intensive .price-category-head {
  background: var(--yellow);
  color: var(--ink);
}

.price-plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.price-plan {
  display: flex;
  min-height: 0;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 4px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.price-plan:last-child {
  border-bottom: 0;
}

.price-plan h4 {
  margin: 0;
  font-size: 1.3rem;
}

.price-plan > div {
  min-width: 0;
}

.price-plan > div > p {
  margin: 8px 0 0;
  color: var(--muted);
}

.monthly-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: auto 0 0;
}

.price-plan .monthly-price {
  flex: 0 0 auto;
  align-items: flex-end;
  flex-direction: column;
  gap: 4px;
  margin: 0;
}

.price-plan .monthly-price span {
  text-align: right;
}

.price-plan .monthly-price strong {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.monthly-price strong {
  color: #4b3b00;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -.05em;
  line-height: 1;
}

.monthly-price span {
  color: var(--muted);
  font-size: .9rem;
}

@media (max-width: 900px) {
  .pricing-categories {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .price-plan {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .price-plan .monthly-price {
    align-items: flex-start;
  }

  .price-plan .monthly-price span {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .price-category {
    padding: 22px 18px;
    border-radius: 24px;
  }

  .price-category-head {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px;
  }

  .price-category-number {
    width: 42px;
    height: 42px;
  }

  .price-plan {
    padding: 18px 0;
  }
}
