/* ==========================================================================
   ProspectPoint Marketing — pricing page only. Loaded after styles.css.
   ========================================================================== */

/* Text columns keep a readable measure when a split stacks on small screens */
.split > .stack {
  max-width: 40rem;
}

/* A split that needs more room than the default: it stays stacked until 75em,
   then sits side by side with its two columns centered on each other. */
@media (min-width: 62em) and (max-width: 74.99em) {
  .split--late {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 75em) {
  .split--late {
    align-items: center;
  }
}

.nowrap {
  white-space: nowrap;
}

/* ---------- Packages ---------- */
/* Between phone and desktop the grid has two columns. The third card is
   centered under the first two so the three packages read as one set. */
@media (min-width: 40em) and (max-width: 61.99em) {
  .price-grid > :last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - var(--space-5) / 2);
  }
}

/* ---------- Included in every package: ruled checklist, name plus one line ---------- */
.check-list--parts {
  gap: 0 var(--space-6);
}

@media (min-width: 40em) {
  .check-list--parts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 62em) {
  .check-list--parts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.check-list--parts li {
  padding-block: var(--space-4) var(--space-5);
  border-top: 1px solid var(--slate-200);
}

.check-list--parts li::before {
  top: calc(var(--space-4) + 0.0625rem);
}

.check-list--parts h3 {
  font-size: 1.0625rem;
}

.check-list--parts p {
  margin-top: 0.125rem;
  font-size: var(--fs-small);
  color: var(--slate-600);
}

/* The last row already ends with its own padding */
.check-list--parts + .section-foot {
  margin-top: var(--space-4);
}

/* ---------- One monthly price instead of a hire: two panels ---------- */
.compare {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-4);
}

@media (min-width: 40em) {
  .compare {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5);
  }
}

.compare__panel {
  display: flex;
  flex-direction: column;
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  border: 1px solid var(--navy-600);
  border-radius: var(--radius-lg);
  background: var(--navy-700);
}

.compare__label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-200);
}

/* Both panels end on a ruled row, so their last lines sit level */
.compare__items li,
.compare__done {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding-top: 0.625rem;
  border-top: 1px solid var(--navy-600);
  color: var(--white);
  font-weight: 500;
}

.compare__items {
  margin-top: var(--space-4);
}

.compare__items li + li {
  margin-top: 0.625rem;
}

.compare__items li::before {
  content: "+";
  flex: none;
  width: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--teal-400);
}

.compare__panel--package {
  border-color: var(--white);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.compare__panel--package .compare__label {
  color: var(--teal-600);
}

/* The width cap keeps "One monthly / price" on two lines at every size */
.compare__price {
  max-width: 7em;
  margin-block: auto;
  padding-block: var(--space-4);
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.6rem + 1.2vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
}

.compare__done {
  align-items: center;
  border-top-color: var(--slate-200);
  color: var(--ink);
}

.compare__done svg {
  width: 1rem;
  height: 1rem;
  flex: none;
  color: var(--teal-600);
}
