/* ─── Pricing page ───────────────────────────────────────
   Used only by /pricing. Hero, comparison table, FAQ,
   closing CTA. Brand tokens come from global.css.
*/

/* (Active nav link styling lives in index.css - shared with home) */

/* ─── Hero ──────────────────────────────────────────── */
.pricing-hero {
  background: var(--navy);
  color: var(--white);
  padding: 88px 0 128px;
  text-align: center;
}
.pricing-hero .eyebrow {
  margin-bottom: 20px;
}
.pricing-hero__title {
  margin: 0 0 16px;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
  color: var(--white);
}
.pricing-hero__sub {
  margin: 0 auto;
  color: rgba(255,255,255,.72);
  font-size: 18px;
  max-width: 640px;
}

/* ─── Table card (floats on hero) ────────────────── */
.pricing-table-wrap {
  padding: 0 0 72px;
  margin-top: -72px;
  position: relative;
  z-index: 2;
}
.pricing-table-card {
  background: var(--white);
  border: 1px solid var(--gray-200, #DCE1E8);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 56px rgba(10,22,40,.10);
  overflow: hidden;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.pricing-table th,
.pricing-table td {
  padding: 14px 20px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--gray-100, #EEF1F5);
  word-wrap: break-word;
}
.pricing-table thead th {
  font-weight: 700;
  text-align: center;
  border-bottom: 2px solid var(--gray-200, #DCE1E8);
  vertical-align: top;
  padding: 32px 20px 24px;
  width: 23%;
}
.pricing-table thead th:first-child {
  width: 31%;
  text-align: left;
  vertical-align: bottom;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-500);
  padding-bottom: 28px;
}
.pricing-table thead .col-featured {
  background: #F8F5EE;
  position: relative;
  border-top: 3px solid var(--gold);
}
.ptier {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gold);
}
.pprice {
  display: flex;
  align-items: baseline;
  gap: 4px;
  justify-content: center;
  margin: 18px 0 8px;
}
.pprice__currency {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-500);
  align-self: flex-start;
  margin-top: 8px;
}
.pprice__amount {
  font-size: 38px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -.02em;
  line-height: 1;
}
.pprice__period {
  font-size: 13px;
  color: var(--gray-500);
  margin-left: 4px;
}
.ptagline {
  font-size: 13px;
  color: var(--gray-500);
  margin: 0;
  text-align: center;
  line-height: 1.4;
  min-height: 36px;
}

.pricing-table tbody td {
  text-align: center;
  color: var(--gray-700, #4A5666);
}
.pricing-table tbody td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--navy);
}
.pricing-table tbody .col-featured {
  background: #F8F5EE;
  font-weight: 600;
  color: var(--navy);
}
.pricing-table tbody tr:hover td:not(:first-child) {
  background: rgba(201,168,76,.04);
}
.pricing-table tbody tr:hover .col-featured {
  background: #F2EDDE;
}
.pricing-table .group-row td {
  background: var(--off-white) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-500) !important;
  padding: 12px 20px !important;
  text-align: left !important;
}
/* Header CTA - smaller, sits below tagline */
.pricing-table thead .pricing-cta-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 9px 22px;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-sm, 8px);
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s, opacity .15s;
}
.pricing-cta-sm.is-disabled {
  opacity: .55;
  cursor: not-allowed;
  pointer-events: none;
}
.pricing-cta-sm.is-loading {
  opacity: .7;
  pointer-events: none;
}

/* Tick / dash */
.tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(201,168,76,.15);
  color: var(--gold);
  font-weight: 800;
  font-size: 12px;
}
.tick--off {
  background: transparent;
  color: var(--gray-300, #C3CAD4);
}

/* Info tooltip */
.info-tip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(201,168,76,.18);
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  font-style: italic;
  font-family: Georgia, 'Times New Roman', serif;
  margin-left: 8px;
  cursor: help;
  position: relative;
  vertical-align: middle;
  transition: background .15s;
}
.info-tip:hover { background: rgba(201,168,76,.32); }
.info-tip::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 500;
  font-style: normal;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.5;
  padding: 12px 14px;
  border-radius: 10px;
  white-space: normal;
  width: 260px;
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s;
  z-index: 20;
  box-shadow: 0 12px 32px rgba(0,0,0,.22);
}
.info-tip::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--navy);
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s;
  z-index: 20;
}
.info-tip:hover::after,
.info-tip:hover::before,
.info-tip:focus::after,
.info-tip:focus::before {
  opacity: 1;
}

/* Mobile: horizontal scroll for the table */
@media (max-width: 900px) {
  .pricing-table-wrap { margin-top: -32px; padding-bottom: 56px; }
  .pricing-table-card { overflow-x: auto; }
  .pricing-table { min-width: 720px; }
}

/* ─── FAQ ───────────────────────────────────────────── */
.pricing-faq {
  background: var(--off-white);
  padding: 72px 0;
}
.pricing-faq__title {
  text-align: center;
  margin: 0 0 36px;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--navy);
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200, #DCE1E8);
  border-radius: var(--radius-md, 14px);
  padding: 22px 24px;
  margin-bottom: 12px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
.faq-item__q {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
}
.faq-item__a {
  font-size: 14.5px;
  color: var(--gray-700, #4A5666);
  margin: 0;
  line-height: 1.65;
}

/* ─── Closing CTA ──────────────────────────────────── */
.pricing-close {
  background: var(--navy);
  color: var(--white);
  padding: 72px 0;
  text-align: center;
}
.pricing-close__title {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--white);
}
.pricing-close__sub {
  margin: 0 auto 28px;
  color: rgba(255,255,255,.72);
  font-size: 16px;
  max-width: 520px;
}
