.contextual-cta__microcopy {
  max-inline-size: 64ch;
  margin: 0.85rem auto 0;
  color: inherit;
  font-size: 0.88rem;
  line-height: 1.55;
  opacity: 0.82;
}

.homepage-decision-hero .contextual-cta__microcopy {
  margin-inline: 0;
  color: rgba(255, 255, 255, 0.72);
}

.calculator-contextual-cta {
  display: grid;
  justify-items: center;
  gap: 0.65rem;
  margin-block-start: 1.25rem;
  padding: 1rem;
  border: 1px solid rgba(245, 166, 35, 0.42);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
}

.calculator-contextual-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.calculator-contextual-cta a {
  min-height: 44px;
}

[data-sticky-cta][hidden] {
  display: none !important;
}

[data-sticky-cta] {
  position: fixed;
  z-index: 850;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.7rem max(1rem, env(safe-area-inset-right)) calc(0.7rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  border-top: 1px solid #cbd4df;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 -8px 24px rgba(13, 31, 60, 0.16);
}

[data-sticky-cta] p {
  min-width: 0;
  margin: 0;
  color: #25334a;
  font-size: 0.76rem;
  line-height: 1.35;
}

[data-sticky-cta] a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.85rem;
  border-radius: 0.5rem;
  background: #b84716;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

[data-sticky-cta] a:focus-visible {
  outline: 3px solid #f5a623;
  outline-offset: 3px;
}

@media (max-width: 47.5rem) {
  [data-sticky-cta]:not([hidden]) {
    display: grid;
  }

  body.contextual-sticky-cta-visible {
    padding-bottom: 5.75rem;
  }
}

@media (max-width: 23rem) {
  [data-sticky-cta] {
    grid-template-columns: 1fr;
  }

  [data-sticky-cta] p {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-sticky-cta],
  [data-sticky-cta] * {
    transition: none !important;
  }
}
