/* Responsive overrides. Loaded AFTER the page stylesheet so page-level rules (e.g. .ftop) don't beat these media queries. */
@media (max-width:1100px){.sol{grid-template-columns:minmax(0,1fr)}}
@media (max-width:1000px){.grid4{grid-template-columns:repeat(2,minmax(0,1fr))}.grid3{grid-template-columns:minmax(0,1fr)}.split{grid-template-columns:minmax(0,1fr);gap:40px}.ftop{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.grid4,.grid2{grid-template-columns:minmax(0,1fr)}.ftop{grid-template-columns:minmax(0,1fr)}.navbar{border-radius:28px;padding:12px 16px}.tray{border-radius:32px}.well{padding:14px;min-height:0}.pillform{flex-direction:column}.pillform .input{width:100%;flex:none}.pillform .btn{width:100%}}
@media (max-width:480px){.cap{padding:18px 12px 12px}}

/* Article byline: sidebar on desktop, under the title on tablet/mobile */
.authors-m{display:none}
@media (max-width:1000px){.authors-d{display:none!important}.authors-m{display:flex!important}}

/* AEO Services: "Tracked across" label on its own line above the engine logos */
@media (max-width:640px){.trk,span.mono[style*="9a98ab"]{flex:0 0 100%;text-align:center}}

/* Pricing: hero tag pill snug on mobile */
@media (max-width:640px){.pp-tag{font-size:12.5px;line-height:1.4;padding:9px 18px 9px 9px;gap:10px;border-radius:24px;margin:12px 0 8px;text-align:left}.pp-tag b{font-size:11px;padding:4px 10px;flex:none}}

/* Features: headings scale down on mobile */
@media (max-width:900px){h1[style*="font-size:72px"],h1[style*="font-size: 72px"]{font-size:56px!important}}
@media (max-width:640px){
h1[style*="font-size:72px"],h1[style*="font-size: 72px"]{font-size:36px!important;line-height:1.08!important}
h2[style*="font-size:52px"],h2[style*="font-size: 52px"]{font-size:30px!important}
h2[style*="font-size:56px"],h2[style*="font-size: 56px"]{font-size:30px!important}
h3[style*="font-size:40px"],h3[style*="font-size: 40px"]{font-size:26px!important}
}
