/* TradeDVA CI, based on the supplied light and dark brand boards. */
:root{--bg:#071326;--panel:#0a1b33;--panel2:#102440;--line:#2e3e5c;--text:#f2f6ff;--muted:#a7b8d4;--gold:#4398ff;--green:#00d6a0;--red:#f2869e;--ci-blue:#2563ff;--ci-violet:#885cf6;--ci-soft:#102440;--ci-shadow:0 20px 65px #0005;--ci-header:#06152beb;color-scheme:dark}
:root[data-theme=light]{--bg:#f5f8ff;--panel:#fff;--panel2:#edf3ff;--line:#dce5f5;--text:#081232;--muted:#536480;--gold:#2563ff;--green:#008466;--red:#c43656;--ci-soft:#edf3ff;--ci-shadow:0 16px 50px #2b57a515;--ci-header:#f8faffed;color-scheme:light}
body{background:var(--bg);color:var(--text)}.landing,.member-site{background:radial-gradient(ellipse at 75% 0,#1679e51b,transparent 55%),var(--bg);color:var(--text)}
.brand{gap:9px!important;letter-spacing:-1px!important;flex-shrink:0}.td-symbol{width:57px;height:44px;flex-shrink:0;filter:drop-shadow(0 2px 3px #0002)}.td-wordmark{font:800 25px/1 'Manrope',sans-serif;letter-spacing:-1px;color:var(--text);white-space:nowrap}.td-wordmark>span{color:#039dff}.td-wordmark small{display:block;font-size:6px;letter-spacing:2px;font-weight:600;margin-top:7px}.theme-switch{width:38px;height:38px;flex-shrink:0;border:1px solid var(--line);border-radius:50%;background:var(--panel);color:var(--text);font-size:20px;display:inline-grid;place-items:center;transition:background .2s,transform .2s}.theme-switch:hover{background:var(--ci-soft);transform:rotate(12deg)}
.site-header,.site-header.is-scrolled{background:var(--ci-header)!important;border-color:var(--line)!important;backdrop-filter:blur(18px)}.site-header .header-inner{max-width:1500px;height:94px;padding:0 38px;gap:26px!important}.site-header #main-nav{margin-left:auto}.site-header .header-actions{gap:12px}.site-header .header-actions>.button{border-radius:50px}.site-header .brand{margin-right:auto}.site-header .mega-nav{gap:23px}.site-header .mega-nav>a,.mega summary{color:var(--text)}
.button{background:linear-gradient(110deg,#00c4f3 0%,#0968ff 40%,#913cf7 100%)!important;color:white!important;border:1px solid #84b8ff99!important;border-radius:30px!important;box-shadow:0 7px 24px #2563ff24;font-weight:650}.button:before,.button:after{display:none!important}.button.secondary{background:var(--panel)!important;color:var(--text)!important;border:1px solid var(--line)!important;box-shadow:none}.button.secondary:hover{background:var(--ci-soft)!important}.section-kicker,.gold,.text-button.gold{color:var(--gold)!important}
.hero.ci-hero{position:relative;display:block;isolation:isolate;max-width:1560px;width:calc(100% - 36px);min-height:570px;height:auto;margin:112px auto 22px;padding:65px 48px 32px;border:1px solid #3788c4;border-radius:25px;overflow:hidden;background:#021127;text-align:left;box-shadow:0 0 65px #1478ff15}.ci-hero:before,.ci-hero:after{display:none!important}.ci-hero-art{position:absolute;z-index:-1;right:-1px;bottom:0;width:62%;height:auto;aspect-ratio:930/480;background-image:url('/assets/ci-dark-reference.png');background-size:179.57% 196.04%;background-position:100% 56.4%;mask-image:linear-gradient(to right,transparent 0%,#000 14%,#000 96%,transparent 100%),linear-gradient(to bottom,transparent 0%,#000 7%,#000 96%,transparent 100%);mask-composite:intersect;pointer-events:none}.ci-hero-content{position:relative;width:57%;max-width:730px}.ci-eyebrow{font-size:11px;font-weight:700;letter-spacing:3.5px;display:flex;gap:20px;align-items:center;margin-bottom:22px}.ci-eyebrow i{width:45px;height:3px;background:linear-gradient(90deg,#00d6ef,#b43dff)}.hero.ci-hero h1{font-size:clamp(40px,4.6vw,68px);line-height:1.09;letter-spacing:-2.6px;font-weight:800;max-width:none;margin:0 0 22px;color:#f6f8ff;text-align:left}.ci-hero h1 em{font-style:italic;background:linear-gradient(100deg,#00b5f4,#2864ff 44%,#c65af1);background-clip:text;-webkit-background-clip:text;color:transparent;white-space:nowrap}.ci-intro{font-size:17px;line-height:1.5;color:#e4ecfd;max-width:530px}.ci-actions{display:flex;gap:16px;margin-top:25px;align-items:center}.ci-actions .button{padding:13px 26px;min-height:48px;font-size:13px;gap:12px}.ci-pillars{display:grid;grid-template-columns:repeat(5,1fr);margin-top:30px;max-width:600px}.ci-pillars a{text-align:center;position:relative;display:grid;justify-items:center;gap:3px;padding:0 10px}.ci-pillars a+a:before{content:'';position:absolute;left:0;bottom:0;width:1px;height:42px;background:#729bd64d}.ci-pillars i{font-style:normal;font-size:28px;line-height:1.2;color:#9dc8ff}.ci-pillars strong{font-size:12px;color:#f3f7ff}.ci-pillars small{font-size:10px;color:#c4d8f2;white-space:nowrap}.ci-preview-note{font-size:9px;color:#7e9ec4;display:block;margin-top:20px}.hero.ci-hero .motion-control{right:20px;bottom:12px;left:auto;color:#a9c7ea;background:#081b32c0;font-size:10px;padding:7px 12px;z-index:2}
[data-theme=light] .hero.ci-hero{background:#f8faff;border-color:#d9e5ff;box-shadow:0 12px 60px #3177d314}[data-theme=light] .ci-hero-art{background-image:url('/assets/ci-light-reference.png')}[data-theme=light] .hero.ci-hero h1{color:#061039}[data-theme=light] .ci-intro{color:#0c1834}[data-theme=light] .ci-pillars strong{color:#0b1433}[data-theme=light] .ci-pillars small{color:#4a5f83}[data-theme=light] .ci-pillars i{color:#1683ff}[data-theme=light] .hero.ci-hero .motion-control{background:#eaf1ff;color:#405a7d}
/* Shared surfaces: all existing views participate in the same theme. */
.member-header,.member-footer,.terminal-header,.terminal-footer,.sidebar,.workflow,.market-strip{background:var(--panel)!important;border-color:var(--line)!important;color:var(--text)!important}.member-main{color:var(--text)}.panel,.price-card,.member-plan,.service-card,.detail-panel,.access-panel,.terminal-preview,.feature-large,.feature-stack article,.scan-showcase,.workspace-tour,.research-card,.market-card,.demo-card,.context-panel,.study-result,.scenario-grid>div,.member-pass,.tour-frame,.quiz-dialog,.trade-dialog,.member-dialog{background:var(--panel)!important;border-color:var(--line)!important;color:var(--text)!important;box-shadow:var(--ci-shadow)}.member-plan.highlight,.price-card.featured{border-color:#458cff!important;background:linear-gradient(145deg,var(--panel),var(--ci-soft))!important}.plan-ribbon,.popular{background:linear-gradient(100deg,#1a87ff,#885cf6)!important;color:#fff!important}.member-price,.member-plan h2,.service-card h2,.member-pass h2,.member-heading h1,.workspace-heading h1{color:var(--text)}.member-heading p,.member-plan li,.member-plan p,.member-notice,.detail-panel p,.access-panel p,.service-card p,.member-manage p,.member-pass p,.member-pass>div,.member-compare th,.member-compare td{color:var(--muted)}.member-notice,.member-compare td,.member-compare th,.member-plan ul{border-color:var(--line)}.plan-index,.plan-saving,.service-card>span,.member-notice>span,.member-pass>span{color:var(--gold)}.mega-panel{background:var(--panel)!important;border-color:var(--line)!important;box-shadow:var(--ci-shadow)}.mega-panel b{color:var(--text)}.mega-panel small{color:var(--muted)}.mega-panel a:hover{background:var(--ci-soft)}.mega-panel .luxury-icon-frame{background:linear-gradient(145deg,var(--ci-soft),var(--panel));border-color:var(--line)}.language-select select,.segmented,.bot-config select,input,textarea,select{background:var(--panel)!important;color:var(--text)!important;border-color:var(--line)!important}.segmented button{color:var(--muted)}.segmented button[aria-pressed=true]{background:#2563ff;color:#fff}.access-status,.setup-items label,.insight-topics details{border-color:var(--line)}.member-footer a,.member-footer span{color:var(--muted)}.member-header .theme-switch{order:3;margin-left:auto}.member-header .language-select{margin-left:0;order:4}.member-terminal{order:5}.member-header .mega-nav{margin-left:auto}.member-header{gap:22px}.sidebar .brand{gap:5px!important}.sidebar .td-symbol{width:35px}.sidebar .td-wordmark{font-size:19px}.sidebar .td-wordmark small{font-size:4px;letter-spacing:1.2px}
[data-theme=light] .preview-top,[data-theme=light] .preview-rail,[data-theme=light] .preview-aside,[data-theme=light] .preview-bottom,[data-theme=light] .chart-toolbar,[data-theme=light] .chart-footer,[data-theme=light] .tour-chrome,[data-theme=light] .scan-stage,[data-theme=light] .scan-upload,[data-theme=light] .scan-results,[data-theme=light] .research-card-header,[data-theme=light] .terminal-content,[data-theme=light] .workspace-body,[data-theme=light] .service-visual{background:var(--panel)!important;color:var(--text)!important;border-color:var(--line)!important}[data-theme=light] .preview-value,[data-theme=light] .preview-brand,[data-theme=light] .preview-market b,[data-theme=light] .market-name,[data-theme=light] .market-card strong,[data-theme=light] .chart-meta strong,[data-theme=light] .context-bias strong,[data-theme=light] .panel-title h3,[data-theme=light] .study-note p,[data-theme=light] .study-result h3,[data-theme=light] .faq-list summary,[data-theme=light] .steps h3{color:var(--text)!important}[data-theme=light] .study-note,[data-theme=light] .floating-note,[data-theme=light] .watch-chips span,[data-theme=light] .timeframes,[data-theme=light] .market-filters,[data-theme=light] .demo-notice,[data-theme=light] .demo-badge,[data-theme=light] .tiny-tag,[data-theme=light] .study-toggle{background:var(--ci-soft)!important;color:#315eaa!important;border-color:var(--line)!important}[data-theme=light] .sidebar nav button,[data-theme=light] .breadcrumbs,[data-theme=light] .back-link,[data-theme=light] .profile,[data-theme=light] .preview-rail,[data-theme=light] .market-filters button,[data-theme=light] .timeframes button{color:var(--muted)}[data-theme=light] .sidebar nav button.active,[data-theme=light] .market-filters button.active,[data-theme=light] .timeframes button.active{background:#e4edff;color:#2563ff}[data-theme=light] .candle-chart text{fill:#5b6d89}[data-theme=light] .candle-chart line[stroke="#202629"]{stroke:#dce5f5}[data-theme=light] .candle-chart rect[fill="#315447"]{fill:#c4efdf}[data-theme=light] .table-scroll tr,[data-theme=light] .faq-list details,[data-theme=light] .footer-bottom{border-color:var(--line)}[data-theme=light] .study-wall{background:var(--bg)}[data-theme=light] .study-wall:before,[data-theme=light] .study-wall:after{display:none}[data-theme=light] .final-cta{background:radial-gradient(ellipse,#dceaff55,transparent 60%)}[data-theme=light] .option{background:var(--panel);color:var(--text);border-color:var(--line)}[data-theme=light] .motion-control{color:var(--text)}[data-theme=light] .tour-caption,[data-theme=light] .scan-copy p,[data-theme=light] .research-card p{color:var(--muted)}
@media(min-width:1500px){.hero.ci-hero{min-height:620px}.ci-hero-art{width:63%}.ci-hero-content{padding-top:8px}}
@media(max-width:1150px){.site-header .header-inner{padding:0 22px;gap:15px!important}.site-header .mega-nav{gap:15px;font-size:12px}.td-symbol{width:43px}.td-wordmark{font-size:21px}.site-header .header-actions>.button{display:none}.hero.ci-hero{padding:50px 32px 30px;min-height:530px}.ci-hero-content{width:62%}.hero.ci-hero h1{font-size:49px}.ci-intro{font-size:15px}.ci-actions{gap:10px}.ci-actions .button{padding:12px 18px;font-size:12px}.ci-pillars small{font-size:8px}.ci-hero-art{width:62%;opacity:.9}.member-header{flex-wrap:wrap}}
@media(max-width:800px){.hero.ci-hero{padding:35px 25px 280px;margin-top:96px;min-height:0;width:calc(100% - 24px);border-radius:20px}.ci-hero-content{width:100%;max-width:610px}.hero.ci-hero h1{font-size:clamp(35px,7.2vw,54px);letter-spacing:-1.8px}.ci-intro{font-size:14px}.ci-hero-art{width:100%;max-width:650px;height:300px;aspect-ratio:auto;bottom:0;right:0;opacity:1;background-size:179.57% 196.04%}.ci-eyebrow{font-size:9px;letter-spacing:2.4px;margin-bottom:19px}.ci-pillars{margin-top:26px}.ci-pillars a{padding:0 5px}.ci-pillars strong{font-size:11px}.ci-pillars small{white-space:normal;font-size:9px}.ci-preview-note{margin-top:14px}.ci-actions .button{padding:12px 18px;font-size:12px}.site-header .header-inner{height:78px;padding:0 18px}.site-header .td-wordmark{font-size:19px}.site-header .td-symbol{width:42px}.site-header .language-select select{max-width:94px;padding:8px 5px}.site-header .language-select>span{display:none}.theme-switch{width:33px;height:33px;font-size:18px}.site-header .header-actions{gap:8px}.member-header>.brand{order:0}.member-header>.theme-switch{order:1;margin-left:auto}.member-header>.language-select{order:2}.member-header>.mega-nav{order:4}.member-header>.member-terminal{display:none}.member-header .td-wordmark{font-size:21px}.terminal-header-right .language-select{display:none}}
@media(max-width:420px){.hero.ci-hero{padding:30px 20px 235px}.ci-hero-art{height:245px}.ci-eyebrow{font-size:8px;letter-spacing:2px;gap:12px}.hero.ci-hero h1{font-size:35px}.ci-intro{font-size:13px}.ci-actions{gap:8px}.ci-actions .button{font-size:10px;padding:11px 13px;gap:7px;min-height:42px}.ci-pillars i{font-size:25px}.ci-pillars strong{font-size:9px}.ci-pillars small{font-size:8px}.site-header .td-wordmark{font-size:17px}.site-header .td-wordmark small{font-size:4px;letter-spacing:1.5px}.site-header .td-symbol{width:34px}.site-header .header-inner{padding:0 12px}.site-header .language-select select{max-width:78px}.member-header{padding:16px 12px;gap:9px}.member-header .td-wordmark{font-size:18px}.member-header .td-symbol{width:36px}}
@media(prefers-reduced-motion:reduce){.theme-switch{transition:none}.theme-switch:hover{transform:none}}
@media(min-width:801px){.ci-pillars{max-width:440px}.ci-pillars a{padding:0 5px}.ci-pillars strong{font-size:11px}.ci-pillars small{font-size:8px}.ci-hero-art{width:60%;top:45px;bottom:auto}.ci-hero-content{width:52%}}
.study-wall-card{background:var(--panel)!important;border-color:var(--line)!important;color:var(--text)!important}.study-wall-card h3{color:var(--text)!important}.study-wall-card p,.study-wall-card small,.study-wall-card>div>span{color:var(--muted)!important}.study-wall-card .wall-avatar{background:var(--ci-soft);color:var(--gold)!important}.member-terminal{color:var(--gold)}
[data-theme=light] .market-card>span,[data-theme=light] .context-level b,[data-theme=light] .context-level span,[data-theme=light] .scan-status-text,[data-theme=light] .preview-market small,[data-theme=light] .aside-heading,[data-theme=light] .mini-market,[data-theme=light] .preview-chart-label,[data-theme=light] .tour-heading h3,[data-theme=light] .scan-copy h3,[data-theme=light] .workspace-tour h3{color:var(--text)!important}[data-theme=light] .context-level,[data-theme=light] .panel-title,[data-theme=light] .preview-top,[data-theme=light] .preview-bottom{border-color:var(--line)!important}

/* Extend the studio floor beneath the reference artwork without fading the device base. */
@media(min-width:801px){.ci-hero-art{width:62%;top:45px;filter:drop-shadow(0 24px 24px #020b1c)}.hero.ci-hero{background:radial-gradient(ellipse at 76% 85%,#123153 0%,#071b33 22%,#021127 52%)}[data-theme=light] .hero.ci-hero{background:radial-gradient(ellipse at 76% 85%,#dce6f7 0%,#eef3fc 22%,#f8faff 52%)}[data-theme=light] .ci-hero-art{filter:drop-shadow(0 24px 24px #a9b9d350)}}

/* A separate, interactive globe stays behind the stationary devices. */
.ci-globe{position:absolute;z-index:0;width:clamp(280px,32vw,480px);height:auto;aspect-ratio:1;right:-85px;top:65px;cursor:grab;touch-action:none;border-radius:50%;outline-offset:-35px}.ci-globe:active{cursor:grabbing}.ci-globe:focus-visible{outline:2px solid #41caff}.ci-hero-art{z-index:1;mask-image:linear-gradient(to right,transparent 0%,#000 14%,#000 78%,transparent 82%),linear-gradient(to bottom,transparent 0%,#000 7%,#000 96%,transparent 100%)}.ci-hero-content{z-index:2}
@media(max-width:800px){.ci-globe{top:auto;bottom:25px;right:-65px;width:280px}.ci-hero-art{mask-image:linear-gradient(to right,transparent 0%,#000 14%,#000 78%,transparent 82%),linear-gradient(to bottom,transparent 0%,#000 7%,#000 96%,transparent 100%)}}
@media(max-width:420px){.ci-globe{width:230px;bottom:20px;right:-65px}}

.ci-globe.globe-unavailable{visibility:hidden}.ci-hero:has(.globe-unavailable) .ci-hero-art{mask-image:linear-gradient(to right,transparent,#000 14%,#000 96%,transparent),linear-gradient(to bottom,transparent,#000 7%,#000 96%,transparent)}

.ci-hero.globe-load-failed .ci-hero-art{mask-image:linear-gradient(to right,transparent,#000 14%,#000 96%,transparent),linear-gradient(to bottom,transparent,#000 7%,#000 96%,transparent)}

@media(min-width:801px){.ci-globe{top:0}}
