:root{
    --bg:#0d0f12;
    --panel:#171a1f;
    --panel2:#1f232b;
    --line:#303642;

    --text:#f3f4f6;
    --muted:#a9b0bd;

    --gold:#32CD32;
    --gold2:#32CD32;
     --accent:#32CD32;
    --blue:#4da3ff;
    --red:#ff5c5c;
    --green:#5bd17a;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html,
body{
    height:100%;
}

body{

    font-family:Arial,Helvetica,sans-serif;
    color:var(--text);

    background:

        linear-gradient(
            rgba(6,8,11,.82),
            rgba(8,10,13,.88)
        ),

        url("assets/img/login-bg.jpg") center center
        no-repeat fixed;

    background-size:cover;

}

a{
    color:var(--gold);
    text-decoration:none;
}

.login-page{

    display:flex;
    justify-content:center;
    align-items:center;

    min-height:100vh;

    padding:30px;

}

.login-card{

    width:420px;
    max-width:100%;

    background:rgba(23,26,31,.95);

    border:1px solid var(--line);

    backdrop-filter:blur(6px);

    box-shadow:
        0 18px 60px rgba(0,0,0,.55);

}

.login-header{

    padding:35px;

    text-align:center;

    border-bottom:1px solid var(--line);

}

.login-header img{

    width:170px;

    height:auto;

}

.login-title{

    margin-top:18px;

    color:var(--gold);

    font-size:24px;

    letter-spacing:2px;

}

.login-subtitle{

    margin-top:8px;

    color:var(--muted);

    font-size:14px;

}

.login-body{

    padding:30px;

}

.input-group{

    margin-bottom:18px;

}

.input-group label{

    display:block;

    margin-bottom:8px;

    color:#ddd;

    font-size:13px;

    font-weight:bold;

    text-transform:uppercase;

    letter-spacing:1px;

}

input{

    width:100%;

    height:46px;

    border:1px solid #363d49;

    background:#090b0f;

    color:white;

    padding:0 14px;

    outline:none;

    transition:.25s;

}

input:focus{

    border-color:var(--gold);

}

button{

    width:100%;

    height:48px;

    border:0;

    background:var(--gold);

    color:#111;

    font-weight:bold;

    font-size:15px;

    cursor:pointer;

    transition:.25s;

}

button:hover{

    background:#adebad;

}

.error{

    margin-bottom:18px;

    padding:14px;

    border-left:4px solid var(--red);

    background:#261616;

    color:#ffdcdc;

}

.footer-note{

    margin-top:25px;

    text-align:center;

    color:var(--muted);

    font-size:12px;

}
.version-badge{
    position:fixed;
    right:20px;
    bottom:20px;

    background:#32CD32;
    color:#000;

    padding:8px 14px;


    font-size:12px;
    font-weight:700;
}
/* ========= 2FA ========= */

.auth-card{
    max-width:520px;
}

.qr-image{

    display:block;

    margin:25px auto;

    padding:15px;

    background:#fff;

    border:4px solid var(--line);

}
/* ========= SHARED ADMIN CONTENT ========= */

.card{
    background:linear-gradient(180deg,var(--panel),#111419);
    border:1px solid var(--line);
    padding:18px;
    box-shadow:0 12px 35px rgba(0,0,0,.25);
}

.card h2{
    margin:0 0 16px;
    color:var(--text);
    font-size:18px;
}

.muted{
    color:var(--muted);
    font-size:13px;
}

.btn{
    display:inline-block;
    background:var(--gold);
    color:#121212;
    border:0;
    padding:12px 16px;
    font-weight:bold;
    cursor:pointer;
}

.btn.secondary{
    background:#2a303a;
    color:#fff;
    border:1px solid #444c59;
}

.btn.small{
    padding:8px 10px;
    font-size:12px;
}

.tag{
    display:inline-block;
    padding:3px 7px;
    border:1px solid #555;
    color:#ddd;
    font-size:11px;
    text-transform:uppercase;
}

/* ========= DASHBOARD ========= */

.dashboard-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
    margin-bottom:18px;
}

.stat-icon{
    margin-bottom:12px;
    font-size:24px;
}

.stat-label{
    margin-bottom:8px;
    color:var(--muted);
    font-size:13px;
}

.stat-value{
    color:var(--text);
    font-size:26px;
    font-weight:bold;
}

.stat-value-small{
    font-size:18px;
    text-transform:uppercase;
}

.dashboard-section{
    margin-top:18px;
}

.table-wrap{
    width:100%;
    overflow-x:auto;
}

.table{
    width:100%;
    border-collapse:collapse;
}

.table th,
.table td{
    padding:14px 12px;
    border-bottom:1px solid var(--line);
    color:var(--text);
    text-align:left;
    vertical-align:middle;
}

.table th{
    background:#111419;
    color:var(--muted);
    font-size:12px;
    text-transform:uppercase;
}

.table tbody tr:last-child td{
    border-bottom:0;
}

.table-actions{
    text-align:right;
    white-space:nowrap;
}

.clickable-table tbody tr{
    cursor:pointer;
}

.clickable-table tbody tr:hover{
    background:var(--panel2);
}

@media(max-width:1000px){
    .dashboard-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:600px){
    .dashboard-grid{
        grid-template-columns:1fr;
    }

    .table{
        min-width:700px;
    }
}
/* ========= ADMIN LAYOUT ========= */

.admin-layout{
    min-height:100vh;
}

.sidebar{
    position:fixed;
    top:0;
    left:0;
    bottom:0;

    width:240px;

    padding:22px 16px;

    background:rgba(13,15,18,.96);

    border-right:1px solid var(--line);

    backdrop-filter:blur(8px);

    overflow-y:auto;

    z-index:100;
}

.sidebar-logo{
    display:flex;
    justify-content:center;

    padding:8px 10px 24px;

    margin-bottom:14px;

    border-bottom:1px solid var(--line);
}

.sidebar-logo img{
    display:block;

    width:150px;
    max-width:100%;
    height:auto;
}

.menu{
    display:flex;
    flex-direction:column;
    gap:6px;
}

.menu a{
    display:flex;
    align-items:center;
    gap:12px;

    min-height:46px;

    padding:11px 13px;

    color:var(--muted);

    border:1px solid transparent;

    font-size:14px;
    font-weight:bold;

    transition:.2s;
}

.menu a:hover{
    color:var(--text);

    background:var(--panel);

    border-color:var(--line);
}

.menu a.active{
    color:#111;

    background:var(--gold);

    border-color:var(--gold);
}

.menu .icon{
    width:24px;

    font-size:19px;

    text-align:center;
}

.menu .logout-link{
    margin-top:16px;

    color:#ffd6d6;

    border-top:1px solid var(--line);
}

.menu .logout-link:hover{
    background:#2a1515;
    border-color:#6b2b2b;
}

.main{
    min-height:100vh;

    margin-left:240px;

    padding:28px 24px 80px;
}

.main .topbar{
    margin-bottom:22px;
}

/* ========= ADMIN RESPONSIVE ========= */

@media(max-width:900px){

    .sidebar{
        width:200px;
    }

    .main{
        margin-left:200px;
    }

}

@media(max-width:700px){

    .admin-layout{
        display:block;
    }

    .sidebar{
        position:relative;

        width:100%;
        height:auto;

        border-right:0;
        border-bottom:1px solid var(--line);
    }

    .sidebar-logo{
        padding-bottom:18px;
    }

    .sidebar-logo img{
        width:125px;
    }

    .menu{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .menu .logout-link{
        margin-top:0;
        border-top:1px solid transparent;
    }

    .main{
        margin-left:0;

        padding:22px 14px 70px;
    }

}

@media(max-width:430px){

    .menu{
        grid-template-columns:1fr;
    }

}
/* ========= CLIENTS ========= */

.clients-section{
    margin-top:18px;
}

.client-search{
    margin-bottom:18px;
}

.client-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
    gap:16px;
}

.client-card{
    padding:16px;
    background:var(--panel2);
    border:1px solid var(--line);
}

.client-card h3{
    margin:0 0 8px;
    color:var(--text);
    font-size:17px;
}

.client-icon{
    margin-bottom:10px;
    font-size:26px;
}

.client-meta{
    margin-top:5px;
    color:var(--muted);
    font-size:13px;
}

.client-actions{
    display:flex;
    gap:8px;
    margin-top:16px;
}

.client-active{
    border-left:5px solid var(--green);
}

.client-suspended{
    border-left:5px solid var(--gold);
}

.client-inactive{
    border-left:5px solid var(--red);
}

.client-unpaid{
    color:var(--gold);
    font-weight:bold;
}

@media(max-width:600px){

    .client-grid{
        grid-template-columns:1fr;
    }

}
/* ========= CLIENT TOOLBAR ========= */

.clients-toolbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
}

