/* ==========================================================
   LEGAL – HERO
   ========================================================== */

.legal-hero{
    width:100%;
    background:#071a55;
    padding:90px 4.5% 70px;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
    text-align:center;
}

.legal-hero-container{
    max-width:820px;
    margin:0 auto;
}

.legal-hero-tag{
    display:inline-block;
    padding:8px 18px;
    border-radius:999px;
    background:rgba(18,109,255,.16);
    border:1px solid rgba(18,109,255,.4);
    color:#7db2ff;
    font-size:13px;
    font-weight:800;
    letter-spacing:.4px;
    text-transform:uppercase;
    margin-bottom:18px;
}

.legal-hero h1{
    margin:0 0 16px;
    color:#fff;
    font-size:40px;
    line-height:1.15;
    font-weight:900;
    letter-spacing:-.5px;
    text-transform:uppercase;
}

.legal-hero p{
    margin:0 0 18px;
    color:rgba(255,255,255,.78);
    font-size:15.5px;
    line-height:1.6;
    font-weight:500;
}

.legal-hero-updated{
    display:inline-block;
    color:rgba(255,255,255,.55);
    font-size:13px;
    font-weight:700;
}

/* ==========================================================
   LEGAL – LAYOUT
   ========================================================== */

.legal-section{
    width:100%;
    background:#f4faff;
    padding:60px 4.5% 90px;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
    color:#071225;
}

.legal-container{
    max-width:1400px;
    margin:0 auto;
}

.legal-layout{
    display:grid;
    grid-template-columns:280px 1fr;
    gap:28px;
    align-items:start;
}

.legal-main{
    display:flex;
    flex-direction:column;
    gap:22px;
}

/* ==========================================================
   LEGAL – TABLE OF CONTENTS
   ========================================================== */

.legal-toc{
    position:sticky;
    top:24px;
}

.legal-toc-card{
    background:#fff;
    border:1px solid rgba(43,157,234,.24);
    border-radius:18px;
    padding:26px 24px;
    box-sizing:border-box;
}

.legal-toc-card h2{
    margin:0 0 16px;
    color:#071a55;
    font-size:15px;
    line-height:1.2;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.3px;
}

.legal-toc-card nav{
    display:flex;
    flex-direction:column;
    gap:2px;
}

.legal-toc-card nav a{
    display:block;
    padding:9px 10px;
    border-radius:8px;
    color:#071a55;
    font-size:13.5px;
    line-height:1.35;
    font-weight:600;
    text-decoration:none;
    transition:.18s ease;
}

.legal-toc-card nav a:hover{
    background:rgba(18,109,255,.08);
    color:#126dff;
}

/* ==========================================================
   LEGAL – CONTENT CARDS
   ========================================================== */

.legal-card{
    background:#fff;
    border:1px solid rgba(43,157,234,.24);
    border-radius:18px;
    padding:32px 34px;
    box-sizing:border-box;
    scroll-margin-top:24px;
}

.legal-card h2{
    display:flex;
    align-items:center;
    gap:10px;
    margin:0 0 16px;
    color:#071a55;
    font-size:21px;
    line-height:1.25;
    font-weight:900;
}

.legal-card h2 span{
    color:#126dff;
}

.legal-card h3{
    margin:22px 0 10px;
    color:#071a55;
    font-size:15px;
    line-height:1.3;
    font-weight:800;
}

.legal-card p{
    margin:0 0 14px;
    color:#071a55;
    font-size:14.5px;
    line-height:1.65;
    font-weight:500;
}

.legal-card p:last-child{
    margin-bottom:0;
}

.legal-card ul{
    margin:0 0 14px;
    padding-left:20px;
    display:flex;
    flex-direction:column;
    gap:8px;
}

.legal-card ul:last-child{
    margin-bottom:0;
}

.legal-card ul li{
    color:#071a55;
    font-size:14.5px;
    line-height:1.6;
    font-weight:500;
}

.legal-card a{
    color:#126dff;
    font-weight:800;
    text-decoration:underline;
}

.legal-contact-block{
    padding:18px 20px;
    background:#f4faff;
    border:1px solid rgba(43,157,234,.22);
    border-radius:12px;
    line-height:1.7 !important;
}

/* ==========================================================
   LEGAL – TABLE
   ========================================================== */

.legal-table{
    width:100%;
    border-collapse:collapse;
    margin:4px 0 4px;
    font-size:13.5px;
}

.legal-table th{
    text-align:left;
    background:#f4faff;
    color:#071a55;
    font-size:12.5px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.2px;
    padding:12px 14px;
    border:1px solid rgba(43,157,234,.22);
}

.legal-table td{
    color:#071a55;
    font-weight:500;
    line-height:1.5;
    padding:12px 14px;
    border:1px solid rgba(43,157,234,.18);
    vertical-align:top;
}

/* ==========================================================
   RESPONZIVITA
   ========================================================== */

@media(max-width:1100px){
    .legal-layout{
        grid-template-columns:1fr;
    }

    .legal-toc{
        position:static;
    }

    .legal-toc-card nav{
        flex-direction:row;
        flex-wrap:wrap;
        gap:6px;
    }

    .legal-toc-card nav a{
        padding:7px 12px;
        background:#f4faff;
    }
}

@media(max-width:768px){
    .legal-hero{
        padding:70px 22px 50px;
    }

    .legal-hero h1{
        font-size:28px;
    }

    .legal-section{
        padding:50px 22px 60px;
    }

    .legal-card{
        padding:26px 22px;
        border-radius:16px;
    }

    .legal-toc-card{
        padding:22px 20px;
        border-radius:16px;
    }

    .legal-table{
        font-size:12.5px;
    }

    .legal-table th,
    .legal-table td{
        padding:10px;
    }
}