.docs-page {
    padding: 40px 0 20px;
    background: #fff;
    color: #1c2430;
}

.docs-grid {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.docs-side {
    position: sticky;
    top: 24px;
    width: 260px;
    flex: 0 0 260px;
}

.docs-side nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.docs-side a {
    color: #1c2430;
    text-decoration: none;
    line-height: 1.35;
}

.docs-side a.is-active {
    color: #ff5959;
}

.docs-side a:hover {
    opacity: 0.75;
}

.docs-group {
    margin-top: 8px;
    font-weight: 600;
}

.docs-sub {
    margin-left: 18px;
    font-size: 15px;
    color: #5c6778 !important;
}

.docs-body {
    flex: 1;
    min-width: 0;
    padding-bottom: 40px;
}

.docs-body h1 {
    font-size: 40px;
    margin: 0 0 8px;
    color: #1c2430;
}

.docs-body h2 {
    font-size: 28px;
    margin: 1.4em 0 0.6em;
    color: #1c2430;
}

.docs-body p,
.docs-body li {
    color: #3a4454;
    font-size: 16px;
    line-height: 1.6;
}

.docs-body .edited-date {
    margin: 0 0 1.4em;
    color: #6b7585;
}

.docs-body ul {
    margin: 0 0 1em 1.25em;
    padding: 0;
}

.docs-body li {
    margin-bottom: 0.35em;
}

.docs-body a {
    color: #1a73e8;
}

.docs-body .terms-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 1.2em;
}

.docs-body .terms-table td,
.docs-body .terms-table th {
    border: 1px solid #d5dbe3;
    padding: 10px 12px;
    vertical-align: top;
    text-align: left;
}

.docs-body .terms-table td:first-child {
    width: 28%;
    font-weight: 600;
}

@media (max-width: 850px) {
    .docs-grid {
        flex-direction: column;
        gap: 20px;
    }

    .docs-side {
        position: static;
        width: 100%;
        flex-basis: auto;
    }

    .docs-body h1 {
        font-size: 32px;
    }
}
