.plans {
  display: flex;
  justify-content: center;
  gap: clamp(10px, 2cqw, 20px);
  margin: var(--gap) auto calc(var(--gap) * 2);
}
.plans__item {
  --item-color: var(--color-main);
  background-color: var(--color-white);
  border-radius: var(--border-radius-smaller);
  box-shadow: var(--shadow);
  padding: clamp(20px, 4cqw, 40px);
  flex: 1 1 0;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  border: 1px solid var(--item-color);
  overflow: hidden;
}
.plans__item::before {
  content: "";
  display: block;
  width: 100%;
  height: var(--border-radius-smaller);
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--item-color);
  z-index: 1;
}
.plans__item:nth-child(1) {
  --item-color: var(--color-blue);
}
.plans__item:nth-child(2) {
  --item-color: var(--color-green);
}
.plans__item:nth-child(3) {
  --item-color: var(--color-orange);
}
.plans__item-inner {
  position: relative;
  z-index: 2;
  flex-grow: 1;
}
.plans__item-title {
  font-size: var(--font-size-20);
  font-weight: var(--font-weight-bold);
  margin-bottom: 0.25em;
  color: var(--item-color);
  text-transform: uppercase;
}
.plans__item-price {
  font-size: var(--font-size-36);
  font-weight: var(--font-weight-bold);
  margin-bottom: 0.25em;
  color: var(--color-main);
  font-family: var(--font-heading);
}
.plans__item-description {
  font-size: var(--font-size-16);
  color: var(--color-text);
}
.plans__item-note {
  font-size: var(--font-size-14);
  color: var(--color-text);
  margin-top: 1.5em;
  text-align: center;
}
.plans__item-note strong {
  color: var(--color-main);
  font-weight: var(--font-weight-bold);
}
.plans__item-features {
  list-style: none;
  padding: 0;
  padding-top: 2em;
  border-top: 1px solid rgba(0, 0, 0, 0.25);
  margin-top: 2em;
  font-size: var(--font-size-14);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.75em;
}
.plans__item-feature {
  display: flex;
  gap: 0.75em;
}
.plans__item-feature-icon {
  flex-shrink: 0;
  width: 1.2em;
  height: 1.2em;
  background-color: var(--item-color, var(--color-main));
  border-radius: 50%;
}
.plans__item-feature-icon::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  mask: var(--feature-icon) center/50% auto no-repeat;
  background-color: var(--color-white);
}
.plans__item-feature-icon--success {
  --feature-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath fill='%23fff' d='M6.173 12.927L1.246 8l1.414-1.414 3.513 3.513 7.07-7.07L13.757 5.93z'/%3E%3C/svg%3E");
}
.plans__item-feature-icon--error {
  --feature-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath fill='%23fff' d='M9.414 8l3.536-3.536-1.414-1.414L8 6.586 4.464 3.05 3.05 4.464 6.586 8l-3.536 3.536 1.414 1.414L8 9.414l3.536 3.536 1.414-1.414z'/%3E%3C/svg%3E");
}
.plans__item-feature-text {
  flex: 1;
  display: block;
  line-height: 1.25;
}
.plans__item-footer {
  margin-top: 2em;
}
.plans__item-button {
  border-radius: var(--border-radius-smaller);
  color: var(--item-color);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-16);
  padding: 0.6em 1.5em;
  display: flex;
  text-align: center;
  justify-content: center;
  border: 1px solid var(--item-color);
  flex-shrink: 0;
  transition: var(--transition);
}
.plans__item-button:hover {
  color: var(--color-white);
  background-color: var(--item-color);
}
@media screen and (min-width: 1400px) {
  .plans {
    margin-left: calc(var(--gap) * -1);
    margin-right: calc(var(--gap) * -1);
  }
}
@media screen and (max-width: 768px) {
  .plans {
    flex-wrap: wrap;
  }
  .plans__item {
    min-width: 300px;
  }
}