/* Custom CSS */
/*

body, main {
    background: #14161E !important;
}

footer {
    background: #2e3343 !important;
    border-radius: 50px 50px 0 0 !important;
}
#training {
    padding-bottom: 210px !important;
}
*/


footer {
    padding-top:0 !important; 
    width: 100%;
    display: flex;
    flex-direction: column;
}


.blankSpace {
    width:100%; margin:130px 0 !important; padding:0 !important;
} 


#contact {
    background: transparent !important; padding:0 !important;
    margin:-135px 0 50px !important;
}
#contact .wrap .cta-box {
    margin:0 0 0 !important;
}


footer .fgrid .fsocial a {
    display: flex; justify-content: center; align-items: center;
}


/* ===== Legal-page hero: distinct patterned background ===== */
/* Gives Privacy / Terms / Accessibility heroes a lighter, patterned panel
   that reads as separate from the darker content section below it. */
.legal-hero {
    background: #0A1024 !important;      /* lighter than the #06070F page paper */
    border-bottom: 1px solid rgba(255, 255, 255, .10);
}

/* base tint gradient (replaces the shared .fb radial) */
.legal-hero .fb {
    background:
        radial-gradient(900px 460px at 82% 6%, rgba(24, 169, 232, .22), transparent 60%),
        radial-gradient(700px 520px at 8% 100%, rgba(61, 123, 255, .16), transparent 62%),
        linear-gradient(155deg, #0B1330 0%, #0C1636 52%, #0A1024 100%);
}

/* grid + dot pattern overlay, faded out toward the bottom so text stays clean */
.legal-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px),
        radial-gradient(rgba(143, 182, 255, .16) 1.1px, transparent 1.4px);
    background-size: 48px 48px, 48px 48px, 24px 24px;
    background-position: -1px -1px, -1px -1px, 0 0;
    -webkit-mask-image: radial-gradient(130% 100% at 72% 8%, #000 42%, transparent 86%);
    mask-image: radial-gradient(130% 100% at 72% 8%, #000 42%, transparent 86%);
}

/* keep the hero tone rather than fading to near-black, so the panel stays distinct */
.legal-hero .scrim {
    background: linear-gradient(180deg, rgba(10, 16, 36, 0) 0%, rgba(9, 13, 30, .30) 62%, rgba(9, 13, 30, .55) 100%);
}

/* emphasis in the legal prose */
.prose strong {
    color: var(--on-char);
    font-weight: 600;
}




.fbase {
    font-size: 12.5px !important;
}



@media screen and (max-width:900px) {
    
    
    .hamBurger { 
        display: flex; flex-direction: column; position: relative; z-index: 1;
        border: none;  border-radius: 50%;
        padding:5px; background: transparent;
    }
    .hamBurger span { 
        width:22px; height:2px; margin:3px; background: white; display: block;
        -webkit-transition: all 0.3s ease-in-out; -o-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out; 
    }
    .hamBurger.isExpand span:nth-child(2){ opacity: 0; }
    .hamBurger.isExpand span:nth-child(1){ 
        -webkit-transform: translateY(8px) rotate(45deg); -ms-transform: translateY(8px) rotate(45deg); -o-transform: translateY(8px) rotate(45deg); transform: translateY(8px) rotate(45deg);
    }
    .hamBurger.isExpand span:nth-child(3){ 
        -webkit-transform: translateY(-8px) rotate(-45deg); -ms-transform: translateY(-8px) rotate(-45deg); -o-transform: translateY(-8px) rotate(-45deg); transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav .nav-dd-t {
        padding: 12px 8px !important;
    }

    
    .nav-dd-menu {
        display: none !important;
    }
    .nav-dd-menu.open {
        display: block !important;
    }
    
    .nav .nav-dd:hover .dd-caret {
        transform: rotate(0deg) !important;
    }
    .nav .nav-dd-t.on .dd-caret {
        transform: rotate(180deg) !important;
    }
    
    
    .nav .nav-dd:hover {
        background: transparent !important; overflow: hidden;
    }
    .nav .nav-dd:hover .nav-dd-t, 
    .nav .nav-dd:hover .nav-dd-t:hover, 
    .nav .nav-dd:hover .nav-dd-t:focus, 
    .nav .nav-dd:hover .nav-dd-t:active, 
    .nav .nav-dd-t.on {
        color: #fff; overflow: hidden;
        background: rgba(255, 255, 255, .25) !important;
    }


}



@media screen and (max-width:767px) {
    
    
    h2 {
        font-size: 24px;
    }
    
    
    .hamBurger { 
        padding:0;
    }
    .hdr .btn {
        padding: 7px 15px;
        font-size: 13px;
    }
    
    .inner-hero .hero-crumb {
        top: 40px !important;
    }
    
    
    .blankSpace {
        margin: 200px 0 !important;
    }
    footer .fgrid {
        grid-template-columns: 1fr !important;
    }
    
    #contact .wrap .cta-box {
        margin: 0 0 0 !important;
        padding: 20px 12px !important;
    }

    .card-h {
        gap: 0 !important;
        flex-direction: column !important;
    }
    

    .modal-card .x {
        right:0 !important;
    }


    
    
}





























/* ===== Contact / demo forms: reCAPTCHA + error message ===== */
.cform .captcha-row {
    margin: 2px 0 0;
}
/* keep the 302px reCAPTCHA widget from overflowing narrow columns */
.cform .captcha-row .captcha {
    max-width: 100%;
    overflow: hidden;
}
.cform-err {
    display: none;
    background: rgba(255, 90, 90, .10);
    border: 1px solid rgba(255, 90, 90, .32);
    color: #ffb3b3;
    font-size: 13px;
    line-height: 1.5;
    padding: 9px 12px;
    border-radius: 9px;
    margin: 0;
}


/* ============================================================
   Inner pages — distinct, alternating section backgrounds and a
   clear break so the hero never merges into the first section.
   Palette borrowed from the homepage bands:
     #14161E  (homepage .band)     ·     #0E1016  (homepage .band-char)
   layered over the hero's base paper (#06070F).
   ============================================================ */

/* The inner hero is section:nth-of-type(1); content sections start at (2).
   Alternate their shades so no two neighbours share a colour. */
main > section.sec:nth-of-type(2n) {
    background: #14161E;            /* blue-grey band */
}
main > section.sec:nth-of-type(2n + 1) {
    background: #0E1016;            /* charcoal band */
}

/* Crisp hairline between consecutive content sections. */
main > section.sec + section.sec {
    border-top: 1px solid rgba(255, 255, 255, .06);
}

/* The key fix: give the hero a defined bottom edge and step the first
   section up in tone so the two never blend together. */
.inner-hero {
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.inner-hero + .sec {
    border-top: 1px solid rgba(255, 255, 255, .12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
}
