body .site-ending{--blue:#138cf5;width:calc(100% - 64px);max-width:2400px;margin:48px auto 0;padding:0;color:#171b1e;font-family:Arial,Helvetica,sans-serif;clear:both;box-sizing:border-box}
body .site-ending .seb-footer{width:100%;margin:0;box-sizing:border-box;letter-spacing:normal}
body .site-ending #next-step{margin:0 0 24px;box-sizing:border-box}
body .site-ending .hs-card .btn{background:linear-gradient(120deg,#13b9ed,#1385ff);border-radius:50px;text-decoration:none}
body .site-ending .sf-legal a{color:#079ff6;font-size:16px;line-height:1.5;text-decoration:none}
body .site-ending .sf-legal a:hover{text-decoration:underline}
body .site-ending .sf-brand img{max-width:54px;height:54px;object-fit:contain}
body .site-ending .seb-footer nav{border:0;box-shadow:none;background:transparent;border-radius:0;position:static;overflow:visible}
.site-ending-privacy{max-width:620px;width:calc(100% - 40px);box-sizing:border-box;border:1px solid #e2e9ef;border-radius:24px;padding:28px;color:#171b1e;background:#fff;font:16px/1.65 Arial,sans-serif}
.site-ending-privacy::backdrop{background:#09111ca8;backdrop-filter:blur(5px)}
.site-ending-privacy button{float:right;cursor:pointer;border:1px solid #dce4ec;border-radius:50%;width:36px;height:36px;background:white;font-size:22px}
@media(max-width:600px){body .site-ending{width:calc(100% - 24px);margin-top:28px;padding-bottom:0}body .site-ending .seb-footer{padding:28px 24px}body .site-ending .hs-heading h2{font-size:26px}body .site-ending .hs-heading br{display:none}}

body .site-ending{overflow-x:clip;overflow-y:visible}
.site-ending button svg{flex:none}
/* The portrait continues behind the solid footer, which covers its lower edge. */
body .site-ending #next-step.handshake-section{position:relative;overflow:visible;isolation:auto;margin-bottom:0;z-index:0}
/* Finish the soft fade at the footer edge, accounting for the portrait transform. */
body .site-ending #next-step .hs-portrait img{
 --portrait-fade-inset:22.667px;
 --portrait-fade-end:calc(100% - var(--portrait-fade-inset));
 --portrait-fade:linear-gradient(to bottom,#000 0%,#000 calc(var(--portrait-fade-end) - 120px),rgba(0,0,0,.97) calc(var(--portrait-fade-end) - 105px),rgba(0,0,0,.82) calc(var(--portrait-fade-end) - 80px),rgba(0,0,0,.46) calc(var(--portrait-fade-end) - 50px),rgba(0,0,0,.12) calc(var(--portrait-fade-end) - 20px),transparent var(--portrait-fade-end),transparent 100%);
 mask-image:var(--portrait-fade)!important;
 -webkit-mask-image:var(--portrait-fade)!important;
}
@media(max-width:1000px){body .site-ending #next-step .hs-portrait img{--portrait-fade-inset:18.519px}}
@media(min-width:801px) and (max-width:1100px){body .site-ending #next-step .hs-portrait img{--portrait-fade-inset:0px}}
/* On phones the portrait meets the overlapping quote card instead of the footer. */
@media(max-width:600px){
 body .site-ending #next-step .hs-portrait{
  --portrait-card-fade:linear-gradient(to bottom,#000 0%,#000 calc(100% - 76px),rgba(0,0,0,.82) calc(100% - 54px),rgba(0,0,0,.46) calc(100% - 34px),rgba(0,0,0,.12) calc(100% - 16px),transparent calc(100% - 4px),transparent 100%);
  mask-image:var(--portrait-card-fade);-webkit-mask-image:var(--portrait-card-fade);
  mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;
 }
 body .site-ending #next-step .hs-portrait img{mask-image:none!important;-webkit-mask-image:none!important}
}
body .site-ending .seb-footer{position:relative;z-index:1;background:#fff}

/* Leave breathing room below the rounded footer so its full edge is visible. */
body .site-ending{padding-bottom:36px!important}
@media(max-width:600px){body .site-ending{padding-bottom:24px!important}}
