.legal-document {
    min-height: 540px;
    background: radial-gradient(circle at 62% 28%, rgba(98, 65, 39, .52) 0%, rgba(50, 31, 19, .38) 34%, transparent 58%), radial-gradient(circle at 84% 92%, rgba(162, 103, 55, .34) 0%, transparent 46%), linear-gradient(180deg, #090605 0%, #1a100b 48%, #080605 100%);
    color: #ffffff;
    padding: 100px 24px 100px;
}

.legal-document__inner {
    width: min(100%, 1020px);
    margin: 0 auto;
}

.legal-document__header {
    text-align: center;
}

.legal-document__header h1 {
    margin: 0;
    color: #e5b98f;
    font-size: 58px;
    font-weight: 300;
    line-height: 1.15;
}

.legal-document__header h1 span {
    color: #ffffff;
}

.legal-document__header p {
    max-width: 1000px;
    margin: 20px auto 0;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    line-height: 2.18;
    text-align: center;
}

.legal-document__content {
    margin-top: 72px;
}

    .legal-document__content h2 {
        margin: 0;
        color: #ffffff;
        font-size: 22px;
        font-weight: 600;
        line-height: 30px;
    }

.legal-document__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px 42px;
    margin-top: 30px;
}

.legal-document-card {
    min-height: 68px;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 16px;
    padding: 0 22px 0 16px;
    border: 1px solid rgba(198, 155, 90, .22);
    border-radius: 8px;
    background: linear-gradient(90deg, rgba(37, 22, 13, .82) 0%, rgba(70, 47, 30, .88) 100%);
    color: #ffffff;
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 14px 28px rgba(0, 0, 0, .22);
    transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease, background .28s ease;
    border: 1px solid rgba(198, 155, 90, .18);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(23, 14, 8, .74) 0%, rgba(31, 21, 14, .82) 60%, rgba(70, 52, 35, .74) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 18px 34px rgba(0, 0, 0, .42);
    backdrop-filter: blur(1px);
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease, background .35s ease;
}

    .legal-document-card::before {
        content: "";
        position: absolute;
        top: -1px;
        left: 24px;
        right: 24px;
        height: 2px;
        background: linear-gradient(90deg, transparent, rgba(255, 228, 195, .9), transparent);
        filter: blur(.2px);
        opacity: .82;
    }

    .legal-document-card::after {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 50% 0%, rgba(255, 226, 188, .12), transparent 34%);
        pointer-events: none;
    }

    .legal-document-card:hover,
    .legal-document-card:focus {
        color: #ffffff;
        text-decoration: none;
        transform: translateY(-3px);
        border-color: rgba(198, 155, 90, .6);
        background: linear-gradient(90deg, rgba(48, 29, 17, .92) 0%, rgba(88, 60, 39, .96) 100%);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 18px 36px rgba(0, 0, 0, .34), 0 0 18px rgba(198, 155, 90, .12);
        border-color: rgba(198, 155, 90, .52);
        background: linear-gradient(180deg, rgba(28, 17, 10, .82) 0%, rgba(37, 25, 16, .88) 56%, rgba(82, 60, 40, .82) 100%);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 22px 44px rgba(0, 0, 0, .5), 0 0 22px rgba(198, 155, 90, .12);
    }

.legal-document-card__icon {
    width: 24px;
    height: 28px;
    display: block;
    object-fit: contain;
}

.legal-document-card__title {
    overflow: hidden;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.legal-document-card__arrow {
    position: relative;
    width: 22px;
    height: 22px;
}

.legal-document-card__arrow::before,
.legal-document-card__arrow::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 12px;
    height: 12px;
    border-top: 3px solid rgba(213, 157, 99, .82);
    border-right: 3px solid rgba(213, 157, 99, .82);
    transform: translateY(-50%) rotate(45deg);
}

.legal-document-card__arrow::before {
    right: 8px;
}

.legal-document-card__arrow::after {
    right: 0;
}

@media (max-width: 991px) {
    .legal-document__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .legal-document {
        padding: 42px 20px 54px;
    }

    .legal-document__header h1 {
        font-size: 42px;
    }

    .legal-document__header p {
        font-size: 14px;
        line-height: 1.8;
    }

    .legal-document__content {
        margin-top: 48px;
    }

    .legal-document__content h2 {
        font-size: 24px;
    }

    .legal-document__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .legal-document__header h1 {
        font-size: 36px;
    }

    .legal-document-card {
        grid-template-columns: 24px minmax(0, 1fr) 20px;
        gap: 12px;
        padding-right: 16px;
    }

    .legal-document-card__title {
        font-size: 13px;
    }
}

.legal-document__header h1 {
    font-size: 34px;
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: 0;
    text-transform: uppercase;
}

.legal-document__header p {
    width: 80%;
    font-size: 18px;
    font-weight: 200;
    line-height: 24px;
    letter-spacing: 0;
}

@media (max-width: 767px) {
    .legal-document__header h1 {
        font-size: 28px;
    }

    .legal-document__header p {
        font-size: 17px;
    }
}

.legal-document-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(13, 13, 13, .98) 0%, rgba(13, 13, 13, .94) 47%, rgba(87, 64, 46, .82) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 18px 34px rgba(0, 0, 0, .42);
    backdrop-filter: blur(1px);
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease, background .35s ease;
}

    .legal-document-card:hover,
    .legal-document-card:focus {
        transform: translateY(-6px);
        border-color: rgba(198, 155, 90, .55);
        background: linear-gradient(135deg, rgba(13, 13, 13, .98) 0%, rgba(13, 13, 13, .94) 47%, rgba(87, 64, 46, .82) 100%);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 22px 46px rgba(0, 0, 0, .48), 0 0 28px rgba(198, 155, 90, .12);
    }
