/* Pricing-page-only project composition. Existing design and package styling stay intact. */
.price-fit .page-hero .eyebrow,
.price-fit .steps > div > span { color: #f35b6b; }

.price-fit .page-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
}

.price-fit .page-hero h1 {
  font-size: clamp(2.5rem, 4.3vw, 4.6rem);
  max-width: 14ch;
}

.price-fit .page-hero .lead {
  max-width: 38rem;
}

.price-fit__showcase {
  min-width: 0;
  margin: 0;
}

.price-fit__showcase-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.3rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line-dark);
  color: #c5bfb6;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.price-fit__screens {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0;
  padding: 0.7rem 0.5rem 0.5rem;
  isolation: isolate;
}

.price-fit__project {
  overflow: hidden;
  align-self: start;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 5px;
  background: #292622;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.3);
}

.price-fit__project--lead {
  grid-column: 1 / 12;
  grid-row: 1;
  transform: rotate(-3deg);
}

.price-fit__project--second {
  z-index: 1;
  grid-column: 1 / 7;
  grid-row: 2;
  margin-top: -0.6rem;
  transform: rotate(-2deg);
}

.price-fit__project--third {
  z-index: 2;
  grid-column: 6 / 13;
  grid-row: 2;
  margin-top: -2rem;
  transform: rotate(3deg);
}

.price-fit__browser {
  display: block;
  overflow: hidden;
  padding: 0.45rem 0.75rem;
  color: #ebe5dc;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.2;
  white-space: nowrap;
}

.price-fit__project img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: var(--paper);
}

.price-fit__showcase figcaption {
  display: grid;
  gap: 0.45rem;
  margin-top: 1.7rem;
  font-size: 0.82rem;
}

.price-fit__showcase figcaption a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.55rem;
  border-bottom: 1px solid var(--line-dark);
  font-weight: 700;
}

.price-fit__showcase figcaption a:hover {
  color: #fff;
  border-bottom-color: var(--paper);
}

.price-fit__showcase figcaption a:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 5px;
}

.price-fit__showcase figcaption > span {
  color: #bfb8ae;
  font-size: 0.72rem;
  line-height: 1.5;
}

@media (max-width: 850px) {
  .price-fit .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.8rem;
  }

  .price-fit .page-hero h1 {
    font-size: clamp(2.45rem, 7vw, 4rem);
  }

  .price-fit__showcase {
    width: 100%;
    max-width: 38rem;
    justify-self: center;
  }
}

@media (max-width: 480px) {
  .price-fit .page-hero {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .price-fit .page-hero h1 {
    font-size: clamp(2.15rem, 9vw, 2.7rem);
  }

  .price-fit .page-hero .button-row {
    gap: 0.65rem;
  }

  .price-fit .page-hero .button-row .button {
    width: 100%;
  }

  .price-fit__showcase-meta {
    margin-bottom: 1rem;
    font-size: 0.6rem;
  }

  .price-fit__showcase figcaption {
    margin-top: 1.1rem;
    font-size: 0.78rem;
  }
}
