/* MCHN pricing selector (pricer + pcard). Shared by the homepage pricing
   section and the Strength #plans block so the two render identically.
   NOTE: the homepage still carries an inline copy of these rules; consolidate. */
/* ===== Pricing selector: 4-way pillar toggle ===== */
.pricer {
  position: relative; isolation: isolate; color: var(--smoke);
  /* Depth instead of flat black: a soft charcoal pool up top (behind the intro +
     toggle) settling into brand black, plus a faint glow tinted by the selected
     pillar (--pricer-rgb) so the section echoes the showcase above. */
  background-color: var(--black);
  background-image:
    radial-gradient(1100px 480px at 50% -60px, rgba(var(--pricer-rgb, 249, 245, 242), 0.06), transparent 72%),
    radial-gradient(1300px 600px at 50% -40px, #302e2b, rgba(48, 46, 43, 0) 72%);
  background-repeat: no-repeat;
  padding: clamp(44px, 7vh, 92px) clamp(20px, 5vw, 48px);
  border-top: 1px solid rgba(249, 245, 242, 0.08);
}
.pricer__intro { text-align: center; max-width: 760px; margin: 0 auto clamp(28px, 4vw, 46px); }
.pricer__eyebrow {
  margin: 0; color: var(--clay); font-family: var(--font-body);
  text-transform: uppercase; letter-spacing: 0.2em; font-weight: 800;
  font-size: clamp(0.66rem, 0.9vw, 0.78rem);
}
.pricer__title {
  margin: 12px 0 0; font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(1.9rem, 4.6vw, 3rem); line-height: 0.95; color: var(--smoke);
}
.pricer__lead {
  margin: 14px auto 0; max-width: 56ch; font-family: var(--font-subtitle);
  color: rgba(249, 245, 242, 0.66); font-size: clamp(1rem, 1.2vw, 1.14rem); line-height: 1.55;
}
/* 4-way segmented toggle selector */
.pricer__toggle {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  max-width: 660px; margin: 0 auto; padding: 6px;
  background: rgba(249, 245, 242, 0.05); border: 1px solid rgba(249, 245, 242, 0.1); border-radius: 999px;
}
.pricer__tab {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; background: transparent; color: rgba(249, 245, 242, 0.62);
  font-family: var(--font-body); font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em;
  font-size: clamp(0.62rem, 0.95vw, 0.76rem); padding: 12px 8px; border-radius: 999px;
  transition: background 180ms ease, color 180ms ease;
}
/* Logo rendered as a mask filled with the tab's text colour, so it stays
   visible whether the tab is dark/inactive or filled with the pillar colour. */
.pricer__tab-logo {
  width: 16px; height: 16px; flex: 0 0 auto; background-color: currentColor;
  -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat;
}
.pricer__tab:hover, .pricer__tab:focus-visible { color: var(--smoke); outline: none; }
.pricer__tab.is-active { background: var(--node); color: var(--on-node, var(--black)); }
/* Panels */
.pricer__panels { max-width: 1100px; margin: clamp(28px, 4vw, 44px) auto 0; }
.pricer__panel { display: none; }
.pricer__panel.is-active { display: block; animation: pricer-in 380ms cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes pricer-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.pricer__stack { max-width: 520px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: clamp(20px, 3vw, 32px); }
.pricer__tier { display: inline-flex; gap: 4px; padding: 5px; background: rgba(249, 245, 242, 0.06); border: 1px solid rgba(249, 245, 242, 0.1); border-radius: 999px; }
.pricer__tier button {
  border: 0; cursor: pointer; background: transparent; color: rgba(249, 245, 242, 0.6);
  font-family: var(--font-body); font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em;
  font-size: clamp(0.6rem, 0.9vw, 0.7rem); padding: 9px 18px; border-radius: 999px;
  transition: background 180ms ease, color 180ms ease;
}
.pricer__tier button:hover, .pricer__tier button:focus-visible { color: var(--smoke); outline: none; }
.pricer__tier button[aria-pressed="true"] { background: var(--node); color: var(--on-node, var(--black)); }
.pricer__cards { width: 100%; }
.pcard:not(.is-active) { display: none; }
.pcard.is-active { animation: pricer-in 320ms cubic-bezier(0.2, 0.8, 0.2, 1); }
.pcard {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: none; border: 0; padding: 0;
}
.pcard--featured { background: none; border: 0; }
.pcard__offer {
  margin: 0; font-family: var(--font-body); font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.14em; font-size: 0.62rem; color: var(--node);
}
.pcard__name {
  margin: 8px 0 0; font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1; color: var(--smoke);
}
.pcard__badge {
  align-self: center; margin: 10px 0 0; padding: 0; border: 0;
  font-family: var(--font-body); font-weight: 800; text-transform: uppercase; letter-spacing: 0.16em;
  font-size: 0.58rem; color: var(--node);
}
.pcard__price {
  margin: 14px 0 0; font-family: var(--font-display); font-weight: 800; color: var(--smoke);
  font-size: clamp(2rem, 3.4vw, 2.7rem); line-height: 1;
}
.pcard__price span { font-size: 0.32em; color: rgba(249, 245, 242, 0.5); letter-spacing: 0.04em; }
.pcard__pricenote { margin: 6px 0 0; font-size: 0.74rem; color: rgba(249, 245, 242, 0.5); }
.pcard__pricenote strong { color: var(--smoke); font-weight: 800; }
/* Add-on tiers (Ready/Elite): "Add-on to Core" as a filled pill so the
   stacking relationship reads at a glance, vs Core's plain "Start here". */
.pcard__offer--addon {
  display: inline-block; background: var(--node); color: var(--on-node, #fff);
  padding: 5px 12px; border-radius: 999px; letter-spacing: 0.12em;
}
/* Label + divider separating the standalone Core base from the add-on toggle. */
.pricer__addhead { width: 100%; margin: 0; padding-top: clamp(8px, 1.4vw, 16px); border-top: 1px solid rgba(249, 245, 242, 0.12); text-align: center; font-family: var(--font-body); font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.7rem; color: rgba(249, 245, 242, 0.62); }
.pricer__addhead span { color: rgba(249, 245, 242, 0.4); font-weight: 600; letter-spacing: 0.04em; }
/* Strength panel: Core (left) + coaching add-ons (right) side by side, so the
   add-on options aren't buried below a tall single column / off the fold. */
.pricer__stack--split {
  max-width: 940px; display: grid; grid-template-columns: 1fr 1fr;
  align-items: start; gap: clamp(22px, 4vw, 60px);
}
.pricer__col { display: flex; flex-direction: column; align-items: center; gap: clamp(16px, 2.4vw, 26px); min-width: 0; }
.pricer__col--addons { position: relative; }
.pricer__stack--split .pricer__addhead { border-top: 0; padding-top: 0; }
@media (min-width: 821px) {
  .pricer__col--addons::before {
    content: ""; position: absolute; top: 4px; bottom: 4px;
    left: calc(-1 * clamp(11px, 2vw, 30px)); width: 1px; background: rgba(249, 245, 242, 0.12);
  }
}
@media (max-width: 820px) {
  .pricer__stack--split { grid-template-columns: 1fr; max-width: 520px; gap: clamp(26px, 6vw, 38px); }
}
.pcard__sub { margin: 12px auto 0; max-width: 42ch; color: rgba(249, 245, 242, 0.7); font-size: 0.9rem; line-height: 1.5; }
.pcard__list { align-self: center; list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.pcard__list li {
  position: relative; padding-left: 24px; color: rgba(249, 245, 242, 0.82);
  font-size: 0.85rem; line-height: 1.45;
}
.pcard__list li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--node); font-weight: 700; }
.pcard__cta {
  display: inline-flex; align-items: center; gap: 9px; margin-top: auto; padding-top: 22px;
  color: var(--node); font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: 0.08em; font-size: 0.86rem; transition: gap 160ms ease;
}
.pcard__cta span[aria-hidden] { display: inline-block; font-family: var(--font-body); font-weight: 600; transition: transform 200ms ease; }
.pcard__cta:hover, .pcard__cta:focus-visible { outline: none; }
.pcard__cta:hover span[aria-hidden], .pcard__cta:focus-visible span[aria-hidden] { transform: translateX(5px); }
.pcard__note { margin: 14px 0 0; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.6rem; color: rgba(249, 245, 242, 0.6); }
/* Entry offer + military strip + fine print */
.pricer__entry {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
  max-width: 620px; margin: clamp(28px, 4vw, 44px) auto 0; padding: clamp(24px, 3.2vw, 36px) 0 0;
  border-top: 1px solid rgba(249, 245, 242, 0.14);
}
.pricer__entry-body { max-width: 60ch; }
.pricer__entry-eyebrow { font-family: var(--font-body); font-weight: 800; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.6rem; color: var(--node); }
.pricer__entry-title { margin: 8px 0 0; font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.2rem, 2vw, 1.5rem); color: var(--smoke); }
.pricer__entry-desc { margin: 8px 0 0; color: rgba(249, 245, 242, 0.68); font-size: 0.86rem; line-height: 1.5; }
.pricer__entry-action { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 6px; }
.pricer__entry-price { font-family: var(--font-display); font-weight: 800; color: var(--node); font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1; }
.pricer__strip {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 14px; text-align: center;
  max-width: 760px; margin: clamp(20px, 3vw, 32px) auto 0; padding: clamp(16px, 2.4vw, 24px) 0 0;
  border-top: 1px solid rgba(249, 245, 242, 0.14);
  text-decoration: none; cursor: pointer;
}
.pricer__strip-text { font-family: var(--font-body); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.64rem; color: rgba(249, 245, 242, 0.8); white-space: nowrap; }
.pricer__strip-cta { color: var(--node); font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.64rem; white-space: nowrap; }
.pricer__strip:hover .pricer__strip-cta, .pricer__strip:focus-visible .pricer__strip-cta { text-decoration: underline; text-underline-offset: 3px; }
.pricer__fine { text-align: center; max-width: 660px; margin: clamp(16px, 2.4vw, 26px) auto 0; color: rgba(249, 245, 242, 0.45); font-size: 0.72rem; line-height: 1.5; }
@media (max-width: 560px) {
  .pricer__toggle { grid-template-columns: repeat(2, 1fr); border-radius: 18px; }
  .pricer__strip-text { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { .pricer__panel.is-active { animation: none; } }

/* Entity pages paint a fixed full-viewport vignette scrim (body::after,
   z-index:0). The hero clears it via z-index:1, but the pricer section is
   z-index:auto, so it renders UNDER the scrim and the whole module is dimmed.
   Lift it above the scrim. Scoped to reveal-on (entity) pages; the homepage
   isn't an entity page (no scrim) and doesn't load this file. */
html.reveal-on .pricer { z-index: 1; }
/* Belt-and-braces: keep the cards at full opacity so the one-shot entrance
   animation can't leave them dimmed on these pages. */
html.reveal-on .pricer .pricer__panel.is-active,
html.reveal-on .pricer .pcard.is-active { animation: none; opacity: 1; }
