/* YBX Signals HF5 R2 — polished accessible footer, home+signal centre only.
   Replaces legacy 180px 1fr 2fr 150px / nowrap footLinks columns without
   changing site.css or the trading back end. */
.ybxLanding .ybxFooterR2{
  position:relative;isolation:isolate;overflow:hidden;
  padding:0!important;margin:0;
  border:0!important;border-top:1px solid rgba(224,185,111,.22)!important;
  color:#d1dbe3;
  background:radial-gradient(ellipse 50% 70% at 93% 2%,rgba(175,120,37,.105),transparent 72%),linear-gradient(145deg,#0a151e 0%,#070e16 48%,#050a11 100%)!important;
}
.ybxLanding .ybxFooterR2:before{content:"";position:absolute;top:0;inset-inline:8%;height:1px;background:linear-gradient(90deg,transparent,rgba(244,207,143,.42),transparent);pointer-events:none}
.ybxLanding .ybxFooterR2 .ybxFooterInner{display:block!important;width:min(100% - 48px,1280px);margin-inline:auto;max-width:1280px;padding:0;min-width:0;box-sizing:border-box}
.ybxLanding .ybxFooterR2 .ybxFooterMain{display:grid;grid-template-columns:minmax(270px,.98fr) minmax(0,1.62fr);align-items:start;gap:clamp(30px,5vw,100px);padding:clamp(42px,6.1vw,80px) 0 clamp(32px,4vw,52px);min-width:0}
.ybxLanding .ybxFooterR2 .ybxFooterIdentity{min-width:0;text-align:start}
.ybxLanding .ybxFooterR2 .ybxFooterBrand{display:inline-flex;align-items:center;gap:13px;text-decoration:none;direction:ltr;min-width:0;color:#f4d18b;transition:transform .2s ease,filter .2s ease}
.ybxLanding .ybxFooterR2 .ybxFooterBrand:hover{transform:translateY(-2px);filter:brightness(1.1)}
.ybxLanding .ybxFooterR2 .ybxFooterBrand img{width:52px;height:52px;object-fit:contain;filter:drop-shadow(0 4px 18px rgba(219,158,68,.16));flex:none}
.ybxLanding .ybxFooterR2 .ybxFooterBrandType{display:flex;flex-direction:column;gap:2px;align-items:flex-start;min-width:0;line-height:1.1}
.ybxLanding .ybxFooterR2 .ybxFooterBrandType strong{font-size:30px;font-weight:900;letter-spacing:.075em;line-height:1.1;color:#edc777}
.ybxLanding .ybxFooterR2 .ybxFooterBrandType small{font-size:9px;font-weight:800;color:#dac390;letter-spacing:.37em;line-height:1.7}
.ybxLanding .ybxFooterR2 .ybxFooterEyebrow{color:#aa8c5c;font:700 10px/1.8 system-ui,sans-serif;letter-spacing:.14em;margin:18px 0 8px;text-align:start;white-space:normal}
.ybxLanding .ybxFooterR2 .ybxFooterPromise{font-size:clamp(19px,2vw,26px);line-height:1.65;font-weight:850;color:#f8efd9;margin:9px 0 12px;max-width:440px;letter-spacing:0}
.ybxLanding .ybxFooterR2 .ybxFooterGold{color:#e2b976}
.ybxLanding .ybxFooterR2 .ybxFooterDescription{font-size:13px;line-height:2;color:#aebfcd;max-width:420px;margin:0 0 19px;overflow-wrap:break-word}
.ybxLanding .ybxFooterR2 .ybxFooterPrimaryLink{display:inline-flex;align-items:center;gap:10px;border:1px solid rgba(232,189,111,.3);border-radius:11px;padding:10px 15px;color:#f5dcab;background:rgba(219,170,85,.085);font-size:12px;line-height:1.6;font-weight:750;text-decoration:none;transition:background .2s,transform .2s,border-color .2s;white-space:normal}
.ybxLanding .ybxFooterR2 .ybxFooterPrimaryLink:hover{background:rgba(219,170,85,.15);border-color:rgba(232,189,111,.58);transform:translateY(-2px)}
.ybxLanding .ybxFooterR2 .ybxFooterDirectory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(17px,3vw,50px);min-width:0;align-items:start;direction:rtl}
.ybxLanding .ybxFooterR2 .ybxFooterGroup{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-width:0;flex-wrap:nowrap;text-align:start;max-width:100%}
.ybxLanding .ybxFooterR2 .ybxFooterGroup h2{font-size:14px;font-weight:800;color:#f2d29a;line-height:1.6;margin:4px 0 18px;padding:0 0 13px;position:relative;max-width:100%}
.ybxLanding .ybxFooterR2 .ybxFooterGroup h2:after{content:"";position:absolute;right:0;bottom:0;width:29px;height:2px;border-radius:2px;background:linear-gradient(90deg,#88602c,#edc576)}
.ybxLanding .ybxFooterR2 .ybxFooterGroup a{display:block;max-width:100%;min-width:0;color:#b9c5cf;text-decoration:none;font-size:13px;font-weight:500;line-height:1.85;padding:4px 0;white-space:normal;word-break:normal;overflow-wrap:normal;letter-spacing:0;transition:color .2s,transform .2s}
.ybxLanding .ybxFooterR2 .ybxFooterGroup a:hover{color:#f3d59d;transform:translateX(-3px)}
.ybxLanding .ybxFooterR2 .ybxFooterGroup a[lang="en"]{text-align:right;direction:ltr;unicode-bidi:isolate;align-self:flex-start}
.ybxLanding .ybxFooterR2 a:focus-visible{outline:2px solid #f0c67e;outline-offset:4px;border-radius:3px}
.ybxLanding .ybxFooterR2 .ybxFooterBottom{display:flex;align-items:center;justify-content:space-between;gap:16px 44px;flex-wrap:wrap;border-top:1px solid rgba(219,184,117,.15);padding:23px 0 28px;min-width:0}
.ybxLanding .ybxFooterR2 .ybxFooterRisk{margin:0;color:#92a5b4;line-height:1.95;font-size:11px;max-width:720px;min-width:0;flex:1 1 420px;text-align:start}
.ybxLanding .ybxFooterR2 .ybxFooterMeta{display:flex;gap:18px;align-items:center;justify-content:flex-start;flex-wrap:wrap;flex:0 0 auto;font:500 11px/1.8 system-ui,sans-serif;color:#8499aa;min-width:0}
.ybxLanding .ybxFooterR2 .ybxFooterMeta a{color:#d8bc85;text-decoration:none;white-space:nowrap;font-weight:700}
.ybxLanding .ybxFooterR2 .ybxFooterMeta a:hover{color:#fff0ca}
/* Footer links must never collapse into one character per line. */
@media(max-width:1100px){
 .ybxLanding .ybxFooterR2 .ybxFooterMain{grid-template-columns:1fr;gap:34px}
 .ybxLanding .ybxFooterR2 .ybxFooterIdentity{max-width:700px}
 .ybxLanding .ybxFooterR2 .ybxFooterDirectory{gap:24px}
}
@media(max-width:700px){
 .ybxLanding .ybxFooterR2 .ybxFooterInner{width:calc(100% - 36px)}
 .ybxLanding .ybxFooterR2 .ybxFooterMain{padding:42px 0 30px;gap:33px}
 .ybxLanding .ybxFooterR2 .ybxFooterDirectory{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 22px}
 .ybxLanding .ybxFooterR2 .ybxFooterGroup h2{margin-bottom:10px}
 .ybxLanding .ybxFooterR2 .ybxFooterBottom{padding:19px 0 28px;align-items:flex-start}
 .ybxLanding .ybxFooterR2 .ybxFooterMeta{flex:1 1 100%;justify-content:space-between;width:100%}
}
@media(max-width:410px){
 .ybxLanding .ybxFooterR2 .ybxFooterBrandType strong{font-size:26px}
 .ybxLanding .ybxFooterR2 .ybxFooterBrand img{width:46px;height:46px}
 .ybxLanding .ybxFooterR2 .ybxFooterDirectory{gap:24px 14px}
 .ybxLanding .ybxFooterR2 .ybxFooterGroup h2{font-size:13px}
 .ybxLanding .ybxFooterR2 .ybxFooterGroup a{font-size:12px}
}
@media(prefers-reduced-motion:reduce){.ybxLanding .ybxFooterR2 a{transition:none!important}}
/* Signal-centre mobile navigation: brand + account above a scrollable tab row.
   Do not squeeze six labels into a single line. */
@media(max-width:650px){
 .ybxSignalHub .navin{display:grid!important;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand ctas" "links links";gap:10px 12px!important;align-items:center!important;padding:12px 0 10px!important;min-height:0!important}
 .ybxSignalHub .navin>.brand{grid-area:brand;justify-self:start;min-width:0}
 .ybxSignalHub .navin>.ybxHubNavCtas{grid-area:ctas;margin:0;justify-self:end}
 .ybxSignalHub .ybxHubNavCtas .btn.gold{display:none}
 .ybxSignalHub .ybxHubNavCtas .btn.ghost{display:inline-flex;padding:8px 13px;font-size:12px}
 .ybxSignalHub .navin>.links{grid-area:links;display:flex!important;align-items:center;gap:8px!important;overflow-x:auto;flex-wrap:nowrap!important;max-width:100%;width:100%;min-width:0;white-space:nowrap;border-top:1px solid rgba(230,189,111,.12);padding:10px 0 2px!important;scrollbar-width:none}
 .ybxSignalHub .navin>.links::-webkit-scrollbar{display:none}
 .ybxSignalHub .navin>.links a{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;padding:7px 11px!important;min-height:34px;white-space:nowrap!important;border:1px solid rgba(213,175,114,.19);background:rgba(255,255,255,.025);border-radius:999px;font-size:11px!important;line-height:1.5}
 .ybxSignalHub .navin>.links a.active{border-color:rgba(240,199,132,.45);background:rgba(232,184,102,.12)}
 .ybxSignalHub .navin>.links a.active::after{display:none}
}
