/* tos.css */

/* Page typography + readable width */
.post-content {
    max-width: 760px;
    line-height: 1.7;
    font-size: 16px; /* slightly improves readability */
    margin-left: auto;
    margin-right: auto;
}

/* Headings */
.post-content h1 {
    margin: 0 0 40px;
    text-align: center; /* matches screenshot */
    line-height: 1.1;
}

.post-content h2 {
    margin: 56px 0 20px;
    line-height: 1.2;
}

.post-content h3 {
    margin: 40px 0 16px;
    line-height: 1.3;
}

/* Date */
.post-content .date {
    margin-bottom: 32px;
    font-size: 0.95em;
    opacity: 0.7;
}

/* Paragraph + list spacing */
.post-content p,
.post-content ol li {
    margin-bottom: 32px;
}

.post-content ol li p {
    margin-bottom: 24px;
}

/* Lists */
.post-content ol {
    margin-left: 24px;
    padding-left: 0;
}

.post-content ol li::marker {
    font-weight: bold;
}

/* Your current "list-in-list" paragraphs */
.post-content .list-in-list {
    margin-left: 20px;
    margin-bottom: 16px;
    opacity: 0.95;
}

/* Links */
.post-content a {
    color: var(--el-cyan);
    text-decoration: none;
}

.post-content a:hover {
    text-decoration: underline;
}

.post-content a:focus-visible {
    outline: 2px solid rgba(0, 212, 255, 0.7);
    outline-offset: 2px;
}

/* Code blocks */
.post-content pre {
    padding: 16px;
    border-radius: 12px;
    overflow-x: auto;
    line-height: 1.5;
    margin: 24px 0 32px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-white-08);
}

.post-content pre code {
    white-space: pre-wrap;
    word-break: break-word;
}

/* Terms blocks: make caps easier to read */
.terms-contents {
    letter-spacing: 0.01em; /* was 0.02em */
    line-height: 1.8;
}

.post-content > ol > li {
    padding-top: 12px;
}

/* Mobile */
@media (max-width: 768px) {
    .post-content {
        line-height: 1.75;
        font-size: 16px;
    }

    .post-content h1 {
        margin-bottom: 28px;
        text-align: left; /* optional: feels better on mobile */
    }

    .post-content p,
    .post-content ol li {
        margin-bottom: 24px;
    }

    .post-content ol {
        margin-left: 18px;
    }
}

p.terms-heading strong {
    font-size: 18px;
}
