/* =============================================================================
   Xchangepairs marketing site  ·  mobile-first
   Loaded only by views/layouts/site.php, on top of xp.css
   ========================================================================== */

/* ---------------------------------------------------------------- keyframes */
@keyframes drift    { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(6%,-8%,0) scale(1.12); } }
@keyframes drift2   { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(-8%,6%,0) scale(.9); } }
@keyframes marquee  { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
@keyframes spin-slow{ to { transform: rotate(360deg); } }
@keyframes draw     { to { stroke-dashoffset: 0; } }
@keyframes slide-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes pop-in   { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes sweep    { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes ring-fill{ from { stroke-dashoffset: 289; } to { stroke-dashoffset: 0; } }

/* ---------------------------------------------------------------- scroll progress + nav */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, var(--brand), #FF6A85); z-index: 60; pointer-events: none; }

.site-nav { position: sticky; top: 0; z-index: 50; height: 60px; background: rgba(11, 14, 17, .72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.site-nav.is-stuck { background: rgba(11, 14, 17, .94); border-bottom-color: var(--line); }
.site-nav .container { height: 100%; display: flex; align-items: center; gap: 16px; }
.site-nav .links { display: none; gap: 2px; }
.site-nav .links a { position: relative; padding: 8px 12px; border-radius: var(--radius-sm); color: var(--text-2); font-weight: 500; font-size: 13.5px; transition: color .2s; }
.site-nav .links a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1.5px; background: var(--brand); transform: scaleX(0); transform-origin: 0 50%; transition: transform .28s var(--ease); }
.site-nav .links a:hover { color: var(--text); }
.site-nav .links a:hover::after, .site-nav .links a.is-active::after { transform: scaleX(1); }
.site-nav .cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.site-menu { position: fixed; inset: 60px 0 auto 0; z-index: 49; background: rgba(22, 26, 31, .98); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); padding: 8px 14px 16px; display: grid; gap: 2px; }
.site-menu a { padding: 13px 10px; border-radius: var(--radius-sm); color: var(--text-2); font-weight: 500; display: flex; align-items: center; gap: 10px; }
.site-menu a:hover, .site-menu a:active { background: var(--s2); color: var(--text); }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; padding: 40px 0 44px; isolation: isolate; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: .22;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 72%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 72%, transparent); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 90% at 22% 45%, rgba(11,14,17,.92) 0%, rgba(11,14,17,.72) 38%, transparent 68%); }
.hero .grid-lines { position: absolute; inset: 0; z-index: -3; background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 50% 0%, #000 25%, transparent 72%); -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 25%, transparent 72%); pointer-events: none; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; z-index: -3; will-change: transform; }
.hero-orb--a { width: 380px; height: 380px; left: -150px; top: -140px; background: radial-gradient(circle, rgba(224,23,63,.5), transparent 65%); animation: drift 18s ease-in-out infinite; }
.hero-orb--b { width: 320px; height: 320px; right: -130px; top: 22%; background: radial-gradient(circle, rgba(77,124,254,.3), transparent 65%); animation: drift2 23s ease-in-out infinite; }
.hero-orb--c { width: 240px; height: 240px; left: 35%; bottom: -140px; background: radial-gradient(circle, rgba(14,203,129,.24), transparent 65%); animation: drift 27s ease-in-out infinite reverse; }
.hero-inner { position: relative; }
.hero-copy { position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(30,35,42,.7); border: 1px solid var(--line-2); font-size: 12px; color: var(--text-2); font-weight: 500; backdrop-filter: blur(6px); }
.hero h1 { font-size: 33px; letter-spacing: -.035em; line-height: 1.05; margin-top: 18px; }
.hero h1 b { color: var(--brand); font-weight: 600; }
.hero h1 .w { display: inline-block; animation: rise .75s var(--ease) both; animation-delay: calc(var(--i,0) * 65ms); }
.hero .lede { color: var(--text-2); font-size: 15.5px; max-width: 46ch; margin-top: 15px; animation: rise .8s .5s var(--ease) both; }
.hero .actions { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; animation: rise .8s .62s var(--ease) both; }
.hero .actions .btn { width: 100%; }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; margin-top: 26px; animation: rise .8s .74s var(--ease) both; }
.hero-stats div { padding: 12px 10px; background: rgba(22,26,31,.72); border: 1px solid var(--line); border-radius: var(--radius-sm); backdrop-filter: blur(6px); }
.hero-stats b { display: block; font-size: 18px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hero-stats span { font-size: 11px; color: var(--text-3); }
.hero-preview { margin-top: 30px; display: grid; gap: 12px; animation: rise .9s .34s var(--ease) both; }
.live-chart { height: 190px; position: relative; }
.live-chart .lc-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--text-3); font-size: 12.5px; }
.live-feed .fr { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 10px; align-items: center; padding: 9px 14px; border-top: 1px solid var(--line); font-size: 12.5px; animation: slide-in .45s var(--ease) both; }
.live-feed .fr .who { font-weight: 600; }
.live-feed .fr .what { color: var(--text-2); }
.live-feed .fr .amt { font-family: var(--mono); font-variant-numeric: tabular-nums; font-weight: 600; }