.clients-toolbar-title{
    margin-bottom:5px;
    color:var(--text);
    font-size:18px;
    font-weight:bold;
}

@media(max-width:600px){

    .clients-toolbar{
        align-items:stretch;
        flex-direction:column;
    }

    .clients-toolbar .btn{
        text-align:center;
    }

}
/* ========= CLIENT FORM ========= */

.form-section + .form-section{
    margin-top:24px;
    padding-top:24px;
    border-top:1px solid var(--line);
}

.form-section h2{
    margin:0 0 16px;
    color:var(--text);
    font-size:18px;
}

.row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
}

.input-group{
    margin-bottom:16px;
}

textarea,
select{
    width:100%;
    padding:12px;
    background:#090b0f;
    color:var(--text);
    border:1px solid #363d49;
    border-radius:0;
    outline:none;
}

textarea{
    min-height:110px;
    resize:vertical;
}

textarea:focus,
select:focus{
    border-color:var(--gold);
}

.status-help{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
    margin-top:4px;
}

.status-help div{
    padding:12px;
    background:#111419;
    border:1px solid var(--line);
}

.status-help strong{
    display:block;
    margin-bottom:4px;
    color:var(--text);
    font-size:13px;
}

.status-help span{
    color:var(--muted);
    font-size:12px;
}

.form-actions{
    display:flex;
    gap:10px;
    margin-top:24px;
}

@media(max-width:700px){

    .row,
    .status-help{
        grid-template-columns:1fr;
    }

    .form-actions{
        flex-direction:column;
    }

    .form-actions .btn{
        justify-content:center;
        text-align:center;
    }

}
/* ========= CLIENT VIEW: REQUIRED ONLY ========= */

/* Sticky client action bar */
.client-sticky-header{
    position:sticky;
    top:0;
    z-index:50;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    margin-bottom:18px;
    padding:14px 16px;
    background:var(--panel);
    border:1px solid var(--line);
    border-left:5px solid var(--gold);
    box-shadow:0 12px 35px rgba(0,0,0,.35);
}

.client-sticky-header.status-bg-active{
    border-left-color:var(--green);
}

.client-sticky-header.status-bg-suspended{
    border-left-color:var(--gold);
}

.client-sticky-header.status-bg-inactive{
    border-left-color:var(--red);
}

.client-header-left,
.client-actions-right,
.section-head{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}

.client-header-left{
    min-width:0;
}

.client-actions-right{
    justify-content:flex-end;
}

.section-head{
    justify-content:space-between;
    margin-bottom:16px;
}

.section-head h2{
    margin:0;
}

.client-name{
    color:var(--text);
    font-size:16px;
    font-weight:bold;
}

.client-email{
    color:var(--muted);
    font-size:13px;
    overflow-wrap:anywhere;
}

/* Client status */
.pill{
    display:inline-block;
    padding:4px 8px;
    background:#111419;
    border:1px solid var(--line);
    font-size:11px;
    font-weight:bold;
    text-transform:uppercase;
}

.pill-active{
    color:var(--green);
}

.pill-suspended{
    color:var(--gold);
}

.pill-inactive{
    color:var(--red);
}

/* Client information layout */
.view-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px;
}

.view-field{
    padding:12px;
    background:#111419;
    border:1px solid var(--line);
    color:var(--muted);
    font-size:13px;
    line-height:1.5;
}

.view-field strong{
    color:var(--text);
}

.view-address{
    margin-top:14px;
}

/* Sections and tables */
.client-view-section{
    margin-top:18px;
}

.empty{
    padding:12px 0;
    color:var(--muted);
    font-size:13px;
}

.table-actions{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:8px;
    white-space:nowrap;
}

.section-disabled{
    opacity:.55;
    pointer-events:none;
}

.btn.disabled{
    opacity:.45;
    pointer-events:none;
}

.doc-tag{
    display:inline-block;
    padding:3px 7px;
    border:1px solid var(--gold);
    color:var(--gold);
    font-size:11px;
    text-transform:uppercase;
}

/* Limit dropdowns */
.limit-control{
    position:relative;
}

.limit-control > button{
    width:auto;
    height:auto;
    padding:8px 10px;
    background:#2a303a;
    color:var(--text);
    border:1px solid #444c59;
    font-size:12px;
}

.limit-menu{
    position:absolute;
    top:calc(100% + 6px);
    right:0;
    z-index:60;
    display:none;
    min-width:120px;
    background:var(--panel);
    border:1px solid var(--line);
    box-shadow:0 12px 30px rgba(0,0,0,.4);
}

.limit-menu div{
    padding:9px 11px;
    border-bottom:1px solid var(--line);
    color:var(--muted);
    font-size:13px;
    cursor:pointer;
}

.limit-menu div:last-child{
    border-bottom:0;
}

.limit-menu div:hover{
    background:var(--panel2);
    color:var(--gold);
}

.hidden{
    display:none !important;
}

/* Document upload */
.document-upload{
    display:grid;
    grid-template-columns:1fr 2fr auto;
    gap:12px;
    align-items:end;
    margin-bottom:16px;
}

