/* Deep black with localized light, as requested. Keep the existing page geometry. */
:root[data-theme=dark]{
  --paper:#020305;
  --paper-2:#080b10;
  --surface:#111720;
  --surface-hover:#19222c;
  --ink:#f5f5f3;
  --ink-2:#d6d9df;
  --muted:#a8afb8;
  --quiet:#8d96a3;
  --gold:#d6b46d;
  --gold-bright:#f2dcaa;
  --gold-line:#786137;
  --line:#27303a;
  --hero-light:radial-gradient(ellipse 44% 68% at 88% 44%,rgb(155 106 37 / .20),transparent 70%),radial-gradient(ellipse 68% 78% at 72% 66%,rgb(14 56 107 / .50),transparent 73%),linear-gradient(115deg,#000 0%,#010308 40%,#061020 76%,#010307 100%);
  --panel-light:linear-gradient(140deg,#111720 0%,#090d13 42%,#040609 100%);
  --gold-metal:linear-gradient(110deg,#b88b42 0%,#edcf8c 45%,#d3ad62 72%,#b88b42 100%);
}
body,.hero,.hero-art,.awards-ribbon,.markets .products-board,.mt5-section,footer{background-color:var(--paper)}
.hero-art{background-image:url('./assets/cosmos-particle-fallback.svg'),url('./assets/atmosphere-ribbons.svg'),var(--hero-light)}
.hero.cosmos-ready .hero-art{background-image:url('./assets/atmosphere-ribbons.svg'),var(--hero-light)}
/* Light stays at the edges; the central reading surface remains deep black. */
main{background:radial-gradient(ellipse 70% 18% at 100% 19%,#071a32 0%,transparent 73%),radial-gradient(ellipse 50% 12% at 0% 37%,#17130d 0%,transparent 76%),radial-gradient(ellipse 80% 17% at 8% 77%,#07152c 0%,transparent 76%),#020305}
.awards-ribbon{background:transparent}
.trading-benefits,.markets,.trust-section,.market-view{background:transparent}
.global-network{background:radial-gradient(ellipse 76% 60% at 100% 50%,#0a213a 0%,#050d18 50%,#020305 100%)}
.faq{background:linear-gradient(135deg,#0b1119 0%,#030507 60%,#000 100%)}
.hero h1{background-image:linear-gradient(100deg,#fff 10%,#f4f4f2 46%,#b7c0cc 100%)}
.hero-copy,.hero-foot,.text-link,.site-header.panel-open .text-link{color:var(--muted)}
.hero-actions .button-secondary{background:linear-gradient(135deg,rgb(34 43 55 / .70),rgb(5 8 12 / .88));border-color:#626875;color:var(--ink);box-shadow:inset 0 1px 0 #ffffff0a}
.hero-actions .button-secondary:hover{background:var(--surface-hover);border-color:var(--gold);color:var(--gold-bright)}
.button,.header-actions .button,.resource-next,.contact-submit{background:var(--gold-metal);border-color:#d7b571;color:#100d07;box-shadow:inset 0 1px 0 #fff5,0 4px 24px #b78b3520}
.button:hover,.header-actions .button:hover,.resource-next:hover,.contact-submit:hover{background:linear-gradient(110deg,#d1ab65,#f3dcaa 48%,#d1ab65);border-color:var(--gold-bright);color:#100d07}
.scroll-line{background:var(--line)}
.site-header.panel-open:before{background:linear-gradient(110deg,#030507,#0b111b 65%,#030507)}
.language-options{background:linear-gradient(145deg,#0c131e,#030507 80%)}
.language-options>a:is([aria-current=true],:hover){background:var(--surface);color:var(--gold-bright)}
.language-options>p,.language-options>small,.nav-column>h2{color:var(--muted)}
.nav-backdrop{background:rgb(0 0 0 / .58)}
.menu-button,.resource-close{border-color:#57544d}
.resource-dialog,.lesson-example{background:var(--panel-light);border-color:var(--line)}
.resource-dialog p{color:var(--muted)}
.resource-top,.resource-bottom{color:var(--gold)}
.resource-bottom,.resource-dialog details{border-color:var(--line)}
.section-head h2 span,.platform h2 em{color:var(--gold-bright)}
.benefit-card{background:var(--panel-light);border-color:var(--line);box-shadow:inset 0 1px 0 #ffffff06,0 16px 48px #0003}
.benefit-leverage{background:radial-gradient(ellipse at 8% 0%,#2a2112 0%,#14110c 42%,#06080c 100%);border-color:var(--gold-line)}
.benefit-icon,.benefit-leverage .benefit-icon{background:linear-gradient(135deg,#252014,#0c0d0e);border-color:#50432c;color:var(--gold-bright)}
.benefit-eyebrow,.benefit-leverage .benefit-eyebrow,.leverage-message>span{color:var(--muted)}
.benefit-description,.benefit-leverage .benefit-description{color:var(--muted)}
.leverage-message strong{color:#eee0c3}
.leverage-message strong span,.hours-visual>span>span,.stopout-number strong span{color:var(--gold)}
.benefit-risk{background:linear-gradient(110deg,#111820,#06090e 70%)}
.benefits-note,.stopout-number>span{color:var(--quiet)}
.hours-visual i{background:#96815c}
.hours-visual i:nth-last-child(-n+2){background:var(--gold-bright)}
.spread-visual i{background:var(--gold-line)}
.spread-visual b{color:var(--ink)}
.markets .ranking-board,.ranking-board .products-scroll{background:transparent}
.markets .product-tabs button,.markets .product-table thead th{color:var(--muted)}
.markets .product-name small,.markets .products-note,.trend-pending{color:var(--quiet)}
.markets .ranking-table .price-pending{color:var(--muted)}
.trend-pending{border-color:#5c5850}
.ranking-trade{border-color:#5c5850;color:var(--ink)}
.ranking-trade:hover{background:var(--surface);border-color:var(--gold);color:var(--gold-bright)}
.network-heading>p{color:var(--muted)}
.network-stats strong{color:var(--ink)}
.network-map-frame{background:radial-gradient(ellipse at 79% 38%,#10243a 0%,#06101b 40%,#020406 78%);border-color:#303d4d}
.network-map-caption>span:first-child{color:var(--gold)}
.network-route{stroke:#9a835b}
.network-route.is-active{stroke:var(--gold-bright)}
.network-node .node-core{fill:var(--gold);stroke:var(--paper)}
.network-node.is-active .node-core{fill:var(--gold-bright)}
.node-ring{fill:rgb(198 173 128 / .04);stroke:var(--gold)}
.network-node.is-active .node-ring{stroke:var(--gold-bright)}
.network-node .node-hit{fill:#04070b;fill-opacity:.94}
.network-node .node-leader{stroke:#ad9469}
.node-name{fill:var(--ink)}
.node-english{fill:var(--muted)}
.network-node:hover .node-name,.network-node:focus .node-name{fill:var(--gold-bright)}
.network-node:hover .node-ring,.network-node:focus .node-ring{stroke:var(--gold-bright)}
.network-map-scroll{scrollbar-color:var(--gold-line) var(--paper)}
.trust-grid>article{background:var(--panel-light);border-color:var(--line);box-shadow:inset 0 1px 0 #ffffff06,0 16px 48px #0003}
.trust-grid .credential-band{background:radial-gradient(ellipse at 50% 0%,#211b10 0%,#0b0d11 55%,#040609 100%)}
.trust-grid .credential-main p,.trust-grid .partner-list{color:var(--ink-2)}
.trust-grid .credential-main>a{border-color:var(--gold-line)}
.insight-panel{background:var(--panel-light);border-color:var(--line);box-shadow:inset 0 1px 0 #ffffff06}
.calendar-shell{background:transparent}
.calendar-loading{background:var(--paper-2)}
.insight-panel-footer{background:linear-gradient(110deg,#10161e,#070a0e)}
.news-entry+.news-entry,.calendar-entry+.calendar-entry{box-shadow:0 -1px 0 var(--line)}
.news-entry:hover,.calendar-entry:hover{background:var(--surface)}
.news-entry:active,.news-update button:hover{background:var(--surface-hover)}
.news-source-filters button[aria-pressed=true],.calendar-range button[aria-pressed=true]{background:var(--surface);border-color:var(--gold-line)}
.news-update button,.calendar-state{border-color:var(--gold-line)}
.calendar-currency{background:var(--surface);color:var(--gold-bright)}
.mt5-intro,.mt5-official{color:var(--ink-2)}
.mt5-setup-note,.mt5-visual figcaption{color:var(--muted)}
.mt5-section{background:radial-gradient(ellipse 42% 55% at 83% 50%,#16314a 0%,transparent 77%),radial-gradient(ellipse 70% 80% at 100% 80%,#07182d 0%,transparent 80%),linear-gradient(110deg,#020305 25%,#050c15 65%,#020305 100%)}
.mt5-download-link{background:linear-gradient(135deg,#1a232e,#080c12);border-color:#424c59;color:var(--ink);box-shadow:inset 0 1px 0 #ffffff0c}
.mt5-download-link:hover{background:var(--surface-hover);border-color:var(--gold);color:var(--gold-bright)}
.mt5-device{border-color:#76808c;box-shadow:0 24px 64px #000b,inset 0 0 0 1px #ffffff30}
.faq-list details,.footer-top,.risk{border-color:var(--line)}
.faq-list p,.footer-links a,.footer-links button{color:var(--muted)}
.footer-links :is(a,button):hover{color:var(--gold-bright)}
.partner-contact{background:#faf8f3;color:#272727;border-color:#d5c5a6}
.partner-contact input{background:#f1eee8;border-color:#ded8cb}
.partner-contact input[readonly]{background:#ede5d5;border-color:#ceba94;color:#65502c}
::selection{background:#d6b46d;color:#020305}
@media(min-width:1241px){.nav-panel{background:linear-gradient(120deg,#030507,#0c1420 65%,#030507)}}
@media(max-width:1240px){.site-header.menu-open{background:linear-gradient(145deg,#0b121c,#020305 75%)}.site-header.menu-open .nav-panel{background:transparent}}
@media(max-width:700px){.markets .ranking-table tbody th{background:var(--paper)}}
/* Broad section transitions replace repeated flat black rectangles. */
.hero-art:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#02030500 76%,#02050b 100%)}
.benefit-card:not(.benefit-leverage):not(.benefit-risk){background-image:radial-gradient(ellipse at 100% 0%,#14283e 0%,transparent 57%),var(--panel-light)}
.trust-grid>article{background-image:radial-gradient(ellipse at 0% 0%,#152334 0%,transparent 65%),var(--panel-light)}
.trust-grid .credential-band{background-image:radial-gradient(ellipse at 65% 0%,#322614 0%,#111317 47%,#040609 100%)}
.insight-panel{background-image:radial-gradient(ellipse at 100% 0%,#102439 0%,transparent 58%),var(--panel-light)}
body>footer{background:radial-gradient(ellipse 70% 100% at 50% 0%,#071326 0%,#020305 75%)}
@media(max-width:700px){
  .hero-art{background-position:68% center,68% center,center;background-size:cover}
  .hero.cosmos-ready .hero-art{background-position:68% center,center}
  main{background:radial-gradient(ellipse 100% 14% at 100% 15%,#07172b 0%,transparent 75%),radial-gradient(ellipse 100% 12% at 0% 76%,#07152a 0%,transparent 77%),#020305}
}
