:root {
    --muted: #d1d5db;
    --brand2: #22c55e;
}
body {
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    background: #000;
    color: #fff;
    line-height: 1.6;
}
main {
    padding: 2rem 0 2.4rem;
}
.article {
    max-width: 980px;
    margin: 0 auto;
}
.article h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    line-height: 1.2;
    margin-bottom: 0.6rem;
}
.article-meta {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
}
.article h2 {
    margin-top: 1.35rem;
    margin-bottom: 0.45rem;
    font-size: 1.2rem;
}
.article p {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 0.9rem;
}
.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 2rem;
    align-items: start;
}
.toc {
    position: sticky;
    top: 88px;
    border: 1px solid rgba(47, 128, 255, 0.35);
    border-radius: 12px;
    padding: 0.9rem;
    background: rgba(255, 255, 255, 0.02);
}
.toc h2 {
    font-size: 0.95rem;
    margin: 0 0 0.65rem;
    color: #fff;
}
.toc ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.toc a {
    font-size: 0.84rem;
    color: #d1d5db;
    line-height: 1.35;
    display: block;
    padding: 0.18rem 0;
}
.toc a:hover,
.toc a:focus-visible {
    color: #fff;
    outline: none;
}
.article h1 {
    margin-bottom: 1rem;
}
.article h2 {
    margin-top: 2rem;
    margin-bottom: 0.9rem;
    font-size: 1.28rem;
    scroll-margin-top: 95px;
}
.article p {
    margin-bottom: 1.35rem;
    line-height: 1.8;
}
.article {
    display: block;
    position: relative;
    z-index: 1;
}
.article h1::after,
.article h2::after {
    content: '';
    display: block;
    height: 2px;
    background: rgba(34, 197, 94, 0.9);
    margin-top: 0.6rem;
    border-radius: 999px;
}
.article h1::after,
.article h2::after {
    width: 100%;
    max-width: none;
}
.article a {
    color: #93c5fd;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.article a:hover,
.article a:focus-visible {
    color: #bfdbfe;
    outline: none;
}
.article-hero {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0.85rem;
    border: 1px solid rgba(47, 128, 255, 0.32);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
}
.article-hero-content h1 {
    margin: 0 0 0.6rem;
    font-size: clamp(1.7rem, 3.6vw, 2.5rem);
    line-height: 1.2;
}
.article-hero-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
}
.article-inline-image {
    width: 100%;
    max-width: 860px;
    display: block;
    margin: 0.3rem 0 1.4rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
}
@media (max-width: 980px) {
    .article-layout {
        grid-template-columns: 1fr;
    }
    .toc {
        position: static;
        top: auto;
    }
}
@media (max-width: 980px) {
    .article-hero {
        grid-template-columns: 1fr;
    }
    .article-hero-img {
        aspect-ratio: 16/10;
    }
}
@media (max-width: 640px) {
}

@media (max-width: 760px) {
    body {
        font-size: 15px;
        line-height: 1.62;
    }

    h1 {
        font-size: clamp(1.25rem, 6vw, 1.62rem);
        line-height: 1.24;
    }

    h2 {
        font-size: clamp(1.12rem, 5.4vw, 1.42rem);
        line-height: 1.3;
    }

    h3 {
        font-size: clamp(1rem, 4.9vw, 1.16rem);
        line-height: 1.35;
    }

    p,
    li,
    summary {
        font-size: 0.92rem;
        line-height: 1.65;
    }
}

@media (max-width: 760px) {
}
