.legal-body {
    min-height: 100vh;
    background: #f5f0eb;
}

.legal-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 2px 18px rgba(50, 37, 30, .09);
}

.legal-header-inner {
    width: min(1180px, calc(100% - 40px));
    min-height: 84px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.legal-logo,
.legal-developer-logo {
    width: 150px;
    height: 64px;
    object-fit: contain;
}

.legal-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.legal-nav a {
    color: #3f3028;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.legal-nav a:hover,
.legal-nav a:focus {
    color: #8b684f;
}

.legal-hero {
    padding: 82px 20px 100px;
    background:
        linear-gradient(rgba(48, 34, 27, .7), rgba(48, 34, 27, .78)),
        url("../images/high-img/about.png") center 52%/cover no-repeat;
    color: #fff;
    text-align: center;
}

.legal-hero p {
    margin: 8px 0 0;
    font-size: 15px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.legal-hero h1 {
    margin: 10px 0 0;
    font-size: clamp(36px, 6vw, 62px);
    font-weight: 600;
}

.legal-page {
    width: min(920px, calc(100% - 40px));
    margin: -48px auto 72px;
    padding: clamp(28px, 5vw, 58px);
    position: relative;
    color: #43362f;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(63, 48, 40, .12);
    line-height: 1.8;
}

.legal-page h2 {
    margin: 34px 0 12px;
    color: #654b3c;
    font-size: clamp(21px, 3vw, 27px);
    font-weight: 600;
}

.legal-page h3 {
    margin: 24px 0 8px;
    color: #654b3c;
    font-size: 19px;
}

.legal-page p {
    margin: 0 0 16px;
}

.legal-page ul,
.legal-page ol {
    display: block !important;
    margin: 12px 0 22px 24px !important;
    padding-left: 18px !important;
}

.legal-page ul {
    list-style: disc !important;
}

.legal-page ol {
    list-style: decimal !important;
}

.legal-page li {
    display: list-item !important;
    margin-bottom: 8px;
}

.legal-page li::before {
    content: none !important;
}

.legal-page a {
    color: #654b3c;
    font-weight: 600;
}

.legal-footer {
    padding: 42px 20px 28px;
    color: #fff;
    background: #3f3028;
    text-align: center;
}

.legal-footer-inner {
    width: min(980px, 100%);
    margin: 0 auto;
}

.legal-footer h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 17px;
    letter-spacing: .12em;
}

.legal-footer p {
    margin: 0 auto 22px;
    color: rgba(255, 255, 255, .78);
    font-size: 12px;
    line-height: 1.8;
}

.legal-footer-links a {
    display: inline-block;
    padding: 6px 9px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 820px) {
    .legal-header-inner {
        min-height: 72px;
    }

    .legal-developer-logo,
    .legal-nav {
        display: none;
    }

    .legal-logo {
        width: 140px;
    }

    .legal-hero {
        padding: 55px 20px 78px;
    }

    .legal-page {
        margin-top: -36px;
    }
}
