/* ==========================================================================
   PrivilegeServer - Modern Engineered Legal Pages
   Aesthetic: Technical, Blueprint, High-Contrast
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&display=swap');

:root {
    --brand-lime: #a3e635;
    --brand-dark: #000000;
    --brand-surface: #0a0a0a;
    --text-dim: rgba(0, 0, 0, 0.7);
}

.legal-section-modern {
    background: #fff;
    padding: 100px 0;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Technical blueprint background */
.blueprint-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.03) 1.5px, transparent 1.5px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1.5px, transparent 1.5px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
}

.legal-hero-header {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
    padding: 0 40px;
    margin-bottom: 80px;
    text-align: center;
}

.legal-hero-header span.tag {
    color: #000;
    font-weight: 800;
    letter-spacing: 4px;
    font-size: 14px;
    margin-bottom: 20px;
    display: block;
    text-transform: uppercase;
    font-family: 'Rajdhani', sans-serif;
}

.legal-hero-header h1 {
    font-size: clamp(40px, 8vw, 85px);
    color: #000;
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -3px;
    text-transform: uppercase;
    font-family: 'Rajdhani', sans-serif;
    margin: 0;
}

/* Engineered Card Container */
.legal-engineered-card {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--brand-lime);
    border: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 5;
    padding: 80px;
    clip-path: polygon(60px 0, 100% 0, 100% calc(100% - 60px), calc(100% - 60px) 100%, 0 100%, 0 60px);
    box-shadow: 0 40px 80px rgba(163, 230, 53, 0.2);
}

/* Corner Accents */
.legal-engineered-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 60px;
    width: 60px;
    height: 4px;
    background: #000;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.legal-engineered-card::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 60px;
    width: 60px;
    height: 4px;
    background: #000;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.legal-content-wrap {
    color: var(--text-dim);
    font-size: 18px;
    line-height: 1.8;
}

.legal-content-wrap h2 {
    color: #000;
    font-family: 'Rajdhani', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin-top: 60px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.legal-content-wrap h2::before {
    content: '//';
    color: #000;
    opacity: 0.5;
}

.legal-content-wrap p {
    margin-bottom: 25px;
}

.legal-content-wrap ul {
    list-style: none;
    padding: 0;
    margin-bottom: 35px;
}

.legal-content-wrap li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
}

.legal-content-wrap li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 13px;
    width: 15px;
    height: 1.5px;
    background: #000;
}

.legal-content-wrap strong {
    color: #000;
    font-weight: 700;
}

/* Engineered Tables */
.table-engineered-wrapper {
    margin: 40px 0;
    border: 1.5px solid rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow-x: auto;
}

.legal-engineered-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Rajdhani', sans-serif;
}

.legal-engineered-table th {
    background: rgba(0, 0, 0, 0.05);
    color: #000;
    text-align: left;
    padding: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1.5px solid rgba(0, 0, 0, 0.15);
}

.legal-engineered-table td {
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: #000;
    font-size: 16px;
}

.legal-engineered-table tr:hover td {
    background: rgba(0, 0, 0, 0.03);
}

@media (max-width: 991px) {
    .legal-engineered-card {
        padding: 50px 30px;
        clip-path: none;
        margin: 0 20px;
    }

    .legal-hero-header h1 {
        font-size: 48px;
    }
}