:root{
  --xc-primary:#1266f6;
  --xc-primary-2:#286ff7;
  --xc-navy:#0d1b3e;
  --xc-page:#f8fbff;
  --xc-surface:#fff;
  --xc-border:#dfe9f7;
  --xc-muted:#687b9c;
  --xc-success:#08a878;
  --xc-radius:16px;
  --xc-shadow:0 12px 35px rgba(31,74,142,.08);
  --xc-max:1360px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--xc-page);color:var(--xc-navy);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit}
img{display:block;max-width:100%}
button,input{font:inherit}
.home-container{width:min(calc(100% - 40px),var(--xc-max));margin-inline:auto}
.home-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.94);border-bottom:1px solid var(--xc-border);backdrop-filter:blur(18px)}
.home-nav{min-height:72px;display:flex;align-items:center;gap:22px}
.home-logo{width:168px;flex:0 0 168px}
.home-logo img{width:100%;height:48px;object-fit:contain;object-position:left center}
.home-primary-nav{display:flex;align-items:center;justify-content:center;gap:25px;flex:1;min-width:0;white-space:nowrap}
.home-primary-nav a{text-decoration:none;font-weight:700;font-size:13px;color:#172645;transition:.18s ease}
.home-primary-nav a:hover{color:var(--xc-primary)}
.home-nav-actions{display:flex;align-items:center;gap:10px;flex:0 0 auto}
.language{text-decoration:none;font-weight:700;font-size:13px;white-space:nowrap;color:#213250}
.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:0 20px;border-radius:9px;text-decoration:none;font-weight:800;font-size:14px;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;background:#fff}
.button:hover{transform:translateY(-1px)}
.button-primary{background:linear-gradient(135deg,var(--xc-primary),#0867f7);color:#fff;border:1px solid transparent;box-shadow:0 10px 24px rgba(18,102,246,.2)}
.button-primary:hover{box-shadow:0 14px 30px rgba(18,102,246,.28)}
.button-outline{border:1px solid #9ebcf2;color:#153264;background:#fff}
.button-outline:hover{border-color:var(--xc-primary);color:var(--xc-primary)}
.button-large{min-height:52px;padding-inline:28px;border-radius:10px}
.home-menu-toggle{display:none;width:44px;height:44px;border:1px solid var(--xc-border);border-radius:10px;background:#fff;align-items:center;justify-content:center;flex-direction:column;gap:5px}
.home-menu-toggle span{width:20px;height:2px;background:var(--xc-navy);border-radius:3px}
.hero{position:relative;overflow:hidden;background:linear-gradient(180deg,#fff 0%,#f9fbff 100%)}
.hero::after{content:"";position:absolute;inset:0 0 auto 43%;height:100%;background-image:var(--hero-wave-light);background-position:center right;background-size:cover;opacity:.46;pointer-events:none}
.hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(430px,.84fr) minmax(560px,1.16fr);align-items:center;gap:30px;min-height:360px;padding:36px 0 18px}
.hero-copy{padding-left:18px}
.eyebrow{margin:0 0 12px;color:var(--xc-primary);font-size:13px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}
.hero h1{margin:0;font-size:clamp(48px,5vw,76px);line-height:.96;letter-spacing:-.055em}
.hero h1 span,.hero h1 strong{display:block}
.hero h1 strong{color:var(--xc-primary);font-weight:900;margin-top:8px}
.hero-description{max-width:610px;margin:24px 0 0;color:#314565;font-size:18px;line-height:1.52;font-weight:500}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:25px}
.trust-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:22px;color:#1f3151;font-size:13px;font-weight:750}
.avatar-stack{display:flex;padding-left:10px}
.avatar-stack i{display:grid;place-items:center;width:30px;height:30px;margin-left:-9px;border-radius:50%;border:2px solid #fff;background:linear-gradient(145deg,#092664,#1266f6);color:#fff;font-style:normal;font-size:11px;font-weight:900;box-shadow:0 4px 11px rgba(26,62,116,.12)}
.avatar-stack i:nth-child(2){background:linear-gradient(145deg,#dd8b34,#633c1e)}
.avatar-stack i:nth-child(3){background:linear-gradient(145deg,#08a878,#075e4c)}
.avatar-stack i:nth-child(4){background:linear-gradient(145deg,#7652ed,#35217f)}
.avatar-stack i:nth-child(5){background:#eaf1ff;color:var(--xc-primary)}
.trust-divider{width:1px;height:28px;background:var(--xc-border);margin-inline:5px}
.shield-dot{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#eaf2ff;color:var(--xc-primary);font-weight:900}
.hero-visual{position:relative;align-self:stretch;display:flex;align-items:center;justify-content:center;min-width:0;isolation:isolate;padding:20px 98px 20px 82px}
.hero-device{width:100%;max-height:390px;object-fit:contain;filter:drop-shadow(0 24px 25px rgba(24,68,135,.12));position:relative;z-index:1}
.hero-device-dark{display:none}
.hero-feature-card{position:absolute;z-index:3;display:flex;align-items:center;gap:11px;min-width:180px;max-width:220px;padding:13px 16px;border:1px solid rgba(198,216,244,.88);border-radius:14px;background:rgba(255,255,255,.94);box-shadow:0 15px 36px rgba(26,66,132,.12);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.hero-feature-card>span:last-child{display:grid;gap:3px;min-width:0}
.hero-feature-card strong{color:#102347;font-size:13px;line-height:1.15;white-space:nowrap}
.hero-feature-card small{color:#647797;font-size:11px;line-height:1.2;white-space:nowrap}
.hero-feature-icon{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:10px;background:#edf4ff;color:var(--xc-primary);box-shadow:inset 0 0 0 1px rgba(18,102,246,.07)}
.hero-feature-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.hero-feature-assets .hero-feature-icon svg path{fill:currentColor;stroke:none}
.hero-feature-market{top:42px;left:6px}
.hero-feature-security{left:0;bottom:60px}
.hero-feature-community{top:48px;right:0}
.hero-feature-assets{right:0;bottom:58px}
.stats-section{position:relative;z-index:4;margin-top:-2px}
.stats-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.stat-card{min-height:96px;padding:18px 18px;display:flex;align-items:center;gap:14px;background:var(--xc-surface);border:1px solid var(--xc-border);border-radius:13px;box-shadow:var(--xc-shadow)}
.stat-card strong{display:block;font-size:25px;line-height:1.05;letter-spacing:-.03em}
.stat-card span:not(.stat-icon){display:block;margin-top:5px;color:#506888;font-size:13px}
.stat-icon{position:relative;display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#edf4ff;color:var(--xc-primary);flex:0 0 48px}
.stat-icon::before,.stat-icon::after{content:"";position:absolute}
.stat-icon-user::before{width:13px;height:13px;border-radius:50%;background:currentColor;top:9px}
.stat-icon-user::after{width:23px;height:14px;border-radius:14px 14px 5px 5px;background:currentColor;bottom:7px}
.stat-icon-chart::before{left:9px;bottom:10px;width:6px;height:14px;background:currentColor;box-shadow:9px -5px 0 currentColor,18px -13px 0 currentColor}
.stat-icon-chart::after{left:9px;top:13px;width:24px;height:2px;background:currentColor;transform:rotate(-28deg);transform-origin:left}
.stat-icon-play::before{width:0;height:0;border-top:9px solid transparent;border-bottom:9px solid transparent;border-left:15px solid currentColor;margin-left:4px}
.stat-icon-academy::before{width:25px;height:17px;clip-path:polygon(50% 0,100% 28%,50% 56%,0 28%);background:currentColor;top:11px}
.stat-icon-academy::after{width:20px;height:10px;border:3px solid currentColor;border-top:0;border-radius:0 0 10px 10px;bottom:8px}
.stat-icon-globe::before{width:25px;height:25px;border:3px solid currentColor;border-radius:50%}
.stat-icon-globe::after{width:13px;height:25px;border-left:2px solid currentColor;border-right:2px solid currentColor;border-radius:50%}
.stat-icon-shield::before{width:23px;height:27px;background:currentColor;clip-path:polygon(50% 0,92% 17%,84% 72%,50% 100%,16% 72%,8% 17%)}
.stat-icon-shield::after{width:10px;height:5px;border-left:3px solid #edf4ff;border-bottom:3px solid #edf4ff;transform:rotate(-45deg);top:19px}
.home-section{padding:32px 0 0}
.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:16px}
.section-heading h2,.panel-heading h2{margin:0;font-size:23px;letter-spacing:-.025em}
.section-heading p{margin:6px 0 0;color:var(--xc-muted);font-size:14px}
.section-heading a,.panel-heading a{color:var(--xc-primary);font-size:13px;font-weight:800;text-decoration:none;white-space:nowrap}
.category-track{display:grid;grid-template-columns:repeat(8,minmax(185px,1fr));gap:14px;overflow-x:auto;padding:2px 1px 8px;scrollbar-width:thin;scroll-snap-type:x proximity}
.category-card{position:relative;isolation:isolate;min-height:165px;border:1px solid var(--xc-border);border-radius:13px;overflow:hidden;text-decoration:none;background:#eef5ff;box-shadow:0 7px 22px rgba(28,66,126,.04);scroll-snap-align:start;transition:transform .2s ease,box-shadow .2s ease}
.category-card:hover{transform:translateY(-3px);box-shadow:0 16px 30px rgba(25,66,130,.13)}
.category-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.category-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.92) 42%,rgba(255,255,255,.22) 100%)}
.category-copy{display:flex;flex-direction:column;height:100%;padding:18px 15px}
.category-copy strong{font-size:15px}
.category-copy small{margin-top:5px;color:#243955;font-size:12px;font-weight:650}
.category-copy em{margin-top:auto;color:#183258;font-style:normal;font-size:12px;font-weight:850}
.discovery-panels{padding-bottom:34px}
.panel-grid{display:grid;grid-template-columns:1.08fr 1fr 1fr;gap:18px}
.data-panel{background:var(--xc-surface);border:1px solid var(--xc-border);border-radius:13px;box-shadow:var(--xc-shadow);overflow:hidden}
.panel-heading{display:flex;align-items:center;justify-content:space-between;padding:17px 20px 13px;border-bottom:1px solid #edf2f9}
.panel-list{display:grid}
.trader-row,.media-row,.event-row{display:flex;align-items:center;gap:12px;min-height:70px;padding:10px 17px;border-bottom:1px solid #edf2f9;text-decoration:none;transition:background .18s ease}
.trader-row:last-child,.media-row:last-child,.event-row:last-child{border-bottom:0}
.trader-row:hover,.media-row:hover,.event-row:hover{background:#f7faff}
.profile-dot{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:linear-gradient(145deg,#082768,#1266f6);color:#fff;font-weight:900;flex:0 0 40px}
.row-copy{display:grid;gap:4px;min-width:0;flex:1}
.row-copy strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.row-copy small{color:#72829f;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gain{color:var(--xc-success);font-size:12px;font-weight:900;white-space:nowrap}
.sparkline{display:flex;align-items:flex-end;gap:3px;width:76px;height:26px}
.sparkline i{display:block;width:10px;border-radius:2px 2px 0 0;background:var(--xc-success);opacity:.8}
.sparkline i:nth-child(1){height:8px}.sparkline i:nth-child(2){height:12px}.sparkline i:nth-child(3){height:10px}.sparkline i:nth-child(4){height:17px}.sparkline i:nth-child(5){height:15px}.sparkline i:nth-child(6){height:23px}
.thumb{position:relative;width:92px;height:48px;border-radius:8px;overflow:hidden;background:#102044;flex:0 0 92px}
.thumb img,.event-thumb img{width:100%;height:100%;object-fit:cover}
.thumb b{position:absolute;inset:0;display:grid;place-items:center;color:#fff;text-shadow:0 2px 9px rgba(0,0,0,.7);font-size:15px}
.event-thumb{width:58px;height:48px;border-radius:8px;overflow:hidden;background:#e7efff;flex:0 0 58px}
.event-tag{padding:5px 8px;border-radius:999px;background:#eef5ff;color:var(--xc-primary);font-size:10px;font-weight:800;white-space:nowrap}
.event-row:nth-child(3) .event-tag{background:#e9fbf4;color:#07845d}
.home-footer{margin-top:6px;background:#fff;border-top:1px solid var(--xc-border)}
.footer-grid{display:grid;grid-template-columns:1.6fr repeat(5,.72fr) 1.6fr;gap:30px;padding:32px 0 25px}
.footer-brand img{width:150px;height:42px;object-fit:contain;object-position:left center}
.footer-brand p,.newsletter p{margin:8px 0;color:#667a99;font-size:12px;line-height:1.5}
.footer-grid h3{margin:0 0 13px;font-size:13px}
.footer-grid>div:not(.footer-brand):not(.newsletter){display:flex;flex-direction:column;gap:10px}
.footer-grid a{text-decoration:none;color:#526988;font-size:12px}
.footer-grid a:hover{color:var(--xc-primary)}
.social-links{display:flex;gap:9px;margin-top:16px}
.social-links a{display:grid;place-items:center;width:30px;height:30px;border:1px solid var(--xc-border);border-radius:50%;background:#fff;color:#18325c;font-size:11px;font-weight:900}
.newsletter form{display:flex;gap:8px;margin-top:14px}
.newsletter input{min-width:0;width:100%;height:40px;padding:0 13px;border:1px solid var(--xc-border);border-radius:8px;color:var(--xc-navy);outline:0}
.newsletter input:focus{border-color:var(--xc-primary);box-shadow:0 0 0 3px rgba(18,102,246,.1)}
.newsletter button{height:40px;border:0;border-radius:8px;background:var(--xc-primary);color:#fff;font-size:12px;font-weight:850;padding-inline:18px;cursor:pointer}
.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;border-top:1px solid #edf2f9;color:#7a8aa5;font-size:11px}
@media(max-width:1320px){.home-primary-nav{gap:16px}.home-primary-nav a{font-size:12px}.home-logo{width:150px;flex-basis:150px}.hero-grid{grid-template-columns:minmax(390px,.9fr) minmax(510px,1.1fr)}.hero-visual{padding-inline:74px}.hero-feature-card{min-width:165px;padding:11px 13px}.hero-feature-card strong{font-size:12px}.hero-feature-card small{font-size:10px}.stats-grid{gap:11px}.stat-card{padding-inline:13px}.footer-grid{grid-template-columns:1.5fr repeat(3,.8fr) 1.5fr}.footer-grid>div:nth-child(5),.footer-grid>div:nth-child(6){display:none!important}}
@media(max-width:1080px){.home-menu-toggle{display:flex;margin-left:auto}.home-primary-nav{position:fixed;left:18px;right:18px;top:78px;display:none;align-items:stretch;flex-direction:column;gap:0;padding:14px;background:#fff;border:1px solid var(--xc-border);border-radius:14px;box-shadow:0 20px 50px rgba(20,56,112,.17);white-space:normal}.home-primary-nav.open{display:flex}.home-primary-nav a{padding:11px 10px;border-radius:8px}.home-primary-nav a:hover{background:#f2f7ff}.home-nav-actions .language{display:none}.hero-grid{grid-template-columns:1fr;min-height:auto;padding-top:48px}.hero-copy{padding-left:0;text-align:center}.hero-description{margin-inline:auto}.hero-actions,.trust-row{justify-content:center}.hero-visual{min-height:390px;max-width:850px;width:100%;margin-inline:auto;padding:28px 115px}.hero-device{max-height:350px}.hero-feature-market{left:20px}.hero-feature-security{left:26px}.hero-feature-community{right:20px}.hero-feature-assets{right:26px}.stats-grid{grid-template-columns:repeat(3,1fr)}.panel-grid{grid-template-columns:1fr 1fr}.panel-grid>.data-panel:last-child{grid-column:1/-1}.footer-grid{grid-template-columns:1.4fr repeat(3,1fr)}.newsletter{grid-column:1/-1}.newsletter form{max-width:520px}}
@media(max-width:760px){.home-container{width:min(calc(100% - 24px),var(--xc-max))}.home-nav{min-height:66px;gap:10px}.home-logo{width:135px;flex-basis:135px}.home-logo img{height:42px}.home-nav-actions .button-outline{display:none}.home-nav-actions .button-primary{min-height:40px;padding-inline:13px;font-size:12px}.hero-grid{padding-top:34px}.hero h1{font-size:clamp(43px,13vw,62px)}.hero-description{font-size:16px}.hero-visual{min-height:auto;padding:18px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:10px}.hero-device{grid-column:1/-1;width:108%;max-width:none;margin-left:-4%;max-height:300px}.hero-feature-card{position:static;min-width:0;max-width:none;width:100%;padding:11px 12px;text-align:left}.hero-feature-card strong,.hero-feature-card small{white-space:normal}.trust-divider,.shield-dot,.trust-row>span:last-child{display:none}.stats-grid{grid-template-columns:repeat(2,1fr)}.stat-card{min-height:86px}.stat-card strong{font-size:21px}.category-track{grid-template-columns:repeat(8,210px)}.section-heading{align-items:flex-start}.section-heading a{display:none}.panel-grid{grid-template-columns:1fr}.panel-grid>.data-panel:last-child{grid-column:auto}.footer-grid{grid-template-columns:1.3fr 1fr 1fr}.footer-grid>div:nth-child(4){display:none!important}.footer-brand{grid-column:1/-1}.footer-bottom{flex-direction:column;align-items:flex-start}.sparkline{display:none}}
@media(max-width:520px){.home-menu-toggle{width:40px;height:40px}.home-nav-actions .button-primary{display:none}.hero h1{font-size:44px}.hero-actions{display:grid;grid-template-columns:1fr 1fr}.button-large{padding-inline:13px;font-size:13px}.hero-feature-card{grid-column:1/-1}.stats-grid{grid-template-columns:1fr}.stat-card{min-height:76px}.category-track{grid-template-columns:repeat(8,195px)}.footer-grid{grid-template-columns:1fr 1fr}.newsletter{grid-column:1/-1}}

/* xCpace Phase 44.9: canonical dark homepage theme */
:root{color-scheme:light}
html[data-theme=dark]{color-scheme:dark}
body,.hero,.stat-card,.category-card,.data-panel,.home-footer,.button,.newsletter input,.social-links a{transition:background-color .2s ease,border-color .2s ease,color .2s ease,box-shadow .2s ease,filter .2s ease}
.footer-logo{display:block;position:relative;width:150px;height:42px}
.footer-logo img{position:absolute;inset:0;width:150px;height:42px;object-fit:contain;object-position:left center}
.footer-logo-dark{display:none}
html[data-theme=dark] .footer-logo-light{display:none}
html[data-theme=dark] .footer-logo-dark{display:block}
html[data-theme=dark] body{background:var(--xc-page,#07111f);color:var(--xc-text,#edf4ff)}
html[data-theme=dark] .hero{background:
  radial-gradient(circle at 76% 22%,color-mix(in srgb,var(--xc-primary,#5b8cff) 20%,transparent),transparent 36%),
  radial-gradient(circle at 18% 2%,rgba(34,76,145,.26),transparent 34%),
  linear-gradient(180deg,#081424 0%,var(--xc-page,#07111f) 100%)}
html[data-theme=dark] .hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,17,31,.08),rgba(7,17,31,.18) 48%,rgba(7,17,31,.42));pointer-events:none}
html[data-theme=dark] .hero::after{background-image:var(--hero-wave-dark);opacity:.5;filter:saturate(1.2) brightness(.92);mix-blend-mode:screen}
html[data-theme=dark] .hero h1 span,html[data-theme=dark] .section-heading h2,html[data-theme=dark] .panel-heading h2,html[data-theme=dark] .stat-card strong,html[data-theme=dark] .footer-grid h3{color:var(--xc-text,#edf4ff)}
html[data-theme=dark] .hero-description{color:#b8c6da}
html[data-theme=dark] .trust-row{color:#c7d3e6}
html[data-theme=dark] .trust-divider{background:var(--xc-border,#233754)}
html[data-theme=dark] .avatar-stack i{border-color:#0b1728;box-shadow:0 6px 18px rgba(0,0,0,.28)}
html[data-theme=dark] .avatar-stack i:nth-child(5),html[data-theme=dark] .shield-dot{background:#142744;color:var(--xc-primary,#5b8cff)}
html[data-theme=dark] .hero-visual::before{content:"";position:absolute;width:78%;height:60%;border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--xc-primary,#5b8cff) 24%,transparent),transparent 68%);filter:blur(22px);pointer-events:none}
html[data-theme=dark] .hero-device-light{display:none}
html[data-theme=dark] .hero-device-dark{display:block;filter:brightness(1.03) contrast(1.04) saturate(1.02) drop-shadow(0 30px 34px rgba(0,0,0,.38)) drop-shadow(0 0 28px rgba(75,132,255,.16))}
html[data-theme=dark] .hero-feature-card{background:rgba(14,30,55,.9);border-color:rgba(72,105,158,.68);box-shadow:0 17px 42px rgba(0,0,0,.34),inset 0 1px rgba(255,255,255,.04)}
html[data-theme=dark] .hero-feature-card strong{color:#f1f6ff}
html[data-theme=dark] .hero-feature-card small{color:#a6b7cf}
html[data-theme=dark] .hero-feature-icon{background:#152c4d;color:var(--xc-primary,#5b8cff);box-shadow:inset 0 0 0 1px rgba(91,140,255,.14)}
html[data-theme=dark] .button-outline{background:#0d1a2d;border-color:#34537f;color:#dbe8ff}
html[data-theme=dark] .button-outline:hover{background:#122541;border-color:var(--xc-primary,#5b8cff);color:#fff}
html[data-theme=dark] .stats-section{background:linear-gradient(180deg,transparent,rgba(7,17,31,.12))}
html[data-theme=dark] .stat-card,html[data-theme=dark] .data-panel{background:linear-gradient(145deg,color-mix(in srgb,var(--xc-surface,#0d1a2d) 92%,#132b4d),var(--xc-surface,#0d1a2d));border-color:var(--xc-border,#233754);box-shadow:0 16px 42px rgba(0,0,0,.24),inset 0 1px rgba(255,255,255,.025)}
html[data-theme=dark] .stat-card:hover,html[data-theme=dark] .data-panel:hover{border-color:color-mix(in srgb,var(--xc-primary,#5b8cff) 40%,var(--xc-border,#233754))}
html[data-theme=dark] .stat-card span:not(.stat-icon),html[data-theme=dark] .section-heading p,html[data-theme=dark] .row-copy small,html[data-theme=dark] .footer-brand p,html[data-theme=dark] .newsletter p,html[data-theme=dark] .footer-grid a,html[data-theme=dark] .footer-bottom{color:var(--xc-muted,#9aacc7)}
html[data-theme=dark] .stat-icon{background:#142947;color:var(--xc-primary,#5b8cff);box-shadow:inset 0 0 0 1px rgba(91,140,255,.11)}
html[data-theme=dark] .stat-icon-shield::after{border-color:#142947}
html[data-theme=dark] .category-card{background:#0b1728;border-color:var(--xc-border,#233754);box-shadow:0 12px 30px rgba(0,0,0,.2)}
html[data-theme=dark] .category-card:hover{box-shadow:0 20px 42px rgba(0,0,0,.34),0 0 0 1px rgba(91,140,255,.12)}
html[data-theme=dark] .category-card img{filter:brightness(.72) saturate(.9) contrast(1.04)}
html[data-theme=dark] .category-shade{background:linear-gradient(90deg,rgba(7,17,31,.98) 0%,rgba(7,17,31,.91) 43%,rgba(7,17,31,.28) 100%)}
html[data-theme=dark] .category-copy strong,html[data-theme=dark] .category-copy em{color:#f3f7ff}
html[data-theme=dark] .category-copy small{color:#b3c1d6}
html[data-theme=dark] .panel-heading{border-bottom-color:var(--xc-border,#233754)}
html[data-theme=dark] .trader-row,html[data-theme=dark] .media-row,html[data-theme=dark] .event-row{border-bottom-color:var(--xc-border,#233754)}
html[data-theme=dark] .trader-row:hover,html[data-theme=dark] .media-row:hover,html[data-theme=dark] .event-row:hover{background:#11233d}
html[data-theme=dark] .row-copy strong{color:#eef4ff}
html[data-theme=dark] .profile-dot{background:linear-gradient(145deg,#16386d,var(--xc-primary,#5b8cff));box-shadow:0 8px 18px rgba(0,0,0,.25)}
html[data-theme=dark] .thumb{background:#07111f;border:1px solid #263c5b}
html[data-theme=dark] .event-thumb{background:#12233d;border:1px solid #263c5b}
html[data-theme=dark] .event-tag{background:#142b4d;color:#8bb2ff}
html[data-theme=dark] .event-row:nth-child(3) .event-tag{background:#103b32;color:#5be0b2}
html[data-theme=dark] .home-footer{background:#081421;border-top-color:var(--xc-border,#233754)}
html[data-theme=dark] .social-links a{background:#0d1a2d;border-color:var(--xc-border,#233754);color:#dbe8ff}
html[data-theme=dark] .social-links a:hover{border-color:var(--xc-primary,#5b8cff);color:#fff;background:#132947}
html[data-theme=dark] .newsletter input{background:#0d1a2d;border-color:var(--xc-border,#233754);color:#edf4ff}
html[data-theme=dark] .newsletter input::placeholder{color:#7083a0}
html[data-theme=dark] .newsletter input:focus{border-color:var(--xc-primary,#5b8cff);box-shadow:0 0 0 3px rgba(91,140,255,.14)}
html[data-theme=dark] .footer-bottom{border-top-color:var(--xc-border,#233754)}
html[data-theme=dark] ::selection{background:rgba(91,140,255,.34);color:#fff}
html[data-theme=dark] ::-webkit-scrollbar{width:11px;height:11px}
html[data-theme=dark] ::-webkit-scrollbar-track{background:#07111f}
html[data-theme=dark] ::-webkit-scrollbar-thumb{background:#2a4264;border:2px solid #07111f;border-radius:999px}
html[data-theme=dark] ::-webkit-scrollbar-thumb:hover{background:#3a5d8e}
@media(max-width:1080px){html[data-theme=dark] .home-primary-nav{background:#0d1a2d;border-color:#233754;box-shadow:0 24px 58px rgba(0,0,0,.42)}html[data-theme=dark] .home-primary-nav a:hover{background:#132947}}
@media(prefers-reduced-motion:reduce){body,.hero,.stat-card,.category-card,.data-panel,.home-footer,.button,.newsletter input,.social-links a{transition:none!important}}


/* xCpace Phase 45.3: editable homepage icons and arrow-driven category carousel */
.hero-feature-icon svg,.stat-icon-svg svg{width:60%;height:60%;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.hero-feature-icon svg .fill,.stat-icon-svg svg .fill{fill:currentColor;stroke:none}
.hero-feature-icon svg .inverse,.stat-icon-svg svg .inverse{fill:none;stroke:#fff;stroke-width:2.4}
.hero-feature-icon-custom img{width:24px;height:24px;object-fit:contain;display:block}
.stat-icon-custom img{width:30px;height:30px;object-fit:contain;display:block}
.category-carousel{position:relative}
.category-track{scrollbar-width:none;-ms-overflow-style:none;scroll-behavior:smooth;padding-left:46px;padding-right:46px}
.category-track::-webkit-scrollbar{display:none;width:0;height:0}
.category-nav{position:absolute;top:50%;z-index:8;display:grid;place-items:center;width:36px;height:36px;margin-top:-18px;border:1px solid var(--xc-border);border-radius:50%;background:var(--xc-surface);color:var(--xc-navy);box-shadow:0 8px 24px rgba(22,55,106,.16);cursor:pointer;transition:transform .16s ease,opacity .16s ease,border-color .16s ease,background .16s ease}
.category-nav span{display:block;font-size:29px;line-height:1;transform:translateY(-1px)}
.category-nav-prev{left:8px}.category-nav-next{right:8px}
.category-nav:hover:not(:disabled){transform:scale(1.06);border-color:var(--xc-primary);color:var(--xc-primary)}
.category-nav:focus-visible{outline:3px solid color-mix(in srgb,var(--xc-primary) 28%,transparent);outline-offset:2px}
.category-nav:disabled{opacity:.28;cursor:default;box-shadow:none}
html[data-theme=dark] .category-nav{background:#0d1a2d;border-color:#2a4264;color:#dce8fa;box-shadow:0 10px 28px rgba(0,0,0,.35)}
html[data-theme=dark] .category-nav:hover:not(:disabled){border-color:var(--xc-primary);color:#fff;background:#132947}
@media(max-width:760px){.category-track{padding-left:39px;padding-right:39px}.category-nav{width:32px;height:32px;margin-top:-16px}.category-nav-prev{left:4px}.category-nav-next{right:4px}.category-nav span{font-size:25px}}
@media(prefers-reduced-motion:reduce){.category-track{scroll-behavior:auto}.category-nav{transition:none}}
