/* Pricing page only — hover, clickable cards, details, quiz. Blue/navy, no gold. */

/* Identical rest + hover for all three cards. Featured must not stay pre-lifted. */
html body.er-v2 a.pricing-card,
html body.er-v2 .pricing-card{
  position:relative;
  display:flex;
  flex-direction:column;
  height:100%;
  text-decoration:none !important;
  color:inherit;
  transform:none !important;
  transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  cursor:pointer;
}
html body.er-v2 .pricing-card.featured{
  transform:none !important;
}
html body.er-v2 .pricing-card:hover,
html body.er-v2 .pricing-card:focus-within,
html body.er-v2 .pricing-card.featured:hover,
html body.er-v2 .pricing-card.featured:focus-within,
html body.er-v2 a.pricing-card:hover,
html body.er-v2 a.pricing-card:focus-visible,
html body.er-v2 a.pricing-card.featured:hover,
html body.er-v2 a.pricing-card.featured:focus-visible{
  transform:translateY(-6px) !important;
  box-shadow:0 14px 36px rgba(16,40,61,.22) !important;
}
html body.er-v2 .pricing-card:focus-visible,
html body.er-v2 a.pricing-card:focus-visible,
html body.er-v2 .pricing-card:focus-within{
  outline:3px solid #7eb6e0;
  outline-offset:4px;
}
@media (prefers-reduced-motion:reduce){
  html body.er-v2 .pricing-card,
  html body.er-v2 a.pricing-card,
  html body.er-v2 .pricing-card:hover,
  html body.er-v2 .pricing-card:focus-within,
  html body.er-v2 .pricing-card.featured,
  html body.er-v2 .pricing-card.featured:hover,
  html body.er-v2 .pricing-card.featured:focus-within{
    transition:none !important;
    transform:none !important;
  }
}

/* Stretched link covers the card; visible CTA is a span */
html body.er-v2 :is(section,main) .pricing-card a.pricing-card-link:not(.btn):not(.er-btn):not(.nav-link):not(.industry-card):not(.er-trade-link):not(.resource-card):not(.er-nav-check):not(.er-page-btn),
html body.er-v2 .pricing-card-link{
  position:absolute;
  inset:0;
  z-index:2;
  overflow:hidden;
  text-indent:100%;
  white-space:nowrap;
  color:transparent !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  text-decoration:none !important;
}
html body.er-v2 .pricing-card-link:focus{outline:none}

html body.er-v2 .pricing-card .pricing-cta{
  display:block;
  text-align:center;
  margin-top:auto;
  padding:12px 16px;
  min-height:48px;
  border-radius:10px;
  font:700 15px/1.3 Inter,system-ui,sans-serif;
  text-decoration:none !important;
  pointer-events:none;
  background:#145fa3 !important;
  color:#fff !important;
  border:2px solid #145fa3 !important;
}
html body.er-v2 .pricing-card.featured .pricing-cta{
  background:#fff !important;
  color:#0b1e2d !important;
  border-color:#fff !important;
}
html body.er-v2 .featured-badge{
  background:#145fa3 !important;
  color:#fff !important;
  z-index:1;
}

/* Tier detail sections */
html body.er-v2 .er-tier-details{padding:72px 0 24px}
html body.er-v2 .er-tier-detail{
  background:#fff;
  border:1px solid #c6d8e5;
  border-radius:16px;
  padding:28px 28px 24px;
  margin:0 0 24px;
  scroll-margin-top:112px;
  color:#0b1e2d;
}
html body.er-v2 .er-tier-detail h2{
  margin:0 0 8px;
  color:#0b1e2d !important;
}
html body.er-v2 .er-tier-detail .er-tier-price{
  font:750 1.6rem/1.2 Inter,system-ui,sans-serif;
  color:#0b1e2d !important;
  margin:0 0 16px;
}
html body.er-v2 .er-tier-detail .er-tier-price span{
  font-weight:500;
  font-size:1rem;
  color:#3d5566 !important;
}
html body.er-v2 .er-tier-detail h3{
  margin:20px 0 8px;
  font-size:1.05rem;
  color:#0b1e2d !important;
}
html body.er-v2 .er-tier-detail p,
html body.er-v2 .er-tier-detail li{
  color:#3d5566 !important;
  font-size:.98rem;
  line-height:1.55;
}
html body.er-v2 .er-tier-detail ul{margin:0 0 8px;padding-left:1.15rem}
html body.er-v2 .er-tier-detail .er-tier-note{
  margin:12px 0 0;
  padding:12px 14px;
  background:#e8f3fb;
  border-radius:10px;
  color:#0b1e2d !important;
}
html body.er-v2 .er-tier-detail .er-tier-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px 20px;
  margin-top:20px;
}
html body.er-v2 :is(section,main) .er-tier-detail a.er-btn:not(.er-outline){
  color:#fff !important;
  background:#145fa3 !important;
  border-color:#145fa3 !important;
  text-decoration:none !important;
}
html body.er-v2 :is(section,main) .er-tier-detail a.er-caption-link:not(.btn):not(.er-btn):not(.nav-link):not(.industry-card):not(.er-trade-link):not(.resource-card):not(.er-nav-check):not(.er-page-btn){
  color:#0e4e86 !important;
  text-decoration:underline !important;
  text-underline-offset:3px;
  font-weight:600;
}
/* 0e4e86 on white is well above 4.5:1 */

