/* Separate 3x renders of the approved vectors keep hover on one GPU layer. */
.prices .price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3.4791%;
  width: 100%;
  max-width: 1006px;
  height: auto;
  margin-inline: auto;
  padding: 0;
  overflow: visible;
}
.prices .price-grid .price {
  --tariff-image: url("assets/tariffs/individual-blue.webp");
  --fill: .19935;
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 312 / 616;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  overflow: visible;
  transform: none;
  transition: none;
}
.prices .price-grid .price.purple { --tariff-image: url("assets/tariffs/individual-purple.webp"); }
.prices .price-grid .price.green { --tariff-image: url("assets/tariffs/individual-green.webp"); }
.prices .price-grid.group .price {
  --tariff-image: url("assets/tariffs/group-blue.webp");
  aspect-ratio: 101.2 / 200;
}
.prices .price-grid.group .price.purple { --tariff-image: url("assets/tariffs/group-purple.webp"); }
.prices .price-grid.group .price.green { --tariff-image: url("assets/tariffs/group-green.webp"); }
.prices .price-grid .price:nth-child(2) { --fill: .653; }
.prices .price-grid .price:nth-child(3) { --fill: .9921; }
.prices .price-grid::before { display: none; }
.prices .price-grid .price::before { content: none; display: none; }
.prices .price-grid.individual .price:nth-child(n)::after,
.prices .price-grid.group .price:nth-child(n)::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  background-image: var(--tariff-image) !important;
  background-size: 100% 100% !important;
  background-position: center !important;
  background-repeat: no-repeat;
  clip-path: none;
  -webkit-mask: none;
  mask: none;
  filter: none !important;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  will-change: transform;
  transition: transform 380ms cubic-bezier(.22, 1, .36, 1);
  pointer-events: none;
  z-index: 1;
}
/* Semantic text remains available to assistive technology; outlined text in
   the exported SVG provides exactly the approved typography at every size. */
.prices .price-grid .price > * { opacity: 0; }
.prices .price-grid .price > .price-progress {
  opacity: 1;
  position: absolute;
  top: 6.85%;
  left: 10.97%;
  width: 78.43%;
  height: 1.25%;
  margin: 0;
  border: .3px solid #777578;
  border-radius: 999px;
  background: #393939;
  overflow: hidden;
  z-index: 2;
  box-sizing: border-box;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  transition: transform 380ms cubic-bezier(.22, 1, .36, 1);
}
.prices .price-progress > span,
.prices .price-progress > div { opacity: 0; }
.prices .price-progress::after {
  content: "";
  position: absolute;
  inset: 10% .35%;
  border-radius: inherit;
  background: linear-gradient(90deg, #9de91a, #ae1ae9);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s cubic-bezier(.22, 1, .36, 1);
}
.prices .tariff-visible .price-progress::after { transform: scaleX(var(--fill)); }
@media (hover: hover) and (pointer: fine) {
  .prices .price-grid .price:hover { z-index: 4; transform: none; }
  .prices .price-grid.individual .price:hover::after,
  .prices .price-grid.group .price:hover::after,
  .prices .price-grid .price:hover > .price-progress {
    transform: translate3d(0, -8px, 0);
  }
}
@media (max-width: 650px) {
  .prices .price-grid { max-width: 326px; }
}
@media (prefers-reduced-motion: reduce) {
  .prices .price-grid .price::after,
  .prices .price-grid .price > .price-progress { transition: none; }
  .prices .price-grid.individual .price:hover::after,
  .prices .price-grid.group .price:hover::after,
  .prices .price-grid .price:hover > .price-progress { transform: none; }
  .prices .price-progress::after { transition: none; transform: scaleX(var(--fill)); }
}
