/* V47 final responsive and layout specificity repairs. Preserve desktop hero artwork and market JS. */
.hero-lead{overflow-wrap:normal}
.hero-lead br{display:block}
#terminal .terminal-workspace{display:grid!important;grid-template-columns:minmax(275px,30%) minmax(0,70%)!important;gap:18px!important}
#terminal .terminal-sidebar{min-width:0}
#terminal .terminal-card{transform:none!important;box-shadow:0 15px 45px #0005!important}
#insights .insight-layout{display:grid!important;grid-template-columns:minmax(0,1.55fr) minmax(300px,1fr)!important;gap:20px!important}
#insights .insight-side{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:1fr 1fr!important}
#platform .steps-grid,#features .feature-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important}
#platform .steps-grid article{min-height:310px!important;overflow:hidden}
#platform .step-art svg{max-width:100%}
#markets .table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
#markets .market-table-wrap{max-width:100%}
@media(max-width:1050px){#terminal .terminal-workspace{grid-template-columns:minmax(230px,32%) minmax(0,68%)!important}#insights .insight-layout{grid-template-columns:1fr 1fr!important}}
@media(max-width:850px){
 #terminal .terminal-workspace,#insights .insight-layout{grid-template-columns:minmax(0,1fr)!important}
 #platform .steps-grid,#features .feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #terminal .terminal-sidebar{min-height:0!important}
 .hero-grid{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important}
 .hero-copy{width:100%;max-width:680px;margin-inline:auto}
 .hero-lead br{display:none!important}
 .hero .device-area{flex:0 0 auto;align-self:center!important}
}
@media(max-width:600px){
 html,body{max-width:100%;overflow-x:clip}
 .header .container{width:calc(100% - 28px)!important}
 .header .brand{width:min(53vw,225px)!important}
 .hero-grid{width:calc(100% - 28px)!important;padding:34px 0 0!important;min-height:0!important}
 .hero-copy{text-align:center!important;padding:0!important}
 .hero-pretitle{font-size:clamp(21px,5.5vw,27px)!important}
 .hero h1{font-size:clamp(34px,8.5vw,48px)!important;line-height:1.12!important;letter-spacing:-1.4px!important;margin:10px 0 20px!important}
 .hero-lead{max-width:420px!important;margin:0 auto!important;padding:0 10px 0 15px!important;text-align:left!important;font-size:clamp(13px,3.5vw,16px)!important;line-height:1.65!important;white-space:normal!important;overflow-wrap:break-word!important;word-spacing:normal!important}
 .hero-lead br{display:none!important}
 .cta-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px!important;margin:24px auto 0!important;max-width:420px;width:100%}
 .cta-row .gold-btn,.cta-row .ghost-btn{width:100%;min-width:0!important;padding:12px 8px!important;font-size:clamp(11px,3.1vw,14px)!important;gap:8px!important;white-space:nowrap;min-height:50px!important}
 .trust{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;max-width:420px!important;margin:24px auto 0!important;gap:0!important}
 .trust>div{padding:0 7px!important;min-width:0!important;justify-items:center;text-align:center;border-right:1px solid #d5a63377!important}
 .trust>div:last-child{border-right:0!important}
 .trust span{font-size:clamp(10px,2.7vw,12px)!important;line-height:1.25}
 .hero .device-area{height:clamp(260px,76vw,390px)!important;width:100%!important;margin-top:14px!important;overflow:visible}
 .hero-device-image{inset:0 -6px!important;background-size:contain!important;background-position:center center!important}
 .hero-market-strip{position:relative!important}
 .hero-market-strip .ticker-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
 .hero-market-strip .ticker{min-width:0!important;padding:10px!important}
 .hero-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #terminal .container,#markets .container,#insights .container,#platform .container,#features .container,#about .container{width:calc(100% - 30px)!important}
 #terminal .terminal-workspace,#insights .insight-layout{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
 #terminal .terminal-sidebar,#insights .insight-main,#insights .insight-mini{padding:22px!important}
 #terminal .terminal-sidebar{min-height:0!important}
 #terminal .term-top,#terminal .term-price{padding-inline:15px}
 #terminal .term-price h2{font-size:clamp(25px,7vw,38px)}
 #terminal .chart-wrap{height:220px}
 #terminal .term-bottom>div{padding:12px 8px;min-width:0}
 #terminal .term-bottom b{font-size:12px;overflow-wrap:anywhere}
 #insights .insight-main{min-height:365px!important}
 #insights .insight-content{margin-top:35px!important}
 #insights .insight-side{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:auto!important}
 #insights .insight-mini{min-height:190px!important}
 #platform .steps-grid,#features .feature-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
 #platform .steps-grid article{min-height:0!important;padding:24px!important}
 #platform .step-art{height:120px!important}
 #features .feature-grid article{min-height:0!important;padding:25px!important}
 #about .about-grid{grid-template-columns:1fr!important}
 .premium-footer .footer-top{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:25px 16px!important}
 .premium-footer .footer-brand,.premium-footer .footer-column:last-child{grid-column:1/-1}
 .premium-footer .footer-bottom{flex-direction:column!important;align-items:flex-start!important;gap:12px}
}
@media(max-width:370px){.cta-row{grid-template-columns:1fr!important;max-width:270px}.hero h1{font-size:34px!important}.hero .device-area{height:260px!important}}
