.packages {
  border: 1px solid var(--neutral-300);
  border-radius: var(--border-radius-sm);
  display: grid;
  font-size: 14px;
  grid-auto-flow: column;
  margin-bottom: 1rem;
  overflow: clip;

  @container (min-width: 1025px) {
    grid-auto-columns: 1fr;
  }

  @container (max-width: 1024px) {
    grid-auto-columns: 93%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }
}

.toc-sublist li a {
  font-size: 14px;
}

.package-list-item {
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 54px;

  &:not(:first-child) {
    border-top: 1px solid var(--neutral-300);
  }
}

.package-list-item-title {
  transition: opacity 0.3s ease-in-out;
  text-align: left;
  text-decoration: underline solid currentColor 1px;
}

.package-list-item-title:hover {
  opacity: 0.8;
}

.package-list-item svg {
  width: 20px;
  height: 20px;
}

.package-list-item-not-included {
  color: var(--text-muted);
}

.package-list-item-not-included,
.package-list-item-included {
  display: flex;
  align-items: center;
  gap: 4px;
}

.packages-features {
  display: grid;
}

.package-list {
  margin-top: auto;
}

.package {
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;

  &:not(:first-child) {
    border-left: 1px solid var(--neutral-300);
  }
}

.package-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  /* -webkit-mask-image: radial-gradient(circle at 60% 5%, black 0%, black 15%, transparent 60%);
  mask-image: radial-gradient(circle at 60% 5%, black 0%, black 15%, transparent 60%); */
}

.grid {
  position: absolute;
  animation-duration: 8s;
  animation-iteration-count: infinite;
  opacity: 0;
  background: conic-gradient(
    from 205deg at 50% 50%,
    rgba(16, 185, 129, 0) 0deg,
    #10b981 25deg,
    rgba(52, 211, 153, 0.18) 295deg,
    rgba(16, 185, 129, 0) 360deg
  );
}

.grid:nth-of-type(1),
.grid:nth-of-type(4) {
  animation-delay: -2s;
}

.grid:nth-of-type(3),
.grid:nth-of-type(6) {
  animation-delay: -4s;
}

.grid:nth-of-type(2),
.grid:nth-of-type(5) {
  animation-delay: -6s;
}

.package-top {
  padding: 1rem;
  border-bottom: 1px solid var(--neutral-300);
  height: 100%;
  position: relative;

  @media (min-width: 1301px) {
    position: sticky;
    top: var(--top-stack-height);
  }
}

.package-top::before {
  border-radius: var(--border-radius-sm) var(--border-radius-sm) 0 0;
}

.package-top::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--neutral-75);
  border-radius: inherit;
  z-index: -1;
}

.package-top-title {
  font-size: 1.25rem;
}

.package-top-description {
  margin-top: 1rem;
}

.package-top-price {
  margin-top: 1rem;
  line-height: 1;
  font-size: 16px;
}

.package-top-price-num {
  font-weight: 600;
}

.package-top-btn {
  display: flex;
  margin-top: 1rem;
  justify-content: center;
}

.package-top-price-currency {
  color: var(--text-muted);
}

.package-clip {
  overflow: hidden;
  border-radius: inherit;
}
