/* Public site extras. The look itself comes from brand.css and portal.css (the same theme as the customer portal);
   the old template rules (14px phone font, body margin for a fixed footer) were removed with the redesign. */

/* Analytics consent banner (Pages/Shared/_Analytics.cshtml): fixed at the bottom, above the page. */
.tx-consent {
  position: fixed;
  inset-inline: 1rem;
  bottom: 1rem;
  z-index: 1080;
  max-width: 40rem;
  margin-inline: auto;
  padding: 1rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .15);
  border-radius: .5rem;
  box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .15);
}

/* Public pages (Pages/Shared/_Layout.cshtml): portal band and cards, plus a centred landing hero. */
.px-public .px-main { max-width: 1120px; }
.pub-hero { text-align: center; padding: 2.4rem 1.6rem 3.6rem; }
.pub-hero .px-band-title { font-size: clamp(1.7rem, 4.6vw, 2.8rem); margin-bottom: .7rem; }
.pub-lead { font-size: clamp(1rem, 2.2vw, 1.2rem); color: #FFF1E4; max-width: 40rem; margin: 0 auto 1.4rem; }
.pub-mark { width: 88px; height: 88px; margin-bottom: .6rem; filter: drop-shadow(0 6px 14px rgba(40, 0, 0, .25)); }
.pub-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.pub-ghost { border: 2px solid rgba(255, 255, 255, .75); color: #fff; border-radius: 2rem !important; min-height: 52px; padding-inline: 1.4rem; font-weight: 700; display: inline-flex; align-items: center; }
.pub-ghost:hover, .pub-ghost:focus-visible { background: rgba(255, 255, 255, .12); color: #fff; }
.pub-hero .px-btn-sun { display: inline-flex; align-items: center; }
.pub-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; }
.pub-features .px-card + .px-card { margin-top: 0; }
.pub-icon { width: 2.6rem; height: 2.6rem; border-radius: .9rem; display: inline-grid; place-items: center; background: #FDECE3; color: var(--ab-red); font-size: 1.2rem; margin-bottom: .6rem; }
.pub-feature p { color: var(--px-muted); margin: 0; }
.pub-title { font-size: 1.25rem; font-weight: 700; margin: 1.8rem 0 .9rem; }
.pub-steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; }
.pub-steps li { counter-increment: step; background: var(--px-surface); border: 1px solid var(--px-line); border-radius: var(--px-radius); padding: 1rem 1.2rem; display: flex; gap: .8rem; align-items: flex-start; }
.pub-steps li::before { content: counter(step); flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: var(--px-grad); color: #fff; font-weight: 700; display: grid; place-items: center; }
.pub-prose { max-width: 46rem; }
.pub-prose h2 { font-size: 1.1rem; font-weight: 700; margin: 1.4rem 0 .5rem; }
.pub-prose p, .pub-prose li { color: #3B302C; line-height: 1.8; }
.px-public .pub-cta { border-radius: 2rem; font-weight: 700; padding-inline: 1rem; min-height: 40px; display: inline-flex; align-items: center; }
@media (max-width: 575.98px) {
  .pub-hero { padding: 1.8rem 1.1rem 2rem; }
  .pub-actions > * { flex: 1 1 100%; justify-content: center; }
  .px-public .pub-cta { padding-inline: .8rem; }
}
@media (max-width: 575.98px) { .pub-steps { grid-template-columns: 1fr; } }
.px-public .form-check-input:checked { background-color: var(--ab-red); border-color: var(--ab-red); }
.px-public .form-control:focus, .px-public .form-check-input:focus { border-color: #E39A8F; box-shadow: 0 0 0 .2rem rgba(180, 22, 27, .2); }
