/* Legal and other guest-layout documents that previously relied on Bootstrap */
.v1-document-page {
    padding: 56px 0 88px;
    background: #fff;
}

.v1-document-page .wrap {
    width: min(860px, calc(100% - 64px));
    margin: 0 auto;
}

.v1-document-header h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.12;
    margin-bottom: 12px;
    color: var(--ink);
}

.v1-document-updated {
    font-size: 15px;
    color: var(--muted);
    margin-bottom: 28px;
}

.v1-document-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    padding: clamp(28px, 4vw, 44px);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.055);
}

.v1-document-card section {
    margin-bottom: 2.5rem;
}

.v1-document-card section:last-child {
    margin-bottom: 0;
}

.v1-document-card h2,
.v1-document-card .h3 {
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    margin: 0 0 1rem;
    color: var(--ink);
}

.v1-document-card h3,
.v1-document-card .h5 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 1.25rem 0 0.65rem;
    color: var(--ink);
}

.v1-document-card p,
.v1-document-card li {
    font-size: 16px;
    line-height: 1.72;
    color: var(--muted);
}

.v1-document-card ul {
    margin: 0 0 1.25rem;
    padding-left: 1.35rem;
    list-style: disc;
}

.v1-document-card li {
    margin-bottom: 0.45rem;
}

@media (max-width: 800px) {
    .v1-document-page {
        padding: 40px 0 64px;
    }

    .v1-document-page .wrap {
        width: calc(100% - 40px);
    }
}