/* SIYAM FX public theme — 2026-10 redesign (Figma "Siyam FX - Website & Admin Redesign", frames Desktop/Home 1:21 & Mobile/Home 2:2) */
:root{
  --sfx-navy-900:#0e1336; --sfx-navy-800:#161d4a; --sfx-navy-700:#1b2255;
  --sfx-gold-500:#c9a033; --sfx-gold-100:#f6eed6;
  --sfx-bg:#f5f6fa; --sfx-surface:#ffffff; --sfx-border:#e3e6ef;
  --sfx-text:#141938; --sfx-muted:#5b6280; --sfx-inverse:#ffffff;
  --sfx-up:#12a06e; --sfx-down:#d64545;
  --sfx-pad:80px;
}
html,body{font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
body.sfx-body{background:var(--sfx-navy-900);color:var(--sfx-inverse);margin:0}
body.sfx-body.sfx-light{background:var(--sfx-bg);color:var(--sfx-text)}
.sfx-wrap{max-width:1440px;margin:0 auto;padding-left:var(--sfx-pad);padding-right:var(--sfx-pad);box-sizing:border-box;width:100%}
@media (max-width:1279px){:root{--sfx-pad:40px}}
@media (max-width:767px){:root{--sfx-pad:20px}}

/* Top risk bar 1:32 */
.sfx-topbar{background:var(--sfx-navy-900);color:#fff;font-size:12px;line-height:1.4}
.sfx-topbar .sfx-wrap{display:flex;align-items:center;justify-content:center;gap:16px;padding-top:8px;padding-bottom:8px}
.sfx-topbar p{margin:0;opacity:.85;text-align:center}
.sfx-topbar a{color:var(--sfx-gold-500);text-decoration:underline;margin-left:4px}
@media (max-width:767px){.sfx-topbar{font-size:10.5px}.sfx-topbar .sfx-wrap{padding-top:6px;padding-bottom:6px;padding-left:16px;padding-right:16px}}

/* Header 1:34 */
.sfx-header{background:var(--sfx-surface);border-bottom:1px solid var(--sfx-border);position:sticky;top:0;z-index:50;color:var(--sfx-text)}
.sfx-header .sfx-wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-top:16px;padding-bottom:16px}
.sfx-logo{display:block;width:136px;height:48px;flex-shrink:0}
.sfx-logo img{width:100%;height:100%;object-fit:contain;display:block}
.sfx-nav{display:flex;align-items:center;gap:32px;font-size:15px;font-weight:500}
.sfx-nav a{color:var(--sfx-text);text-decoration:none;white-space:nowrap}
.sfx-nav a:hover{color:var(--sfx-gold-500)}
.sfx-nav-item{position:relative}
.sfx-nav-item>a{display:flex;align-items:center;gap:4px;padding:6px 0}
.sfx-nav-item>a svg{width:12px;height:12px;opacity:.55}
.sfx-dropdown{position:absolute;left:-16px;top:100%;padding-top:10px;min-width:220px;opacity:0;visibility:hidden;transition:opacity .15s;z-index:60}
.sfx-nav-item:hover .sfx-dropdown,.sfx-nav-item:focus-within .sfx-dropdown{opacity:1;visibility:visible}
.sfx-dropdown-panel{background:#fff;border:1px solid var(--sfx-border);border-radius:12px;box-shadow:0 12px 32px rgba(14,19,54,.12);padding:8px}
.sfx-dropdown-panel a{display:block;padding:9px 12px;border-radius:8px;font-size:14px;font-weight:500}
.sfx-dropdown-panel a:hover{background:var(--sfx-bg)}
.sfx-actions{display:flex;align-items:center;gap:12px}
.sfx-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:8px;font-weight:600;font-size:14px;line-height:normal;padding:10px 18px;text-decoration:none;cursor:pointer;border:0;white-space:nowrap;transition:filter .15s,transform .15s}
.sfx-btn:hover{filter:brightness(1.06)}
.sfx-btn-gold{background:var(--sfx-gold-500);color:var(--sfx-navy-900)}
.sfx-btn-outline{background:transparent;border:1.5px solid var(--sfx-navy-700);color:var(--sfx-navy-700)}
.sfx-btn-navy{background:var(--sfx-navy-700);color:#fff}
.sfx-btn-ghost-light{background:transparent;border:1.5px solid #fff;color:#fff}
.sfx-btn-lg{padding:16px 28px;font-size:16px;border-radius:10px}
.sfx-phone-link{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:var(--sfx-navy-700);text-decoration:none;white-space:nowrap}
.sfx-phone-link svg{width:18px;height:18px;color:#25d366}
.sfx-lang{position:relative}
.sfx-lang-btn{background:none;border:0;color:var(--sfx-muted);font-size:13px;font-weight:500;cursor:pointer;display:flex;align-items:center;gap:4px;padding:6px}
.sfx-lang-menu{position:absolute;right:0;top:100%;margin-top:6px;background:#fff;border:1px solid var(--sfx-border);border-radius:10px;box-shadow:0 12px 32px rgba(14,19,54,.12);min-width:150px;padding:6px;z-index:70}
.sfx-lang-menu button{display:block;width:100%;text-align:left;background:none;border:0;padding:8px 10px;border-radius:6px;font-size:14px;color:var(--sfx-text);cursor:pointer}
.sfx-lang-menu button:hover,.sfx-lang-menu button.is-current{background:var(--sfx-bg);color:var(--sfx-gold-500)}
.sfx-userlinks{display:flex;align-items:center;gap:14px;font-size:14px;font-weight:500}
.sfx-userlinks a{color:var(--sfx-text);text-decoration:none}
.sfx-bell{position:relative;background:none;border:0;color:var(--sfx-text);cursor:pointer;padding:6px}
.sfx-bell svg{width:22px;height:22px}
.sfx-mobile-only{display:none}
.sfx-burger{background:none;border:0;padding:0;width:26px;height:26px;cursor:pointer}
.sfx-burger img{width:26px;height:26px;display:block}
@media (max-width:1180px){.sfx-nav{gap:20px;font-size:14px}.sfx-phone-link span{display:none}}
@media (max-width:1023px){
  .sfx-nav,.sfx-actions .sfx-desktop-only{display:none!important}
  .sfx-mobile-only{display:flex}
  .sfx-header .sfx-wrap{padding:12px 16px}
  .sfx-logo{width:110px;height:39px}
  .sfx-actions{gap:12px}
  .sfx-actions .sfx-btn-gold{padding:8px 12px;font-size:12px}
}
/* Mobile drawer (ids used by js/main.js) */
.sfx-overlay{position:fixed;inset:0;background:rgba(14,19,54,.55);z-index:80;display:none}
.sfx-overlay.open{display:block}
.sfx-drawer{position:fixed;top:0;right:-100%;width:min(340px,88vw);height:100%;background:#fff;color:var(--sfx-text);z-index:90;overflow-y:auto;transition:right .25s;box-shadow:-12px 0 32px rgba(14,19,54,.18)}
.sfx-drawer.open{right:0}
.sfx-drawer-head{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid var(--sfx-border)}
.sfx-drawer-nav{padding:8px 20px 24px}
.sfx-drawer-nav .sfx-dgroup{border-bottom:1px solid var(--sfx-border);padding:10px 0}
.sfx-drawer-nav a{display:block;color:var(--sfx-text);text-decoration:none}
.sfx-drawer-nav .sfx-dtop{font-weight:600;font-size:15px;padding:6px 0}
.sfx-drawer-nav .sfx-dsub{font-size:14px;color:var(--sfx-muted);padding:5px 0 5px 12px}
.sfx-drawer-cta{display:flex;flex-direction:column;gap:10px;padding-top:16px}

/* Rates ticker 1:49 */
.sfx-ticker{background:var(--sfx-navy-700);color:#fff;overflow:hidden}
.sfx-ticker .sfx-wrap{display:flex;align-items:center;gap:28px;padding-top:12px;padding-bottom:12px;overflow-x:auto;scrollbar-width:none}
.sfx-ticker .sfx-wrap::-webkit-scrollbar{display:none}
.sfx-feed-label{display:flex;align-items:center;gap:6px;color:var(--sfx-gold-500);font-weight:700;font-size:12px;flex-shrink:0}
.sfx-feed-label img{width:8px;height:8px}
.sfx-tick{display:flex;align-items:center;gap:8px;flex-shrink:0;white-space:nowrap}
.sfx-tick b{font-weight:600;font-size:13px}
.sfx-tick span{font-size:12px;opacity:.6}
.sfx-tick .sfx-up{color:#4fd1a0;opacity:1}.sfx-tick .sfx-down{color:#ff8a8a;opacity:1}
.sfx-feed-note{font-size:11px;opacity:.55;flex-shrink:0;white-space:nowrap}
@media (max-width:767px){.sfx-ticker .sfx-wrap{gap:16px;padding:10px 16px}.sfx-feed-label{font-size:11px}.sfx-tick b{font-size:12px}}

/* Hero 1:85 */
.sfx-hero{background:var(--sfx-navy-900);color:#fff}
.sfx-hero .sfx-wrap{display:flex;align-items:center;justify-content:space-between;gap:48px;padding-top:96px;padding-bottom:96px}
.sfx-hero-copy{display:flex;flex-direction:column;gap:24px;max-width:620px}
.sfx-eyebrow{align-self:flex-start;border:1px solid var(--sfx-gold-500);border-radius:999px;padding:6px 12px;color:var(--sfx-gold-500);font-weight:600;font-size:13px}
.sfx-hero h1{font-size:56px;line-height:64px;font-weight:700;margin:0;color:#fff;letter-spacing:-.5px}
.sfx-hero h1 em{font-style:normal;color:var(--sfx-gold-500)}
.sfx-hero-sub{font-size:19px;line-height:30px;opacity:.8;margin:0}
.sfx-ctas{display:flex;gap:16px;flex-wrap:wrap}
.sfx-features{display:flex;gap:24px;flex-wrap:wrap}
.sfx-features div{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:500}
.sfx-features div span{opacity:.85}
.sfx-features img{width:18px;height:18px}
.sfx-watch{background:var(--sfx-navy-800);border:1px solid rgba(201,160,51,.35);border-radius:16px;padding:24px;width:500px;max-width:100%;box-sizing:border-box;flex-shrink:0}
.sfx-watch-head{display:flex;justify-content:space-between;align-items:center;padding-bottom:12px}
.sfx-watch-head h3{margin:0;font-size:18px;font-weight:600}
.sfx-watch-status{font-size:11px;font-weight:600;border-radius:999px;padding:3px 8px;background:rgba(255,255,255,.08);color:rgba(255,255,255,.7)}
.sfx-watch-status.is-live{background:rgba(18,160,110,.18);color:#4fd1a0}
.sfx-watch table{width:100%;border-collapse:collapse}
.sfx-watch th{font-size:13px;font-weight:500;text-align:right;padding:8px 0;opacity:.55}
.sfx-watch th:first-child,.sfx-watch td:first-child{text-align:left}
.sfx-watch td{border-top:1px solid rgba(255,255,255,.08);padding:12px 0;text-align:right;font-size:13px;font-weight:500}
.sfx-watch td b{display:block;font-size:14px;font-weight:600}
.sfx-watch td small{font-size:11px;opacity:.55}
.sfx-watch .sfx-up{color:#4fd1a0}.sfx-watch .sfx-down{color:#ff8a8a}
.sfx-watch-note{font-size:11px;opacity:.55;margin:8px 0 0}
@media (max-width:1100px){.sfx-hero .sfx-wrap{flex-direction:column;align-items:stretch}.sfx-watch{width:100%}}
@media (max-width:767px){
  .sfx-hero .sfx-wrap{padding-top:40px;padding-bottom:40px;gap:18px}
  .sfx-hero-copy{gap:18px}
  .sfx-eyebrow{font-size:11px;padding:5px 10px}
  .sfx-hero h1{font-size:32px;line-height:38px}
  .sfx-hero-sub{font-size:15px;line-height:22px}
  .sfx-ctas{flex-direction:column;gap:12px}.sfx-ctas .sfx-btn{width:100%;padding:14px;font-size:15px}
  .sfx-features{display:none}
  .sfx-watch{padding:16px;border-radius:14px}
  .sfx-watch-head h3{font-size:15px}
  .sfx-watch th,.sfx-watch td{font-size:12px}.sfx-watch td{padding:10px 0}.sfx-watch td b{font-size:13px}.sfx-watch td small{font-size:10px}
}

/* Sections */
.sfx-section{padding:96px 0;color:var(--sfx-text)}
.sfx-section.bg-soft{background:var(--sfx-bg)}
.sfx-section.bg-white{background:var(--sfx-surface)}
.sfx-head{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;margin-bottom:48px}
.sfx-kicker{font-size:13px;font-weight:700;letter-spacing:1.56px;color:var(--sfx-gold-500);text-transform:uppercase}
.sfx-h2{font-size:40px;line-height:1.2;font-weight:700;margin:0;color:var(--sfx-text)}
.sfx-lead{font-size:17px;color:var(--sfx-muted);margin:0}
@media (max-width:767px){.sfx-section{padding:40px 0}.sfx-head{align-items:flex-start;text-align:left;gap:6px;margin-bottom:16px}.sfx-kicker{font-size:11px}.sfx-h2{font-size:24px}.sfx-lead{font-size:14px}}

/* Market cards 1:192 */
.sfx-markets{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px}
.sfx-mcard{background:#fff;border:1px solid var(--sfx-border);border-radius:14px;padding:28px 24px;display:flex;flex-direction:column;gap:12px;text-decoration:none;color:var(--sfx-text);transition:box-shadow .15s,transform .15s}
.sfx-mcard:hover{box-shadow:0 10px 28px rgba(14,19,54,.08);transform:translateY(-2px)}
.sfx-iconwrap{background:var(--sfx-gold-100);border-radius:10px;padding:10px;align-self:flex-start;display:flex}
.sfx-iconwrap img{width:28px;height:28px;display:block}
.sfx-mcard h3{margin:0;font-size:20px;font-weight:700}
.sfx-mcard .sfx-count{font-size:13px;font-weight:600;color:var(--sfx-gold-500)}
.sfx-mcard p{margin:0;font-size:13px;line-height:20px;color:var(--sfx-muted)}
.sfx-mcard .sfx-more{font-size:14px;font-weight:600;color:var(--sfx-navy-700);margin-top:auto}
.sfx-mcard .sfx-chev{display:none}
@media (max-width:1180px){.sfx-markets{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:767px){
  .sfx-markets{grid-template-columns:1fr;gap:10px}
  .sfx-mcard{flex-direction:row;align-items:center;justify-content:space-between;padding:14px 16px;border-radius:12px;gap:8px}
  .sfx-mcard .sfx-iconwrap,.sfx-mcard p,.sfx-mcard .sfx-more{display:none}
  .sfx-mcard h3{font-size:16px}.sfx-mcard .sfx-count{font-size:12px}
  .sfx-mcard .sfx-chev{display:block;width:18px;height:18px}
}

/* Services 1:236 */
.sfx-services{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.sfx-scard{background:#fff;border:1px solid var(--sfx-border);border-radius:14px;padding:24px;display:flex;gap:16px;align-items:flex-start}
.sfx-scard h3{margin:0 0 6px;font-size:18px;font-weight:700;color:var(--sfx-text)}
.sfx-scard p{margin:0;font-size:14px;line-height:22px;color:var(--sfx-muted)}
@media (max-width:1023px){.sfx-services{grid-template-columns:1fr 1fr}}
@media (max-width:767px){
  .sfx-services{grid-template-columns:1fr;gap:0}
  .sfx-scard{border:0;border-bottom:1px solid var(--sfx-border);border-radius:0;padding:12px 0;gap:12px}
  .sfx-scard h3{font-size:15px;margin-bottom:2px}.sfx-scard p{font-size:13px;line-height:18px}
  .sfx-scard .sfx-iconwrap{padding:8px}.sfx-scard .sfx-iconwrap img{width:22px;height:22px}
}

/* Accounts (conditional) 1:298 */
.sfx-accounts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.sfx-acard{background:#fff;border:1px solid var(--sfx-border);border-radius:14px;padding:28px 24px;display:flex;flex-direction:column;gap:8px}
.sfx-acard h3{margin:0 0 8px;font-size:22px;font-weight:700}
.sfx-acard .sfx-row{display:flex;justify-content:space-between;font-size:14px;padding:6px 0;border-bottom:1px solid var(--sfx-border)}
.sfx-acard .sfx-row span{color:var(--sfx-muted)}.sfx-acard .sfx-row b{font-weight:600}
.sfx-acard .sfx-btn{margin-top:12px;width:100%;padding:12px}
.sfx-platforms{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding-top:16px}
.sfx-pcard{background:var(--sfx-navy-800);color:#fff;border-radius:12px;padding:20px 24px;display:flex;flex-direction:column;gap:8px}
.sfx-pcard h3{margin:0;font-size:17px;font-weight:700}.sfx-pcard p{margin:0;font-size:13px;opacity:.7}
.sfx-pcard a{color:var(--sfx-gold-500);font-size:13px;font-weight:600;text-decoration:none}
@media (max-width:1023px){.sfx-accounts{grid-template-columns:1fr 1fr}.sfx-platforms{grid-template-columns:1fr}}
@media (max-width:767px){.sfx-accounts{grid-template-columns:1fr}}

/* About 1:380 */
.sfx-about{display:flex;align-items:center;gap:64px}
.sfx-about-visual{background:var(--sfx-navy-900);border-radius:20px;width:520px;height:360px;flex-shrink:0;display:flex;align-items:center;justify-content:center}
.sfx-logo-chip{background:#fff;border-radius:14px;padding:22px 28px;display:flex}
.sfx-logo-chip img{width:260px;height:92px;object-fit:contain;display:block}
.sfx-about-copy{display:flex;flex-direction:column;gap:20px}
.sfx-about-copy p{font-size:17px;line-height:28px;color:var(--sfx-muted);margin:0}
.sfx-facts{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none}
.sfx-facts li{display:flex;gap:10px;font-size:14px;color:var(--sfx-text)}
.sfx-facts li b{min-width:150px;color:var(--sfx-muted);font-weight:500}
@media (max-width:1100px){.sfx-about{flex-direction:column;align-items:stretch;gap:32px}.sfx-about-visual{width:100%;height:240px}}
@media (max-width:767px){.sfx-about-visual{height:180px}.sfx-logo-chip img{width:180px;height:64px}.sfx-about-copy p{font-size:15px;line-height:24px}}

/* Contact 1:391 */
.sfx-contact{display:flex;gap:64px;align-items:flex-start}
.sfx-contact-info{width:520px;flex-shrink:0;display:flex;flex-direction:column;gap:8px}
.sfx-contact-info .sfx-h2{margin-top:4px}
.sfx-contact-info>p{font-size:15px;color:var(--sfx-muted);margin:0 0 8px}
.sfx-info{border-bottom:1px solid var(--sfx-border);padding:14px 0;display:flex;flex-direction:column;gap:4px}
.sfx-info small{font-size:13px;font-weight:500;color:var(--sfx-muted)}
.sfx-info a,.sfx-info span{font-size:17px;font-weight:600;color:var(--sfx-text);text-decoration:none}
.sfx-info a:hover{color:var(--sfx-gold-500)}
.sfx-wa{display:inline-flex;align-items:center;gap:6px;font-size:13px!important;font-weight:600;color:#128c4a!important;margin-top:2px}
.sfx-form{flex:1;background:#fff;border:1px solid var(--sfx-border);border-radius:16px;padding:32px;display:flex;flex-direction:column;gap:16px;box-sizing:border-box;min-width:0}
.sfx-form h3{margin:0;font-size:22px;font-weight:700;color:var(--sfx-text)}
.sfx-form .sfx-grid2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.sfx-field{display:flex;flex-direction:column;gap:6px}
.sfx-field label{font-size:13px;font-weight:500;color:var(--sfx-text)}
.sfx-field input,.sfx-field textarea,.sfx-field select{background:#fff;border:1px solid var(--sfx-border);border-radius:8px;height:46px;padding:0 14px;font-size:14px;color:var(--sfx-text);font-family:inherit;box-sizing:border-box;width:100%}
.sfx-field textarea{height:120px;padding:12px 14px;resize:vertical}
.sfx-field input:focus,.sfx-field textarea:focus{outline:2px solid rgba(201,160,51,.45);border-color:var(--sfx-gold-500)}
.sfx-consent{display:flex;gap:10px;align-items:flex-start;font-size:13px;color:var(--sfx-muted)}
.sfx-consent input{width:16px;height:16px;margin-top:2px;accent-color:var(--sfx-navy-700)}
.sfx-consent a{color:var(--sfx-navy-700)}
.sfx-form .sfx-btn{align-self:flex-start;padding:14px 28px;font-size:15px;border-radius:10px}
.sfx-form-msg{font-size:14px;border-radius:8px;padding:10px 12px;display:none}
.sfx-form-msg.ok{display:block;background:rgba(18,160,110,.1);color:#0b7a53}
.sfx-form-msg.err{display:block;background:rgba(214,69,69,.1);color:#b03030}
.sfx-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
@media (max-width:1100px){.sfx-contact{flex-direction:column;gap:24px}.sfx-contact-info{width:100%}}
@media (max-width:767px){.sfx-form{padding:20px;border-radius:12px}.sfx-form .sfx-grid2{grid-template-columns:1fr}.sfx-form .sfx-btn{align-self:stretch}.sfx-info a,.sfx-info span{font-size:15px}}

/* Footer 1:446 */
.sfx-footer{background:var(--sfx-navy-900);color:#fff}
.sfx-footer .sfx-wrap{padding-top:72px;padding-bottom:40px;display:flex;flex-direction:column;gap:40px}
.sfx-ftop{display:flex;gap:48px;align-items:flex-start}
.sfx-fbrand{width:300px;flex-shrink:0;display:flex;flex-direction:column;gap:16px}
.sfx-fbrand .sfx-logo-chip{padding:12px 16px;border-radius:10px;align-self:flex-start}
.sfx-fbrand .sfx-logo-chip img{width:150px;height:53px}
.sfx-fbrand p{margin:0;font-size:14px;opacity:.75}
.sfx-fbrand a{color:#fff;text-decoration:none;font-size:14px;font-weight:600}
.sfx-fbrand a:hover{color:var(--sfx-gold-500)}
.sfx-fcontact{display:flex;flex-direction:column;gap:8px}
.sfx-social{display:flex;gap:10px;flex-wrap:wrap}
.sfx-social a{font-size:13px;font-weight:500;opacity:.8}
.sfx-fcols{flex:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.sfx-fcol h4{margin:0 0 12px;font-size:14px;font-weight:700;color:#fff}
.sfx-fcol ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.sfx-fcol a{color:#fff;opacity:.75;text-decoration:none;font-size:14px}
.sfx-fcol a:hover{opacity:1;color:var(--sfx-gold-500)}
.sfx-divider{height:1px;background:rgba(255,255,255,.12);width:100%}
.sfx-risk{display:flex;flex-direction:column;gap:10px}
.sfx-risk h4{margin:0;font-size:14px;font-weight:700}
.sfx-risk p{margin:0;font-size:13px;line-height:21px;opacity:.7}
.sfx-risk .sfx-reg{font-size:13px;opacity:.85;font-weight:600}
.sfx-risk .sfx-reg span{font-weight:400;opacity:.85}
.sfx-fbottom{display:flex;justify-content:space-between;gap:16px;font-size:13px;opacity:.6}
@media (max-width:1023px){.sfx-ftop{flex-direction:column}.sfx-fbrand{width:100%}.sfx-fcols{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}}
@media (max-width:767px){.sfx-footer .sfx-wrap{padding-top:36px;padding-bottom:28px;gap:18px}.sfx-fbrand .sfx-logo-chip img{width:120px;height:42px}.sfx-fcols{gap:18px}.sfx-risk p{font-size:12px;line-height:18px}.sfx-fbottom{flex-direction:column;font-size:11px}}

/* WhatsApp float */
.sfx-wa-float{position:fixed;right:20px;bottom:20px;z-index:70;width:56px;height:56px;border-radius:50%;background:#25d366;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 24px rgba(0,0,0,.25)}
.sfx-wa-float svg{width:30px;height:30px;fill:#fff}

/* Inner pages keep the existing dark content styles on navy */
.sfx-main{display:block}
.sfx-main--dark{background:var(--sfx-navy-900);color:#fff;min-height:50vh}
.sfx-notice{max-width:760px;margin:0 auto;padding:96px 20px;text-align:center}
.sfx-notice h1{font-size:32px;margin:0 0 12px;color:#fff}
.sfx-notice p{opacity:.8;margin:0 0 24px}
.sfx-up{color:var(--sfx-up)}.sfx-down{color:var(--sfx-down)}

/* Market page (forex/metals/…) */
.sfx-mpage{background:var(--sfx-bg);color:var(--sfx-text)}
.sfx-mpage-hero{background:var(--sfx-navy-900);color:#fff;padding:72px 0 56px}
.sfx-mpage-hero h1{font-size:44px;line-height:1.15;margin:12px 0;font-weight:700}
.sfx-mpage-hero p{font-size:17px;opacity:.8;margin:0;max-width:720px}
.sfx-table-card{background:#fff;border:1px solid var(--sfx-border);border-radius:14px;overflow:hidden}
.sfx-table{width:100%;border-collapse:collapse;font-size:14px}
.sfx-table th{background:var(--sfx-bg);text-align:left;font-weight:600;color:var(--sfx-muted);font-size:13px;padding:12px 16px;border-bottom:1px solid var(--sfx-border)}
.sfx-table td{padding:14px 16px;border-bottom:1px solid var(--sfx-border);color:var(--sfx-text)}
.sfx-table tr:last-child td{border-bottom:0}
.sfx-table td.num,.sfx-table th.num{text-align:right;font-variant-numeric:tabular-nums}
.sfx-scroll{overflow-x:auto}
@media (max-width:767px){.sfx-mpage-hero{padding:40px 0 32px}.sfx-mpage-hero h1{font-size:30px}.sfx-table{font-size:13px}.sfx-table th,.sfx-table td{padding:10px 12px}}
.sfx-show-m{display:none}
@media (max-width:767px){.sfx-show-m{display:inline}.sfx-hide-m{display:none}}
/* Simple light content pages (about, support, partners, web trader, FAQ, markets) */
.sfx-page-body{padding:64px 0 96px}
.sfx-cards3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.sfx-card{background:#fff;border:1px solid var(--sfx-border);border-radius:14px;padding:24px;display:flex;flex-direction:column;gap:8px;color:var(--sfx-text)}
.sfx-card h3{margin:0;font-size:18px;font-weight:700}
.sfx-card p{margin:0;font-size:14px;line-height:22px;color:var(--sfx-muted)}
.sfx-card a{color:var(--sfx-navy-700);font-weight:600;font-size:14px;text-decoration:none}
.sfx-card a:hover{color:var(--sfx-gold-500)}
.sfx-prose{max-width:760px;font-size:16px;line-height:27px;color:var(--sfx-muted)}
.sfx-prose h2{color:var(--sfx-text);font-size:24px;margin:32px 0 12px}
.sfx-prose ul{padding-left:20px;margin:0 0 16px}.sfx-prose li{margin:6px 0}
.sfx-faq{max-width:820px;display:flex;flex-direction:column;gap:12px}
.sfx-faq details{background:#fff;border:1px solid var(--sfx-border);border-radius:12px}
.sfx-faq summary{cursor:pointer;list-style:none;padding:18px 20px;font-weight:600;font-size:16px;color:var(--sfx-text);display:flex;justify-content:space-between;gap:16px}
.sfx-faq summary::-webkit-details-marker{display:none}
.sfx-faq summary::after{content:'+';color:var(--sfx-gold-500);font-weight:700}
.sfx-faq details[open] summary::after{content:'–'}
.sfx-faq details p{margin:0;padding:0 20px 18px;font-size:14px;line-height:22px;color:var(--sfx-muted)}
.sfx-cta-band{margin-top:48px;background:var(--sfx-navy-900);color:#fff;border-radius:16px;padding:32px;display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap}
.sfx-cta-band h3{margin:0 0 6px;font-size:22px}.sfx-cta-band p{margin:0;opacity:.75;font-size:14px}
.sfx-badge{display:inline-flex;align-items:center;border-radius:999px;padding:3px 10px;font-size:11.5px;font-weight:600}
.sfx-badge.gold{background:var(--sfx-gold-100);color:#8a6a12}
@media (max-width:1023px){.sfx-cards3{grid-template-columns:1fr 1fr}}
@media (max-width:767px){.sfx-cards3{grid-template-columns:1fr}.sfx-page-body{padding:32px 0 48px}.sfx-cta-band{padding:22px}}

/* ---- TradingView widgets (Phase 2, Figma "Phase 2 — TradingView & broker features") ---- */
.sfx-tv-box{position:relative;width:100%;box-sizing:border-box}
.sfx-tv-box>.sfx-tv{height:100%!important;width:100%}
.sfx-tv .tradingview-widget-copyright{font-size:11px;line-height:20px;text-align:right;color:var(--sfx-muted,#5b6280)}
.sfx-tv .tradingview-widget-copyright a{color:inherit;text-decoration:none}
.sfx-tv .tradingview-widget-copyright .blue-text{color:#2962ff}
.sfx-ticker-tv{padding:0}
.sfx-ticker-tv .sfx-tv-box>.sfx-tv{height:auto!important}
.sfx-ticker-tv .tradingview-widget-copyright{line-height:16px;font-size:10px;padding:0 12px 2px}
.sfx-ticker-tv .tradingview-widget-copyright .blue-text,.sfx-watch-tv .tradingview-widget-copyright .blue-text{color:#c9a033}
.sfx-watch-tv{display:flex;flex-direction:column;padding:20px 20px 10px}
.sfx-tv-card{background:#fff;border:1px solid var(--sfx-border,#e3e6ef);border-radius:16px;padding:18px 18px 8px;box-shadow:0 1px 2px rgba(16,24,64,.04);min-width:0}
.sfx-tv-title{margin:0 0 10px;font-size:16px;font-weight:600;color:var(--sfx-navy-900,#0f1538)}
.sfx-tv-grid{display:grid;grid-template-columns:1fr;gap:24px}
.sfx-tv-grid.is-2{grid-template-columns:1fr 1fr}
.sfx-tv-grid.is-cal{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)}
.sfx-tv-grid.is-chart{grid-template-columns:minmax(0,2.2fr) minmax(0,1fr)}
@media (max-width:1023px){.sfx-tv-grid.is-2,.sfx-tv-grid.is-cal,.sfx-tv-grid.is-chart{grid-template-columns:1fr}}
@media (max-width:767px){
  .sfx-tv-card{padding:12px 10px 4px;border-radius:12px}
  .sfx-tv-mo{height:460px!important}.sfx-tv-adv{height:420px!important}.sfx-tv-cal{height:480px!important}
  .sfx-tv-ta{height:420px!important}.sfx-tv-cross,.sfx-tv-heat{height:360px!important}
  .sfx-watch-tv{padding:14px 12px 6px}.sfx-tv-hero{height:360px!important}
}

/* ---- P1: Trading tools, Education & News, Help centre, onboarding (Figma Phase 2) ---- */
.sfx-mpage .sfx-mpage-hero + .sfx-chips-wrap{background:var(--sfx-navy-900);padding-bottom:36px;margin-top:-28px;max-width:none}
.sfx-chips-wrap{display:flex;flex-direction:column;gap:14px}
.sfx-chips-wrap>*{max-width:1280px}
.sfx-chips{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.sfx-chips a{background:rgba(255,255,255,.08);color:#fff;border:1px solid rgba(255,255,255,.12);border-radius:999px;padding:7px 14px;font-size:13px;font-weight:600;text-decoration:none}
.sfx-chips a:hover,.sfx-chips a.is-on{background:var(--sfx-gold-500);border-color:var(--sfx-gold-500);color:var(--sfx-navy-900)}
.sfx-edu-search{margin-left:auto}
.sfx-edu-search input,.sfx-help-search input{background:#fff;border:1px solid var(--sfx-border);border-radius:999px;padding:9px 16px;font:inherit;font-size:14px;min-width:240px;color:var(--sfx-text)}
.sfx-help-search input{width:100%;max-width:560px;border-radius:12px;padding:14px 18px;font-size:16px}
.sfx-tools-h{font-size:22px;font-weight:700;color:var(--sfx-text);margin:0 0 16px}
.sfx-tools-h small{font-size:14px;font-weight:500;color:var(--sfx-muted)}
.sfx-calc-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.sfx-calc{background:#fff;border:1px solid var(--sfx-border);border-radius:16px;padding:24px;display:flex;flex-direction:column;gap:14px;color:var(--sfx-text);scroll-margin-top:110px}
.sfx-calc h2{margin:0;font-size:20px;font-weight:700}
.sfx-calc-sub{margin:-8px 0 0;font-size:13px;color:var(--sfx-muted)}
.sfx-calc-row{display:grid;grid-template-columns:1fr;gap:14px}
.sfx-calc-row.two{grid-template-columns:1fr 1fr}
.sfx-calc label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;color:var(--sfx-text)}
.sfx-calc input,.sfx-calc select{border:1px solid var(--sfx-border);border-radius:8px;padding:10px 12px;font:inherit;font-size:14px;font-weight:500;background:#fff;color:var(--sfx-text);min-width:0}
.sfx-calc input:focus,.sfx-calc select:focus{outline:2px solid rgba(201,160,51,.35);border-color:var(--sfx-gold-500)}
.sfx-calc .sfx-btn{width:100%;padding:12px}
.sfx-calc-out{display:flex;justify-content:space-between;align-items:center;gap:12px;background:var(--sfx-navy-900);color:#fff;border-radius:10px;padding:14px 16px;font-size:13px}
.sfx-calc-out span{opacity:.7}.sfx-calc-out b{color:var(--sfx-gold-500);font-size:16px;text-align:right;font-variant-numeric:tabular-nums}
.sfx-note{margin-top:24px;background:#fff8e6;border:1px solid #f0dca0;border-radius:10px;padding:12px 16px;font-size:13px;line-height:20px;color:#5b4a14}
.sfx-tools-block{margin-top:32px;scroll-margin-top:110px}
.sfx-sessions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.sfx-session{background:var(--sfx-bg);border:1px solid var(--sfx-border);border-radius:10px;padding:14px;display:flex;flex-direction:column;gap:4px;font-size:13px;color:var(--sfx-muted)}
.sfx-session b{color:var(--sfx-text);font-size:15px}
.sfx-session .st{font-weight:600}
.sfx-session.is-open{border-color:rgba(18,160,110,.4);background:#eefaf5}.sfx-session.is-open .st{color:var(--sfx-up)}
.sfx-feature{display:grid;grid-template-columns:1.1fr 1fr;gap:28px;background:#fff;border:1px solid var(--sfx-border);border-radius:16px;padding:20px;text-decoration:none;color:var(--sfx-text)}
.sfx-feature-img,.sfx-post-img{background:linear-gradient(135deg,#161d4a,#1b2255 60%,#2a3270) center/cover no-repeat;border-radius:12px;min-height:260px}
.sfx-feature-body{display:flex;flex-direction:column;gap:12px;justify-content:center;align-items:flex-start}
.sfx-feature-body h2{margin:0;font-size:30px;line-height:1.2}
.sfx-feature-body p{margin:0;color:var(--sfx-muted);font-size:15px;line-height:24px}
.sfx-feature-body small,.sfx-post small{color:var(--sfx-muted);font-size:12px}
.sfx-more{color:var(--sfx-gold-500);font-weight:600;font-size:14px}
.sfx-posts{align-items:stretch}
.sfx-post{background:#fff;border:1px solid var(--sfx-border);border-radius:14px;overflow:hidden;text-decoration:none;color:var(--sfx-text);display:flex;flex-direction:column;transition:box-shadow .15s}
.sfx-post:hover,.sfx-feature:hover{box-shadow:0 8px 24px rgba(14,19,54,.08)}
.sfx-post-img{min-height:170px;border-radius:0}
.sfx-post-body{padding:16px 18px 18px;display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.sfx-post-body h3{margin:0;font-size:17px;line-height:1.35}
.sfx-post-body p{margin:0;font-size:14px;line-height:21px;color:var(--sfx-muted)}
.sfx-pager{display:flex;justify-content:center;gap:12px;margin-top:28px}
.sfx-empty{background:#fff;border:1px dashed var(--sfx-border);border-radius:16px;padding:48px 24px;text-align:center;color:var(--sfx-muted)}
.sfx-empty h2{color:var(--sfx-text);margin:0 0 8px;font-size:22px}.sfx-empty p{margin:0 0 20px}
.sfx-empty-small{color:var(--sfx-muted)}
.sfx-edu-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:24px;margin-top:40px;align-items:start}
.sfx-edu-grid.is-single{grid-template-columns:1fr}
.sfx-edu-side{display:flex;flex-direction:column;gap:24px}
.sfx-row-between{display:flex;justify-content:space-between;align-items:center;gap:12px}
.sfx-academy ol{list-style:none;margin:8px 0 0;padding:0}
.sfx-academy li a{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--sfx-border);color:var(--sfx-text);text-decoration:none;font-weight:600;font-size:14px}
.sfx-academy .n{width:26px;height:26px;border-radius:50%;background:var(--sfx-gold-100);color:#8a6a12;display:inline-flex;align-items:center;justify-content:center;font-size:12px;flex-shrink:0}
.sfx-academy .t{flex:1}.sfx-academy .sfx-badge{background:var(--sfx-bg);color:var(--sfx-muted)}.sfx-academy .a{color:var(--sfx-gold-500)}
.sfx-letters{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}
.sfx-letters a{width:26px;height:26px;border:1px solid var(--sfx-border);border-radius:6px;display:inline-flex;align-items:center;justify-content:center;font-size:12px}
.sfx-glossary dl{margin:0;max-height:420px;overflow:auto}
.sfx-glossary dt{font-weight:700;color:var(--sfx-text);font-size:14px;margin-top:12px}
.sfx-glossary dd{margin:2px 0 0;font-size:13px;line-height:20px;color:var(--sfx-muted)}
.sfx-crumbs{font-size:13px;opacity:.75}.sfx-crumbs a{color:var(--sfx-gold-500);text-decoration:none}
.sfx-article-wrap{max-width:860px}
.sfx-article-cover{width:100%;border-radius:16px;margin-bottom:24px;display:block}
.sfx-article-lead{font-size:19px;line-height:30px;color:var(--sfx-text);margin:0 0 20px}
.sfx-article-body{max-width:none}
.sfx-article-body img{max-width:100%;height:auto;border-radius:10px}
.sfx-article-body a{color:var(--sfx-navy-700);font-weight:600}
.sfx-article-body table{border-collapse:collapse;width:100%}.sfx-article-body td,.sfx-article-body th{border:1px solid var(--sfx-border);padding:8px 10px}
.sfx-article-body h3{color:var(--sfx-text);font-size:19px;margin:24px 0 10px}
.sfx-help-groups{display:flex;flex-direction:column;gap:36px}
.sfx-help-group{scroll-margin-top:110px}
.sfx-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;counter-reset:s}
.sfx-steps li{background:var(--sfx-bg);border:1px solid var(--sfx-border);border-radius:16px;padding:24px;display:flex;flex-direction:column;gap:8px;position:relative;color:var(--sfx-text)}
.sfx-step-n{width:40px;height:40px;border-radius:50%;background:var(--sfx-navy-900);color:var(--sfx-gold-500);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:16px}
.sfx-steps h3{margin:6px 0 0;font-size:18px}
.sfx-steps p{margin:0;font-size:14px;line-height:22px;color:var(--sfx-muted);flex:1}
.sfx-steps a{color:var(--sfx-navy-700);font-weight:600;font-size:14px;text-decoration:none}
@media (max-width:1023px){.sfx-calc-grid,.sfx-edu-grid,.sfx-feature{grid-template-columns:1fr}.sfx-sessions{grid-template-columns:1fr 1fr}.sfx-steps{grid-template-columns:1fr 1fr}.sfx-edu-search{margin-left:0;width:100%}.sfx-edu-search input{width:100%}}
@media (max-width:767px){.sfx-calc{padding:18px}.sfx-calc-row.two{grid-template-columns:1fr 1fr;gap:10px}.sfx-feature-body h2{font-size:22px}.sfx-feature-img{min-height:180px}.sfx-steps{grid-template-columns:1fr}.sfx-chips a{padding:6px 12px;font-size:12px}.sfx-mpage .sfx-mpage-hero + .sfx-chips-wrap{margin-top:-16px;padding-bottom:24px}}
/* P1 mobile overflow fix: grid children must be allowed to shrink */
.sfx-calc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.sfx-calc,.sfx-calc label{min-width:0}
.sfx-calc-row.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.sfx-calc input,.sfx-calc select{width:100%;box-sizing:border-box}
.sfx-calc-out b{overflow-wrap:anywhere}
@media (max-width:1023px){.sfx-calc-grid,.sfx-edu-grid,.sfx-feature{grid-template-columns:minmax(0,1fr)}}
