/* TechNexus · Pricing page styles (loaded after marketing.css) */

/* ─── Tiers ─── */
.px-tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--tn-line);
  border-radius: 24px;
  overflow: hidden;
  background: var(--tn-card);
}
.px-tier {
  padding: 32px 28px 28px;
  border-right: 1px solid var(--tn-line);
  display: flex; flex-direction: column;
  background: var(--tn-card);
}
.px-tier:last-child { border-right: 0; }
.px-tier.is-featured {
  background: var(--tn-ink);
  color: var(--tn-paper);
}
.px-tier.is-featured .px-name { color: var(--tn-paper); }
.px-tier.is-featured .px-name em { color: var(--tn-blush); }
.px-tier.is-featured .px-kicker { color: var(--tn-blush); }
.px-tier.is-featured .amt { color: var(--tn-paper); }
.px-tier.is-featured .amt em { color: var(--tn-blush); }
.px-tier.is-featured .cad { color: rgba(244, 241, 234, 0.62); }
.px-tier.is-featured .px-blurb { color: rgba(244, 241, 234, 0.78); }
.px-tier.is-featured .px-blurb em { color: var(--tn-blush); }
.px-tier.is-featured ul li { color: rgba(244, 241, 234, 0.78); border-color: rgba(244, 241, 234, 0.14); }
.px-tier.is-featured ul li::before { color: var(--tn-blush); }
.px-tier.is-featured .tx-btn--primary { background: var(--tn-paper); color: var(--tn-ink); }
.px-tier.is-featured .tx-btn--primary:hover { background: var(--tn-paper-deeper); }

.px-tier header { margin-bottom: 22px; }
.px-kicker {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--tn-signal);
  margin-bottom: 12px; display: block;
}
.px-name {
  font-family: var(--font-display); font-weight: 400;
  font-size: 36px; line-height: 1.0; letter-spacing: -0.015em;
  color: var(--tn-ink);
  margin: 0 0 16px;
}
.px-name em { font-style: italic; color: var(--tn-signal); }
.px-price { display: flex; flex-direction: column; gap: 2px; margin-bottom: 14px; }
.px-price .amt {
  font-family: var(--font-display); font-weight: 400;
  font-size: 44px; line-height: 1; letter-spacing: -0.02em;
  color: var(--tn-ink);
  font-variant-numeric: tabular-nums;
}
.px-price .cad { font-size: 12px; color: var(--tn-mute); }
.px-blurb {
  font-size: 14px; line-height: 1.55;
  color: var(--tn-mute-strong);
  margin: 0;
}
.px-blurb em { font-style: italic; color: var(--tn-signal); }

.px-tier ul {
  list-style: none; margin: 0 0 28px; padding: 0;
  flex: 1;
}
.px-tier ul li {
  padding: 10px 0 10px 22px;
  border-top: 1px solid var(--tn-line);
  font-size: 13px; line-height: 1.5;
  color: var(--tn-mute-strong);
  position: relative;
}
.px-tier ul li::before {
  content: "·"; position: absolute; left: 0;
  font-family: var(--font-display); font-size: 22px; line-height: 1;
  color: var(--tn-signal); top: 8px;
}
.px-tier ul li:first-child { border-top: 0; padding-top: 2px; }
.px-tier ul li:first-child::before { top: 0; }

.px-tier .tx-btn { align-self: flex-start; }

/* ─── FAQ ─── */
.px-faq {
  max-width: 880px; margin: 0 auto;
  display: flex; flex-direction: column;
}
.px-faq details {
  border-top: 1px solid var(--tn-line);
  padding: 22px 0;
}
.px-faq details:last-of-type { border-bottom: 1px solid var(--tn-line); }
.px-faq summary {
  font-family: var(--font-display); font-weight: 400;
  font-size: 24px; line-height: 1.25; letter-spacing: -0.005em;
  color: var(--tn-ink);
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; gap: 18px;
}
.px-faq summary::-webkit-details-marker { display: none; }
.px-faq summary::after {
  content: "+";
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: 28px; line-height: 1; color: var(--tn-signal);
  transition: transform 200ms var(--ease-out);
}
.px-faq details[open] summary::after { content: "—"; }
.px-faq details p {
  margin: 14px 0 0;
  font-size: 16px; line-height: 1.6;
  color: var(--tn-mute-strong);
  max-width: 70ch;
}

/* ─── Responsive ─── */
@media (max-width: 1100px) {
  .px-tiers { grid-template-columns: repeat(2, 1fr); }
  .px-tier { border-right: 1px solid var(--tn-line); }
  .px-tier:nth-child(2n) { border-right: 0; }
  .px-tier:nth-child(-n+2) { border-bottom: 1px solid var(--tn-line); }
}
@media (max-width: 720px) {
  .px-tiers { grid-template-columns: 1fr; }
  .px-tier { border-right: 0; border-bottom: 1px solid var(--tn-line); }
  .px-tier:last-child { border-bottom: 0; }
}