/* ---------------------------------------------------------------- marquee */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; background: var(--bg); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display: flex; gap: 8px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track > div { flex: none; display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--s1); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 12.5px; white-space: nowrap; }

/* ---------------------------------------------------------------- sections */
.section { padding: 48px 0; position: relative; }
.section + .section { border-top: 1px solid var(--line); }
.section--tint { background: linear-gradient(180deg, rgba(30,35,42,.35), transparent 60%); }
.section-head { margin-bottom: 22px; }
.section-head .kicker { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; letter-spacing: .11em; text-transform: uppercase; color: var(--brand); font-weight: 600; }
.section-head .kicker::before { content: ""; width: 18px; height: 1.5px; background: var(--brand); }
.section-head h2 { font-size: 25px; letter-spacing: -.028em; margin-top: 10px; max-width: 20ch; }
.section-head p { color: var(--text-2); margin-top: 9px; max-width: 52ch; }

/* ---------------------------------------------------------------- try-a-trade demo */
.demo { border: 1px solid var(--line-2); border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(30,35,42,.6), var(--s1)); overflow: hidden; }
.demo-grid { display: grid; }
.demo-panel { padding: 18px; display: grid; gap: 16px; align-content: start; }
.demo-stage { position: relative; border-top: 1px solid var(--line); background: rgba(11,14,17,.55); min-height: 280px; display: flex; flex-direction: column; }
.demo-stage-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.demo-canvas-wrap { position: relative; flex: 1; min-height: 200px; }
.demo-canvas-wrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.demo-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 20px; color: var(--text-3); font-size: 13px; }
.demo-empty .ic { width: 30px; height: 30px; color: var(--text-3); }
.pair-picker { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.pair-pick { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 6px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--s2); cursor: pointer; font-weight: 600; font-size: 12.5px; transition: border-color .18s, background .18s, transform .12s; }
.pair-pick:hover { border-color: var(--text-3); }
.pair-pick:active { transform: scale(.97); }
.pair-pick.is-on { border-color: var(--brand); background: var(--brand-soft); color: #fff; }
.side-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.side-pick button { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: var(--s2); font-weight: 600; color: var(--text-2); transition: all .18s; }
.side-pick button:hover { border-color: var(--text-3); color: var(--text); }
.side-pick button.is-on[data-side="up"] { background: var(--up); border-color: var(--up); color: #04120B; }
.side-pick button.is-on[data-side="down"] { background: var(--down); border-color: var(--down); color: #fff; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 2px; background: var(--s4); outline: none; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--brand); border: 3px solid #fff; cursor: grab; box-shadow: 0 2px 8px rgba(0,0,0,.5); transition: transform .12s; }
.range::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.12); }
.range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--brand); border: 3px solid #fff; cursor: grab; }
.demo-result { padding: 14px 16px; border-top: 1px solid var(--line); display: grid; gap: 4px; animation: pop-in .3s var(--ease) both; }
.demo-result .r-head { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.demo-result.is-win { background: linear-gradient(180deg, var(--up-soft), transparent); }
.demo-result.is-lose { background: linear-gradient(180deg, var(--down-soft), transparent); }
.ring { width: 42px; height: 42px; transform: rotate(-90deg); flex: none; }
.ring circle { fill: none; stroke-width: 4; }
.ring .track { stroke: var(--s4); }
.ring .bar { stroke: var(--brand); stroke-linecap: round; stroke-dasharray: 289; }
.ring-wrap { position: relative; display: inline-flex; }
.ring-wrap span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 11.5px; font-family: var(--mono); font-weight: 600; }

