/* Pricing blocks (Zach's answers, 2026-10-15). One component for every page
   that shows a price: the starting price, what it covers, what is billed
   separately, and the terms. Namespaced .axp-* so the page-level .pricing /
   .price-card rules left on the GLP-1, NAD+ and enclomiphene pages cannot
   collide with it. Prices themselves live in the HTML; the approved list is
   enforced by scripts/handoff-acceptance.py (P checks). */

.axp { border-top: 1px solid rgba(39, 39, 39, 0.10); }
.axp header { max-width: 760px; margin: 0 0 40px; }

.axp-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  border: 1px solid var(--ax-ink);
  background: var(--ax-white);
}
.axp-grid.single { grid-template-columns: 1fr; }
.axp-main, .axp-side { padding: 40px; min-width: 0; }
.axp-main { border-right: 1px solid var(--ax-ink); }
.axp-grid.single .axp-main { border-right: 0; }
.axp-side { background: var(--ax-paper); }

.axp-k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ax-olive-deep);
  margin: 0 0 14px;
}
.axp-pre {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
  margin: 0 0 6px;
}
.axp-fig {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(56px, 8vw, 92px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ax-ink);
  font-variant-numeric: tabular-nums;
}
.axp-unit { font-size: 0.32em; letter-spacing: 0; opacity: 0.75; margin-left: 4px; }
.axp-sub { font-size: 15px; line-height: 1.5; margin: 10px 0 0; opacity: 0.85; }

.axp-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.axp-list li { position: relative; padding-left: 20px; font-size: 15px; line-height: 1.5; }
.axp-list li::before {
  content: ""; position: absolute; left: 0; top: 0.75em;
  width: 10px; height: 1px; background: var(--ax-olive-deep);
}

/* Billed-separately rows: label left, price right */
.axp-rows { margin: 0; display: grid; gap: 0; }
.axp-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid rgba(39, 39, 39, 0.12);
}
.axp-row:first-child { padding-top: 0; }
.axp-row dt { flex: 1 1 auto; min-width: 0; font-size: 15px; line-height: 1.45; margin: 0; }
.axp-row dd {
  flex: 0 0 auto; margin: 0 !important; padding: 0; white-space: nowrap; text-align: right;
  font-family: var(--font-display); font-size: 22px; line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.axp-note { font-size: 13px; line-height: 1.55; margin: 16px 0 0; opacity: 0.8; }
.axp-side p { font-size: 15px; line-height: 1.55; margin: 0; }
.axp-side p.axp-big { font-family: var(--font-display); font-size: 26px; line-height: 1.15; margin: 0 0 10px; }

/* Tiered prices (NAD+ by dose, labs by panel, IV by bag size) */
.axp-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0;
  border-top: 1px solid rgba(39, 39, 39, 0.12);
}
.axp-tier { padding: 18px 16px 18px 0; border-bottom: 1px solid rgba(39, 39, 39, 0.12); }
.axp-tier .axp-k { margin-bottom: 8px; }
.axp-tier .axp-fig { font-size: clamp(40px, 5vw, 56px); }

.axp-terms { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; max-width: 820px; }
.axp-terms li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.55; }
.axp-terms li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--ax-olive-deep); font-weight: 700; }

.axp-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 0; }

.axp a:not(.ax-btn), .axp-fees a {
  color: var(--ax-olive-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* Small "From $X" line on program cards (home, programs index, HRT overview) */
.axp-chip {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ax-ink);
  margin: 12px 0 0;
}
/* Fee line under hormone prices on overview pages */
.axp-fees { font-size: 14px; line-height: 1.55; margin: 20px 0 0; max-width: 720px; opacity: 0.85; }

@media (max-width: 760px) {
  .axp header { margin-bottom: 28px; }
  .axp-grid { grid-template-columns: 1fr; }
  .axp-main { border-right: 0; border-bottom: 1px solid var(--ax-ink); }
  .axp-grid.single .axp-main { border-bottom: 0; }
  .axp-main, .axp-side { padding: 24px 20px; }
  .axp-row dd { font-size: 19px; }
  .axp-tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .axp-cta .ax-btn { width: 100%; justify-content: center; }
}
