/* Pricing page — page-specific tweaks on top of nh-base / nh-pages */
.pg-pricing-hl { color: var(--nh-cyan); }
.pg-pricing-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* 5-column plan grid */
.pg-pricing-plans { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.pg-pricing-plans .nhp-plan { padding: 24px 18px; }
.pg-pricing-plans .nhp-plan h3 { font-size: 1.1rem; }
.pg-pricing-plans .nhp-plan-price b { font-size: 2rem; }
.pg-pricing-plans .nhp-plan-list li { font-size: .86rem; }
.pg-pricing-custom { font-size: 1.6rem !important; }
.pg-pricing-btn { width: 100%; justify-content: center; }
@media (max-width: 1100px) { .pg-pricing-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px)  { .pg-pricing-plans { grid-template-columns: 1fr; } }

/* Guarantees band */
.pg-pricing-guar-item { background: #fff; }
.pg-pricing-guar-item h3 { font-size: 1rem; }
.pg-pricing-guar-item p { font-size: .88rem; }

/* Comparison tables */
.pg-pricing-compare .nh-h2 { margin-bottom: 22px; }
.pg-pricing-sub { margin: -10px 0 22px; }
.pg-pricing-th-price { display: inline-block; margin-top: 4px; font-weight: 800; font-size: 1rem; color: var(--nh-cyan); }
.pg-pricing-th-tag { display: inline-block; margin-top: 4px; font-size: .7rem; font-weight: 700; color: var(--nh-yellow); }
.pg-pricing-table thead th { text-align: center; }
.pg-pricing-table thead th:first-child { text-align: left; }
.pg-pricing-table thead th.highlight { background: var(--nh-navy-2); }
.pg-pricing-table tbody td:first-child { font-weight: 600; color: var(--nh-ink); }
.pg-pricing-table .cat-row td { background: var(--nh-band); font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--nh-cyan-d); padding: 10px 16px; }
.pg-pricing-table td.check { color: #067647; font-weight: 800; text-align: center; }
.pg-pricing-table td.dash { color: var(--nh-muted); text-align: center; opacity: .5; }
.pg-pricing-table td.val { text-align: center; font-size: .86rem; font-weight: 700; color: var(--nh-ink); }
.pg-pricing-table td.geo-val { text-align: center; font-size: .78rem; font-weight: 800; color: var(--nh-cyan-d); }
.pg-pricing-table td.highlight { background: rgba(37,208,255,.07); }
.pg-pricing-table .price-row td { font-weight: 800; font-size: 1rem; color: var(--nh-ink); padding-top: 18px; padding-bottom: 18px; border-top: 2px solid var(--nh-cyan); text-align: center; }
.pg-pricing-table .price-row td:first-child { text-align: left; }
.pg-pricing-table .btn-row td { padding: 18px 10px; text-align: center; }
.pg-pricing-tbl-btn { min-height: 40px; padding: 0 14px; font-size: .82rem; white-space: nowrap; }

/* FAQ */
.pg-pricing-faq-h { margin-bottom: 22px; }

/* Phones: the 6-column comparison becomes "feature + one plan", switched with the plan picker (pricing.js) */
.pg-pricing-pick { display: none; }
@media (max-width: 640px) {
  .pg-pricing-pick { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
  .pg-pricing-pick button { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid #c9d6e2; background: #fff; color: var(--nh-ink); font-family: var(--nh-font); font-weight: 700; font-size: .9rem; cursor: pointer; touch-action: manipulation; transition: background .2s, color .2s, border-color .2s; }
  .pg-pricing-pick button[aria-pressed="true"] { background: var(--nh-ink); border-color: var(--nh-ink); color: #fff; }
  .pg-pricing-table[data-col] :is(th, td):not(:first-child) { display: none; }
  .pg-pricing-table[data-col="2"] :is(th, td):nth-child(2),
  .pg-pricing-table[data-col="3"] :is(th, td):nth-child(3),
  .pg-pricing-table[data-col="4"] :is(th, td):nth-child(4),
  .pg-pricing-table[data-col="5"] :is(th, td):nth-child(5),
  .pg-pricing-table[data-col="6"] :is(th, td):nth-child(6) { display: table-cell; }
  .pg-pricing-table[data-col] thead th:first-child { width: 60%; }
  .pg-pricing-table[data-col] thead th { vertical-align: middle; }
  .pg-pricing-table .cat-row td { padding: 10px; }
  .pg-pricing-table td.val, .pg-pricing-table td.geo-val { font-size: .84rem; }
  .pg-pricing-table .btn-row td { padding: 14px 6px; }
  .pg-pricing-tbl-btn { width: 100%; white-space: normal; padding: 6px 8px; line-height: 1.2; }
  /* Without JavaScript the full table stays, scrollable inside its own frame */
  .pg-pricing-table:not([data-col]) { min-width: 640px; table-layout: auto; }
}