/* ---------------------------------------------------------------- markets */
.mkt-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.mkt-tabs::-webkit-scrollbar { display: none; }
.mkt-row { cursor: pointer; }
.mkt-row td { transition: background .18s; }

/* ---------------------------------------------------------------- bento features */
.bento { display: grid; gap: 12px; }
.bento-card { position: relative; overflow: hidden; padding: 20px; background: var(--s1); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.bento-card::before { content: ""; position: absolute; inset: 0; opacity: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(224,23,63,.13), transparent 45%); transition: opacity .35s; pointer-events: none; }
.bento-card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 20px 44px rgba(0,0,0,.4); }
.bento-card:hover::before { opacity: 1; }
.bento-card .f-ic { width: 40px; height: 40px; border-radius: 11px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; transition: box-shadow .3s, transform .3s; }
.bento-card:hover .f-ic { box-shadow: 0 0 0 6px var(--brand-soft); transform: translateY(-2px); }
.bento-card h3 { font-size: 15.5px; margin-bottom: 6px; }
.bento-card p { color: var(--text-2); font-size: 13.5px; }
.bento-visual { margin-top: 16px; }
.mini-alloc { display: flex; height: 6px; border-radius: 3px; overflow: hidden; background: var(--s3); }
.mini-alloc i { display: block; height: 100%; transition: width 1.1s var(--ease); }
.mini-candles { display: flex; align-items: flex-end; gap: 4px; height: 54px; }
.mini-candles i { flex: 1; border-radius: 2px; background: var(--up); opacity: .85; transition: height .5s var(--ease), background .5s; align-self: flex-end; }
.mini-candles i.dn { background: var(--down); }
.stack-avatars { display: flex; }
.stack-avatars .avatar { margin-left: -10px; border: 2px solid var(--s1); animation: pop-in .4s var(--ease) both; }
.stack-avatars .avatar:first-child { margin-left: 0; }
.shield-check { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--text-2); }
.shield-check i { width: 18px; height: 18px; border-radius: 50%; background: var(--up-soft); color: var(--up); display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 11px; font-weight: 700; }

/* ---------------------------------------------------------------- how it works */
.how { display: grid; gap: 12px; counter-reset: step; position: relative; }
.how > div { position: relative; display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 14px; padding: 18px; background: var(--s1); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .28s var(--ease), border-color .28s; }
.how > div:hover { transform: translateY(-3px); border-color: var(--line-2); }
.how > div::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--mono); font-weight: 600; color: var(--brand); font-size: 15px; padding-top: 2px; }
.how > div.is-in::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--brand), transparent); border-radius: 2px 0 0 2px; animation: rise .6s var(--ease) both; }
.how h3 { font-size: 15px; margin-bottom: 5px; }
.how p { color: var(--text-2); font-size: 13.5px; }

