body.legal-page {
    margin: 0;
    background: #f7f8fb;
    color: #1d2733;
}

.legal-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.legal-header {
    padding: 24px 0;
    background: #fff;
    border-bottom: 1px solid #e6e9ef;
}

.legal-header-inner,
.legal-footer-inner,
.legal-content {
    width: min(960px, calc(100% - 32px));
    margin: 0 auto;
}

.legal-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.legal-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.legal-brand img {
    width: 170px;
    height: auto;
}

.legal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
}

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

.legal-main {
    flex: 1;
    padding: 48px 0 64px;
}

.legal-content {
    background: #fff;
    border: 1px solid #e6e9ef;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 18px 60px rgba(17, 24, 39, 0.06);
}

.legal-eyebrow {
    margin: 0 0 12px;
    color: #ff5a5f;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.legal-content h1 {
    margin: 0 0 12px;
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.1;
}

.legal-updated {
    margin: 0 0 28px;
    color: #5f6b7a;
    font-size: 14px;
}

.legal-content section + section {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid #e6e9ef;
}

.legal-content h2 {
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 1.25;
}

.legal-content p,
.legal-content li {
    margin: 0;
    color: #3f4a59;
    font-size: 16px;
    line-height: 1.75;
}

.legal-content ul {
    margin: 16px 0 0;
    padding-left: 20px;
}

.legal-content p + p {
    margin-top: 14px;
}

.legal-footer {
    padding: 24px 0 40px;
}

.legal-footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    color: #5f6b7a;
    font-size: 14px;
}

.legal-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    justify-content: center;
}

.legal-footer-links a {
    color: #5f6b7a;
    text-decoration: none;
}

.legal-footer-company {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.legal-footer-copy {
    text-align: center;
}

.legal-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.legal-footer-contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    line-height: 1.4;
}

.legal-footer-contact-icon {
    width: 20px;
    height: 20px;
    border: 1px solid #d0d8e1;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #5f6b7a;
}

.legal-footer-contact-icon svg {
    width: 10px;
    height: 10px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.legal-footer-contact-icon svg * {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.legal-footer-contact a {
    color: #5f6b7a;
    text-decoration: none;
}

.legal-footer-contact a:hover,
.legal-footer-links a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 767px) {
    .legal-header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .legal-footer-inner {
        align-items: center;
        gap: 14px;
        font-size: 12px;
    }

    .legal-footer-links {
        gap: 8px 12px;
    }

    .legal-footer-company {
        gap: 8px;
    }

    .legal-footer-contact {
        gap: 6px;
    }

    .legal-footer-contact-item {
        gap: 6px;
        line-height: 1.3;
    }

    .legal-footer-contact-icon {
        width: 18px;
        height: 18px;
    }

    .legal-footer-contact-icon svg {
        width: 9px;
        height: 9px;
    }

    .legal-content {
        padding: 28px 20px;
        border-radius: 18px;
    }
}