/* Modals */
.modal-backdrop{
    position:fixed;
    inset:0;
    z-index:999;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:18px;
    background:rgba(0,0,0,.75);
}

.modal-card{
    width:460px;
    max-width:100%;
    padding:22px;
    background:var(--panel);
    border:1px solid var(--line);
    box-shadow:0 20px 60px rgba(0,0,0,.55);
}

.modal-card h2{
    margin-bottom:14px;
}

.modal-actions{
    display:flex;
    justify-content:flex-end;
    gap:10px;
    margin-top:16px;
}

.modal-actions button{
    width:auto;
}

/* Responsive */
@media(max-width:1100px){

    .client-sticky-header{
        align-items:flex-start;
        flex-direction:column;
    }

    .client-actions-right{
        justify-content:flex-start;
        width:100%;
    }

    .view-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

}

@media(max-width:700px){

    .view-grid,
    .document-upload{
        grid-template-columns:1fr;
    }

    .client-actions-right .btn{
        flex:1 1 auto;
        text-align:center;
    }

    .table-wrap{
        overflow-x:auto;
    }

}

@media(max-width:500px){

    .client-header-left{
        align-items:flex-start;
        flex-direction:column;
    }

    .client-divider{
        display:none;
    }

}
/* ========= DOCUMENT FILE INPUT ========= */

.file-upload-box{
    display:flex;
    align-items:center;
    width:100%;
    height:46px;
    background:#090b0f;
    border:1px solid #363d49;
    cursor:pointer;
    overflow:hidden;
}

.file-upload-box input[type="file"]{
    position:absolute;
    width:1px;
    height:1px;
    opacity:0;
    overflow:hidden;
}

.file-upload-button{
    display:flex;
    align-items:center;
    height:100%;
    padding:0 16px;
    background:#2a303a;
    color:var(--text);
    border-right:1px solid #444c59;
    font-size:13px;
    font-weight:bold;
    text-transform:none;
    letter-spacing:0;
    white-space:nowrap;
}

.file-upload-name{
    display:block;
    min-width:0;
    padding:0 14px;
    color:var(--muted);
    font-size:13px;
    font-weight:normal;
    text-transform:none;
    letter-spacing:0;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.document-upload{
    display:grid;
    grid-template-columns:1fr 2fr auto;
    gap:12px;
    align-items:start;
}

.document-upload-action label{
    visibility:hidden;
}

.document-upload-button{
    width:auto;
    height:46px;
    padding:0 18px;
    margin:0;
    white-space:nowrap;
}
/* ========= ADD INVOICE ========= */

.invoice-item-actions{
    margin-top:16px;
}

.invoice-add,
.invoice-remove,
.invoice-submit{
    width:auto;
}

.invoice-remove{
    min-width:38px;
    height:38px;
    padding:0 12px;
    font-size:18px;
}

.invoice-submit{
    height:auto;
}

#items input{
    min-width:0;
}
.client-actions{
    display:flex;
    gap:10px;
    justify-content:flex-end;
    align-items:center;
    flex-wrap:nowrap;
}

.client-actions .btn{
    width:auto;
    white-space:nowrap;
    flex:0 0 auto;
}
/* =====================================================
   WICKED WEB WIZARD PUBLIC WEBSITE
   Reuses /billing/assets/css/wicked-theme.css
===================================================== */

html{
    scroll-behavior:smooth;
}

body.website-body{
    margin:0;
    min-height:100vh;
    overflow-x:hidden;
    background:
        linear-gradient(
            rgba(5,8,11,.91),
            rgba(5,8,11,.97)
        ),
        url("../img/login-bg.jpg") center center / cover fixed no-repeat;
    color:var(--text);
}

.website-body *{
    box-sizing:border-box;
}

.website-body img{
    max-width:100%;
    display:block;
}

.site-container{
    width:min(1400px, calc(100% - 40px));
    margin:0 auto;
}

/* HEADER */

.site-header{
    position:fixed;
    top:0;
    left:0;
    right:0;
    z-index:1000;
    background:rgba(12,16,20,.94);
    border-bottom:1px solid var(--line);
    backdrop-filter:blur(14px);
}

.site-header-inner{
    min-height:82px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
}

.site-logo{
    display:flex;
    align-items:center;
    gap:14px;
    min-width:0;
    color:var(--text);
    text-decoration:none;
}

.site-logo img{
    width:70px;
    max-height:58px;
    object-fit:contain;
}

.site-logo strong,
.site-logo span{
    display:block;
}

.site-logo strong{
    font-size:18px;
    letter-spacing:.03em;
}

.site-logo span{
    margin-top:3px;
    color:var(--muted);
    font-size:12px;
}

.site-nav{
    display:flex;
    align-items:center;
    gap:6px;
}

.site-nav > a:not(.btn){
    padding:12px 14px;
    color:var(--muted);
    text-decoration:none;
    font-weight:700;
    font-size:14px;
}

.site-nav > a:not(.btn):hover{
    color:var(--accent);
}

.site-menu-toggle{
    display:none;
    width:46px;
    height:42px;
    border:1px solid var(--line);
    background:var(--panel);
    color:var(--text);
    font-size:22px;
    cursor:pointer;
}

/* GENERAL */

.site-section,
.site-hero{
    position:relative;
}

.site-section{
    padding:95px 0;
}

.site-section-dark{
    background:rgba(6,9,12,.64);

}

.site-eyebrow{
    margin-bottom:16px;
    color:var(--accent);
    font-size:12px;
    font-weight:800;
    letter-spacing:.18em;
}

.site-section h2,
.site-hero h1{
    margin:0;
    color:var(--text);
    line-height:1.05;
}

.site-section h2{
    max-width:720px;
    font-size:clamp(32px, 5vw, 52px);
}

.site-section-heading{
    display:grid;
    grid-template-columns:minmax(0, 1.5fr) minmax(280px, .7fr);
    align-items:end;
    gap:50px;
    margin-bottom:42px;
}

.site-section-heading > p{
    margin:0;
    color:var(--muted);
    font-size:17px;
    line-height:1.7;
}

.site-actions{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}

/* HERO */
/* =====================================================
   HERO
===================================================== */

.hero-stage{
    position:relative;
    min-height:890px;
    padding:185px 0 0;
    overflow:hidden;
    isolation:isolate;
    background:
        linear-gradient(
            90deg,
            rgba(4,7,9,.99) 0%,
            rgba(4,7,9,.95) 35%,
            rgba(4,7,9,.72) 62%,
            rgba(4,7,9,.38) 100%
        ),
        url("../img/login-bg.jpg") center / cover no-repeat;
    border-bottom:1px solid var(--line);
}

.hero-stage::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:-2;
    pointer-events:none;
    background:
        linear-gradient(
            180deg,
            rgba(4,7,9,.08) 0%,
            rgba(4,7,9,.2) 50%,
            rgba(4,7,9,.98) 100%
        );
}

