/* ========================================
   AITOLIE - Legal & Info Pages Styles
   ======================================== */

:root {
    --legal-text: #E0E0E0;
    --legal-muted: #888888;
    --legal-border: #333333;
    --legal-bg-dark: #111111;
}

/* Page Layout */
.legal-page {
    padding-top: 120px;
    /* Header space */
    padding-bottom: 100px;
    background-color: #000;
    color: var(--legal-text);
    min-height: 100vh;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Section */
.legal-header {
    margin-bottom: 60px;
    text-align: center;
    border-bottom: 1px solid var(--legal-border);
    padding-bottom: 40px;
}

.legal-title {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
    letter-spacing: 0.05em;
}

.legal-title-en {
    display: block;
    font-size: 14px;
    color: #C9A962;
    margin-top: 8px;
    letter-spacing: 0.1em;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
}

/* Content Typography */
.legal-content h2 {
    font-size: 20px;
    color: #fff;
    margin-top: 50px;
    margin-bottom: 24px;
    padding-left: 16px;
    border-left: 4px solid #C9A962;
    line-height: 1.4;
}

.legal-content h3 {
    font-size: 18px;
    color: #fff;
    margin-top: 32px;
    margin-bottom: 16px;
}

.legal-content p {
    font-size: 15px;
    line-height: 2;
    margin-bottom: 24px;
    color: var(--legal-text);
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
    line-height: 1.8;
}

.legal-content li {
    margin-bottom: 8px;
    color: var(--legal-text);
    font-size: 15px;
}

/* Definition Lists (Company Info, Commercial Law) */
.legal-dl {
    display: grid;
    grid-template-columns: 200px 1fr;
    border-top: 1px solid var(--legal-border);
}

.legal-dl>div {
    display: contents;
    /* Allows dt/dd to sit in grid */
}

/* Fallback for contents display or just simpler styling */
.legal-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    border-bottom: 1px solid var(--legal-border);
}

.legal-dt {
    background: var(--legal-bg-dark);
    padding: 24px;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
}

.legal-dd {
    padding: 24px;
    color: var(--legal-text);
    line-height: 1.8;
}

/* Tables */
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.legal-table th,
.legal-table td {
    padding: 16px;
    border: 1px solid var(--legal-border);
    font-size: 14px;
}

.legal-table th {
    background: var(--legal-bg-dark);
    color: #fff;
    text-align: left;
    width: 30%;
}

/* Responsive */
@media (max-width: 768px) {
    .legal-row {
        grid-template-columns: 1fr;
    }

    .legal-dt {
        padding: 16px 16px 8px;
        background: transparent;
        color: #C9A962;
        font-size: 13px;
    }

    .legal-dd {
        padding: 0 16px 24px;
    }
}