/* V48: focused corrections after full-page review; no live API or JS changes */
.hero-lead-break{display:contents}
@media(max-width:850px){.hero-lead-break br{display:none!important}.hero-lead-break:after{content:" ";white-space:pre}}
#terminal .terminal-workspace{grid-template-columns:minmax(250px,30%) minmax(0,1fr)!important}
#terminal .terminal-sidebar{background:linear-gradient(155deg,#0d2841,#07172b)!important;border:1px solid #b9913d77;border-radius:18px}
#terminal .workspace-metric{display:flex!important;align-items:center;justify-content:space-between;gap:16px}
#terminal .workspace-metric span{flex:0 0 auto}
#terminal .workspace-metric strong{min-width:0}
#insights .insight-layout{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)!important}
#platform .steps-grid article{min-height:285px!important}
#platform .step-art{height:110px!important}
.premium-footer{display:block!important;visibility:visible!important;opacity:1!important;position:relative!important;min-height:0!important}
.premium-footer .footer-top{display:grid!important;grid-template-columns:minmax(0,1.5fr) repeat(2,minmax(0,1fr)) minmax(0,1.2fr)!important;gap:30px!important}
.premium-footer .footer-column,.premium-footer .footer-brand{min-width:0}
.premium-footer .footer-column a{display:block;overflow-wrap:anywhere}
.premium-footer .footer-disclaimer{margin-top:8px}
@media(max-width:850px){#terminal .terminal-workspace,#insights .insight-layout{grid-template-columns:minmax(0,1fr)!important}.premium-footer .footer-top{grid-template-columns:repeat(2,minmax(0,1fr))!important}.premium-footer .footer-brand{grid-column:1/-1}}
@media(max-width:600px){
 .hero-lead{word-spacing:normal!important;letter-spacing:0!important;line-height:1.6!important}
 .hero-lead-break{display:inline}
 .hero-lead-break:after{content:" ";white-space:pre}
 .hero-lead-break br{display:none!important}
 .hero .device-area{height:clamp(270px,72vw,370px)!important;overflow:hidden!important}
 .hero-device-image{background-size:contain!important;background-position:center center!important}
 #terminal .terminal-workspace{gap:14px!important}
 #terminal .terminal-sidebar{padding:20px!important;min-height:0!important}
 #terminal .terminal-sidebar h3{margin:12px 0!important;font-size:26px!important}
 #terminal .terminal-sidebar>p{margin-bottom:10px!important}
 #terminal .workspace-visual{display:none!important}
 #terminal .workspace-metric{padding:9px 0!important}
 #terminal .workspace-link{margin-top:14px!important}
 #terminal .terminal-card{min-height:0!important}
 #terminal .chart-wrap{height:210px!important}
 #insights .insight-main{min-height:300px!important}
 #insights .insight-content{margin-top:22px!important}
 #insights .insight-mini{min-height:150px!important}
 #platform .steps-grid article{min-height:0!important;padding:20px!important}
 #platform .step-art{height:105px!important}
 #features .feature-grid{grid-template-columns:1fr!important}
 .premium-footer{padding:0!important;margin:0!important}
 .premium-footer .container{width:calc(100% - 34px)!important}
 .premium-footer .footer-top{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px 16px!important;padding:35px 0 28px!important}
 .premium-footer .footer-brand{grid-column:1/-1!important}
 .premium-footer .footer-brand img{width:min(230px,80%)!important;height:auto!important;max-height:none!important}
 .premium-footer .footer-column:last-child{grid-column:1/-1!important}
 .premium-footer .footer-column{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:9px!important}
 .premium-footer .footer-column h3{font-size:13px!important;margin:0 0 5px!important}
 .premium-footer .footer-column a,.premium-footer .footer-column p{font-size:12px!important;line-height:1.6!important}
 .premium-footer .footer-disclaimer{display:block!important;font-size:11px!important;line-height:1.7!important;padding:14px!important}
 .premium-footer .footer-bottom{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:10px!important;padding:20px 0 28px!important}
 .premium-footer .footer-bottom>*{font-size:11px!important}
}