.hero-stage::after{
    content:"";
    position:absolute;
    inset:0;
    z-index:-1;
    pointer-events:none;
    opacity:.22;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size:50px 50px;
    mask-image:linear-gradient(
        to bottom,
        transparent,
        #000 20%,
        #000 75%,
        transparent
    );
}

.hero-art{
    position:absolute;
    top:130px;
    right:-4%;
    width:58%;
    height:660px;
    z-index:-1;
    opacity:.82;
    background:
        url("../img/illustration/illustration-15.webp")
        center / cover no-repeat;
    filter:
        saturate(.85)
        contrast(1.12)
        brightness(.8);
    mask-image:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(0,0,0,.35) 12%,
            #000 35%,
            #000 85%,
            transparent 100%
        );
}

.hero-glow{
    position:absolute;
    border-radius:50%;
    pointer-events:none;
    filter:blur(100px);
}

.hero-glow-one{
    top:180px;
    right:8%;
    width:420px;
    height:420px;
    background:rgba(42,211,59,.14);
}

.hero-glow-two{
    left:22%;
    bottom:80px;
    width:300px;
    height:300px;
    background:rgba(0,160,255,.07);
}

.hero-stage-inner{
    position:relative;
    z-index:2;
    display:grid;
    grid-template-columns:minmax(0, 1.25fr) minmax(280px, .55fr);
    align-items:center;
    gap:80px;
}

.hero-copy{
    max-width:880px;
}

.hero-kicker{
    display:flex;
    align-items:center;
    gap:13px;
    margin-bottom:25px;
    color:#d5dbe3;
    font-size:12px;
    font-weight:900;
    letter-spacing:.2em;
    text-transform:uppercase;
}

.hero-kicker span{
    width:38px;
    height:2px;
    display:block;
    background:var(--accent);
    box-shadow:0 0 14px rgba(42,211,59,.7);
}

.hero-copy h1{
    max-width:900px;
    margin:0;
    color:#f2f4f7;
    font-size:clamp(58px, 6.6vw, 104px);
    line-height:.92;
    letter-spacing:-.065em;
    font-weight:900;
}

.hero-copy h1 strong{
    display:block;
    color:transparent;
    font:inherit;
    -webkit-text-stroke:1px rgba(255,255,255,.78);
}

.hero-intro{
    max-width:700px;
    margin:32px 0 36px;
    color:#b7c0cb;
    font-size:20px;
    line-height:1.7;
}

.hero-actions{
    display:flex;
    flex-wrap:wrap;
    gap:13px;
}

.hero-primary{
    box-shadow:
        0 12px 35px rgba(42,211,59,.16),
        0 0 24px rgba(42,211,59,.09);
}

.hero-capabilities{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:42px;
}

.hero-capability{
    display:flex;
    align-items:center;
    gap:9px;
    padding:10px 14px;
    color:#c8d0da;
    background:rgba(12,17,21,.72);
    border:1px solid rgba(255,255,255,.1);
    backdrop-filter:blur(10px);
    font-size:12px;
    font-weight:700;
}

.hero-capability-icon{
    font-size:15px;
}

.hero-side{
    display:flex;
    justify-content:flex-end;
    align-items:center;
    align-self:stretch;
    width:100%;
    padding-top:80px;
}

.hero-side-panel{
    width:100%;
    max-width:390px;
    margin-left:auto;
    padding:32px;
    background:rgba(5,9,11,.62);
    border-left:2px solid var(--accent);
    border-top:1px solid rgba(255,255,255,.1);
    border-right:1px solid rgba(255,255,255,.08);
    border-bottom:1px solid rgba(255,255,255,.08);
    backdrop-filter:blur(12px);
    box-shadow:
        0 25px 70px rgba(0,0,0,.34),
        -20px 0 70px rgba(43,211,59,.05);
}

.hero-side-label{
    display:block;
    margin-bottom:18px;
    color:var(--accent);
    font-size:11px;
    font-weight:900;
    letter-spacing:.18em;
    text-transform:uppercase;
}

.hero-side-panel strong{
    display:block;
    color:#f2f4f7;
    font-size:30px;
    line-height:1.2;
}

.hero-side-panel p{
    margin:20px 0;
    color:#a9b3bf;
    font-size:14px;
    line-height:1.7;
}

.hero-text-link{
    display:inline-flex;
    align-items:center;
    gap:10px;
    color:#fff;
    text-decoration:none;
    font-size:13px;
    font-weight:800;
}

.hero-text-link span{
    color:var(--accent);
    font-size:20px;
    transition:transform .2s ease;
}

.hero-text-link:hover span{
    transform:translateX(5px);
}

.hero-metrics-wrap{
    position:relative;
    z-index:3;
    width:100%;
    margin-top:90px;
    background:rgba(7,11,14,.94);
    border-top:1px solid rgba(255,255,255,.1);
    border-bottom:1px solid rgba(255,255,255,.1);
    backdrop-filter:blur(14px);
}

.hero-metrics{
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    margin-top:0;

}
.hero-metric:last-child{
    border-right:0;
}
.hero-metric{
    min-height:140px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:28px 34px;
    border-right:1px solid rgba(255,255,255,.1);
}

.hero-metric-value{
    color:#f5f6f8;
    font-size:36px;
    line-height:1;
    font-weight:900;
}

.hero-metric-word{
    font-size:21px;
    text-transform:uppercase;
}

.hero-metric-label{
    margin-top:10px;
    color:#929daa;
    font-size:12px;
    font-weight:700;
    letter-spacing:.06em;
    text-transform:uppercase;
}

/* =====================================================
   HERO TABLET
===================================================== */

@media (max-width:1100px){


    .hero-stage{
        min-height:auto;
        padding-top:155px;
    }

    .hero-stage-inner{
        grid-template-columns:1fr;
        gap:35px;
    }

    .hero-art{
        right:-18%;
        width:82%;
        opacity:.5;
    }

    .hero-side{
        justify-content:flex-start;
        padding-top:10px;
    }

    .hero-side-panel{
        max-width:650px;
        margin-left:0;
    }

    .hero-metrics{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }

    .hero-metric{
        border-bottom:1px solid rgba(255,255,255,.08);
    }

}

/* =====================================================
   HERO MOBILE
===================================================== */

