/* ==============================
   LEGAL DOCUMENT STYLE
============================== */


.doc-panel{

    width:min(720px,86%);

    flex-direction:column;

    align-items:center;

    text-align:center;

    gap:30px;

}



.doc-header{

    display:flex;

    flex-direction:column;

    align-items:center;

    gap:12px;

}



.doc-icon{

    width:58px;

    height:58px;

    border-radius:16px;

    background:var(--surface);

    border:1px solid var(--border);

    display:flex;

    align-items:center;

    justify-content:center;

}



.doc-icon img{

    width:24px;

    height:24px;

    filter:brightness(0) invert(1);

    opacity:.8;

}



.doc-header h2{

    font-family:var(--font-display);

    font-size:42px;

    letter-spacing:-.03em;

}



.doc-header p{

    color:var(--muted);

    font-size:15px;

}



.doc-content{

    width:100%;

    text-align:left;

}

.doc-content{

    width:100%;

    padding-bottom:20px;

}



.doc-content section{

    padding:24px 0;

    border-bottom:1px solid var(--border);

}



.doc-content section:first-child{

    padding-top:0;

}



.doc-content section:last-child{

    border-bottom:none;

}



.doc-content h3{

    font-family:var(--font-display);

    font-size:20px;

    margin-bottom:12px;

}



.doc-content p{

    max-width:none;

    color:var(--muted);

    font-size:15px;

    line-height:1.8;

    margin-bottom:14px;

}

.doc-updated{

    color:var(--muted-dim);

    font-size:12px;

    margin-top:2px;

    letter-spacing:.01em;

}

/* ==============================
   LEGAL PAGE SCROLL AREA
============================== */

.doc-panel{

    width:min(720px,86%);

    max-height:80vh;

    overflow-y:auto;

    padding-right:12px;

}


/* scrollbar */

.doc-panel::-webkit-scrollbar{

    width:6px;

}


.doc-panel::-webkit-scrollbar-track{

    background:transparent;

}


.doc-panel::-webkit-scrollbar-thumb{

    background:rgba(255,255,255,.15);

    border-radius:20px;

}