﻿
/* ── LEGAL PAGE ───────────────────────────── */

.legal-hero {
    background: #020817;
    padding: 90px 0 70px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    text-align: center;
}

.legal-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    color: #93c5fd;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    margin-bottom: 22px;
}

.legal-hero h1 {
    font-size: clamp(42px,5vw,64px);
    line-height: 1.05;
    font-weight: 900;
    color: #fff;
    letter-spacing: -.04em;
    margin-bottom: 18px;
}

.legal-hero p {
    max-width: 760px;
    margin: auto;
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255,255,255,.62);
}

.legal-wrap {
    width: min(980px,92%);
    margin: auto;
    padding: 70px 0;
}

.legal-meta {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px;
    margin-bottom: 32px;
}

.meta-item {
    background: #fff;
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 18px;
    padding: 18px;
}

    .meta-item strong {
        display: block;
        color: #0f172a;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: .08em;
        margin-bottom: 6px;
    }

.meta-item {
    color: #475569;
    font-size: 14px;
}

.highlight-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 18px;
    padding: 22px 24px;
    margin-bottom: 34px;
}

    .highlight-box p {
        color: #1e3a8a;
        line-height: 1.8;
        font-size: 15px;
    }

.toc {
    background: #fff;
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 22px;
    padding: 30px;
    margin-bottom: 46px;
}

.toc-title {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #64748b;
    margin-bottom: 18px;
}

.toc-list {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 10px 24px;
    padding-left: 18px;
}

    .toc-list a {
        color: #2563eb;
        text-decoration: none;
        font-size: 14px;
    }

        .toc-list a:hover {
            color: #1d4ed8;
        }

.legal-section {
    margin-bottom: 54px;
}

    .legal-section h2 {
        font-size: 28px;
        font-weight: 800;
        color: #0f172a;
        margin-bottom: 18px;
        letter-spacing: -.03em;
    }

    .legal-section h3 {
        font-size: 18px;
        font-weight: 700;
        color: #0f172a;
        margin: 28px 0 14px;
    }

    .legal-section p {
        color: #475569;
        line-height: 1.9;
        font-size: 15px;
        margin-bottom: 16px;
    }

    .legal-section ul {
        padding-left: 22px;
        margin-bottom: 18px;
    }

    .legal-section li {
        color: #475569;
        line-height: 1.9;
        margin-bottom: 8px;
        font-size: 15px;
    }

    .legal-section a {
        color: #2563eb;
        text-decoration: none;
    }

.warning-box {
    background: #fff7ed;
    border: 1px solid #fdba74;
    border-radius: 18px;
    padding: 22px 24px;
    margin-top: 22px;
}

    .warning-box p {
        color: #9a3412;
        margin: 0;
    }

.contact-card {
    background: #020817;
    border-radius: 28px;
    padding: 44px;
    text-align: center;
    margin-top: 70px;
}

    .contact-card h3 {
        color: #fff;
        font-size: 30px;
        font-weight: 800;
        margin-bottom: 14px;
    }

    .contact-card p {
        color: rgba(255,255,255,.62);
        font-size: 15px;
        line-height: 1.8;
        margin-bottom: 24px;
    }

    .contact-card a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 48px;
        padding: 0 22px;
        border-radius: 14px;
        background: #2563eb;
        color: #fff;
        text-decoration: none;
        font-weight: 700;
        transition: .2s ease;
    }

        .contact-card a:hover {
            background: #1d4ed8;
        }


.legal-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.legal-btn {
    height: 48px;
    padding: 0 22px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
    transition: .2s ease;
}

    .legal-btn.primary {
        background: #2563eb;
        color: #fff;
    }

        .legal-btn.primary:hover {
            background: #1d4ed8;
        }

    .legal-btn.secondary {
        border: 1px solid rgba(255,255,255,.14);
        color: #fff;
        background: rgba(255,255,255,.04);
    }

        .legal-btn.secondary:hover {
            background: rgba(255,255,255,.08);
        }


@@media(max - width:900px) {

    .legal-meta {
        grid-template-columns: 1fr 1fr;
    }

    .toc-list {
        grid-template-columns: 1fr;
    }
}

@@media(max - width:640px) {

    .legal-hero {
        padding: 74px 0 56px;
    }

        .legal-hero h1 {
            font-size: 38px;
        }

        .legal-hero p {
            font-size: 15px;
        }

    .legal-wrap {
        padding: 50px 0;
    }

    .legal-meta {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 34px 24px;
    }

        .contact-card h3 {
            font-size: 24px;
        }
}


