/* Keep the answer first on mobile; desktop retains its full contents sidebar. */
.rf-mobile-toc{display:none}
@media(max-width:1000px){
 .rf-article-page .rf-toc{display:none}
 .rf-article-page .rf-mobile-toc{display:block;margin:0 0 24px;border:1px solid rgba(166,198,229,.18);border-radius:14px;background:rgba(6,18,31,.88)}
 .rf-mobile-toc summary{cursor:pointer;padding:15px 18px;font-weight:700;color:#a5fff0;min-height:48px}
 .rf-mobile-toc nav{padding:0 18px 14px}
 .rf-mobile-toc a{display:block;padding:10px 0;line-height:1.4}
 .rf-mobile-toc summary:focus-visible,.rf-mobile-toc a:focus-visible{outline:2px solid #a5fff0;outline-offset:3px}
}

/* The condensed Home comparison has exactly two cards. */
body.rf-home-render-budget #features .seo-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:24px}
@media(max-width:760px){body.rf-home-render-budget #features .seo-card-grid{grid-template-columns:1fr}}

/* Shorter Home section: estimates only, never fixed heights. */
@media(min-width:761px){body.rf-home-render-budget [data-rf-render-section="features"]{--rf-desktop-section-estimate:650px}}
@media(min-width:981px){body.rf-home-render-budget [data-rf-render-section="features"]{--rf-desktop-section-estimate:450px}body.rf-home-render-budget [data-rf-render-section="how"]{--rf-desktop-section-estimate:550px}}
@media(max-width:760px){body.rf-home-render-budget [data-rf-render-section="features"]{--rf-section-estimate:650px}}
@media(max-width:360px){body.rf-home-render-budget [data-rf-render-section="features"]{--rf-section-estimate:750px}}