/* ---------------------------------------------------------------- calculator */
.calc { display: grid; gap: 16px; padding: 20px; background: var(--s1); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.calc-out { display: grid; gap: 12px; padding: 18px; border-radius: var(--radius); background: linear-gradient(150deg, rgba(14,203,129,.12), rgba(11,14,17,.4)); border: 1px solid rgba(14,203,129,.25); }
.calc-out .big { font-size: 30px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.calc-bars { display: flex; align-items: flex-end; gap: 5px; height: 64px; }
.calc-bars i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--up), rgba(14,203,129,.25)); transition: height .5s var(--ease); }
.calc-note { font-size: 11.5px; color: var(--text-3); }

/* ---------------------------------------------------------------- traders */
.trader-rail { display: grid; gap: 12px; }
.trader-card { display: flex; flex-direction: column; gap: 14px; padding: 18px; background: var(--s1); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .28s var(--ease), border-color .28s, box-shadow .28s; }
.trader-card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 20px 44px rgba(0,0,0,.4); }
.trader-card .roi { font-size: 24px; font-weight: 600; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.trader-card .mini { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; font-size: 11.5px; color: var(--text-3); }
.trader-card .mini b { display: block; font-size: 13px; color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.trader-card .curve { height: 56px; }
.trader-card .curve svg { width: 100%; height: 100%; overflow: visible; }
.trader-card .curve path.line { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 620; stroke-dashoffset: 620; }
.trader-card.is-in .curve path.line { animation: draw 1.5s var(--ease) forwards; }
.trader-card .curve path.fill { opacity: 0; transition: opacity .7s .8s; }
.trader-card.is-in .curve path.fill { opacity: 1; }

/* ---------------------------------------------------------------- trust */
.trust { display: grid; gap: 10px; }
.trust > div { display: flex; gap: 12px; align-items: flex-start; padding: 16px; background: var(--s1); border: 1px solid var(--line); border-radius: var(--radius); }
.trust .t-ic { width: 38px; height: 38px; border-radius: 11px; background: var(--s3); display: flex; align-items: center; justify-content: center; color: var(--text); flex: none; }
.trust b { display: block; font-size: 13.5px; margin-bottom: 3px; }
.trust span { color: var(--text-2); font-size: 13px; }

/* ---------------------------------------------------------------- faq */
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--s1); padding: 0 16px; transition: border-color .2s; }
.faq details[open] { border-color: var(--line-2); }
.faq details + details { margin-top: 8px; }
.faq summary { cursor: pointer; padding: 15px 0; font-weight: 500; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 10px; height: 10px; flex: none; border-right: 1.6px solid var(--text-3); border-bottom: 1.6px solid var(--text-3); transform: rotate(45deg) translate(-2px,-2px); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px,-2px); }
.faq .faq-body { overflow: hidden; }
.faq details p { color: var(--text-2); padding: 0 0 15px; font-size: 13.5px; max-width: 62ch; }