@media (max-width:720px){

    .hero-stage{
        min-height:auto;
        padding:125px 0 0;
        background:
            linear-gradient(
                180deg,
                rgba(4,7,9,.75) 0%,
                rgba(4,7,9,.94) 45%,
                rgba(4,7,9,1) 100%
            ),
            url("../img/login-bg.jpg") 62% center / cover no-repeat;
    }

    .hero-art{
        top:80px;
        right:-50%;
        width:140%;
        height:520px;
        opacity:.22;
    }

    .hero-glow-one{
        right:-60%;
    }

    .hero-kicker{
        align-items:flex-start;
        font-size:10px;
        line-height:1.6;
    }

    .hero-kicker span{
        margin-top:7px;
    }

    .hero-copy h1{
        font-size:48px;
        line-height:.98;
    }

    .hero-intro{
        margin:25px 0 30px;
        font-size:17px;
    }

    .hero-actions{
        flex-direction:column;
    }

    .hero-actions .btn{
        width:100%;
        text-align:center;
    }

    .hero-capabilities{
        display:grid;
        grid-template-columns:1fr 1fr;
        margin-top:32px;
    }

    .hero-capability{
        align-items:flex-start;
        padding:12px;
    }

    .hero-side{
        margin-top:10px;
    }

    .hero-side-content strong{
        font-size:22px;
    }

    .hero-metrics{
        grid-template-columns:1fr 1fr;
        margin-top:55px;
    }

    .hero-metric{
        min-height:115px;
        padding:20px;
    }

    .hero-metric-value{
        font-size:29px;
    }

    .hero-metric-word{
        font-size:16px;
    }

}

@media (max-width:430px){

    .hero-copy h1{
        font-size:40px;
    }

    .hero-capabilities{
        grid-template-columns:1fr;
    }

    .hero-metrics{
        grid-template-columns:1fr;
    }

    .hero-metric{
        border-right:0;
    }

}

/* FEATURE AND SERVICE CARDS */

.site-feature-card,
.site-service-card,
.site-price-card{
    padding:28px;
}

.site-feature-card .stat-icon,
.site-service-card .stat-icon,
.site-price-card .stat-icon{
    margin-bottom:20px;
}

.site-feature-card h3{
    margin-bottom:12px;
}

.site-service-grid{
    grid-template-columns:repeat(3, minmax(0, 1fr));
}

.site-service-card{
    min-height:245px;
}

.site-service-card .stat-label{
    min-height:48px;
    font-size:18px;
}

.site-service-card p{
    margin:14px 0 0;
    line-height:1.65;
}

.site-check-list{
    margin:22px 0 0;
    padding:0;
    list-style:none;
}

.site-check-list li{
    position:relative;
    margin:12px 0;
    padding-left:25px;
    color:var(--muted);
    line-height:1.55;
}

.site-check-list li::before{
    content:"✓";
    position:absolute;
    left:0;
    color:var(--accent);
    font-weight:900;
}

/* CTA */
.site-cta-section{
    padding-top:50px;
    padding-bottom:90px;
}

.site-cta{

    display:grid;
    grid-template-columns:1.15fr .85fr;
    gap:90px;
    align-items:center;

    width:100%;

    padding:80px 0;

    border-top:1px solid var(--border);
    border-bottom:1px solid var(--border);

}

.site-cta-content{

    max-width:760px;

}

.site-cta h2{

    margin:18px 0 24px;

    font-size:clamp(3rem,5vw,5rem);

    line-height:.95;

    letter-spacing:-.04em;

}

.site-cta p{

    max-width:640px;

    font-size:1.3rem;

    line-height:1.8;

    color:var(--text-muted);

    margin-bottom:42px;

}

.site-cta-image{

    display:flex;

    justify-content:flex-end;

}

.site-cta-image img{

    width:100%;

    max-width:620px;

    border:1px solid var(--border);

    display:block;

}

.site-actions{

    display:flex;

    gap:18px;

    flex-wrap:wrap;

}
@media (max-width:1000px){

    .site-cta{

        grid-template-columns:1fr;

        gap:50px;

        padding:60px 0;

    }

    .site-cta-image{

        justify-content:center;

    }

}

/* PRICING */

.site-pricing-grid{
    grid-template-columns:repeat(3, minmax(0, 1fr));
    align-items:stretch;
}

.site-price-card{
    position:relative;
    display:flex;
    flex-direction:column;
    min-height:500px;
}

.site-price-featured{
    border-color:var(--accent);
    box-shadow:0 0 30px rgba(43,211,59,.12);
}

.site-popular-tag{
    position:absolute;
    top:18px;
    right:18px;
    padding:6px 10px;
    background:var(--accent);
    color:#031006;
    font-size:11px;
    font-weight:900;
    text-transform:uppercase;
}

.site-price{
    margin:24px 0 12px;
    color:var(--text);
    font-size:46px;
    font-weight:900;
}

.site-price span{
    color:var(--muted);
    font-size:14px;
    font-weight:600;
}

.site-price-card .btn{
    width:100%;
    margin-top:auto;
}

/* CONTACT */

.site-contact-grid{
    display:grid;
    grid-template-columns:minmax(300px, .7fr) minmax(0, 1.2fr);
    gap:22px;
}

.site-contact-item{
    display:flex;
    align-items:center;
    gap:15px;
    padding:18px 0;
    border-bottom:1px solid var(--line);
}

.site-contact-item:last-of-type{
    margin-bottom:24px;
}

.site-contact-item span,
.site-contact-item strong{
    display:block;
}

.site-contact-item strong{
    margin-top:4px;
    color:var(--text);
}

.website-body textarea{
    resize:vertical;
}

.site-captcha{
    margin-top:18px;
    overflow:auto;
}

.site-honeypot{
    position:absolute !important;
    left:-9999px !important;
    width:1px !important;
    height:1px !important;
    opacity:0 !important;
}

/* FOOTER */

.site-footer{
    padding:70px 0 25px;
    background:#070a0d;
    border-top:1px solid var(--line);
}

.site-footer-grid{
    display:grid;
    grid-template-columns:1.5fr .7fr .7fr;
    gap:55px;
}

.site-footer h4{
    margin-top:0;
    color:var(--text);
}

.site-footer-grid > div > a:not(.site-logo){
    display:block;
    margin:11px 0;
    color:var(--muted);
    text-decoration:none;
}

.site-footer-grid > div > a:hover{
    color:var(--accent);
}

.site-footer .site-logo{
    margin-bottom:22px;
}

.site-footer-bottom{
    display:flex;
    justify-content:space-between;
    gap:25px;
    margin-top:50px;
    padding-top:22px;
    border-top:1px solid var(--line);
    color:var(--muted);
    font-size:12px;
}

/* MODAL */

.site-modal{
    position:fixed;
    inset:0;
    z-index:3000;
    display:none;
    align-items:center;
    justify-content:center;
    padding:20px;
    background:rgba(0,0,0,.84);
}

.site-modal.open{
    display:flex;
}

.site-modal-window{
    width:min(650px, 100%);
    max-height:90vh;
    padding:0;
    overflow:auto;
}

.site-modal-window form{
    padding:24px;
}

.preview-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
    padding:15px 20px;
    border-bottom:1px solid var(--line);
    font-weight:800;
}

/* SCROLL BUTTON */

.site-scroll-top{
    position:fixed;
    right:22px;
    bottom:22px;
    z-index:900;
    width:46px;
    height:46px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0;
}

/* MOBILE */

