.seo-page {
    height: auto !important;
    min-height: 100vh !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

.seo-page > .workspace {
    min-height: calc(100vh - 72px);
    flex: 0 0 auto;
}

.seo-explainer {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: clamp(64px, 8vw, 112px) 24px;
    border-top: 1px solid rgba(132, 204, 22, 0.16);
    background:
        radial-gradient(circle at 15% 0%, rgba(132, 204, 22, 0.09), transparent 30%),
        radial-gradient(circle at 90% 75%, rgba(255, 140, 66, 0.07), transparent 28%),
        #080d08;
    color: #eef5e9;
    font-family: Inter, Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.7;
}

.seo-explainer *,
.seo-explainer *::before,
.seo-explainer *::after {
    box-sizing: border-box;
}

.seo-wrap {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.seo-eyebrow,
.seo-kicker {
    margin: 0 0 12px;
    color: #9be56f;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.seo-explainer h2 {
    max-width: 800px;
    margin: 0;
    color: #f7faF4;
    font-family: Inter, Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 750;
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.seo-explainer h3 {
    margin: 0 0 10px;
    color: #f4f8ef;
    font-size: 1.08rem;
    line-height: 1.35;
}

.seo-explainer p {
    color: #aebba7;
}

.seo-lead {
    max-width: 780px;
    margin: 24px 0 0;
    font-size: clamp(1rem, 1.6vw, 1.14rem);
}

.seo-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 40px;
}

.seo-card {
    min-width: 0;
    padding: 24px;
    border: 1px solid rgba(132, 204, 22, 0.13);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.025);
}

.seo-card p,
.seo-steps p,
.seo-faq p {
    margin: 0;
}

.seo-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(40px, 7vw, 88px);
    margin-top: clamp(72px, 9vw, 112px);
}

.seo-split h2,
.seo-related h2 {
    font-size: clamp(1.55rem, 2.7vw, 2.15rem);
}

.seo-steps {
    display: grid;
    gap: 24px;
    padding: 0;
    margin: 32px 0 0;
    list-style: none;
}

.seo-steps li {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.seo-step-number {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(132, 204, 22, 0.25);
    border-radius: 50%;
    background: rgba(132, 204, 22, 0.08);
    color: #a6ed7c;
    font-weight: 800;
}

.seo-faq {
    margin-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.seo-faq details {
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.seo-faq summary {
    position: relative;
    padding: 20px 38px 20px 0;
    color: #eff5eb;
    cursor: pointer;
    font-weight: 700;
    line-height: 1.4;
    list-style: none;
}

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

.seo-faq summary::after {
    position: absolute;
    top: 20px;
    right: 4px;
    color: #9be56f;
    content: "+";
    font-size: 1.25rem;
    line-height: 1;
}

.seo-faq details[open] summary::after {
    content: "−";
}

.seo-faq details p {
    padding: 0 38px 20px 0;
}

.seo-related {
    display: flex;
    gap: 28px;
    align-items: end;
    justify-content: space-between;
    margin-top: clamp(64px, 8vw, 96px);
    padding: 28px;
    border: 1px solid rgba(132, 204, 22, 0.16);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(132, 204, 22, 0.08), rgba(255, 255, 255, 0.02));
}

.seo-related nav {
    display: flex;
    max-width: 560px;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.seo-related a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding: 10px 15px;
    border: 1px solid rgba(132, 204, 22, 0.2);
    border-radius: 999px;
    color: #d9efcc;
    text-decoration: none;
    transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.seo-related a:hover,
.seo-related a:focus-visible {
    border-color: rgba(132, 204, 22, 0.55);
    background: rgba(132, 204, 22, 0.1);
    color: #fff;
    outline: none;
}

@media (max-width: 820px) {
    .seo-card-grid,
    .seo-split {
        grid-template-columns: 1fr;
    }

    .seo-related {
        align-items: flex-start;
        flex-direction: column;
    }

    .seo-related nav {
        justify-content: flex-start;
    }
}

@media (max-width: 520px) {
    .seo-explainer {
        padding-right: 18px;
        padding-left: 18px;
    }

    .seo-card,
    .seo-related {
        padding: 20px;
        border-radius: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .seo-related a {
        transition: none;
    }
}
