.doc-container {
    padding: 2rem 1.5rem;
}

.doc {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-custom);
    font-size: var(--font-size-m);
    line-height: 1.75;
}

.doc__header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--transparent-5-w);
}

.doc__title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-7);
    color: var(--text-default);
    margin: 0 0 0.75rem;
    line-height: 1.3;
}

.doc__meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: var(--font-size-s, 0.875rem);
    color: var(--text-secondary);
}

.doc__meta a {
    color: var(--text-secondary);
    text-decoration: none;
}

.doc__meta a:hover {
    text-decoration: underline;
}

.doc__intro {
    margin: 0 0 2rem;
    color: var(--text-custom);
}

.doc__section {
    margin-bottom: 1.75rem;
}

.doc__heading {
    font-size: var(--font-size-l);
    font-weight: var(--font-weight-7);
    color: var(--text-default);
    margin: 0 0 0.85rem;
}

.doc__body p {
    margin: 0 0 0.85rem;
    color: var(--text-custom);
}

.doc__body p:last-child {
    margin-bottom: 0;
}

.doc__body ul {
    margin: 0 0 0.85rem;
    padding-left: 1.5rem;
    list-style: disc;
    color: var(--text-custom);
}

.doc__body li {
    margin-bottom: 0.4rem;
    color: var(--text-custom);
}

.doc__body li:last-child {
    margin-bottom: 0;
}

.doc__footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--transparent-5-w);
    color: var(--text-custom);
}

.doc__footer a {
    color: var(--text-default);
    text-decoration: none;
}

.doc__footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .doc-container {
        padding: 1.25rem 1rem;
    }

    .doc__title {
        font-size: var(--font-size-l);
    }

    .doc__heading {
        font-size: var(--font-size-m);
    }
}