@media (max-width:1000px){

    .site-menu-toggle{
        display:block;
    }

    .site-nav{
        position:absolute;
        top:82px;
        left:20px;
        right:20px;
        display:none;
        align-items:stretch;
        flex-direction:column;
        padding:16px;
        background:var(--panel);
        border:1px solid var(--line);
        box-shadow:0 20px 50px rgba(0,0,0,.4);
    }

    .site-nav.open{
        display:flex;
    }

    .site-nav > a{
        width:100%;
    }

    .site-hero-grid,
    .site-two-column,
    .site-cta,
    .site-contact-grid{
        grid-template-columns:1fr;
    }

    .site-hero{
        padding-top:135px;
    }

    .site-hero-panel{
        max-width:680px;
    }

    .site-service-grid,
    .site-pricing-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }

}

@media (max-width:720px){

    .site-container{
        width:min(100% - 24px, 1180px);
    }

    .site-header-inner{
        min-height:72px;
    }

    .site-logo img{
        width:56px;
    }

    .site-logo span{
        display:none;
    }

    .site-nav{
        top:72px;
        left:12px;
        right:12px;
    }

    .site-hero{
        min-height:auto;
        padding:125px 0 70px;
    }

    .site-hero h1{
        font-size:44px;
    }

    .site-hero-content > p{
        font-size:17px;
    }

    .site-section{
        padding:70px 0;
    }

    .site-section-heading{
        grid-template-columns:1fr;
        gap:18px;
    }

    .dashboard-grid,
    .site-service-grid,
    .site-pricing-grid{
        grid-template-columns:1fr;
    }

    .site-hero-image,
    .site-hero-image img{
        min-height:300px;
        height:300px;
    }

    .site-content-card,
    .site-feature-card,
    .site-service-card,
    .site-price-card,
    .site-cta{
        padding:22px;
    }

    .site-cta-image img{
        height:280px;
    }

    .site-footer-grid{
        grid-template-columns:1fr;
        gap:35px;
    }

    .site-footer-bottom{
        flex-direction:column;
        gap:8px;
    }

}

@media (max-width:430px){

    .site-hero h1{
        font-size:38px;
    }

    .site-actions{
        flex-direction:column;
    }

    .site-actions .btn{
        width:100%;
        text-align:center;
    }

    .g-recaptcha{
        transform:scale(.86);
        transform-origin:left top;
    }

}
/* =====================================================
   ABOUT SECTION
===================================================== */

.about-section{
    position:relative;
    width:100%;
    padding-top:50px;
    padding-bottom:90px;
    overflow:hidden;
}

.about-section::before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background:
        linear-gradient(
            90deg,
            rgba(4,7,9,.88),
            rgba(4,7,9,.55)
        );
}

.about-container{
    position:relative;
    z-index:2;
}

.about-heading{
    display:block;
    width:100%;
    margin-bottom:55px;
}

.about-heading > div{
    width:100%;
}

.about-heading h2{
    width:100%;
    max-width:none;
    margin:0;
    color:#f4f6f8;
    font-size:clamp(42px, 5vw, 58px);
    line-height:1.02;
    letter-spacing:-.05em;
}

.about-heading > p{
    width:100%;
    max-width:none;
    margin:22px 0 0;
    color:#f4f6f8;
    font-size:17px;
    line-height:1.18;
    letter-spacing:-.025em;
    font-weight:700;
}
.about-layout{
    display:grid;
    grid-template-columns:minmax(0, .9fr) minmax(480px, 1.1fr);
    gap:24px;
    align-items:stretch;
}

.about-content{
    padding:38px;
    background:rgba(11,16,20,.92);
    border:1px solid var(--line);
}

.about-number{
    margin-bottom:24px;
    color:var(--accent);
    font-size:12px;
    font-weight:900;
    letter-spacing:.2em;
}

.about-content h3{
    margin:0 0 22px;
    color:#f4f6f8;
    font-size:32px;
    line-height:1.15;
}

.about-content > p{
    margin:0 0 17px;
    color:#aeb7c2;
    font-size:15px;
    line-height:1.75;
}

.about-points{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:20px;
    margin-top:30px;
    padding-top:28px;
    border-top:1px solid var(--line);
}

.about-point{
    display:flex;
    align-items:flex-start;
    gap:12px;
}

.about-point > span{
    flex:none;
    color:var(--accent);
    font-size:18px;
    font-weight:900;
}

.about-point strong{
    display:block;
    margin-bottom:6px;
    color:#f4f6f8;
    font-size:14px;
}

.about-point p{
    margin:0;
    color:#8f9aa7;
    font-size:13px;
    line-height:1.55;
}

.about-visual{
    position:relative;
    min-height:520px;
    padding:14px;
    overflow:hidden;
    background:rgba(11,16,20,.92);
    border:1px solid var(--line);
}

.about-image{
    width:100%;
    height:100%;
    min-height:492px;
    overflow:hidden;
}

.about-image img{
    width:100%;
    height:100%;
    min-height:492px;
    display:block;
    object-fit:cover;
}

.about-quality{
    position:absolute;
    left:36px;
    right:36px;
    bottom:36px;
    display:flex;
    align-items:flex-start;
    gap:17px;
    padding:22px;
    background:rgba(4,8,10,.92);
    border-left:3px solid var(--accent);
    border-top:1px solid rgba(255,255,255,.1);
    border-right:1px solid rgba(255,255,255,.08);
    border-bottom:1px solid rgba(255,255,255,.08);
    backdrop-filter:blur(12px);
}

.about-quality-icon{
    flex:none;
    font-size:27px;
}

.about-quality span{
    display:block;
    margin-bottom:6px;
    color:var(--accent);
    font-size:10px;
    font-weight:900;
    letter-spacing:.17em;
}

.about-quality strong{
    display:block;
    color:#f4f6f8;
    font-size:23px;
}

.about-quality p{
    margin:8px 0 0;
    color:#aeb7c2;
    font-size:13px;
    line-height:1.6;
}

/* TABLET */

@media (max-width:1000px){

    .about-heading{
        grid-template-columns:1fr;
        gap:20px;
    }

    .about-layout{
        grid-template-columns:1fr;
    }

    .about-visual{
        min-height:480px;
    }

}

/* MOBILE */

@media (max-width:720px){

    .about-section{
        padding:70px 0;
    }

    .about-heading{
        margin-bottom:32px;
    }

    .about-heading h2{
        font-size:40px;
    }

    .about-content{
        padding:26px;
    }

    .about-content h3{
        font-size:27px;
    }

    .about-points{
        grid-template-columns:1fr;
    }

    .about-visual{
        min-height:400px;
        padding:10px;
    }

    .about-image,
    .about-image img{
        min-height:380px;
    }

    .about-quality{
        left:24px;
        right:24px;
        bottom:24px;
        padding:18px;
    }

}

@media (max-width:430px){

    .about-heading h2{
        font-size:35px;
    }

    .about-quality{
        position:relative;
        left:auto;
        right:auto;
        bottom:auto;
        margin-top:10px;
    }

    .about-visual{
        min-height:0;
    }

    .about-image,
    .about-image img{
        min-height:300px;
    }

}
.vision-mission-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:24px;
    margin-bottom:0;
}

