/* ============================================================
   FPGAjobs — the pricing page.

   Shares the About page's vocabulary (narrow column, `.section-head` /
   `.section-label`, `.about-quote` cards) and adds a plan-card grid and a
   comparison table. All colour is the active skin's tokens.
   ============================================================ */

.pricing {
  max-width: 1040px;
  margin: 0 auto;
}

.pricing-hero {
  text-align: center;
  padding: 1.25rem 0 0.5rem;
}
.pricing-hero h1 {
  font-size: 2rem;
  font-weight: 650;
  letter-spacing: -0.025em;
  margin: 0 0 0.6rem;
  max-width: 22ch;
  margin-inline: auto;
}
.pricing-hero .lead {
  color: var(--fg-muted);
  font-size: 1.1rem;
  margin: 0;
}

.pricing-proof {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  padding: 1rem 0 1.75rem;
  margin: 0;
  color: var(--fg-muted);
  font-size: 0.95rem;
}
.pricing-proof li::before {
  content: "•";
  color: var(--fg-subtle);
  margin-right: 0.5rem;
}
.pricing-proof li:first-child::before { content: none; }
.pricing-proof strong { color: var(--fg-default); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: start;
  margin-bottom: 2.5rem;
}
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

.pricing-card {
  position: relative;
  border: 1px solid var(--border-muted);
  border-radius: 12px;
  background: var(--bg-surface);
  padding: 1.5rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.pricing-card.is-popular {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 1px var(--accent-blue);
}
.pricing-ribbon {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-blue);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-card-head h2 {
  font-size: 1.1rem;
  font-weight: 650;
  margin: 0;
}
.pricing-price {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0.35rem 0 0.5rem;
}
.pricing-blurb {
  color: var(--fg-muted);
  font-size: 0.9rem;
  margin: 0 0 1rem;
  min-height: 2.4em;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  flex-grow: 1;
  font-size: 0.9rem;
}
.pricing-features li {
  padding: 0.3rem 0 0.3rem 1.4rem;
  position: relative;
  color: var(--fg-default);
  border-top: 1px solid var(--border-muted);
}
.pricing-features li:first-child { border-top: none; }
.pricing-features li::before {
  content: "\2713";           /* check */
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-weight: 700;
}
.pricing-features li.is-highlight {
  font-weight: 600;
}

.pricing-cta { margin-top: auto; }

.pricing-compare-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 650;
  margin: 2.5rem 0 1.25rem;
}
.pricing-table th[scope="row"] {
  text-align: left;
  font-weight: 500;
  color: var(--fg-default);
}
.pricing-table thead th {
  text-align: center;
  font-weight: 650;
}
.pricing-table td {
  text-align: center;
  color: var(--fg-muted);
}
.pricing-table td .fa-check { color: var(--accent-green); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
