/* ==================================================
   LEGAL.CSS
   Privacy Policy & Terms & Conditions
================================================== */

.legal-page{
    max-width:900px;
    margin:60px auto;
    padding:50px;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:18px;
    box-shadow:0 10px 30px rgba(15,23,42,.08);
    font-family:Roboto,Arial,sans-serif;
    color:#334155;
    line-height:1.9;
}

.legal-page h1{
    font-family:Montserrat,sans-serif;
    font-size:3rem;
    font-weight:800;
    color:#0f172a;
    margin-bottom:25px;
    line-height:1.2;
}

.legal-page h2{
    font-family:Montserrat,sans-serif;
    font-size:1.8rem;
    color:#0f172a;
    margin:50px 0 18px;
    padding-bottom:10px;
    border-bottom:2px solid #d4af37;
}

.legal-page h3{
    font-family:Montserrat,sans-serif;
    font-size:1.3rem;
    color:#0f172a;
    margin:30px 0 15px;
}

.legal-page h4,
.legal-page h5,
.legal-page h6{
    margin:25px 0 10px;
    color:#0f172a;
}

.legal-page p{
    margin:18px 0;
    text-align:justify;
}

.legal-page strong{
    color:#0f172a;
    font-weight:700;
}

.legal-page ul,
.legal-page ol{
    margin:20px 0 20px 28px;
}

.legal-page li{
    margin:10px 0;
}

.legal-page hr{
    border:none;
    border-top:1px solid #e5e7eb;
    margin:45px 0;
}

.legal-page a{
    color:#2563eb;
    text-decoration:none;
}

.legal-page a:hover{
    color:#d4af37;
    text-decoration:underline;
}

.legal-page table{
    width:100%;
    border-collapse:collapse;
    margin:30px 0;
    overflow:hidden;
}

.legal-page th{
    background:#0f172a;
    color:#fff;
    padding:14px;
    text-align:left;
}

.legal-page td{
    padding:14px;
    border:1px solid #e5e7eb;
}

.legal-page tr:nth-child(even){
    background:#f8fafc;
}

.legal-page blockquote{
    margin:30px 0;
    padding:18px 22px;
    border-left:5px solid #d4af37;
    background:#fffdf5;
    font-style:italic;
}

.legal-page code{
    padding:2px 6px;
    background:#f1f5f9;
    border-radius:4px;
    font-family:Consolas,monospace;
}

.legal-page pre{
    overflow:auto;
    background:#0f172a;
    color:#fff;
    padding:18px;
    border-radius:8px;
    margin:25px 0;
}

.legal-page img{
    max-width:100%;
    height:auto;
    border-radius:10px;
    margin:20px auto;
    display:block;
}

.legal-page::-webkit-scrollbar{
    width:8px;
}

.legal-page::-webkit-scrollbar-thumb{
    background:#cbd5e1;
    border-radius:20px;
}

::selection{
    background:#d4af37;
    color:#fff;
}

/* Mobile */

@media (max-width:768px){

    .legal-page{
        margin:30px 15px;
        padding:30px 22px;
        border-radius:12px;
    }

    .legal-page h1{
        font-size:2.2rem;
    }

    .legal-page h2{
        font-size:1.5rem;
    }

    .legal-page h3{
        font-size:1.15rem;
    }

    .legal-page table{
        display:block;
        overflow-x:auto;
        white-space:nowrap;
    }

}

@media (max-width:480px){

    .legal-page{
        padding:24px 18px;
    }

    .legal-page h1{
        font-size:1.9rem;
    }

    .legal-page h2{
        font-size:1.35rem;
    }

}