html {
    scroll-behavior: smooth;
}

.legal-page-header {
    padding: 8rem 0 3rem 0;
    text-align: center;
}

.box-container {
    border: 2px solid var(--border-light);
    border-radius: 12px;
    padding: 2rem;
    background-color: #fff;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.fastjump-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}
.fastjump-link {
    color: var(--brand-600);
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    background-color: var(--brand-50);
    transition: background-color 0.2s ease;
    font-size: 0.95rem;
}
.fastjump-link:hover {
    background-color: var(--brand-100);
}

.markdown-body {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
    margin-bottom: 5rem;
}

.anchor {
    display: block;
    position: relative;
    top: -6rem; 
    visibility: hidden;
}

.legal-header {
    border-bottom: 2px solid var(--border-light);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}
.legal-header h2 { 
    margin: 0; 
    font-size: 1.75rem; 
    color: var(--text-main); 
    font-weight: 800; 
}

.raw-content {
    white-space: pre-wrap; 
    color: var(--text-muted);
    line-height: 1.6;
    font-family: inherit;
}