.vision-mission-grid .site-feature-card{
    width:100%;
    min-height:430px;
    padding:42px;
}

.vision-mission-grid .site-feature-card h3{
    margin-bottom:18px;
    font-size:30px;
}

.vision-mission-grid .site-feature-card > p{
    max-width:620px;
    color:#c0c7d0;
    font-size:17px;
    line-height:1.7;
}

.vision-mission-grid .site-check-list{
    margin-top:30px;
}

.vision-mission-grid .site-check-list li{
    margin:18px 0;
    font-size:16px;
    line-height:1.65;
}

@media (max-width:720px){

    .vision-mission-grid{
        grid-template-columns:1fr;
    }

    .vision-mission-grid .site-feature-card{
        min-height:0;
        padding:26px;
    }

    .vision-mission-grid .site-feature-card h3{
        font-size:24px;
    }

}
.services-heading{
    width:100%;
}

.services-heading .site-eyebrow{
    margin-bottom:18px;
}

.services-heading h2{
    width:100%;
    max-width:none;
    margin:0;
    color:#f4f6f8;
    font-size:clamp(42px, 5vw, 58px);
    line-height:1.02;
    letter-spacing:-.05em;
}

.services-heading p{
    width:100%;
    max-width:none;
    margin:22px 0 0;
    color:#f4f6f8;
    font-size:17px;
    line-height:1.18;
    letter-spacing:-.025em;
    font-weight:700;
}

@media (max-width:900px){

    .services-heading{
        margin-bottom:40px;
    }

    .services-heading h2{
        font-size:clamp(2.4rem,10vw,3.6rem);
    }

    .services-heading p{
        font-size:1.1rem;
    }

}
.services-heading{
    display:flex;
    flex-direction:column;
    gap:24px;
    margin-bottom:60px;
}

.services-heading h2{
    margin:0;
}

.services-heading p{
    margin:0;
}
#services{
    padding-bottom:35px;
}
@media (max-width:720px){

    #services{
        padding-bottom:25px;
    }

    .site-cta-section{
        padding-top:25px;
        padding-bottom:60px;
    }

}
.services-heading,
.pricing-heading,
.contact-heading{
    width:100%;
}

.services-heading .site-eyebrow,
.pricing-heading .site-eyebrow,
.contact-heading .site-eyebrow{
    margin-bottom:18px;
}

.services-heading h2,
.pricing-heading h2,
.contact-heading h2{
    width:100%;
    max-width:none;
    margin:0;
    color:#f4f6f8;
    font-size:clamp(42px,5vw,58px);
    line-height:1.02;
    letter-spacing:-.05em;
}

.services-heading p,
.pricing-heading p,
.contact-heading p{
    width:100%;
    max-width:none;
    margin:22px 0 0;
    color:#f4f6f8;
    font-size:17px;
    line-height:1.18;
    letter-spacing:-.025em;
    font-weight:700;
}
/* Pricing section */
.pricing-heading{
    margin-bottom:40px;
}

.pricing-heading .site-eyebrow{
    margin-bottom:18px;
}

.pricing-heading h2{
    margin:0;
}

.pricing-heading p{
    margin:16px 0 0;
}

/* Grid spacing */
.site-pricing-grid{
    margin-top:0;
    padding-top:0;
    gap:28px;
}
/* ===========================
   CONTACT HEADING
=========================== */

.contact-heading{
    width:100%;
    margin-bottom:40px;
}

.contact-heading .site-eyebrow{
    margin-bottom:18px;
}

.contact-heading h2{
    width:100%;
    max-width:none;
    margin:0;
    color:#f4f6f8;
    font-size:clamp(42px,5vw,58px);
    line-height:1.02;
    letter-spacing:-.05em;
}

.contact-heading p{
    width:100%;
    max-width:none;
    margin:22px 0 0;
    color:#f4f6f8;
    font-size:17px;
    line-height:1.18;
    letter-spacing:-.025em;
    font-weight:700;
}

/* Pull the form closer to the heading */
.site-contact{
    margin-top:0;
    padding-top:0;
    gap:28px;
}
/* =====================================================
   CLIENT LOGO SLIDER
===================================================== */

.client-slider-section{
    padding:30px 0;
    overflow:hidden;
    background:rgba(7,11,14,.65);
}

.client-slider-heading{
    width:100%;
    margin-bottom:45px;
}

.client-slider-heading h2{
    width:100%;
    max-width:none;
    margin:0;
    color:#f4f6f8;
    font-size:clamp(38px, 5vw, 58px);
    line-height:1.02;
    letter-spacing:-.05em;
}

.client-slider{
    position:relative;
    width:100%;
    overflow:hidden;
}

.client-slider::before,
.client-slider::after{
    content:"";
    position:absolute;
    top:0;
    bottom:0;
    z-index:2;
    width:120px;
    pointer-events:none;
}

.client-slider::before{
    left:0;
    background:linear-gradient(
        90deg,
        rgba(7,11,14,1),
        rgba(7,11,14,0)
    );
}

.client-slider::after{
    right:0;
    background:linear-gradient(
        270deg,
        rgba(7,11,14,1),
        rgba(7,11,14,0)
    );
}

.client-slider-track{
    display:flex;
    width:max-content;
    animation:clientLogoScroll 28s linear infinite;
}

.client-slider:hover .client-slider-track{
    animation-play-state:paused;
}

.client-slide{
    width:240px;
    height:130px;
    flex:0 0 auto;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:22px 30px;
    margin-right:20px;
    background:rgba(18,23,28,.78);
    border:1px solid var(--line);
}

.client-slide img{
    width:100%;
    max-width:170px;
    max-height:76px;
    object-fit:contain;
    filter:grayscale(1);
    opacity:.75;
    transition:
        filter .25s ease,
        opacity .25s ease,
        transform .25s ease;
}

.client-slide:hover img{
    filter:grayscale(0);
    opacity:1;
    transform:scale(1.05);
}

@keyframes clientLogoScroll{

    from{
        transform:translateX(0);
    }

    to{
        transform:translateX(-50%);
    }

}

@media (max-width:720px){

    .client-slider-section{
        padding:60px 0;
    }

    .client-slider-heading{
        margin-bottom:30px;
    }

    .client-slider-heading h2{
        font-size:38px;
    }

    .client-slide{
        width:180px;
        height:110px;
        padding:18px 22px;
        margin-right:14px;
    }

    .client-slide img{
        max-width:135px;
        max-height:62px;
    }

    .client-slider::before,
    .client-slider::after{
        width:45px;
    }

}
/* =====================================================
   LEGAL DOCUMENTATION
===================================================== */

.legal-page{
    background:
        linear-gradient(rgba(5,8,11,.92),rgba(5,8,11,.97)),
        url("../img/login-bg.jpg") center/cover fixed;
}

