* {
    box-sizing: border-box;
}

html {
    background: #ffffff;
}

body {
    margin: 0;
    background: #ffffff;
    color: #000000;
    font-family: 'Baskerville', 'Big Caslon', Georgia, serif;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.legal-page {
    width: min(100%, 860px);
    margin: 0 auto;
    padding: 80px 32px 60px;
}

.legal-layout {
    display: grid;
    grid-template-columns: 128px minmax(0, 520px);
    gap: 56px;
    align-items: start;
    justify-content: center;
}

.legal-sidebar {
    min-width: 0;
}

.legal-nav {
    position: sticky;
    top: 32px;
    border-left: 0.5px solid #d7d7d7;
}

.legal-nav-label {
    margin: 0 0 6px;
    padding-left: 12px;
    color: #777777;
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.legal-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
}

.legal-nav li {
    margin: 0;
}

.legal-nav-link {
    display: block;
    margin-left: -0.5px;
    padding: 5px 0 5px 12px;
    border-left: 1.5px solid transparent;
    color: #666666;
    line-height: 1.45;
    text-decoration: none;
}

.legal-nav-link:hover {
    color: #000000;
}

.legal-nav-link[aria-current='page'] {
    border-left-color: #000000;
    color: #000000;
}

.legal-nav-link:focus-visible,
.legal-skip-link:focus-visible,
.skip-link:focus-visible {
    outline: 1px solid #000000;
    outline-offset: 3px;
}

.legal-skip-link,
.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    padding: 8px 12px;
    background: #ffffff;
    color: #000000;
    font-size: 14px;
    transform: translateY(-200%);
}

.legal-skip-link:focus,
.skip-link:focus {
    transform: translateY(0);
}

.legal-content,
.legal-document {
    min-width: 0;
}

.legal-navigation-status {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.legal-document[hidden] {
    display: none !important;
}

.legal-header,
.legal-document-header {
    margin-bottom: 40px;
}

.legal-content h1 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.35;
}

.legal-content h2 {
    margin: 32px 0 12px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.45;
}

.legal-content p {
    margin: 0 0 12px;
    font-size: 15px;
}

.legal-content ul,
.legal-content ol {
    margin: 8px 0 12px 20px;
    padding: 0;
    font-size: 15px;
}

.legal-content li {
    margin-bottom: 4px;
}

.legal-content a {
    color: #0645ad;
    text-decoration: underline;
}

.legal-muted,
.legal-content .muted {
    color: #666666;
    font-size: 13px;
}

.legal-footer {
    margin-top: 48px;
    font-size: 14px;
}

@media (max-width: 760px) {
    .legal-page {
        padding: 48px 24px 40px;
    }

    .legal-layout {
        display: block;
    }

    .legal-sidebar {
        margin-bottom: 40px;
    }

    .legal-nav {
        position: static;
        border-left: 0;
        border-bottom: 0.5px solid #d7d7d7;
    }

    .legal-nav-label {
        padding-left: 0;
    }

    .legal-nav ul {
        display: flex;
        flex-wrap: wrap;
        column-gap: 24px;
        row-gap: 0;
    }

    .legal-nav-link {
        display: flex;
        min-height: 44px;
        margin: 0 0 -0.5px;
        padding: 8px 0;
        align-items: center;
        border-left: 0;
        border-bottom: 1.5px solid transparent;
    }

    .legal-nav-link[aria-current='page'] {
        border-bottom-color: #000000;
    }
}

@media print {
    .legal-sidebar,
    .legal-skip-link,
    .skip-link,
    .legal-footer {
        display: none !important;
    }

    .legal-page {
        width: 100%;
        padding: 0;
    }

    .legal-layout {
        display: block;
    }
}