/* Quiz */
html body.er-v2 .er-tier-quiz{
  background:#f4f8fb;
  border:1px solid #c6d8e5;
  border-radius:16px;
  padding:28px 24px 24px;
  margin:0 0 28px;
  color:#0b1e2d;
}
html body.er-v2 .er-tier-quiz h2,
html body.er-v2 .er-tier-quiz legend,
html body.er-v2 .er-tier-quiz h3{
  color:#0b1e2d !important;
}
html body.er-v2 .er-tier-quiz > p{
  color:#3d5566 !important;
  margin:0 0 20px;
}
html body.er-v2 .er-quiz-step{
  margin:0 0 20px;
  padding:0;
  border:0;
}
html body.er-v2 .er-quiz-step legend{
  font:700 1.02rem/1.4 Inter,system-ui,sans-serif;
  margin:0 0 10px;
  float:none;
  width:100%;
}
html body.er-v2 .er-quiz-options{
  display:grid;
  gap:8px;
  margin:0;
  padding:0;
  list-style:none;
}
html body.er-v2 .er-quiz-options label{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin:0;
  padding:12px 14px;
  border:1px solid #c6d8e5;
  border-radius:10px;
  background:#fff;
  color:#0b1e2d !important;
  font:500 0.98rem/1.4 Inter,system-ui,sans-serif;
  cursor:pointer;
}
html body.er-v2 .er-quiz-options label:has(input:checked){
  border-color:#145fa3;
  background:#e8f3fb;
  box-shadow:0 0 0 2px #7eb6e0;
}
html body.er-v2 .er-quiz-options input{
  margin-top:3px;
  flex:0 0 auto;
  accent-color:#145fa3;
}
html body.er-v2 .er-quiz-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:8px;
}
html body.er-v2 .er-tier-quiz .er-btn{
  min-height:48px;
}
html body.er-v2 .er-quiz-result{
  display:none;
  margin-top:8px;
  padding:22px 22px 18px;
  border-radius:14px;
  background:#10283d;
  color:#dbe7f3 !important;
  border:1px solid #3d5f78;
}
html body.er-v2 .er-quiz-result.is-open{display:block}
html body.er-v2 .er-quiz-result[data-er-theme=dark] :is(h3,h2,strong){color:#fff !important}
html body.er-v2 .er-quiz-result p{color:#dbe7f3 !important;margin:0 0 12px}
html body.er-v2 .er-quiz-result .er-cta-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px 20px;
  margin-top:8px;
}
html body.er-v2 :is(section,main) .er-quiz-result a.er-btn:not(.er-outline){
  background:#fff !important;
  color:#0b1e2d !important;
  border-color:#fff !important;
  text-decoration:none !important;
}
html body.er-v2 :is(section,main) .er-quiz-result a.er-btn.er-outline{
  background:transparent !important;
  color:#fff !important;
  border:2px solid #fff !important;
  text-decoration:none !important;
}
html body.er-v2 :is(section,main) .er-quiz-result a.er-caption-link:not(.btn):not(.er-btn):not(.nav-link):not(.industry-card):not(.er-trade-link):not(.resource-card):not(.er-nav-check):not(.er-page-btn){
  color:#b4e0ff !important;
  text-decoration:underline !important;
  text-underline-offset:3px;
  font-weight:600;
}
html body.er-v2 .er-quiz-fallback{
  margin-top:24px;
  background:#fff;
  border:1px solid #c6d8e5;
  border-radius:12px;
  padding:8px 16px 4px;
}
html body.er-v2 .er-quiz-fallback > summary{
  cursor:pointer;
  font-weight:700;
  color:#0b1e2d !important;
  padding:10px 0;
  list-style:revert;
}
html body.er-v2 .er-quiz-fallback .row{margin-top:8px}
html body.er-v2 .er-quiz-error{color:#8a1a14 !important;margin:8px 0 0;display:none}
html body.er-v2 .er-quiz-error.is-open{display:block}

@media (max-width:700px){
  html body.er-v2 .er-tier-detail,
  html body.er-v2 .er-tier-quiz{padding:22px 16px}
}