.legal-progress{
    position:fixed;
    top:82px;
    left:0;
    right:0;
    z-index:1200;
    height:3px;
    background:rgba(255,255,255,.06);
}

.legal-progress > div{
    width:0;
    height:100%;
    background:var(--accent, var(--green));
    box-shadow:0 0 14px rgba(50,205,50,.65);
}

.legal-hero{
    padding:170px 0 75px;
    border-bottom:1px solid var(--line);
    background:linear-gradient(90deg,rgba(3,6,8,.98),rgba(3,6,8,.6));
}

.legal-hero h1{
    max-width:1000px;
    margin:0;
    color:var(--text);
    font-size:clamp(42px,7vw,58px);
    line-height:.96;
    letter-spacing:-.055em;
}

.legal-hero > .site-container > p{
    max-width:820px;
    margin:26px 0 0;
    color:var(--muted);
    font-size:20px;
    line-height:1.7;
}

.legal-meta{
    display:flex;
    flex-wrap:wrap;
    gap:10px 24px;
    margin-top:35px;
    color:#c7ced7;
    font-size:12px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.legal-toolbar-wrap{
    position:sticky;
    top:82px;
    z-index:900;
    background:rgba(8,12,15,.95);
    border-bottom:1px solid var(--line);
    backdrop-filter:blur(14px);
}

.legal-toolbar{
    min-height:88px;
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:20px;
    padding-top:15px;
    padding-bottom:15px;
}

.legal-search{
    width:min(620px,100%);
    margin:0;
}

.legal-search span{
    display:block;
    margin-bottom:7px;
    color:var(--muted);
    font-size:11px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.12em;
}

.legal-search input{
    width:100%;
    height:46px;
    margin:0;
}

.legal-toolbar-actions{
    display:flex;
    gap:10px;
    flex:none;
}

.legal-layout{
    display:grid;
    grid-template-columns:290px minmax(0,1fr);
    gap:42px;
    align-items:start;
    padding-top:60px;
    padding-bottom:110px;
}

.legal-sidebar{
    position:sticky;
    top:190px;
    max-height:calc(100vh - 220px);
    overflow:auto;
    padding:22px;
    background:rgba(14,19,24,.9);
    border:1px solid var(--line);
}

.legal-sidebar-title{
    margin-bottom:15px;
    color:var(--muted);
    font-size:11px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.15em;
}

.legal-sidebar nav{
    display:flex;
    flex-direction:column;
}

.legal-sidebar a{
    display:grid;
    grid-template-columns:28px 1fr;
    gap:9px;
    padding:12px 10px;
    color:var(--muted);
    border-left:2px solid transparent;
    font-size:13px;
    line-height:1.35;
    text-decoration:none;
}

.legal-sidebar a span{
    color:#687381;
    font-size:11px;
    font-weight:900;
}

.legal-sidebar a:hover,
.legal-sidebar a.active{
    color:var(--text);
    background:rgba(255,255,255,.035);
    border-left-color:var(--accent, var(--green));
}

.legal-sidebar a.active span{
    color:var(--accent, var(--green));
}

.legal-content{
    min-width:0;
}

.legal-content > section{
    scroll-margin-top:205px;
    margin-bottom:72px;
    padding:40px;
    background:rgba(14,19,24,.91);
    border:1px solid var(--line);
    box-shadow:0 20px 60px rgba(0,0,0,.22);
}

.legal-content h2{
    margin:0 0 34px;
    padding:0 0 22px;
    color:var(--text);
    border-bottom:1px solid var(--line);
    font-size:clamp(30px,4vw,48px);
    line-height:1.08;
    letter-spacing:-.035em;
}

.legal-content h3{
    margin:42px 0 16px;
    color:var(--text);
    font-size:21px;
    line-height:1.3;
    scroll-margin-top:205px;
}

.legal-content p{
    margin:0 0 17px;
    color:#c4ccd6;
    font-size:15px;
    line-height:1.85;
}

.legal-content p strong{
    color:var(--text);
}

.legal-content ul{
    margin:0 0 22px;
    padding:0;
    list-style:none;
}

.legal-content li{
    position:relative;
    margin:9px 0;
    padding-left:23px;
    color:#b7c1cd;
    font-size:15px;
    line-height:1.65;
}

.legal-content li::before{
    content:"";
    position:absolute;
    left:2px;
    top:.72em;
    width:7px;
    height:7px;
    background:var(--accent, var(--green));
    box-shadow:0 0 10px rgba(50,205,50,.35);
}

.legal-content hr{
    height:1px;
    margin:38px 0;
    border:0;
    background:var(--line);
}

.legal-end{
    margin-top:40px;
    padding:26px;
    border-left:3px solid var(--accent, var(--green));
    background:rgba(50,205,50,.05);
}

.legal-end h3{
    margin-top:0;
}

.legal-search-match{
    padding:12px 14px;
    background:rgba(50,205,50,.08);
    border-left:3px solid var(--accent, var(--green));
}

.legal-search-hidden,
.legal-section-hidden{
    display:none !important;
}

.legal-footer{
    padding-top:25px;
}

@media (max-width:1000px){
    .legal-progress{top:72px;}
    .legal-toolbar-wrap{top:72px;}
    .legal-layout{grid-template-columns:1fr;}
    .legal-sidebar{
        position:relative;
        top:auto;
        max-height:none;
    }
    .legal-sidebar nav{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media (max-width:720px){
    .legal-hero{padding:130px 0 55px;}
    .legal-hero h1{font-size:46px;}
    .legal-hero > .site-container > p{font-size:17px;}
    .legal-toolbar{
        align-items:stretch;
        flex-direction:column;
    }
    .legal-toolbar-actions{
        width:100%;
    }
    .legal-toolbar-actions .btn{
        flex:1;
        text-align:center;
    }
    .legal-layout{
        gap:24px;
        padding-top:35px;
        padding-bottom:70px;
    }
    .legal-sidebar nav{grid-template-columns:1fr;}
    .legal-content > section{padding:25px;}
    .legal-content h2{font-size:32px;}
    .legal-content h3{font-size:19px;}
}

@media print{
    .site-header,
    .legal-progress,
    .legal-toolbar-wrap,
    .legal-sidebar,
    .site-footer,
    .site-scroll-top{
        display:none !important;
    }
    body.legal-page{
        background:#fff !important;
        color:#000 !important;
    }
    .legal-hero{
        padding:0 0 25px;
        background:#fff;
        border:0;
    }
    .legal-hero h1,
    .legal-content h2,
    .legal-content h3,
    .legal-content p,
    .legal-content li{
        color:#000 !important;
    }
    .legal-layout{
        display:block;
        width:100%;
        max-width:none;
        padding:0;
    }
    .legal-content > section{
        break-inside:auto;
        margin:0 0 30px;
        padding:0;
        background:#fff;
        border:0;
        box-shadow:none;
    }
}