.seo-site {
    display: block;
    background:
        radial-gradient(circle at top left, rgba(99, 102, 241, 0.16), transparent 32%),
        radial-gradient(circle at top right, rgba(129, 140, 248, 0.08), transparent 26%),
        var(--bg-primary);
}

.seo-shell {
    max-width: 76rem;
    margin: 0 auto;
    padding: 1rem 1rem 2rem;
}

.seo-header,
.seo-footer,
.seo-hero,
.seo-article-card,
.seo-side-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(17, 17, 17, 0.86);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.seo-header {
    position: sticky;
    top: 1rem;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1.1rem;
    border-radius: 24px;
    backdrop-filter: blur(18px);
    margin-bottom: 1rem;
}

.seo-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-primary);
}

.seo-brand:hover {
    color: var(--text-primary);
}

.seo-brand-image {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0.8rem;
    background: #fff;
    padding: 0.3rem;
}

.seo-brand-copy {
    display: grid;
    gap: 0.15rem;
}

.seo-brand-copy strong {
    font-size: 0.95rem;
    letter-spacing: 0.08em;
}

.seo-brand-copy span {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.seo-header-nav,
.seo-header-actions,
.seo-footer-bottom-links,
.seo-highlight-list,
.seo-hero-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.seo-header-link,
.seo-link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    color: var(--text-secondary);
    border: 1px solid transparent;
    background: transparent;
}

.seo-header-link:hover,
.seo-link-button:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.seo-header-link-active {
    color: #e3e7ff;
    background: rgba(99, 102, 241, 0.18);
    border-color: rgba(129, 140, 248, 0.2);
}

.seo-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--accent-hover), var(--accent));
    color: #fff;
    font-weight: 700;
    border: 1px solid rgba(129, 140, 248, 0.25);
    box-shadow: 0 16px 30px rgba(99, 102, 241, 0.24);
}

.seo-primary-button:hover {
    color: #fff;
    transform: translateY(-1px);
}

.seo-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 1rem 0;
}

.seo-breadcrumbs a {
    color: var(--text-secondary);
}

.seo-hero {
    padding: clamp(1.5rem, 4vw, 3rem);
    border-radius: 28px;
    margin-bottom: 1rem;
    background:
        radial-gradient(circle at top left, rgba(99, 102, 241, 0.18), transparent 28%),
        linear-gradient(135deg, rgba(7, 9, 14, 0.96), rgba(11, 14, 20, 0.86));
}

.seo-hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.16);
    color: #d9ddff;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.seo-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
}

.seo-hero-lead {
    max-width: 56rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.seo-hero-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.seo-hero-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--text-muted);
}

.seo-highlight-item {
    display: inline-flex;
    align-items: center;
    min-height: 2.2rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.seo-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(18rem, 0.9fr);
    gap: 1rem;
    align-items: start;
}

.seo-article-card,
.seo-side-card,
.seo-footer {
    border-radius: 24px;
}

.seo-article-card {
    padding: 1.5rem;
}

.seo-article-section + .seo-article-section {
    margin-top: 2rem;
}

.seo-article-section h2,
.seo-side-card h2,
.seo-footer-column h2 {
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    margin-bottom: 0.85rem;
}

.seo-article-section p,
.seo-side-card p,
.seo-footer-column p {
    color: var(--text-secondary);
    line-height: 1.78;
}

.seo-article-section p + p {
    margin-top: 0.8rem;
}

.seo-bullet-list {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-left: 1.1rem;
    color: var(--text-secondary);
}

.seo-bullet-list li::marker {
    color: var(--accent-hover);
}

.seo-sidebar {
    display: grid;
    gap: 1rem;
    position: sticky;
    top: 6.8rem;
}

.seo-side-card {
    padding: 1.2rem;
}

.seo-side-card-accent {
    background:
        radial-gradient(circle at top right, rgba(129, 140, 248, 0.14), transparent 34%),
        rgba(16, 18, 28, 0.94);
}

.seo-link-list {
    display: grid;
    gap: 0.75rem;
}

.seo-related-link {
    display: grid;
    gap: 0.35rem;
    padding: 0.85rem 0.95rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
}

.seo-related-link span {
    color: var(--text-secondary);
    line-height: 1.55;
}

.seo-faq-list {
    display: grid;
    gap: 0.75rem;
}

.seo-faq-item {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    padding: 0.9rem 1rem;
}

.seo-faq-item summary {
    cursor: pointer;
    font-weight: 700;
    list-style: none;
}

.seo-faq-item summary::-webkit-details-marker {
    display: none;
}

.seo-faq-item p {
    margin-top: 0.75rem;
}

.seo-footer {
    margin-top: 1rem;
    padding: 1.4rem;
}

.seo-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 1rem;
}

.seo-footer-column {
    display: grid;
    gap: 0.65rem;
}

.seo-footer-column a {
    color: var(--text-secondary);
}

.seo-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-size: 0.88rem;
}

@media (max-width: 1100px) {
    .seo-content-grid,
    .seo-footer-grid {
        grid-template-columns: 1fr;
    }

    .seo-sidebar {
        position: static;
    }
}

@media (max-width: 860px) {
    .seo-header {
        position: static;
        flex-direction: column;
        align-items: stretch;
    }

    .seo-header-nav,
    .seo-header-actions {
        justify-content: flex-start;
    }

    .seo-hero h1 {
        font-size: 1.8rem;
    }
}
