/* =========================================================
   GROWTH DIGITAL STUDIO — LEGAL PAGES
   PREMIUM / DARK / RESPONSIVE
========================================================= */

.legal-page {
    position: relative;
    min-height: 70vh;
    padding: 120px 20px 100px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 82% 12%,
            rgba(112, 71, 255, .12),
            transparent 32%
        ),
        radial-gradient(
            circle at 8% 75%,
            rgba(22, 155, 255, .06),
            transparent 28%
        ),
        #05060b;
    color: #f5f6fb;
}

.legal-page::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(
            rgba(255,255,255,.014) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.014) 1px,
            transparent 1px
        );
    background-size: 70px 70px;
    opacity: .28;
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent,
        black 15%,
        black 85%,
        transparent
    );
    mask-image: linear-gradient(
        to bottom,
        transparent,
        black 15%,
        black 85%,
        transparent
    );
}

.legal-container {
    position: relative;
    z-index: 2;
    width: min(920px, 100%);
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.legal-header {
    padding-bottom: 55px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.legal-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    color: #a98cff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.legal-eyebrow::before {
    content: "";
    width: 30px;
    height: 1px;
    background: linear-gradient(
        90deg,
        #8e72ff,
        transparent
    );
}

.legal-header h1 {
    margin: 0;
    max-width: 850px;
    color: #f7f7fb;
    font-size: clamp(3.2rem, 7vw, 6.2rem);
    font-weight: 700;
    line-height: .92;
    letter-spacing: -.055em;
}

.legal-header h1 span {
    background: linear-gradient(
        110deg,
        #8e72ff,
        #4bb8ff
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.legal-header > p {
    max-width: 680px;
    margin: 28px 0 0;
    color: #aeb1c1;
    font-size: 15px;
    line-height: 1.75;
}

.legal-updated {
    display: inline-flex;
    margin-top: 24px;
    padding: 8px 13px;
    border: 1px solid rgba(142,114,255,.18);
    border-radius: 999px;
    background: rgba(112,71,255,.045);
    color: #777b8d;
    font-size: 9px;
    letter-spacing: .05em;
}


/* =========================================================
   CONTENT
========================================================= */

.legal-content {
    padding-top: 52px;
}

.legal-content section {
    padding: 0 0 42px;
    margin-bottom: 42px;
    border-bottom: 1px solid rgba(255,255,255,.065);
}

.legal-content section:last-child {
    margin-bottom: 0;
    border-bottom: 0;
}

.legal-content h2 {
    margin: 0 0 17px;
    color: #f4f4f8;
    font-size: 19px;
    font-weight: 650;
    line-height: 1.3;
    letter-spacing: -.02em;
}

.legal-content h2::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 1px;
    margin-right: 10px;
    vertical-align: middle;
    background: #8e72ff;
    box-shadow: 0 0 10px rgba(142,114,255,.4);
}

.legal-content p {
    max-width: 820px;
    margin: 0 0 14px;
    color: #aeb1c1;
    font-size: 14px;
    line-height: 1.8;
}

.legal-content p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   LISTS
========================================================= */

.legal-content ul {
    margin: 18px 0 18px;
    padding: 0;
    list-style: none;
}

.legal-content li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    color: #aeb1c1;
    font-size: 14px;
    line-height: 1.65;
}

.legal-content li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: .72em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #8e72ff;
    box-shadow: 0 0 9px rgba(142,114,255,.45);
}


/* =========================================================
   CONTACT BOX
========================================================= */

.legal-contact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 25px;
}

.legal-contact > div {
    padding: 20px 22px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.035),
            rgba(112,71,255,.035)
        );
    transition:
        border-color .3s ease,
        transform .3s ease,
        background .3s ease;
}

.legal-contact > div:hover {
    transform: translateY(-2px);
    border-color: rgba(142,114,255,.28);
    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.045),
            rgba(112,71,255,.06)
        );
}

.legal-contact span {
    display: block;
    margin-bottom: 7px;
    color: #777b8d;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.legal-contact strong {
    display: block;
    color: #e9e9f0;
    font-size: 12px;
    font-weight: 600;
    word-break: break-word;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 700px) {

    .legal-page {
        padding: 85px 18px 70px;
    }

    .legal-header {
        padding-bottom: 38px;
    }

    .legal-eyebrow {
        margin-bottom: 18px;
        font-size: 8px;
    }

    .legal-header h1 {
        font-size: clamp(2.8rem, 14vw, 4.4rem);
        line-height: .94;
    }

    .legal-header > p {
        margin-top: 22px;
        font-size: 13px;
        line-height: 1.7;
    }

    .legal-updated {
        margin-top: 20px;
        font-size: 8px;
    }

    .legal-content {
        padding-top: 38px;
    }

    .legal-content section {
        padding-bottom: 32px;
        margin-bottom: 32px;
    }

    .legal-content h2 {
        margin-bottom: 14px;
        font-size: 17px;
    }

    .legal-content p,
    .legal-content li {
        font-size: 13px;
        line-height: 1.75;
    }

    .legal-content h2::before {
        width: 14px;
        margin-right: 8px;
    }

    .legal-contact {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .legal-contact > div {
        padding: 17px 18px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .legal-page {
        padding-left: 15px;
        padding-right: 15px;
    }

    .legal-header h1 {
        font-size: 2.7rem;
    }

    .legal-content h2 {
        font-size: 16px;
    }

    .legal-content p,
    .legal-content li {
        font-size: 12.5px;
    }
}