/* ---------------------------------------------------------------- cta + footer */
.cta-band { position: relative; overflow: hidden; isolation: isolate; padding: 34px 20px; border-radius: var(--radius-lg); text-align: center; border: 1px solid rgba(224,23,63,.32); }
.cta-band::before { content: ""; position: absolute; inset: -60%; z-index: -2; background: conic-gradient(from 0deg, transparent 0 58%, rgba(224,23,63,.45) 76%, transparent 92%); animation: spin-slow 10s linear infinite; }
.cta-band::after { content: ""; position: absolute; inset: 1px; z-index: -1; border-radius: calc(var(--radius-lg) - 1px); background: linear-gradient(140deg, rgba(224,23,63,.16), rgba(11,14,17,.97) 58%); }
.cta-band h2 { font-size: 25px; letter-spacing: -.028em; }
.cta-band p { color: var(--text-2); margin-top: 9px; }
.cta-band .btn { margin-top: 20px; width: 100%; }
.site-footer { border-top: 1px solid var(--line); padding: 34px 0 calc(26px + env(safe-area-inset-bottom)); color: var(--text-3); font-size: 12.5px; }
.site-footer .cols { display: grid; gap: 24px; }
.site-footer h4 { color: var(--text); font-size: 13px; margin-bottom: 10px; }
.site-footer a { display: block; padding: 4px 0; color: var(--text-2); transition: color .18s, transform .18s; }
.site-footer a:hover { color: var(--text); transform: translateX(2px); }
.site-footer .legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.to-top { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); width: 42px; height: 42px; border-radius: 50%; background: var(--s3); border: 1px solid var(--line-2); color: var(--text); display: flex; align-items: center; justify-content: center; z-index: 45; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .25s, transform .25s, background .2s; }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------------------------------------------------------------- contact */
.contact-info { display: grid; gap: 10px; }
.contact-info > div { display: flex; gap: 12px; align-items: flex-start; padding: 14px; background: var(--s1); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-info .c-ic { width: 36px; height: 36px; border-radius: 10px; background: var(--s3); display: flex; align-items: center; justify-content: center; color: var(--text); flex: none; }
.contact-info b { display: block; font-size: 13.5px; }
.contact-info span { color: var(--text-2); font-size: 13px; }

/* ---------------------------------------------------------------- breakpoints */
@media (min-width: 601px) {
  .hero { padding: 60px 0 56px; }
  .hero h1 { font-size: 46px; }
  .hero .actions { flex-direction: row; }
  .hero .actions .btn { width: auto; }
  .hero-stats { max-width: 540px; }
  .section { padding: 68px 0; }
  .section-head h2 { font-size: 31px; }
  .demo-panel { padding: 22px; }
  .bento { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .how { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .trader-rail { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .trust { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .calc { grid-template-columns: minmax(0,1fr) minmax(0,280px); align-items: start; }
  .cta-band { padding: 46px 32px; }
  .cta-band h2 { font-size: 31px; }
  .cta-band .btn { width: auto; }
  .site-footer .cols { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .site-footer .legal { flex-direction: row; justify-content: space-between; }
  .live-chart { height: 210px; }
}
@media (min-width: 861px) {
  .site-nav .links { display: flex; }
  .hero { padding: 76px 0 68px; }
  .hero h1 { font-size: 56px; }
  .hero-inner { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: 44px; align-items: center; }
  .hero-preview { margin-top: 0; }
  .hero-orb--a { width: 600px; height: 600px; }
  .hero-canvas { left: 34%; width: 66%; opacity: .3;
    mask-image: linear-gradient(90deg, transparent, #000 22%, #000 88%, transparent), linear-gradient(180deg, transparent, #000 26%, #000 74%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 88%, transparent), linear-gradient(180deg, transparent, #000 26%, #000 74%, transparent);
    -webkit-mask-composite: source-in; mask-composite: intersect; }
  .hero::after { background: radial-gradient(70% 80% at 14% 45%, rgba(11,14,17,.9) 0%, rgba(11,14,17,.55) 45%, transparent 72%); }
  .demo-grid { grid-template-columns: 320px minmax(0,1fr); }
  .demo-stage { border-top: 0; border-left: 1px solid var(--line); }
  .bento { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .bento-card--wide { grid-column: span 2; }
  .trader-rail { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .trust { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .contact-layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 24px; align-items: start; }
  .to-top { right: 24px; bottom: 24px; }
}

/* ---------------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-orb, .marquee-track, .cta-band::before, .hero h1 .w,
  .hero .lede, .hero .actions, .hero-stats, .hero-preview, .live-feed .fr { animation: none !important; }
  .trader-card .curve path.line { stroke-dashoffset: 0; animation: none; }
  .trader-card .curve path.fill { opacity: 1; }
  .hero-canvas { display: none; }
  .bento-card:hover, .how > div:hover, .trader-card:hover { transform: none; }
}

/* market tab pills */
.mkt-tabs .btn.is-active { background: var(--s3); color: var(--text); border-color: var(--s3); }
