/* Best Pay shared header and footer (combined site, 2026-11-19).
   Every rule is scoped to .bp-* classes so it never changes a page's own content styles.
   Colors: Best Pay green, gold and white. No script: the phone menu is a checkbox and label. */
@font-face{font-family:"Fraunces";font-style:normal;font-weight:500 700;font-display:swap;src:url("fonts/fraunces-latin.woff2") format("woff2");}
@font-face{font-family:"Work Sans";font-style:normal;font-weight:400 600;font-display:swap;src:url("fonts/worksans-latin.woff2") format("woff2");}

.bp-shell,.bp-footer{
  --bp-green:#2F6B4F; --bp-green-ink:#1E4A35; --bp-green-deep:#163828; --bp-green-soft:#E4EEE7;
  --bp-gold:#B5792B; --bp-gold-ink:#8A5A1C; --bp-gold-soft:#F3E7D6;
  --bp-ink:#1C2521; --bp-muted:#5C6660; --bp-border:#DFE2DC; --bp-white:#FFFFFF;
  font-family:"Work Sans", ui-sans-serif, system-ui, sans-serif; line-height:1.5; color:var(--bp-ink);
  box-sizing:border-box;
}
.bp-shell *,.bp-footer *{box-sizing:border-box;}
.bp-wrap{max-width:1160px; margin:0 auto; padding:0 24px;}

/* ---- header ---- */
.bp-shell{position:sticky; top:0; z-index:50; background:var(--bp-white); border-bottom:3px solid var(--bp-gold); box-shadow:0 1px 0 rgba(22,56,40,.06);}
.bp-skip{position:absolute; left:-9999px; top:8px; background:var(--bp-green-ink); color:#fff; padding:8px 14px; border-radius:6px; z-index:60;}
.bp-skip:focus{left:12px;}
.bp-bar{display:flex; align-items:center; gap:20px; min-height:72px;}
.bp-brand{display:flex; align-items:center; gap:10px; text-decoration:none; flex:none;}
.bp-brand-mark{width:46px; height:44px;}
.bp-brand-name{font-family:"Fraunces", Georgia, serif; font-weight:700; font-size:20px; color:var(--bp-green-ink); letter-spacing:-.01em;}
.bp-menu-toggle{display:none;}
.bp-menu-button{display:none;}
.bp-nav{display:flex; align-items:center; gap:18px; flex:1; justify-content:space-between;}
.bp-menu{display:flex; align-items:center; gap:4px; list-style:none; margin:0; padding:0;}
.bp-top-link{display:block; padding:10px 12px; border-radius:6px; font-size:14.5px; font-weight:600; color:var(--bp-ink); text-decoration:none;}
.bp-top-link:hover{background:var(--bp-green-soft); color:var(--bp-green-ink);}
.bp-cta{display:flex; gap:10px; flex:none;}
.bp-btn{display:inline-flex; align-items:center; justify-content:center; padding:11px 20px; border-radius:8px; border:1px solid transparent; font-family:inherit; font-size:14.5px; font-weight:600; text-decoration:none; white-space:nowrap;}
/* Gold button: #8A5A1C under white text is 5.6:1 (the lighter #B5792B was only 3.7:1). */
.bp-btn-gold{background:#8A5A1C; color:#FFFFFF; border-color:#6E4715;}
.bp-btn-gold:hover{background:#6E4715; color:#FFFFFF;}
.bp-btn-ghost{background:#FFFFFF; color:#1E4A35; border-color:var(--bp-green);}
.bp-btn-ghost:hover{background:#E4EEE7; color:#1E4A35;}
.bp-shell a:focus-visible,.bp-footer a:focus-visible,.bp-menu-toggle:focus-visible + .bp-menu-button{outline:3px solid var(--bp-gold); outline-offset:2px;}

/* ---- phone and tablet ---- */
@media (max-width:1020px){
  .bp-shell{position:relative;}
  .bp-bar{flex-wrap:wrap; min-height:64px; gap:12px; position:relative;}
  .bp-brand{flex:1;}
  /* Focusable only here, where the Menu button shows; visually hidden but reachable by keyboard. */
  .bp-menu-toggle{display:block; position:absolute; opacity:0; width:1px; height:1px; margin:0; pointer-events:none;}
  .bp-menu-button{display:inline-flex; align-items:center; gap:8px; padding:10px 14px; border:1px solid var(--bp-green); border-radius:8px; font-weight:600; font-size:15px; color:var(--bp-green-ink); cursor:pointer;}
  .bp-menu-icon,.bp-menu-icon::before,.bp-menu-icon::after{display:block; width:18px; height:2px; background:var(--bp-green-ink); position:relative;}
  .bp-menu-icon::before,.bp-menu-icon::after{content:""; position:absolute; left:0;}
  .bp-menu-icon::before{top:-6px;} .bp-menu-icon::after{top:6px;}
  .bp-nav{display:none; flex:1 1 100%; flex-direction:column; align-items:stretch; gap:14px; padding:4px 0 18px;}
  .bp-menu-toggle:checked ~ .bp-nav{display:flex;}
  .bp-menu{flex-direction:column; align-items:stretch; gap:0;}
  .bp-menu > li{border-top:1px solid var(--bp-border);}
  .bp-top-link{padding:14px 4px; font-size:16px;}
  .bp-cta{flex-direction:column;}
  .bp-btn{padding:14px 20px; font-size:16px;}
}

/* ---- footer ---- */
.bp-footer{background:var(--bp-green-deep); color:#E8EFEA; margin-top:64px; padding:0 0 32px; border-top:3px solid var(--bp-gold);}
.bp-footer-cta{display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap; padding:32px 0; border-bottom:1px solid rgba(255,255,255,.14);}
.bp-footer-cta-text{margin:0; font-family:"Fraunces", Georgia, serif; font-size:22px; font-weight:600; color:#fff;}
.bp-footer-cols{display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:28px; padding:32px 0;}
.bp-footer-head{margin:0 0 10px; font-size:12.5px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:#E9C98F;}
.bp-footer ul{list-style:none; margin:0; padding:0;}
.bp-footer li{margin:0 0 8px;}
.bp-footer a{color:#E8EFEA; text-decoration:none;}
.bp-footer a:hover{color:#fff; text-decoration:underline;}
.bp-footer-legal{margin:0; padding-top:20px; border-top:1px solid rgba(255,255,255,.14); font-size:13.5px; color:#C9D6CE;}
.bp-footer-legal a{text-decoration:underline;}
@media (max-width:760px){
  .bp-wrap{padding:0 16px;}
  .bp-footer-cols{grid-template-columns:repeat(2, minmax(0,1fr));}
}
@media (max-width:420px){ .bp-footer-cols{grid-template-columns:1fr;} }
@media (prefers-reduced-motion:no-preference){ .bp-btn{transition:background .15s ease;} }

/* Page-specific notes kept from a page's own old footer (disclaimers, data notes, ids its script needs). */
.bp-page-notes{max-width:1160px; margin:40px auto 0; padding:16px 24px 0; border-top:1px solid #DFE2DC; font-family:"Work Sans", ui-sans-serif, system-ui, sans-serif; font-size:14px; line-height:1.55; color:#4F5953;}
.bp-page-notes p{margin:0 0 10px; max-width:80ch;}
.bp-page-notes a{color:#1E4A35;}
@media (max-width:760px){ .bp-page-notes{padding:16px 16px 0;} }
