/* V27 cohesive reference layout; keep existing live-data code intact */
@media(min-width:851px){
.header{height:82px!important;background:#010813!important;border-bottom:1px solid #11a9f2!important}.header .container{width:min(1600px,calc(100% - 100px))!important}.brand{width:340px!important}.navlinks{gap:34px!important}.navlinks a{font-size:16px!important;color:#f0f3fb!important}.navlinks a.active{color:#ffd354!important;text-shadow:0 0 15px #ffca54}.navlinks a.active:after{content:'';display:block;height:3px;background:#ffc728;box-shadow:0 0 13px #ffc728;margin-top:8px}.nav-actions .outline-btn{border:2px solid #ffcc24!important;border-radius:14px!important;padding:12px 27px!important}
.hero{min-height:635px!important;background:radial-gradient(ellipse at 75% 40%,#07335e 0%,#03162d 48%,#010813 86%)!important}.hero-grid{min-height:635px!important;grid-template-columns:40% 60%!important;width:min(1600px,calc(100% - 110px))!important;padding:32px 0 65px!important;align-items:center!important}.hero-copy{padding:0 0 8px!important;align-self:center!important}.hero-pretitle{font-size:32px!important}.hero h1{font-size:clamp(48px,4.15vw,73px)!important}.hero-lead{font-size:18px!important}.device-area{height:560px!important;overflow:visible!important}.hero-device-image{inset:0 -25px 0 -20px!important;background-size:contain!important;background-position:center center!important;filter:drop-shadow(0 0 20px #0a93ef55)!important}.reference-btc-coin{left:1.5%!important;bottom:18px!important;width:112px!important;height:112px!important}.reference-eth-coin{left:-8%!important;bottom:4px!important;width:112px!important;height:112px!important}.hero-floor{bottom:0!important}.trust{margin:24px 0 0 40px!important;max-width:475px!important}.hero:after{opacity:.45!important}
.hero-market-strip{position:relative;z-index:4;margin-top:0!important;border-top:2px solid #ffbf26!important}.hero-market-strip .ticker-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}.hero-market-strip .ticker{min-height:88px!important;padding:14px 17px!important;display:grid!important;grid-template-columns:1fr auto!important;align-items:center!important;gap:0 10px!important;border-radius:16px!important}.ticker .ticker-top{grid-column:1 / -1!important;display:flex!important;align-items:center!important;justify-content:space-between!important}.ticker h3{font-size:22px!important;margin:3px 0!important;white-space:nowrap!important}.ticker .delta{font-size:17px!important;font-weight:800!important;text-align:right!important;white-space:nowrap!important}.ticker-icon{width:40px!important;height:40px!important}.hero-stats{border-top:1px solid #f7bc38!important;margin-top:12px!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}.hero-stats>div{justify-content:center!important;gap:15px!important}.hero-stats strong{color:#ffce4d!important}
}
/* Remove the second copy of the device artwork masquerading as a world map */
.reference-map{display:none!important}
/* Coins are decoration, never obscure feature text */
.reference-btc-coin,.reference-eth-coin{pointer-events:none}
.hero-copy,.trust{position:relative;z-index:8}
@media(max-width:850px){.hero-grid{gap:0!important}.device-area{margin-top:8px!important}.reference-map{display:none!important}.reference-btc-coin{left:2%!important;bottom:0!important}.reference-eth-coin{left:1%!important;bottom:0!important}.trust{max-width:100%!important}.hero-market-strip .ticker{min-height:108px!important}.hero-stats{gap:10px!important}}
@media(max-width:520px){.hero-market-strip .ticker-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.hero-market-strip .ticker h3{font-size:19px!important}.reference-btc-coin{width:48px!important;height:48px!important}.reference-eth-coin{width:48px!important;height:48px!important}}

/* V28 — reference-complete ticker and statistics; no overlay collisions */
@media(min-width:851px){
.hero{min-height:610px!important}.hero-grid{min-height:610px!important;padding-bottom:24px!important}
.hero-market-strip{padding:12px 0 16px!important;border-top:1px solid #ffca34!important;background:linear-gradient(180deg,#031024 0%,#010814 100%)!important}
.hero-market-strip .container{width:min(1640px,calc(100% - 95px))!important}
.hero-market-strip .ticker-grid{gap:20px!important;margin-bottom:14px!important}
.hero-market-strip .ticker{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:center!important;min-height:89px!important;padding:10px 16px!important;border:1.5px solid #f9bd26!important;background:linear-gradient(110deg,#030a15,#071b2d 75%,#030a15)!important;box-shadow:0 0 17px #efae253d,inset 0 0 13px #061f38!important}
.hero-market-strip .ticker .ticker-top{display:flex!important;justify-content:flex-start!important;gap:11px!important}
.hero-market-strip .ticker .ticker-name{font-size:16px!important;font-weight:700!important}
.hero-market-strip .ticker .ticker-icon{width:38px!important;height:38px!important;display:grid!important;place-items:center!important;border-radius:50%!important;background:#ffab09!important;color:white!important;font-size:23px!important;flex-shrink:0!important}
.hero-market-strip .ticker .ticker-bottom{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:6px!important;margin-left:49px!important;margin-top:-5px!important}
.hero-market-strip .ticker h3{font-size:19px!important;margin:0!important}
.hero-market-strip .ticker .ticker-right{display:flex!important;align-items:center!important;gap:7px!important}
.hero-market-strip .ticker .delta{font-size:14px!important;border-radius:5px!important;padding:3px 5px!important;background:#092a21!important;color:#16e28a!important}
.hero-market-strip .ticker .delta.down{background:#34131c!important;color:#ff7583!important}
.hero-market-strip .ticker .ticker-spark{display:none!important}
.hero-stats{display:grid!important;grid-template-columns:repeat(4,1fr)!important;border-top:1px solid #c58b25!important;margin-top:10px!important;padding-top:13px!important}
.hero-stats>div{min-height:65px!important;border-right:1px solid #8b6a2c!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:13px!important}
.hero-stats>div:last-child{border:0!important}.hero-stats .stat-icon{color:#ffce42!important;font-size:37px!important;line-height:1!important}.hero-stats strong{font-size:27px!important;color:#ffcf43!important;line-height:1.1!important}.hero-stats small{display:block!important;font-size:13px!important;color:#fff!important}
.hero-copy .trust{margin-left:0!important;padding-left:10px!important}.hero-copy .trust>div{position:relative!important;z-index:9!important}
.reference-btc-coin{left:1%!important;bottom:30px!important;width:100px!important;height:100px!important;opacity:.9!important}.reference-eth-coin{left:-2%!important;bottom:0!important;width:95px!important;height:95px!important;opacity:.9!important}
}
.reference-metrics-note{text-align:right;color:#8091a9;font-size:10px;margin:3px 0 0}
@media(max-width:850px){.hero-market-strip .ticker-bottom{display:flex;justify-content:space-between;gap:8px;align-items:center}.hero-market-strip .ticker-right{display:flex;flex-direction:column;align-items:flex-end}.hero-market-strip .ticker .delta{font-size:12px}.hero-market-strip .ticker-spark{display:none}.hero-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hero-stats>div{display:flex;align-items:center;gap:10px}.hero-stats .stat-icon{font-size:28px}.hero-stats strong{font-size:22px}.hero-stats small{font-size:11px}}
@media(max-width:520px){.hero-market-strip .container{width:calc(100% - 24px)!important}.hero-market-strip .ticker{padding:10px!important}.hero-market-strip .ticker .ticker-name{font-size:12px}.hero-market-strip .ticker h3{font-size:17px}.hero-market-strip .ticker .ticker-icon{width:32px;height:32px}.hero-market-strip .ticker-bottom{flex-wrap:wrap}.hero-stats{padding:12px 0}.hero-stats>div{min-height:58px}}

/* V29: The four market cards and the four-stat row belong INSIDE the first hero viewport. */
@media (min-width: 851px) {
 .hero { min-height: min(900px, 100vh)!important; min-height: 790px!important; overflow:hidden!important; }
 .hero-grid { min-height: 600px!important; height: 600px!important; padding: 22px 0 0!important; align-items:center!important; }
 .hero-copy { transform:translateY(-12px)!important; }
 .device-area { height: 550px!important; transform:translateY(-2px)!important; }
 .hero-market-strip { position:absolute!important; left:0!important;right:0!important;bottom:0!important;z-index:12!important; height:183px!important; padding:10px 0 7px!important; border-top:1px solid #e6ad24!important; border-bottom:1px solid #d99b17!important; background:linear-gradient(180deg,#021023e8,#020b19 72%,#021124)!important; box-shadow:0 -9px 35px #020c1b99,0 0 18px #00a8ff50!important; }
 .hero-market-strip .container { width:min(1640px,calc(100% - 100px))!important; }
 .hero-market-strip .ticker-grid { display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important; gap:16px!important;margin-bottom:9px!important; }
 .hero-market-strip .ticker { min-height:75px!important;height:75px!important;padding:8px 12px!important;border-radius:13px!important;display:grid!important;grid-template-columns:40px minmax(0,1fr) auto!important;grid-template-rows:1fr 1fr!important;align-items:center!important;column-gap:8px!important; }
 .hero-market-strip .ticker .ticker-top { display:contents!important; }
 .hero-market-strip .ticker .ticker-icon { grid-column:1!important;grid-row:1 / 3!important;width:39px!important;height:39px!important; }
 .hero-market-strip .ticker .ticker-name { grid-column:2!important;grid-row:1!important;font-size:14px!important;white-space:nowrap!important; }
 .hero-market-strip .ticker .ticker-bottom { display:contents!important; }
 .hero-market-strip .ticker h3 { grid-column:2!important;grid-row:2!important;font-size:18px!important;white-space:nowrap!important; }
 .hero-market-strip .ticker .ticker-right { grid-column:3!important;grid-row:2!important; }
 .hero-market-strip .ticker .delta { font-size:13px!important; }
 .hero-stats { margin-top:5px!important;padding:9px 0 0!important; }
 .hero-stats>div { min-height:51px!important; }
 .hero-stats .stat-icon { font-size:30px!important; }
 .hero-stats strong { font-size:25px!important; }
 .hero-stats small { font-size:12px!important; }
 .reference-metrics-note { font-size:9px!important;margin:1px 0!important; }
 .hero-floor { bottom:183px!important; }
}
@media (min-width:851px) and (max-width:1150px){
 .hero-market-strip .ticker .ticker-name{font-size:11px!important}.hero-market-strip .ticker h3{font-size:14px!important}.hero-market-strip .ticker .delta{font-size:11px!important}.hero-market-strip .ticker{column-gap:5px!important;padding:6px!important}
}
@media(max-width:850px){ .hero-market-strip{position:relative!important;z-index:10!important}.hero{overflow:hidden!important} }

/* V30: keep ticker and metrics in normal document flow, immediately after hero art. */
@media(min-width:851px){
.hero{min-height:0!important;height:auto!important;overflow:visible!important;}
.hero-grid{height:575px!important;min-height:575px!important;padding-top:12px!important;padding-bottom:0!important;}
.device-area{height:535px!important;}
.hero-market-strip{position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;height:auto!important;min-height:162px!important;margin:0!important;padding:9px 0 8px!important;z-index:20!important;background:linear-gradient(180deg,#02132b,#010713)!important;}
.hero-floor{bottom:160px!important;}
.hero-market-strip .ticker-grid{min-height:76px!important;}
.hero-market-strip .ticker{visibility:visible!important;opacity:1!important;}
.hero-stats{min-height:55px!important;}
}
@media(max-width:850px){.hero-market-strip{position:relative!important;height:auto!important;bottom:auto!important;}}

/* V31: reference hero bottom bands; visible without relying on API availability */
@media (min-width:851px){
.hero{height:auto!important;min-height:0!important;overflow:visible!important}
.hero-grid{height:clamp(440px,61vh,545px)!important;min-height:0!important;padding:10px 0 0!important}
.device-area{height:100%!important}
.hero-market-strip{position:relative!important;display:block!important;visibility:visible!important;opacity:1!important;z-index:30!important;margin-top:0!important;padding:10px 0 8px!important;min-height:0!important;border-top:1px solid #f6b936!important}
.hero-market-strip .ticker-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;min-height:0!important;gap:16px!important;margin:0 0 8px!important}
.hero-market-strip .ticker{min-height:76px!important;padding:10px 13px!important;display:grid!important;grid-template-columns:40px minmax(0,1fr) auto!important;grid-template-rows:1fr 1fr!important;align-items:center!important;overflow:hidden!important}
.hero-market-strip .ticker .ticker-top,.hero-market-strip .ticker .ticker-bottom{display:contents!important}
.hero-market-strip .ticker .ticker-icon{grid-column:1!important;grid-row:1 / 3!important}
.hero-market-strip .ticker .ticker-name{grid-column:2!important;grid-row:1!important}
.hero-market-strip .ticker h3{grid-column:2!important;grid-row:2!important;margin:0!important;font-size:clamp(14px,1.25vw,20px)!important}
.hero-market-strip .ticker .ticker-right{grid-column:3!important;grid-row:2!important;min-width:0!important}
.hero-market-strip .ticker .delta{font-size:clamp(10px,.85vw,14px)!important}
.hero-stats{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;min-height:60px!important;margin-top:5px!important;padding:7px 0 0!important}
.hero-stats>div{min-height:53px!important}
.hero-stats strong{font-size:clamp(18px,1.7vw,28px)!important}
.hero-floor{display:none!important}
}
@media(max-width:850px){.hero-market-strip{display:block!important;visibility:visible!important;opacity:1!important}.hero-market-strip .ticker-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.hero-stats{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}}
