:root {
    /*--text: #101114;*/
    --text: #111827;
    --border: #e5e7eb;
    --panel: #ffffff;
    --max: 960px;
}

.page h1 {
    font-size: 32px;
    margin: 0 0 18px;
    letter-spacing: -.03em;
    line-height: 1.15;
    font-weight: 500;
}

.hero {
    margin-bottom: 36px;
}

.hero h1 {
    margin: 0;
    font-size: 40px;
    color: var(--accent);
    font-weight: 500;
    letter-spacing: -.03em;
}

.subtitle {
    margin-top: 10px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.5;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 40px;
}

.content h2 {
    margin: 32px 0 14px;
    font-size: 22px;
    color: var(--accent2);
    font-weight: 500;
    letter-spacing: -.015em;
    line-height: 1.25;
}

.content p {
    margin: 12px 0;
    transition: color 0.2s ease;
    line-height: 1.7;
    font-size: 18px;
}

.section-note {
    color: var(--muted) !important;
    font-style: italic;
    margin: 6px 0 18px !important;
    font-size: 16px;
    line-height: 1.6;
}

.toc {
    /*border-left:1px solid var(--border);*/
    /*padding-left:22px;*/
}

.toc h2 {
    font-size: 13px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 500;
    margin-bottom: 12px;
}

.toc ol {
    padding-left: 20px;
    margin: 12px 0 0;
}

.toc li {
    margin: 8px 0;
    transition: transform 0.2s ease;
    font-size: 18px;
    line-height: 1.5;
}

.toc li:hover {
    transform: translateX(2px);
}
.toc-subtitle {
    display: block;
    color: var(--muted);
    font-style: italic;
    font-size: 16px;
    line-height: 1.5;
    margin-top: 2px;
}

@media (max-width: 900px) {
    .grid {
        grid-template-columns:1fr;
        gap: 32px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .content h2 {
        font-size: 20px;
        margin: 28px 0 12px;
    }

    .content p, .toc li {
        font-size: 17px;
    }
}
